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: 

How to retrieve the long texts from purchase Info record (ME13)

Former Member
0 Kudos

Hi,

How do I retrieve the long texts data from the tab, Texts of the Purchase Info record(ME13). I want to retrieve the current long texts data(long text1, long text2 long text3, long text4) for a given purchase info record. These long texts points to the structure BRM06I.

So, now how do I fetch the data from the structure BRM06I. Is there any function module for the same..

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

To know this details of OBJECT,ID,NAME and LANG for the PO .... double click on that LONG text .... then it will take u to the editor... there in the menu bar ... EDIT --> Header .. u can get all the relevant field details.

normally LANG will be SY-LANGU.

NAME will be PO Number

ID & OBJECT will be different ....

pass this parameters to the READ_TEXT FM ... u will get all the all line ...say for example 4-5 lines ..

then use the READ Statement like this ... READ TABLE TLINE INDEX 1

READ TABLE TLINE INDEX 2 ..so on

Reward Points if it is Useful.

Thanks,

Manjunath MS

8 REPLIES 8

Former Member
0 Kudos

use READ_TEXT FM to get long text,pass required parameters.

Thanks

Seshu

0 Kudos

Thanks. The info record text is getting retrived.

But the purchase order text in ME13 is what I'm looking for..

You can view the long text , when u display a PIR using the following criteria

Vendor- 100000005

Matnr- 1000005

Purchasing Org- Z200

Plant- Z203

Info record- 5300010043..How to retrive the purchase order long texts of the same..

the long texts which needs to be retrived are

Long Text Line 1

Long text Line 2

Long text Line 3

Long text Line 4

I'll waiting for your reply..Thanks.

Former Member
0 Kudos

Hi,

Any Application Header and tem Long texts are stored in STXH table with the 4 parameters OBJECT,ID,NAME and LANG

These texts are fetched from databse using READ_TEXT fun module by passing the above 4 parameters.

Double click on the text, from the text editor menu GOTO-> HEDAER

you will find the all above 4 paramters

so accordingly you have to pass to the fun module READ_TEXT to fetch the texts.

Reward Points if it is Useful.

Thanks,

Manjunath MS

0 Kudos

Thank you Manjunath....The info record text is getting retrived.

But the purchase order text in ME13 is what I'm looking for..

You can view the long text , when u display a PIR using the following criteria

Vendor- 100000005

Matnr- 1000005

Purchasing Org- Z200

Plant- Z203

Info record- 5300010043..How to retrive the purchase order long texts of the same..

the long texts which needs to be retrived are

Long Text Line 1

Long text Line 2

Long text Line 3

Long text Line 4

I'll waiting for your reply..Thanks.

Former Member
0 Kudos

Hi,

To know this details of OBJECT,ID,NAME and LANG for the PO .... double click on that LONG text .... then it will take u to the editor... there in the menu bar ... EDIT --> Header .. u can get all the relevant field details.

normally LANG will be SY-LANGU.

NAME will be PO Number

ID & OBJECT will be different ....

pass this parameters to the READ_TEXT FM ... u will get all the all line ...say for example 4-5 lines ..

then use the READ Statement like this ... READ TABLE TLINE INDEX 1

READ TABLE TLINE INDEX 2 ..so on

Reward Points if it is Useful.

Thanks,

Manjunath MS

0 Kudos

Thank You so much. The problem is solved.

Former Member
0 Kudos

I am not sure what you want i think for purchase order you have to go to me23.

if you want header text go to menu header--> text

dbl click on text line in the next screen in menu goto--> header to get the object name ,id,language , text name details for read text.

there in menu item-->text.

dbl click on text line in the next screen in menu goto--> header to get the object name ,id,language , text name details for read text.text name is combinning po no and item no.

regards

shiba dutta

sharadendu_agrawal
Active Participant
0 Kudos

Use the FM READ_TEXT and pass the required parameters...to get the long text.

Cheers,

Sharadendu