cancel
Showing results for 
Search instead for 
Did you mean: 

Check order position before save

szago73
Discoverer
0 Kudos

Hi, when I save an order by co02, I need to check some data in the position before saving and if something is wrong, then I want to block the saving.

I tried to use the user exit EXIT_SAPLCOBT_001 to do my checks, but after that I cannot avoid the saving.

In the user exit EXIT_SAPLCOZV_001 I have only the header of the order and in this moment I cannot get the operation data not yet saved, but only the data already in the db. How can I get the data that will be saved before the commit? O any help to block the saving?

Thanks

szago73
Discoverer
0 Kudos

I noticed that EXIT_SAPLCOBT_001 has called after the commit and it's too late.

Accepted Solutions (0)

Answers (1)

Answers (1)

Neeraj_Jain
Active Contributor
0 Kudos

Hello szago73,

Please refer below SAP thread in which a list of user exit and enhancement for save in CO02. Might be its helps to you.

https://answers.sap.com/questions/10556590/userexit-or-enhancement-for-save-in-co02.html

Regards,

Neeraj Jain