12-12-2006 9:57 AM
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.
12-12-2006 9:59 AM
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.
12-12-2006 9:59 AM
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.
12-12-2006 10:00 AM
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
12-12-2006 10:00 AM
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
12-12-2006 10:30 AM
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
12-12-2006 10:41 AM
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.
12-14-2006 11:28 AM
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,