‎2011 May 17 1:06 PM
HI,
We copied a standard program RIAUFK20, the program shows the ALV output . We changed only the fieldcatalog. The problem is when the program shows the output first time it shows the correct data what we added to the standard one. When user changes the layout and the screen refreshes it wipes out the data that we added to the report. How can it be prevented from being removed?
Thanks in advance
‎2011 May 17 7:07 PM
Sanjane:
You will also need to modify the layout sets saved for that report; the existing layouts will not take into account your changes to the field catalog & data.
If using ALV grid (function group SLVC_FULLSCREEN) have a look at function modules REUSE_ALV_GRID_LAYOUT_INFO_GET & REUSE_ALV_GRID_LAYOUT_INFO_SET. If using ALV list (function group SALV) have a look at function modules REUSE_ALV_LIST_LAYOUT_INFO_GET & REUSE_ALV_LIST_LAYOUT_INFO_SET. For all of these function modules, click on "Function Module Documentation" button to see the on-line documentation. You can also find documentation on help.sap.com.
Regards,
D.