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

Standard text changes not getting reflected immediately in smartform include text

Arun_Prabhu_K
Active Contributor
0 Kudos
3,083

I have edited a standard text via SO10 in one session. In another session, I have a module pool transaction displaying the same as include text in a smartform. On previewing, the changes saved in the standard text is not reflecting immediately in the module pool smartform. The text is getting reflected in the smartform only after exiting the module pool tcode. What may be the reason?

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
2,889

As long as you don't leave the transaction, the long texts already read wont be read again from database but from an internal buffer

  • Look at FM such as GET_TEXT_MEMORY, MEMORY ID 'SAPLSTXD'
6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Kudos
2,889

I guess you expected this answer: if you don't save data in one session, you can't see it anywhere else.

Read only

RaymondGiuseppi
Active Contributor
2,890

As long as you don't leave the transaction, the long texts already read wont be read again from database but from an internal buffer

  • Look at FM such as GET_TEXT_MEMORY, MEMORY ID 'SAPLSTXD'
Read only

2,889

You could force the refresh with a call of DELETE_TEXT_FROM_CATALOG

Read only

0 Kudos
2,889

As an alternate solution, I deleted the include text, called READ_TEXT inside the smartform and displayed the lines internal table by looping.

Read only

matt
Active Contributor
0 Kudos
2,889

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead

Read only

FredericGirod
Active Contributor
2,889

Did you try to restart the printing transaction ?