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: 

I NEED THIS FIELD

Former Member
0 Kudos

Hi,

I need this field,

Go to VL02N, Enter Out Bound Delivery,

After Menu bar GO TO -


> HEADER------>TEXTS

I Need this field FROM HEADER

if i enter text here and after save,

which table data is saved?

Thanks & Regards,

Sreedhar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

The data which you are referring is header texts.

These are stored in STXH & STXL.

use read_text function to read data from these texts.

All you need is text name,language text id,text object.

e.g.

text name :delivery no

Language : EN

Text id :ZOD(order text)

Text Object: VBBK

Thanks.

6 REPLIES 6

Former Member
0 Kudos

Hello,

The data which you are referring is header texts.

These are stored in STXH & STXL.

use read_text function to read data from these texts.

All you need is text name,language text id,text object.

e.g.

text name :delivery no

Language : EN

Text id :ZOD(order text)

Text Object: VBBK

Thanks.

former_member181962
Active Contributor
0 Kudos

IT gets stored in STXH and STXL tables in RAW format.

To read that text, you have to use READ_TEXT function module.

Regards,

Ravi

Former Member
0 Kudos

Hello Sreedhar,

The texts are stored in the table STXH.

You can get the data stored in the texts using the function module READ_TEXT.

Regards,

manoj

Former Member
0 Kudos

You can retrieve the Text Header data to be passed to READ_TEXT function module as follows :

Click the Detail button below the text editor.

Choose, Goto-Header and retrieve :

Text Name Sales Document Number

Language EN

Text ID 0001

Text object VBBK

Regards,

Deepa

Former Member
0 Kudos

Hi

use this code as example

select * from STXL where RELID eq 'TX' and

TDOBJECT eq 'VBBK' and

TDNAME eq vbco3-vbeln and

TDSPRAS eq 'EN'.

if sy-subrc eq 0.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = stxl-tdid

LANGUAGE = stxl-tdspras

NAME = stxl-tdname

OBJECT = stxl-tdobject

TABLES

LINES = CTXT.

endif.

*data text type c length 300 .

LOOP AT CTXT.

  • concatenate text ' ' ctxt-tdline into text .

  • PERFORM SET_TEXT_SYMBOL USING: '&LINE_TEXT&' text.

PERFORM SET_TEXT_SYMBOL USING: '&LINE_TEXT&' ctxt-tdline(100).

CALL FUNCTION 'WRITE_FORM'

EXPORTING

ELEMENT = 'REM'

FUNCTION = 'SET'

WINDOW = 'MAIN'

EXCEPTIONS

OTHERS = 1.

ENDLOOP.

0 Kudos

Hi,

u r logic is fine, but Error came like that

FORM "SET_TEXT_SYMBOL" does not exist.

Replay as early as possible

thanks & regards,

Sreedhar,