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

fm READ_TEXT before save

Former Member
0 Likes
1,936

Hi

I want to check long-text using fm READ_TEXT in save_document_prepare ( VA02 ).

I can't get updated long-text, but saved long-text only.

Any suggestions?

Tetsuo

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,568

You can use the read_text when the text has been saved into database.

if the text has not be saved, you can read the text from the internal table.

7 REPLIES 7
Read only

Former Member
0 Likes
1,568

Hi,

Check the below link:

http://scn.sap.com/thread/1610372

Hope it serves useful to you.

Read only

0 Likes
1,568

Hi

I try, but only get already saved text.

Tetsuo

Read only

Former Member
0 Likes
1,569

You can use the read_text when the text has been saved into database.

if the text has not be saved, you can read the text from the internal table.

Read only

0 Likes
1,568

Hi

How to read the text that has not be saved from the internal table ?

Tetsuo

Read only

0 Likes
1,568

Not Active Contributor Hi

Read only

0 Likes
1,568

Hi Tetsuo,

The header text would not be saved till the Save is complete. It will be stored in memory temporarily.

Check the below link to see how to access the text from memory;

http://scn.sap.com/thread/64784

Also we  have a working solution from max in the below thread;

http://scn.sap.com/thread/404202

Hope this helps.

Regards,

Karthik D

Read only

0 Likes
1,568

Thank you so much, Karthik !

Now I got long-text before save.

Regards

Tetsuo