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 |
How are BAPI different from normal function modules?
What are the Various Types of internal tables?
What are matchcodes?
What are Delivery classes? What data will you want to transport during client copy?
how to creat a table with out primary key
What is the difference between collect and sum?
We created ZEMP table now i want to add more data but previous data should not disturb how can i do this?
differnce between screen exit, field exit and function exit
loop at itab. select matnr from mara into table itab upto 10 rows. endloop. will it work?
How many secondary indexes can we create in a table?
What is erp? : sap abap hr
How do you check it out whether the Logo is added or not in your forms?