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.


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
NAME = Text Name
OBJECT = Text Object


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


Leave a Reply

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