Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

regarding standard text

Former Member
0 Kudos
71

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.

1 ACCEPTED SOLUTION

varun_maharshi
Active Participant
0 Kudos
36

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.

3 REPLIES 3

varun_maharshi
Active Participant
0 Kudos
37

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.

Former Member
0 Kudos
36

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

Former Member
0 Kudos
36

hi,

Thank u all...