2009 Sep 10 3:11 PM
Hello all,
I need to read the item level shipping instructions Text. Now i need to pass values to the paramter Name in Fm READ_TEXT. How to find out the correct format that needs to be passed to the paramter.
For eg: To read header shipping instruction text i can pass Name = VBELN
To read the text for POSNR what should be passed to parameter 'NAME'?
Hello all,
I need to read the item level shipping instructions Text. Now i need to pass values to the paramter Name in Fm READ_TEXT. How to find out the correct format that needs to be passed to the paramter.
For eg: To read header shipping instruction text i can pass Name = VBELN
To read the text for POSNR what should be passed to parameter 'NAME'?
2009 Sep 10 3:16 PM
Hi Arvind,
go to table STXH and there vbeln numere with either side * in field TDNAME
e.g. Vbeln = 9000009
in table give
TDNAME = 9000009
check the entry.
you will come to know exact number you need to pass the Fm READ_TEXT.
generally it is combination of header and item number.
Hope this will help you.
Regards,
Vijay
2009 Sep 10 3:30 PM
Hello Vijay,
Thanks for your help.
I have checked the entry, but couldn't figure out the sequence, i have tried to input the VBELN followed by POSNR. But read-text results incorrect ID.
2009 Sep 10 5:27 PM
You need to convert the numbers to internal format. Use the text determination analysis function within the document itself to determine the other values for the function call.
P.S. Use the development tools available to you to figure things like this out - this type of information is also easlly found using the debugger and/or runtime analysis.