2006 Jan 20 3:59 PM
hi,
what i have is a (one!) report with 2 diffrent dynpros. on each dynpro is an alv-grid. saving variant (selected fields etc.) works fine in both. but when i want to load a variant it shows all variants for the report in each dynpro.
my question is:
is it possible to show only the variants for the dynpro that is actually displayed? -> is its possible to specify the (current) dynpro / grid when i save a variant?
greets
benjamin
hi,
what i have is a (one!) report with 2 diffrent dynpros. on each dynpro is an alv-grid. saving variant (selected fields etc.) works fine in both. but when i want to load a variant it shows all variants for the report in each dynpro.
my question is:
is it possible to show only the variants for the dynpro that is actually displayed? -> is its possible to specify the (current) dynpro / grid when i save a variant?
greets
benjamin
2006 Jan 20 4:02 PM
Hi Benjamin,
1. Using default facility provided
i don't think its possible.
2. Reason
Variant are Program Name Specific.
and not Screen specific !
PS :
Table for Variants is VARI
U will note that it has information
for Program Name only !!!
regards,
amit m.
Message was edited by: Amit Mittal
2006 Jan 20 4:10 PM
it is true, variants are saved with report name...
but the table where variants are stored in (LTDX) contains two more key-fields: HANDLE and LOG_GROUP.
maybe its possible to use them for specifiing the dynpro...?
2006 Jan 20 4:14 PM
Hi again,
1. Ya thats very correct.
(may be these fields are for such requirement purpose only)
2. however, in such case,
then the default facility needs to be overwriten
with our code for
a) displaying/selecting the variant
b) saving the variant
regards,
amit m.