2012 May 24 7:57 AM
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
2012 May 24 9:19 AM
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.
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
2012 May 24 8:05 AM
2012 May 24 9:11 AM
2012 May 24 9:19 AM
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.
2012 May 24 9:24 AM
Hi
How to read the text that has not be saved from the internal table ?
Tetsuo
2012 May 24 9:41 AM
Hi Tetsuo ,
Please put break point near FM Read_text and check inside the FM where exactly that Text is getting populated and How. Thus you will come to know the Internal table name .
Now you can use it for further operations.
Best Regards,
Sachin
2012 May 24 9:53 AM
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
2012 May 24 11:14 AM
Thank you so much, Karthik !
Now I got long-text before save.
Regards
Tetsuo
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |