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

Layout changes removes the data

Former Member
0 Likes
410

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

1 REPLY 1
Read only

Dorian
Participant
0 Likes
358

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.