2006 Mar 08 3:17 PM
Is there a way to copy the ALV Display Variants from one program to another? I am NOT referring to selection screen variants.
An SAP standard program was copied to a Z program. Some changes were made to the logic. The original SAP program has many (100+) ALV Display Variants. I do not want to manually re-create them. Is there a way to copy these from one program to another (without using a custom program to manipulate the tables)?
Thanks.
Norm
Is there a way to copy the ALV Display Variants from one program to another? I am NOT referring to selection screen variants.
An SAP standard program was copied to a Z program. Some changes were made to the logic. The original SAP program has many (100+) ALV Display Variants. I do not want to manually re-create them. Is there a way to copy these from one program to another (without using a custom program to manipulate the tables)?
Thanks.
Norm
2006 Mar 08 3:39 PM
Hi Norman,
when you specify the IS_VARIANT structure, maybe you could set the name of the program in the IS_VARIANT-REPORT field.
Whith that, you will access the variant from the standard report.
Rgd
Frédéric.
2006 Mar 08 3:53 PM
I like the idea, but what about new display variants? If they create and save a new one with the Z program, it would really save under the original SAP program? I'll have to think about that one!
2006 Mar 08 4:01 PM
Yes what ever you mention the Program name in the variant , it will import all variants from it, and it will save all variants (if they are new ) to the mentioned one.
regards
vijay
2006 Mar 08 3:51 PM
Hi norman,
even i was thinking the same while you passing the alv parameter is_variant, give the the program which is having 100 variants.
is_variant-REPORT = 'STANDARDPRG'.
this will import all varaints from it, but when you save any new one it will save in the same standard program.
regards
vijay
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |