Application Development 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: 

FM READ_TEXT for Customer invoices

duma_msongelwa
Explorer
0 Kudos
1,018

Hi I am trying to read the text in a customer invoice form on F-22

What parameters do I pass for the object and the name  below?

CALL FUNCTION 'READ_TEXT'

   EXPORTING

   CLIENT                        = SY-MANDT

     ID                               =  ?

     LANGUAGE                = 'EN'

     NAME                         = ?

     OBJECT                      = ?

   TABLES

     LINES                         = td_lines

1 ACCEPTED SOLUTION

former_member209818
Active Contributor
0 Kudos
400

It completely depends on the Text that you want to read.. if its from header level or item level, parameters will change.

Best thing is open the text that you want to maintain from the transaction where it is maintained.

Inside the Text editor, select the "Header" and that will provide you the correct parameters which should be passed for Read_Text. A sample Header info is attached

- HArshad

3 REPLIES 3

Former Member
0 Kudos
400

Hi,

Go to table STXH and give the Invoice no in the TDNAME field and execute.

It will show you all the text ids maintained for that invoice.

Former Member
0 Kudos
400

Hi,

Please see the below link

http://www.gotothings.com/sapac002.htm

former_member209818
Active Contributor
0 Kudos
401

It completely depends on the Text that you want to read.. if its from header level or item level, parameters will change.

Best thing is open the text that you want to maintain from the transaction where it is maintained.

Inside the Text editor, select the "Header" and that will provide you the correct parameters which should be passed for Read_Text. A sample Header info is attached

- HArshad