Dear Ifty,
In OBYC t.code transaction key GBB select your chart of accounts and according to movement 601 and valaution class of material + general modification
please find the combination there with G/L for COGS.
Mainly VAX and VAY General modificatios are used in 601 movement .