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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a help view? : abap data dictionary

873


What are the components of sapscript?

818


I am getting the (first) page number and the remaining records displayed in another list in another page BUT the PAGE Number is not displayed? What is the code/solution?

1741


What are the tcodes for performance tuning?

1129


Which type of tables used this buffer?

818


Explain the differences between sap memory and abap memory?

739


Can we use flow logic control key words in abap/4 and vice-verse?

750


How do you set up background jobs in sap? What are the steps?

759


The extract statements in field groups can be used before or after processing the sort statements. State true or false. : abap modularization

795


If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?

1575


What are the different methods of passing data? : abap modularization

773


When to use logical database?

774


why particularly lock object name starts with EZ OR EY?

1735


Advantages and disadvantages of different types of bdc's?

765


Explain what are the different functions used in sap script?

773