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: 

Tranracation ME13 how to read PO text ?

Former Member
0 Kudos

Hi Gurus,

In ME13 transaction there two text i have to read and display in report program.

One text is info record note i am reading the reading the text by using function module READ_TEXT.

Second text is purchase order text. Here i have problem

where double click on the it will go to text editor. after that i will

goto in menu bar i will select GOTO there i will select HEADER.

There will get

Text Name:5300001070T0100

Language: EN

Text ID: BT

Text object: EINE

My problem is where to get this number 5300001070T0100 to pass into function module READ_TEXT.

If is use table STXH when you pass Text ID Text object so many all number will display.

Please help me in this regard i will be very thankful to you people.

Regards,

Venkat.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

see the logic for deriving the name

WHEN 'EINE'.

IF fc_call EQ space OR eina-infnr NE space.

i_tdname(10) = eina-infnr.

i_tdname+10(4) = eine-ekorg.

i_tdname+14(1) = eine-esokz.

i_tdname+15(4) = eine-werks.

ELSE.

i_tdname(1) = '$'.

i_tdname+1(10) = eina-lifnr.

i_tdname+11(18) = eina-matnr.

i_tdname+29(4) = eine-ekorg.

i_tdname+33(1) = eine-esokz.

i_tdname+34(4) = eine-werks.

ENDIF.

so it is... info record number concatenated with purch org + purch info rec catgeory + plant (if plant specific ).

2 REPLIES 2

Former Member
0 Kudos

T010 == purchase organization

Former Member
0 Kudos

see the logic for deriving the name

WHEN 'EINE'.

IF fc_call EQ space OR eina-infnr NE space.

i_tdname(10) = eina-infnr.

i_tdname+10(4) = eine-ekorg.

i_tdname+14(1) = eine-esokz.

i_tdname+15(4) = eine-werks.

ELSE.

i_tdname(1) = '$'.

i_tdname+1(10) = eina-lifnr.

i_tdname+11(18) = eina-matnr.

i_tdname+29(4) = eine-ekorg.

i_tdname+33(1) = eine-esokz.

i_tdname+34(4) = eine-werks.

ENDIF.

so it is... info record number concatenated with purch org + purch info rec catgeory + plant (if plant specific ).