‎2013 Apr 11 4:59 PM
Hi,
I found this tutorial to use read_text function to display texts:
http://abaplovers.blogspot.it/2008/02/function-modules-create-text-and-read.html
Now my problem is to display the text of the material master view "Purchase order text"
When I execute the function by SE37 I can see the following:
CLIENT
ID
LANGUAGE
NAME
OBJECT
ARCHIVE_HANDLE
LOCAL_CAT
LINES
Don't know what values should I have to enter for the field in "bold" format.
Thanks
Regards
‎2013 Apr 12 5:47 AM
Hello,
The table to look for standard text in SAP is STXH, STXL. By looking at the tables you will get a fair idea of the data needs to be provided to the function module READ_TEXT.
ID : BEST
NAME : <MATERIAL NUMBER>
OBJECT : MATERIAL
ARCHIVE_HANDLE: N/A
LOCAL_CAT : N/A
LINES :N/A
Regards
Suresh Nair
‎2013 Apr 11 5:14 PM
Hello Guest,
One way is going to make them function module through SE37 transaction and put a break point in session, then you log in to view this material where the text and should enter debuguer, from here you can view the data that is should call the function module READ_TEXT.
Regards.
‎2013 Apr 12 5:47 AM
Hello,
The table to look for standard text in SAP is STXH, STXL. By looking at the tables you will get a fair idea of the data needs to be provided to the function module READ_TEXT.
ID : BEST
NAME : <MATERIAL NUMBER>
OBJECT : MATERIAL
ARCHIVE_HANDLE: N/A
LOCAL_CAT : N/A
LINES :N/A
Regards
Suresh Nair
‎2013 Apr 12 5:59 AM
Hi ,
With regards to getting text id's etc.
eg: PO texts.
--> Go into the material master PO text
--> Double click into the required text.
--> Click the "GO TO" menu option.
--> click Header.
and all the info you need is there.
Regards,
Sachin
‎2013 Apr 12 6:13 AM
Hi,
ID = 'BEST'
LANGUAGE = 'E'
NAME = Enter the material numer with complete length (eg. if material is A101 then 00000000000000A101)
OBJECT = 'MATERIAL'
Test the same in se37
You can find ID, NAME and Object details in PO text by opening the same in script mode and choosing the menu options "Header".
Check the below link as well :-
http://scn.sap.com/thread/400320
Regards,
Rahul Singh
‎2013 Apr 12 6:46 AM
Hi,
Use the Import Parameters with the following details
ID : BEST
LANGUAGE : Desired Language (EN)
NAME : Material Number ( Entire value Without Removing the Prefix zeros )
OBJECT : MATERIAL
You can get the text in the Tables LINES-TDLINE.
Use STXH and STXL for the inputs to the READ_TEXT Function Module.
Regards,
AyyamPerumal