cancel
Showing results for 
Search instead for 
Did you mean: 

smart form

former_member198441
Participant
0 Kudos

<b>

hi all,

how to find the object id and object name of a long text in purchase order.

answer ASAP.

Regards,

Prashanth.

</b>

Accepted Solutions (0)

Answers (4)

Answers (4)

varma_narayana
Active Contributor
0 Kudos

Hi ..

You can find the Text IDs in Tcode SO10.

They are stored in tables STXH, STXD.

<b>reward if Helpful</b>

former_member196280
Active Contributor
0 Kudos

To find object id and object name for long text or header text... follow this procedure...

For header text, goto header text, select your header text name, click on details, it will be before delete icon at bottom, you will be taken to text editor , from menu goto--> header it will display the required things.

use READ_TEXT to call them

Close the thread if your question is answered.

Regards,

SaiRam

Former Member
0 Kudos

Hi,

The Object ID is 'ADRS'

and Name is 'TEXT'

for long text in PO.

Reward if useful......

Former Member
0 Kudos

Hi

Goto Me23N

enter the PO number enter

goto the LONG text for which you need to find the OBJECTID and NAME

double click on it or go to Change mode of it where it takes you to TEXT EDITOR

from the menu of that

GOTO-> HEADER

it displays the OBJECT,ID,OBJECTNAME and LANGUAGE

mostly the OBJECT = EKKO for Header texts of PO

and EKPO for ITEM texts of PO

OBJECTNAME for header texts is the PO number where as for item it is the

combination of PO no and Item no (EBELN + POSNR)

Use these parameters and pass to READ_TEXT fun module to fetch the Long text of PO

Regards

Anji

former_member198441
Participant
0 Kudos

Hi.

ThanQ for providing me the solution.

but,how to write the program lines to fetch the long text from the database.....?

any varaible to be declared in global definitions....?if so , of which table-field type...?

answer ASAP....

Regards,

Prashanth

Former Member
0 Kudos

Hi,

Declare the variables in global data tab of global definitions for

Object ID type TDID

Object Name type TDOBNAME

and pass the same in the Program Lines....