‎2010 Jan 16 4:00 AM
Hi,
What is the procedure of using the function module 'READ_TEXT' to read header texts. What should the import and export parameters specified??
‎2010 Jan 16 9:07 AM
‎2010 Jan 16 4:16 AM
Hi,
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'ZG01'
LANGUAGE = 'EN'
NAME = TH_INDATA_F01-VBELN_A
OBJECT = 'VBBK'
IMPORTING
HEADER =
TABLES
LINES = TD_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Hope it helps.
Regards,
Raj
‎2013 Sep 03 10:46 AM
Oops - basic schoolboy error - a little unfortunate when you are showing someone something as simple as a READ_TEXT function call. The language should be the 1-character code 'E' not the two character code 'EN'.
‎2010 Jan 16 9:07 AM
‎2010 Jan 16 12:20 PM
Hi
Thanks for the help Raj, and thanks Vinod for the suggestion. I'll take care in the future.
‎2010 Jan 16 12:41 PM
‎2010 Jan 16 3:36 PM
Hi,
please mark as solved.
If you can display the text within any transaction, then, in the text display, choose Goto->Header
Here the parameters for READ_TEXT can bessen:
Text Name
Language
Text ID
Text Object
Regards,
Clemens
‎2010 Jan 17 4:32 AM
you could find the parametesrs from the table STXH and STXL...OBJECT ID , OBJECT KEY, Language etc..check the table, it's easy to understand..if not use the where used list of the FM...it's very easy..