How to retrieve long texts from SAP

There are some field that corresponds to long texts and that are stored in SAP. When developing our programs, we may need to extract this information from database, but we will find that these tables do not exist.

1) In the Display Long Text screen, choose Menu > Goto > Header. Keep the information that appears on screen.

sap_long_texts_01

2) Go to transaction SE37 (or call it from your code) and run function READ_TEXT.

The match between the function and the information in the dialog:

ID = Text ID
LANGUAGE = EN
NAME = Text Name
OBJECT = Text Object

sap_long_texts_02

3) If we click on the Entries icon, we will find the long text.

sap_long_texts_04

Leave a Reply

Your email address will not be published. Required fields are marked *