03-28-2013 7:15 AM
Hi all,
I am using BAPI_GOODSMVT_CREATE to do goods issue during production order confirmation (Mvt type 261). For order confirmation,I am using BAPI_PROCORDCONF_CREATE_TT.My problem is that when the order confirmation is cancelled by using CO13,the goods issued are not cancelled automatically (ie.mvt type 262 is not happening).Is there any parameter in either of the BAPI'S that can make this happen automatically?Please help.
03-28-2013 12:42 PM
BAPI BAPI_PROCORDCONF_CREATE_TT its self does the goods movement you can pass good movement data to this BAPI itself.
BAPI_PROCORDCONF_GET_TE_PROP can be used to get proposed GM data and can be passed to above BAPI.
Why are you using explicit goods movement BAPI? Read the documentation. Also if in case goods movement fails it can be found in transaction COGI.
Now if cancel the confirmation GM also should get reversed.
03-30-2013 9:19 AM
Hi Vinit,
I am trying to execute the BAPI_PROCORDCONF_GET_TT_PROP .I am entering the following parameters;
TIMETICKETS:
ORDERID,PHASE,POSTG_DATE,PLANT, CONF_QUAN_UNIT, YIELD, CONF_ACTI_UNIT1, CONF_ACTIVITY1,CONF_ACTI_UNIT2, CONF_ACTIVITY2.
GOODSMOVEMENTS:
MATERIAL, PLANT, STGE_LOC, BATCH, MOVE_TYPE, ENTRY_QTY, ENTRY_UOM, ORDERID, MVT_IND.
LINK_CONF_GOODSMOV:
INDEX_CONFIRM, INDEX_GOODSMOV.
PROPOSE:
GOODSMOVEMENT.
however,I am getting error: Orders of the order type PL01 cannot be confirmed.
Am I missing out any parameters.Please guide how to use this BAPI.
04-02-2013 3:57 PM
Also pass recordtype (e.g B10 B40) logdate logtime. Make sure you are using correct BAPI check
BAPI_PRO* in SE37. Some are for Process orders and rest for Production Orders