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

Sales Order Header Text....

Former Member
0 Likes
465

Hi All,

I have given some text in sales order header. I want a field and table name of text entered in sales order header.

Yusuf.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
442

Hi,

You have to fetch it useing the fun module READ_TEXT

double click on that text in SO, it goes to text editor,

from the menu GOTO -> header

displays the OBJECT, ID< OBJECT NAME and the Language

pass them to the fun module and fetch it

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = TEXT_ID

LANGUAGE = SY-LANGU

NAME = Same as TDNAME in Save_text

OBJECT = TEXT_OBJECT

TABLES

LINES = LI_LINE

  • EXCEPTIONS

  • ID = 1

  • LANGUAGE = 2

  • NAME = 3

  • NOT_FOUND = 4

  • OBJECT = 5

  • REFERENCE_CHECK = 6

  • WRONG_ACCESS_TO_ARCHIVE = 7

  • OTHERS = 8.

Genrally text are stored in STXH tables.

reward if useful

regards,

ANJI

Hi All,

I have given some text in sales order header. I want a field and table name of text entered in sales order header.

Yusuf.

2 REPLIES 2
Read only

Former Member
0 Likes
443

Hi,

You have to fetch it useing the fun module READ_TEXT

double click on that text in SO, it goes to text editor,

from the menu GOTO -> header

displays the OBJECT, ID< OBJECT NAME and the Language

pass them to the fun module and fetch it

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = TEXT_ID

LANGUAGE = SY-LANGU

NAME = Same as TDNAME in Save_text

OBJECT = TEXT_OBJECT

TABLES

LINES = LI_LINE

  • EXCEPTIONS

  • ID = 1

  • LANGUAGE = 2

  • NAME = 3

  • NOT_FOUND = 4

  • OBJECT = 5

  • REFERENCE_CHECK = 6

  • WRONG_ACCESS_TO_ARCHIVE = 7

  • OTHERS = 8.

Genrally text are stored in STXH tables.

reward if useful

regards,

ANJI

Read only

Former Member
0 Likes
442

You can get the text using FM READ_TEXT. It is not stored in any of the tables.

Thanks