Hi Toall abap gurus what are the variants in alv reports ?
and what is the use of reuse_alv_variants_get ?
and what is the purpose of i_save parmaetr in the
resue_av_grid-display funmodule?
what is the purpose of reuse _av_default_varinat_get ?
Thanks in advance for ur answers
kumar
Answers were Sorted based on User's Feedback
Answer / vidya
Hey
Variants in ABAP are like any other variants that we use in
ABAP. It helps us get a default value on our screen fields.
In short, it works like saving your pwds on your mail accounts.
The reuse_alv_default_variant_get helps you to give a
default value( had you mentioned in the program ) to your
screen field. This default variant is generally stored in
the struc CS_VARIANT of your program.
i_save in reuse_alv_grid_display : As mentioned above
cs_variant from the reuse_alv_default_variant_get is passed
to your functional module via i_save..
If i_save = '' variants cannot be saved.
i_save = X std save mode.
You also have modes like U and A.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / krishj
Hi,
i_save allows u to save the alv layout variant,
i_save = ' ' or X is variant globally available
i_save = 'U' is user specific variant.
Thanks.
Is This Answer Correct ? | 0 Yes | 0 No |
What is page window?
What is the significance of at line-selection event?
What is the first thing you do after vendor setup is complete?
How can you find the field/data underlying a transaction?
How to debug a sapscript?
What is the difference between sum and collect?
how u transport a abap program from 4.7 version to 5.0 version?
A window is missing while copying a sapscript from one client to another client. What should be done?
How can you remove leading zeros of a number in script?
what is Badi ?
difference between structure and append structure
how to keep pushbuttons in application toolbar in alv?