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: 

FM to read salesorder text

former_member353207
Participant
0 Kudos

Hi everybody,

does someone know an useful fm to read the texts of salesorder (header & positions) ?

regards Joerg

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hai joerg,

Texts are stored in the tables

STXH Header

STXL Item

There are others also.

Texts are stored as text record number (unique ID) that then go to the text

tables to pick up the actual address

Function module (SE37) READ_TEXT can be used read texts from tables

regards,

praba.

7 REPLIES 7

FredericGirod
Active Contributor
0 Kudos

Hi,

READ_TEXT, look the table STXH to find the key of the function.

Rgd

Frédéric

Former Member
0 Kudos

hi,

check with these fms..

Read_text

Delete_text

Create_Text..

check these info also..

<b>table</b>

Use table STXH to check whether your text exists OR not

<b>transaction</b>

use txn SO10

<b>reward if useful..</b>

Message was edited by: Ashok Kumar Prithiviraj

naimesh_patel
Active Contributor
0 Kudos

Hello,

You have to use the READ_TEXT function to read the text.

for that you need to know the ID, object and name of the text. That you can get in the Sales order text itself.

Go to text and change the layout to SAPScript mode.

And in that mode in GOto -> Header .. Here you will find out the ID, Object and name

Regards

Naimesh

Former Member
0 Kudos

hai joerg,

Texts are stored in the tables

STXH Header

STXL Item

There are others also.

Texts are stored as text record number (unique ID) that then go to the text

tables to pick up the actual address

Function module (SE37) READ_TEXT can be used read texts from tables

regards,

praba.

Former Member
0 Kudos

Joerg,

Assuming you want to read the HEADER NOTE of sales order 555, use READ_TEXT function with

Text Name 555

Language EN

Text ID 0002

Text object VBBK

Similarly for Items - Material Text

Text Name 555

Language EN

Text ID 0001

Text object VBBP

You can find these parameters when you to VA02, display the text in the full editor and Menu Go to --> Header.

Regards,

Ravi

Note : Please mark the helpful answers

former_member188685
Active Contributor
0 Kudos

Hi ,

USE READ_TEXT FM to read the SAles orders texts.

check the table for The parameters to pass.

for header

TDOBJECT VBBK

TDID 0001 (depends on your cutsomization)

TDNAME Salesorder with padded zeroes

for item

TDOBJECT VBBP

TDID 0001 (depends on your cutsomization)

TDNAME SALES ORDER(padded zeroes)+ITEM

Regards

vijay

former_member353207
Participant
0 Kudos

Thanks you all --- problem is solved good and quickly