09-19-2016 7:16 AM
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!
09-19-2016 7:19 AM
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
09-19-2016 7:37 AM
HI Gary,
Thanks for the info. I was searching for a question but came to know that its a info.
Regards,
Paul
09-19-2016 7:39 AM
Or, as explained in note 643330 - ALV layout: Importing and exporting layouts, you may use the program RKKBALVI.