Is there a way to maintain ALV Layout Variants for a report without running the report first? Does a separate tcode exist for this?
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.