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: 

Finding text id

Former Member
0 Kudos

Hi All,

Can you tell me the transaction/table for finding text id associated with header & item text of purchase order.

Thanks in advance

Gaurav

4 REPLIES 4

Former Member
0 Kudos

you can find them in table STXH and STXL.

Former Member
0 Kudos

check this link :

here is the way how to findout the OBJECT details :

1. READ_TEXT

for this you have to pass the below fields to the fm

ID

LANGUAGE

NAME

OBJECT

and you will get already stored text for this ID into the LINES internal table.

the above values for ID,NAME,OBJECT etc. you can find in the transaction.

for example: for po, header->goto texts -> select ur text (for ex.TERMS OF PAYMENTS ) here it will have several dropdown items like "continuous text,line editor,script editor".

here select SAP SCRIPT editor.

you will see a new script line editor.here .there in the menu GOTO -> header .

here you can find all the required fields to pass to the function module.

Message was edited by: Srikanth Kidambi

Former Member
0 Kudos

Hello Gaurav,

The best option to find out text id in purchase order is to go to Purchase order display screen. Say Me23-> enter the po and go the next screen. Then if u want to check for header then go to header text. Select the text for which u are looking for id and press long text button. Then GOTO->HEADER and it will show u the text id. same for item level.

former_member188685
Active Contributor
0 Kudos

Hi,

The tables related are STXH (Header), STXL(Item).

for PO texts...

for header texts..

TDOBJECT EKKO

TDNAME PO number(with padded zeroes)

TDID F18(it depends on configuration)

TDSPRAS EN

for item texts..

TDOBJECT EKPO

TDNAME PO number+Item(Po and item with padded zeroes)

TDID F03(it depends on configuration)

TDSPRAS EN

pass the above parameters you can read the long text stored in PO to the FM <b>READ_TEXT</b>.

Regards

vijay