‎2007 Sep 11 12:40 PM
Hi,
In which table the header text stores,which is entered in Orders or invoice.
Let me know.
Raj.
‎2007 Sep 11 12:43 PM
‎2007 Sep 11 12:45 PM
Use this if the header text length is less than 255
FETCHING HEADER TEXT
MOVE wa_itab1-ebeln TO ws_name.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = ws_id
language = sy-langu
name = ws_name
object = ws_object
TABLES
lines = t_tlinetab
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc = 0.
LOOP AT t_tlinetab INTO wa_tlinetab.
wa_itab1-header_text = wa_tlinetab-tdline.
MODIFY t_itab1 FROM wa_itab1.
ENDLOOP.
ENDIF. " IF sy-subrc = 0.
CLEAR : wa_itab1,
hold_tabix,
wa_name1.
‎2007 Sep 11 12:46 PM
Hi raj,
It is not stored as a table data. It will stored as text object. you can access the header text using READ_TEXT function.
text objects are defined in table TTXOB.
the text ID are defined in table TTXID.
<b><REMOVED BY MODERATOR></b>
Regards,
Murugan Arumugam.
Message was edited by:
Alvaro Tejada Galindo
‎2007 Sep 11 12:55 PM
Hi,
THEAD, TLINE these both table are use full for finding text and printing text
after finding text object name and object id then u have to pass all the values to following function module...
READ_TEXT & SAVE_TEXT
<b><REMOVED BY MODERATOR></b>
praveen
Message was edited by:
Alvaro Tejada Galindo