2009 Mar 18 5:03 AM
hi guys
i want to know text element data of program save in which table? thks
2009 Mar 18 5:04 AM
2009 Mar 18 5:05 AM
2009 Mar 18 5:06 AM
Hi,
Use the below table for text elements
Go to se11
give the table name
STXH
Thanks
Ramakrishna Pathi
2009 Mar 18 5:09 AM
2009 Mar 18 5:11 AM
for example, i use text element like text-001 in program. i think these data of text element are saved in some tables. i want to know which table save it?
2009 Mar 18 5:15 AM
Hi zhijun ,
Chk this table.
RS38M----Table name whichScreen fields Text elements .
INUM-----Field in the table which stores Number of text element.
ITEX132--field name in the table which stores text
Hope it will be useful.
Regards,
Lakshman.
2009 Mar 18 5:16 AM
for expample, i use TEXT-001 in program, i want to know which table save information of it, like ID KEY ENTRY, i can use 'READ TEXTPOOL' to get it but i think it has some table save information of it, i want to know tables
2009 Mar 18 5:23 AM
I dont think you can get that data from any table directly.
Use this.
[Table for text elements|https://forums.sdn.sap.com/click.jspa?searchID=23660665&messageID=4580358]
2009 Mar 18 5:23 AM
Hi,
You have to use table:STXH and function module: READ_TEXT
Kindly go through this sample code below:
TABLES: PBIM.
* stxh, stxl, stxb - trans tables for text
* ttxit - text on text-ids
* ttxot - Short texts on text objects
* Transaction MD63
SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR,
S_WERKS FOR PBIM-WERKS.
DATA: BEGIN OF HTEXT.
INCLUDE STRUCTURE THEAD.
DATA: END OF HTEXT.
DATA: BEGIN OF LTEXT OCCURS 50.
INCLUDE STRUCTURE TLINE.
DATA: END OF LTEXT.
DATA: BEGIN OF DTEXT OCCURS 50.
DATA: MATNR LIKE PBIM-MATNR.
INCLUDE STRUCTURE TLINE.
DATA: END OF DTEXT.
DATA: TNAME LIKE THEAD-TDNAME.
SELECT * FROM PBIM WHERE WERKS IN S_WERKS.
MOVE PBIM-BDZEI TO TNAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
ID = 'PB'
LANGUAGE = 'E'
NAME = TNAME
OBJECT = 'PBPT'
* ARCHIVE_HANDLE = 0
IMPORTING
HEADER = HTEXT
TABLES
LINES = LTEXT
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
LOOP AT LTEXT.
IF LTEXT-TDLINE NE ''.
MOVE LTEXT-TDLINE TO DTEXT-TDLINE.
MOVE PBIM-MATNR TO DTEXT-MATNR.
APPEND DTEXT.
ENDIF.
ENDLOOP.
ENDSELECT.
LOOP AT DTEXT.
WRITE:/ DTEXT-MATNR, DTEXT-TDLINE.
ENDLOOP.
Hope it helps
Regards
Mansi
2009 Mar 18 5:29 AM
2009 Mar 18 5:32 AM
Use FM READ_TEXTELEMENT_FROM_REPORT
Pass Report name & KEY = 001 ( For text element text-001)
Import Parameters Value
PROGRAM ZSMR_DEBT_NTRY_SUMRY
KEY 001
LANGU EN
Export Parameters Value
ENTRY Selection Screen
2009 Mar 18 5:32 AM
HI,
see the following table DD04L / DD04T
hope this help you
Regards
Ritesh J
2009 Mar 23 1:40 AM