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

read_text and READ_TEXT_INLINE diff

Former Member
0 Likes
2,365

Hello Experts,

Please tell me the exact difference between

READ_TEXT and READ_TEXT_INLINE fun modules.

Please give me some example where we need to use the both.

Thank you so much for all the replies.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,180

hi,

Read_text_inline:

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.

read_text:

The READ_TEXT function module allows you to programatically read any text into the program. You can then manipulate this text as needed.

This is really the only way for you to get the text programattically since the actual text is encrypted when stored in the database.

SAPscript: Read text

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.

Regards,

shiva.

2 REPLIES 2
Read only

Former Member
0 Likes
1,181

hi,

Read_text_inline:

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.

read_text:

The READ_TEXT function module allows you to programatically read any text into the program. You can then manipulate this text as needed.

This is really the only way for you to get the text programattically since the actual text is encrypted when stored in the database.

SAPscript: Read text

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.

Regards,

shiva.

Read only

Former Member
0 Likes
1,180

Hi,

It is:

Read_Text Function module is used to retrieve the text for a particular objects.

To find the Text id these are the following steps. Let us take an example of Billing document Header text.

1. goto VF03, enter Billing doc Number

2. from menuselect Goto>Header-->header Text..... New window will be displayed

3. select the Header Text. here you can see all the text.

4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper.

5. in the Next window you will find Text Name. Text ID, Language. etc...

Reward if useful.