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: 

PO texts

Former Member
0 Kudos

I am creating purchase order format. Now for getting Po texts what i am doing is passing the id, object, language & name in the FM read_text and display it in the smartforms. Now i am passing only delivery terms & instuctions. What thy want is if i am giving special instructions that also should come in the PO format. So no need to pass the id. i dont know how to do this. please help me.

2 REPLIES 2

former_member156446
Active Contributor
0 Kudos

SAP stores comments (text fields) in a separate table. STXH is the text

"header" table (STXD SAPscript text file header).

you can query STXH with the same inputs..

Former Member
0 Kudos

1. Select TDOBJECT, TDNAME,TDID and TDSPRAS from STXH and store in an internal table.

2. Loop th einternal table and call function module 'READ_TEXT' passing the above 4 values and you'll get the text in an internal table and use.