Application Development 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: 

fm READ_TEXT before save

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Check the below link:

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

Hope it serves useful to you.

0 Kudos

Hi

I try, but only get already saved text.

Tetsuo

Former Member
0 Kudos

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.

0 Kudos

Hi

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

Tetsuo

0 Kudos

Not Active Contributor Hi

0 Kudos

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

0 Kudos

Thank you so much, Karthik !

Now I got long-text before save.

Regards

Tetsuo