cancel
Showing results for 
Search instead for 
Did you mean: 

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

dstjacques
Participant
0 Kudos

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.


Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor
0 Kudos

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?

former_member241258
Active Participant
0 Kudos

hi

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