Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

automatic cancelled goods mvt not happening while doing co13.

0 Kudos

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.

3 REPLIES 3

former_member189779
Active Contributor
0 Kudos

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.

0 Kudos

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.

0 Kudos

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