‎2007 Mar 19 12:32 PM
hi all
could any one please explain me the significance of the FM READ_TEXT_LINE could you please be elaborate
thanks & regards
‎2007 Mar 19 12:35 PM
‎2007 Mar 19 12:36 PM
Hi,
is it the READ_TEXT function module you are asking.
I think no fun module with name READ_TEXT_LINE:
OK, READ_TEXT fun module is used to fetch/read the long texts maintained in the header and item level of the application documents.
You have to pass OBJECT, OBJECTNAME, ID and LANG 4 fields to this fun module.
Go to the Long text field, double click on it it will take you to text editor.
from there GOT)-> HEADER there you will field these all 4 fields that are to be passed.
Hope this helps
reward if useful,
regards,
Anji
‎2007 Mar 19 12:41 PM
hi gopi pullagura,
Before seeing this READ_TEXT FM you have to know there is one more FM is available which is associated with READ_TEXT FM ie SAVE_TEXT.
SAP uses this SAVE_TEXT FM to save the text in the DB ( for example: when you go to VA01-create sales order and give any sold-to-party number and press enter then you can see the corresponding text has been displayed adjusent to the sold-to-party field )
SAP saves this text correspoing to the key value and some other import parameter and reterive the same by giving this import parameter and display it in the screen.
Is my answer is helpful for you.
Regards
Balaji E.
Message was edited by:
Balaji Elangovan
‎2007 Mar 19 12:42 PM
I think you are talking about READ_TEXT_INLINE -
As given by SAP.
SAPscript: Read text for inline editing
In order to process text modules in application programs, all information about a text module must be transferred to internal work areas.
A text is read from the text file or text memory with this function module. It must be described fully by specifying OBJECT, NAME, ID, and LANGUAGE. Generic entries in these parameters are not valid.
When header information and text lines have been read successfully, they are transferred to the work areas HEADER and LINES.
In addition, the number of lines defined in the parameter INLINE_COUNT are transferred from the table LINES to the table INLINES. This line table can be used to display the first text lines on a screen and change them. At PAI time the function module EDIT_TEXT_INLINE should be called up.
Go through the Documentation in SE37 for this one.
Regards,
Amit
Reward all helpful replies.