09-16-2007 6:05 PM
Hi Guys,
what is the difference between including a text using include object and Using
FM read_text,save_text?
What is purposeofcalling read_text andsave_text?
Thanks in adv,
ram.
09-16-2007 11:27 PM
If you want to read any long texts or standard texts we use the READ_TEXT FM. ANd to save them we use SAVE_TEXT. Normally these will be the free texts which wont be stored in Database directly. You can view the text ids in the STXH table which can be read.
09-16-2007 11:27 PM
If you want to read any long texts or standard texts we use the READ_TEXT FM. ANd to save them we use SAVE_TEXT. Normally these will be the free texts which wont be stored in Database directly. You can view the text ids in the STXH table which can be read.
09-17-2007 12:54 AM
Hi,
INCLUDEing a text is possible only in SAPscript editor. But in some cases it is required that we fetch the data stored in text objects and display in a report or print in a layout. To reterieve the data we need to use the READ_TEXT FM and in some case we may have to create the text object dynamically while a business document is saved. In such cases we use the SAVE_TEXT to write the data in the text object.
For READ_TEXT check
http://www.sap-basis-abap.com/sapac002.htm
FOR SAVE_TEXT check
http://www.howforge.com/abap-4-example-code-save-text
Cheers
VJ
09-18-2007 6:36 PM