Application Development and Automation 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: 
Read only

using 'READ_TEXT' function module

Former Member
0 Likes
1,778

Hi,

What is the procedure of using the function module 'READ_TEXT' to read header texts. What should the import and export parameters specified??

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
989

Hi,

Please refrain from asking very basic questions before moderators takes any action.

Forum rules:

You could have searched with word READ_TEXT in the forum before posting this. You can see the where used list of this FM in your system it self to see how to use this FM.

Thanks,

Vinod.

7 REPLIES 7
Read only

Former Member
0 Likes
989

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

Read only

0 Likes
989

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'.

Read only

vinod_vemuru2
Active Contributor
0 Likes
990

Hi,

Please refrain from asking very basic questions before moderators takes any action.

Forum rules:

You could have searched with word READ_TEXT in the forum before posting this. You can see the where used list of this FM in your system it self to see how to use this FM.

Thanks,

Vinod.

Read only

0 Likes
989

Hi

Thanks for the help Raj, and thanks Vinod for the suggestion. I'll take care in the future.

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
989

Hi it holds a fm documentation, please read it.

Read only

Clemenss
Active Contributor
0 Likes
989

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

Read only

Former Member
0 Likes
989

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..