I want to code the user exit where the standard text need to be updated automatically for a text ID during delivery creation. When a delivery is created there may be situation of 'out of stock' / 'Partial delivery'. So when a partial delivery is found, I want to update the long text only for that line item under a text ID.
For this I have identified 'USEREXIT_SAVE_DOCUMENT' where in the internal table 'xthead' will have all the standard text ID's during run time. I want to attach my own text to a text ID so that it will get reflected after saving the delivery document.
I could not locate where to attach my own long text for each line item during run time. Could anybody help me...