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

Standard text..

Former Member
0 Likes
702

I have one module pool program, where some long text to be inserted by user. These long text will be saved as a standard text. In creation of that text when user inserting data into that field then the record is saved as user has entered including all new line etc. This program also has one display part. In display when those text is reading then the new lines are removed. It is taking as a contigious text.

Plz tell me how to read that as the data entered by user.

FM used....create_text, Read text.

I have one module pool program, where some long text to be inserted by user. These long text will be saved as a standard text. In creation of that text when user inserting data into that field then the record is saved as user has entered including all new line etc. This program also has one display part. In display when those text is reading then the new lines are removed. It is taking as a contigious text.

Plz tell me how to read that as the data entered by user.

FM used....create_text, Read text.

3 REPLIES 3
Read only

Former Member
0 Likes
599

Hi,

Read_Text FM will be useful to read the Long texts stored in the system, for example if you take Sales Order Text or Prod Order Text, in some cases you need to dispaly in SAP Script / send to some other systems, in such cases we will use READ_TEXT FM to read this based on object number.

see the sample code.

http://www.sap-basis-abap.com/sapac002.htm

Check this also.

http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db764494511d182b70000e829fbfe/frameset.htm

Regards

Kiran Sure

Read only

Former Member
0 Likes
599

Hi

use Read_text Function Module . fill the parameters text-id,spras, etc

u wil be getting the whole text in an internal table

loop at that internal table and display it.

Reward if useful

Read only

Former Member
0 Likes
599

Look,, I have used Create_text and Read_text.

In my module pool program user is entering text through a screen which is a custom control screen. Now user can save the text and also can edit that text. I have passed the text by using editor->set_text_as_stream. after editing the text I have received the text by using editor->get_text_as_stream. Now when user click on the save button, that text will bve saved as a standard text. This text can be entered in letter formet. Now the same is saved in standard text. But when I am going to read this and display the same the format is getting modified.

plz give me the solution.