Skip to Content
0

BAdI ME_PROCESS_REQ_CUST : How to launch a custom process AFTER the LAST COMMIT

Mar 02, 2017 at 07:29 PM

55

avatar image
Former Member

Hi experts,

I'm currently trying to figure how to launch a custom method after the LAST COMMIT, when the Purchase requisition is saved (ME52N).

In the POST method, I call a function that calls a method using a PERFORM ON COMMIT LEVEL 99.

It's too SOON, because in this method I do a SELECT on the STXH table (to get the timestamp of long texts), and I don't get the last changes I just made in the screen.

It's too SOON too if I call my method in the CLOSE method.

Any idea to resolve this the cleaniest way?

Thanks!

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

1 Answer

Raymond Giuseppi
Mar 03, 2017 at 08:36 AM
1

Try to wrap your code in a RFC enabled FM and CALL the FM IN BACKGROUND TASK so it will be executer after the update tasks.

Share
10 |10000 characters needed characters left characters exceeded