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

text table

Former Member
0 Likes
400

Hi,

In which table the header text stores,which is entered in Orders or invoice.

Let me know.

Raj.

4 REPLIES 4
Read only

Former Member
0 Likes
381

check in this t001w

Read only

Former Member
0 Likes
381

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.

Read only

Former Member
0 Likes
381

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

Read only

Former Member
0 Likes
381

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