Application Development and Automation 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: 
Read only

regarding standard text

Former Member
0 Likes
661

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
Read only

varun_maharshi
Active Participant
0 Likes
626

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.

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.

3 REPLIES 3
Read only

varun_maharshi
Active Participant
0 Likes
627

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.

Read only

Former Member
0 Likes
626

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

Read only

Former Member
0 Likes
626

hi,

Thank u all...