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: 

text element data save in which table

Former Member
0 Kudos
8,698

hi guys

i want to know text element data of program save in which table? thks

13 REPLIES 13

Former Member
0 Kudos
1,212

Table- STXH

Or use FM 'READ_TEXT' to retrieve texts..

Former Member
0 Kudos
1,212

hi

which table

check DD04L / DD04T

s@chin

Former Member
0 Kudos
1,212

Hi,

Use the below table for text elements

Go to se11

give the table name

STXH

Thanks

Ramakrishna Pathi

Former Member
0 Kudos
1,212

HI Zhijun,

You can get text elements of the program using FM READ_TEXT_ELEMENTS

Refer the below thread for its use:

Regards,

Nitin.

Former Member
1,212

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?

0 Kudos
1,212

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.

Former Member
0 Kudos
1,212

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

GauthamV
Active Contributor
0 Kudos
1,212

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]

Former Member
0 Kudos
1,212

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

Former Member
0 Kudos
1,212

Hi,

Check this table RS38M (field STEXTT).

and also check this table for reference

Regards,

Jyothi CH.

Edited by: Jyothi Chinnabathuni on Mar 18, 2009 11:00 AM

Former Member
1,212

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

Former Member
0 Kudos
1,212

HI,

see the following table DD04L / DD04T

hope this help you

Regards

Ritesh J

Former Member
0 Kudos
1,212

thanks guys so much