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

Abt function modules

Former Member
0 Likes
460

Hi ,

In material master data i want to update sales text.

For this i want to use "read_text" and "save_text" function modules.

What is parameters i have to use and how to use ?

Thanks,

Madhu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
425

Hi madhu,

The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE.

FUNCTION 'READ_TEXT' consists of exporting and importing

EXPORTING

CLIENT = SY-MANDT

OBJECT = ?...

NAME = ?...

ID = ?...

LANGUAGE = ?...

ARCHIVE_HANDLE = 0

IMPORTING

HEADER =

TABLES LINES = ?...

EXCEPTIONS ID =

LANGUAGE =

NAME =

NOT_FOUND =

OBJECT =

REFERENCE_CHECK =

WRONG_ACCESS_TO_ARCHIVE =

the answer for ur question is

ID denoted the text ID of the text module.

Generally table TTXID contains the valid text IDs, depending on the text object.

as we need to pass the sales text objetc the ID is STXH

pass the valus of

ID = 'STXH'.

to the function module and try out.

hope this works

Thanks

3 REPLIES 3
Read only

GauthamV
Active Contributor
0 Likes
425

SEARCH in SCN you will get lots of posts.

Read only

Former Member
0 Likes
425

Text ID is : STXH.

Pass the above text ID into READ_TEXT FM.

Regards

Read only

Former Member
0 Likes
426

Hi madhu,

The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE.

FUNCTION 'READ_TEXT' consists of exporting and importing

EXPORTING

CLIENT = SY-MANDT

OBJECT = ?...

NAME = ?...

ID = ?...

LANGUAGE = ?...

ARCHIVE_HANDLE = 0

IMPORTING

HEADER =

TABLES LINES = ?...

EXCEPTIONS ID =

LANGUAGE =

NAME =

NOT_FOUND =

OBJECT =

REFERENCE_CHECK =

WRONG_ACCESS_TO_ARCHIVE =

the answer for ur question is

ID denoted the text ID of the text module.

Generally table TTXID contains the valid text IDs, depending on the text object.

as we need to pass the sales text objetc the ID is STXH

pass the valus of

ID = 'STXH'.

to the function module and try out.

hope this works

Thanks