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: 

How to transport ALV Layout Variants

Former Member

Dear Community,

What a surprise today held! After many months of testing a simple report in our test environment, the same was transported into our production environment. It was only then that it was discovered that a no-longer-with-the-organisation developer had hard-coded a reference to a layout variant in the report. In this case - one that didn't exist in the production system.. Hmm.. not happy Jan..

Normally, one would maintain the ALV variants using the maintenance functions in the report. However, in this case, the report had disabled all variant maintenance.

So we found the following function module to be very helpful.


Function module LT_VARIANTS_TRANSPORT

This function module places the (existing) variants of a report into a transport. And you even get a nice (familiar) dialog to choose the variants that should be included.

This was certainly easier that many of the other tips on the Internet to manually create R3TR TDAT LT_VARIANT entries in a transport.

Enjoy!

3 REPLIES 3

Former Member
0 Kudos

Hi Gary

Nice piece of information and thanks for sharing.

I do think however you may want to create this as a Blog Post instead of a Discussion.

Regards

Arden

0 Kudos

HI Gary,

Thanks for the info. I was searching for a question but came to know that its a info.

Regards,

Paul

Sandra_Rossi
Active Contributor
0 Kudos

Or, as explained in note 643330 - ALV layout: Importing and exporting layouts, you may use the program RKKBALVI.