Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

read item level instructions - READ_TEXT

Former Member
0 Likes
529

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'?

3 REPLIES 3
Read only

Former Member
0 Likes
485

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

Read only

0 Likes
485

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.

Read only

0 Likes
485

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.