Skip to Content

CO02 - UserExit and BADI to change component batch field at release or save

Oct 12, 2017 at 03:32 PM


avatar image

Hello everyone

Through tcode CO02,

we need to populate the component batch fields based on criteria when releasing and/or save action.

For now, the BADI "WORKORDER_UPDATE" provides some methods "AT_RELEASE, AT_SAVE". But those method doesn't provide any area to modify the batch field of the components. All the information are in input only.

The enhancement PPCO0001 provides all the information through internal tables (COMPONENT_TABLE, POSITION_TABLE, COMPONENT_TABLE_OLD, POSITION_TABLE_OLD). But when we are changing the value of the batch field, the system simply ignore the changes.

Is anyone has already succeed to change values of a component through one of the user-exit? If so, can you please share the proper procedure to do it?

All suggestions will be highly appreciated.


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Krishna Murthy Oct 13, 2017 at 05:28 AM


i have also checked in my system for ur requirement but me too did't get any thing

i think u choose alternative like emplicit enhancement for other method ot fm or perform

10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Oct 13, 2017 at 06:19 AM

This exit, which (IMHO) seems to be provided to trigger other updates/following events/update external system, is executed during the execution of FMs like CO_BT_ORDER_POST (FG COBT) and is called after execution of a FM like CO_BH_ORDER_POST so too late.

So try some debug to find a suitable enhancement/BAdI/exit before this step, or analyze Extensions provided in package CO?

10 |10000 characters needed characters left characters exceeded