Valuation Type issue in BAPI_PRODORDCONF_CREATE_TT
We are trying to develop a Z program, to do mass production confirmation using BAPI_PRODORDCONF_CREATE_TT.
I have executed this FM followed by BAPI_TRANSACTION_COMMIT. All i can see is movement type 101 works fine, but 261 creates COGI errors all the time. It asks valuation type (split valuation activated) even though i have given correct valuation types (VAL_TYPE) in GOODSMOVEMENTS table entry inside the FM.
Screens of each tables inside the BAPI are shown below,
Screen of TIMETICKETS
screen of GOODSMOVEMENTS
MVT_IND also set to 'F'
finish good comes to the inventory but components are moved to COGI.