Skip to Content
Former Member
Nov 20, 2013 at 04:55 AM

co01 user exit after save and database commit.


I have came across a requirement:

While saving production order (CO01) transaction, saved is performed after release.

Out of four operations from production order first two should get automatically confirmed.

Say i have four oprations:

The first two operation PRESS 2 & AGEING MACHINE should get confimed while saving prod order.

The problem is i am using Smod Enhancement PPCO0001.



here i am calling a BAPI ('BAPI_PRODORDCONF_CREATE_TT')

to automatic posting of confirmation of first two operations.

While passing production order no to this bapi(aufnr),

Error message are returned in return parameter of this bapi.

Order no ** is not found.

This is becoz, order no is generated by transaction but not has been

committed in database.

And also i cant use COMMIT WORK AND WAIT in USEr exit.

Suggest something which helps.


c.PNG (41.7 kB)