cancel
Showing results for 
Search instead for 
Did you mean: 

SD User Exit After Save

Former Member
0 Kudos

Hi all,

In SD VA01, is there any user exit AFTER a SO number generated and saved?

So far, I could only find user exit

"USEREXIT_SAVE_DOCUMENT_PREPARE" & "USEREXIT_SAVE_DOCUMENT"

But these 2 user exits are both run before the SO number generated.

Could anyone please kindly help me?

In fact, I want to run a BDC update after the SO is created, that why I am looking for a User Exit after SO saved.

Thank you.

Best regards,

Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Chris,

The user exit USEREXIT_SAVE_DOCUMENT should serve your purpose. I had found out that by the time this user exit is reached it has an order number assigned.

Hope this is helpful.

Thanks,

Naren

Former Member
0 Kudos

Thanks for your help! I can get the SO number from VBAK-VBELN inside the exit.

However, when I tried using BDC to update the SO after save, I got an error saying the SO is currently being processed by my.

Can anyone help? Really thanks.

Best regards,

Chris

0 Kudos

Hey chris........did you find any solution for that. I mean did you find any exits which are executed after save?

alpesh_saparia3
Active Contributor
0 Kudos

You can use USEREXIT_REFRESH_DOCUMENT in include MV45AFZA. But you have carry the VBAK in the ABAP memory.

-Alpesh