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

function module

Former Member
0 Likes
333

Hi all,

What is the exact use of function module READ_TEXT and DELETE_TEXT_AFTER_COMMIT. waiting for response,

Regards,

John

3 REPLIES 3
Read only

Former Member
0 Likes
308

hi John,

FU READ_TEXT

____________________________________________________

Text

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,

santosh

Read only

Former Member
0 Likes
308

Hello John,

READ_TEXT is used to read the text stored against any Object line material/vendor/purchase order. U need to provide the necessary key and u will be able to read the associated text.

As for DELETE_TEXT_AFTER_COMMIT this FM deletes the TEXT from STXH /STXL tables.

Read only

Former Member
0 Likes
308

HI,

READ_TEXT is used to read the "sapscript" text which is stored in transaction SE75 and SO10. You have standard text which is in SO10 and Text objects which is configured via SE75. For example, everywhere you see "long text" in a text editor on a screen, chances are that it is stored as a text object and can be pulled into your programs via the READ_TEXT function module.

Regards,

kumar