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 are the update types possible?

608


Where do you use help views?

559


What is value table?

577


What is the difference between a dialog program and a report?

550


hi to all abap interview guys please notify this .. first if u have any doubts please go through google search or else please do debugging with some sample programs . but don't post even silly questions too. thanking you.

1546






What is a maintenance view? : abap data dictionary

573


What are the data types of the external layer? : abap data dictionary

791


What is the purpose of creating symbolic a/c, what is transaction code for same? Can we assign one symbolic a/c to multiple wage types? : sap abap hr

597


What is a table attribute? : abap data dictionary

564


Define subtype ? : abap hr

608


What is asynchronous update?

575


HOW TO DIFFERENT CALL TRANSACTION ON THE BASIS OF DOUBLE CLICKING ON DIFFERENT FIELD.

1781


How do you import pay scale data from non sap to sap? : sap abap hr

575


How to create a check box/option button in a list?

2458


What are the differences between session method and call transaction method? : abap bdc

550