04-27-2010 4:23 PM
Dear All,
Could you please suggest, how to read the header text before saving the delivery during creation.
Regards,
04-27-2010 4:56 PM
I dont think you can do it before saving the delivery but you can after saving the delivery.
Check out the program MV50AFZ1 - There are two user exits "userexit_save_document" and "userexit_save_document_prepare" .
To read the text (as far as i know), you will need the document number (user READ_TEXT function module).
Document number is not available in user exit "userexit_save_document_prepare" but it is available in "userexit_save_document" .
I dont know what is your requirement but you can choose from the above options. You can read the text from save_document user exit but the delivery was already saved.
good luck
04-27-2010 4:56 PM
HI,
use the READ_TEXT function module, pass the required parameters by getting the same from the header of the text....
Thanks,
S.