Hello Sinjana,
Field Variance key belongs to entity : MARCCSTNG. You cannot see this in material entity directly.
In BADI you can read MARCCSTNG entity from CR. Use GOV or CONV API. eg: cl_usmd_gov_api
Then you can evaluate field values as required and setup the context of BRF+ call.
Regards,
Shivanand