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, save_text and object_id

Former Member
0 Likes
1,934

Hi all,

I want to know how exactly read_text, save_text function modules are used and when they are generally used.

And what is object-id.

Actually I have a requirement of reading data from an infotype which has comment lines in it.

where exactly the text entered here will be saved and how to retrieve that.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,318

Hi

Regarding READ_TEXT please use the below link it will help you.

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

Regarding SAVE_TEXT please use the below link it will help you.

http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm

With Regards,

Venkatesh.H.N

Please reward points if helpful

Hi all,

I want to know how exactly read_text, save_text function modules are used and when they are generally used.

And what is object-id.

Actually I have a requirement of reading data from an infotype which has comment lines in it.

where exactly the text entered here will be saved and how to retrieve that.

6 REPLIES 6
Read only

Former Member
0 Likes
1,319

Hi

Regarding READ_TEXT please use the below link it will help you.

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

Regarding SAVE_TEXT please use the below link it will help you.

http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm

With Regards,

Venkatesh.H.N

Please reward points if helpful

Read only

Former Member
0 Likes
1,318

Hi Charan,

Check this following link for save_text.

check this code:

CALL FUNCTION 'SAVE_TEXT'

EXPORTING

CLIENT = SY-MANDT

HEADER = X_HEADER

  • INSERT = ' '

SAVEMODE_DIRECT = 'X'

  • OWNER_SPECIFIED = ' '

  • LOCAL_CAT = ' '

  • IMPORTING

  • FUNCTION =

  • NEWHEADER =

TABLES

LINES = IT_TLINES

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

OBJECT = 4

OTHERS = 5

.

IF SY-SUBRC 0.

*--ERROR.

ELSE.

*--SUCCESS.

ENDIF.

Check this link for read_text:

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

Hope this helps you.

Regards,

Chandra Sekhar

Edited by: Chandrasekhar Gandla on Jul 10, 2008 1:07 PM

Read only

Former Member
0 Likes
1,318

hi,

Plz refer to this link.

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

[http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm]

Hope this will help.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
1,318

Hi Charan

For Read_text

Go through the link given below :

With Regards

Nikunj shah