‎2008 Dec 22 9:03 AM
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.
‎2008 Dec 22 9:53 AM
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
‎2008 Dec 22 9:06 AM
‎2008 Dec 22 9:14 AM
Text ID is : STXH.
Pass the above text ID into READ_TEXT FM.
Regards
‎2008 Dec 22 9:53 AM
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