‎2008 Aug 14 5:57 AM
Hi,
Does anyone know if there is a function module that will be used in retrieving the header text? I will be displaying the data in SMARTFORM format. Your help is highly much appreciated.
Thanks!
‎2008 Aug 14 5:58 AM
use READ_TEXT.
You can use the Include Text by adding a Text Node in the smartform...then u will not require any other FM.
‎2008 Aug 14 5:59 AM
‎2008 Aug 14 6:00 AM
I will be retrieving the order header text... for every order, it changes the header text..
‎2008 Aug 14 6:09 AM
Hi ysera,
You can use READ_TEXT to retreive header text.
READ_TEXT provides a text for the application program in the specified work areas.
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. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
You have to used the READ_TEXT functions to read the SAP long text. e.g. Sales Order, Purchase Order Item text etc.
To check your long text header, go into the long text. Click Goto -> Header
This will give you OBJECT, NAME, ID, and LANGUAGE.
Pass them in the FM, you will get the header text that you want.
Also go through the below link:
http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8c8494511d182b70000e829fbfe/content.htm
Hope this will help.
Regards,
Nitin.
‎2008 Aug 14 6:09 AM
Do I still need to do coding for retrieving the order header text or just passing the function module for SMARTFORMS?