cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Is there a way to maintain ALV Layout Variants for a report without running the report first? Does a separate tcode exist for this?

0 Likes
View Entire Topic
Former Member
0 Likes

Here is what you can probably do. In your development system, just insert one or two records into your internal table of the ALV. Hardcode the internal table field values, but fill in all the fields. Put this in a temporary routine and call it just before your ALV call.

Once the output is shown, you can then create your variant and save it. Then modify your program to remove this temporary routine.

Srinivas

Former Member
0 Likes

Srinivas,

Great idea. That's probably what I'll do. It's not pretty but it gets the job done.

Former Member
0 Likes

I know it is not pretty, but that is what we can do if we don't have data. We can always create the data using the transactions that create data, but sometimes it is just too much to do that, particularly if you are accessing too many tables that span across several transactions. Also, you need to have the necessary config in place and the authorizations in place to do that. So this is our next best option.

Srinivas