07-09-2008 4:35 PM
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.
07-09-2008 4:52 PM
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 ).
07-09-2008 4:43 PM
07-09-2008 4:52 PM
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 ).