Application Development and Automation 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: 
Read only

how to get text from memory

Former Member
0 Likes
1,662

Hi All,

How to get the text from the memory for the corresponding line item in sales order.

there is a D.B table STXH which stores the text.

kindly explain from which of the fields we are used from the table STXH to get the text from memory,

if possible please send me the sample code

regards

krishna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,128

Hi,

You can use FM: READ_TEXT

Parameters you need pass for the FM are: Text Name, Text ID, Text Object and language.

Text Name will be the combination of Sales Order Number and Item Number

Text Object for Sales Item Texts is VBBP

Text ID is the ID that identifies the text

To get the ID, do as below:



1. Check an existing sales order 
2. Double click on the text which takes you to the editor.
3. Use menupath: Goto->Header
4. In the popup screen you can find the TEXT ID

"Use the same for the FM

Regards

Eswar

Hi All,

How to get the text from the memory for the corresponding line item in sales order.

there is a D.B table STXH which stores the text.

kindly explain from which of the fields we are used from the table STXH to get the text from memory,

if possible please send me the sample code

regards

krishna

3 REPLIES 3
Read only

Former Member
0 Likes
1,129

Hi,

You can use FM: READ_TEXT

Parameters you need pass for the FM are: Text Name, Text ID, Text Object and language.

Text Name will be the combination of Sales Order Number and Item Number

Text Object for Sales Item Texts is VBBP

Text ID is the ID that identifies the text

To get the ID, do as below:



1. Check an existing sales order 
2. Double click on the text which takes you to the editor.
3. Use menupath: Goto->Header
4. In the popup screen you can find the TEXT ID

"Use the same for the FM

Regards

Eswar

Read only

0 Likes
1,128

Hi Eswar,

i'm not talking about the F.M from memory how can i fetch.

Regards

krishna

Read only

0 Likes
1,128

Try to understand the usage of the FM, it retreives the text for you.

Regards

Eswar