07-07-2015 2:30 PM
Hi All,
Please help to get the Delivery Header Text changes in from VL02N.
Scenario: Currently we are creating Delivery Header Text in VL01N, now i'm capturing this data using a function module READ_TEXT, by providing fallowing details,
Text name,
Language,
Text ID,
Text Object. and Result is available in LT_LINES.
Problem: Now if we go and change this using VL02N , and again need to capture it, same function module READ_TEXT i'm using, but it's resulting the old data itself, but i need to capture the New changes for that Header text.
Please help to find the solution.
Thanks in Advance.
07-07-2015 3:14 PM
Hi, READ_TEXT would give you the saved text if you provide the text name, however, if the text name is blank (just pass space) then it should give you the text of buffer.
Kindly try READ_TEXT with NAME = ''
07-07-2015 6:44 PM
Hi Mohit,
Thanks for your reply, i will try it and let you know if it works.
07-08-2015 9:47 AM
Hi,
READ_TEXT is now working for space, if we provide space, its returning sy-subrc <> 0.
Please provide any other alternative way for capturing changes of Header Texts.
Thanks,
Naresh
07-08-2015 9:55 AM
Hi,
Which Exit are you using to read the Text?
Check the Include MV50AFZ1 which has user exit for Delivery(VL01N,VL02N).
Hope this helps.
07-08-2015 1:58 PM
Hi,
I have used the FM in the same fashion as I have mentioned, however, the point where the code is to be written must be called within the transaction (e.g. Exits / routines). I assume that you are coding in any of the routines/exits which triggers during Delivery change process.
Thanks