Skip to Content
0
Jul 06, 2005 at 09:09 PM

standard texts and USEREXIT_SAVE_DOCUMENT User exit

227 Views

I am using User Exit "USEREXIT_SAVE_DOCUMENT" in the General Delivery Module Pool (SAPMV50A) to send information to an external system every time a Delivery Note is Created or Updated.

My problem is this: Every change to standard texts of the document header and line items is saved in R/3 after my code runs. I use FM READ_TEXT to try to get the contents of these tests but they are not yet available to the standard text system at the time USEREXIT_SAVE_DOCUMENT executes.

I have tried playing around with writing my code as a FM and calling it using the addition IN UPDATE TASK but the code never seems to execute.

How can I get ahold of changes to Standard Texts in this User Exit?