‎2006 Sep 29 7:58 AM
Hi All,
We hav a scenario that to retrevie the extended basic text of a material posted in the Transaction MM03.
We searched in the tables STXH & STXL using READ_TEXT Function Module but still we are unable to find the Additional text defined for that particular material.
Any idea where will it be stored n how can it be retrevied.
If someone has faced similar scenario pls suggest us the solution to retrevie the additional text of tht particular material
Suggestions and Help will be much appreciated.
Regards.
Ramesh.
‎2006 Sep 29 12:08 PM
Hi ramesh,
please try this, might be heipful to you,
READ_TEXT
Import Parameters Value
CLIENT 800
ID GRUN
LANGUAGE EN
NAME 100-100(ur mat number)
OBJECT MATERIAL
ARCHIVE_HANDLE 0
LOCAL_CAT
Regards,
Vishveshwara.
‎2006 Sep 29 10:41 AM
find out the TextID then check thru FM ,have u maintained the data in the server where u are testing.
check tcode SE75 for text Id list
Regards
Prabhu
‎2006 Sep 29 11:15 AM
Hi,
You can retrieve the corresponding text using read text FM.In the READ_TEXT FM pass your correspong name and ID import parameters. to this function module
tables: tline.
data : gt_welcome type table of tline.
data : Xhead type thead.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'ST'
language = sy-langu
name = 'ZSM_EMPLOYEE_WELCOME'
object = 'TEXT'
TABLES
lines = gt_welcome
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
Please assign points if helpful.
Thanks & Regards
Aashish Garg
‎2006 Sep 29 11:27 AM
Hi
For determining the parameters, you can do that by going to the editor of the text. Use menupath Goto->Header. Here we can find the Text-ID, Text Object and how textname is stored. Pass these parameters to FM: READ_TEXT to extract the text.
Note that material number has to be prefixed with '0' incase of numerical values. For doing so, use FM: CONVERSION_EXIT_ALPHA_OUTPUT.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = itab-matnr
IMPORTING
OUTPUT = itab-matnr.Hope the above info helps you.
Kind Regards
Eswar
‎2006 Sep 29 12:08 PM
Hi ramesh,
please try this, might be heipful to you,
READ_TEXT
Import Parameters Value
CLIENT 800
ID GRUN
LANGUAGE EN
NAME 100-100(ur mat number)
OBJECT MATERIAL
ARCHIVE_HANDLE 0
LOCAL_CAT
Regards,
Vishveshwara.