2008 Mar 24 2:28 PM
hi all,
reuse_alv_varient_default_get
reuse_alv_varient_f4
reuse_alv_varient_existance
what is the use of these function modules in alv reports
hi all,
reuse_alv_varient_default_get
reuse_alv_varient_f4
reuse_alv_varient_existance
what is the use of these function modules in alv reports
2008 Mar 24 2:38 PM
Hi,
REUSE_ALV_VARIANT_DEFAULT_GET
Provides the default variant for the list specified in the structure parameter CS_VARIANT of a program.
reuse_alv_varient_f4
Possible entries help, if the variant is defined explicitly as an input field on a screen. The selection must be specified by at least partially filling the parameter structure IS_VARIANT.
REUSE_ALV_VARIANT_EXISTENCE
This function module checks the existence in the database of a display variant passed in the interface.
Thanks,
Sriram Ponna.
2008 Mar 24 6:43 PM
REUSE_ALV_VARIANT_DEFAULT_GET the variants in the list display can be both user-secific and general.The user can programmatically set the initial (default) variant for list display.
The defaulty variant can be found using the function module.
REUSE_ALV_VARINT_F4 FOR a possible entries help fo variants.
REUSE_ALV_VARIANT_EXISTANCE IS USED FOR getting existing variants.
2008 Mar 24 4:23 PM
Hi,
REUSE_ALV_VARIANT_DEFAULT_GET
Functionality
Provides the default variant for the list specified in the structure parameter CS_VARIANT of a program.
Parameter
I_SAVE
CS_VARIANT
Exceptions
WRONG_INPUT
NOT_FOUND
PROGRAM_ERROR
REUSE_ALV_VARIANT_F4
Functionality
Possible entries help, if the variant is defined explicitly as an input field on a screen. The selection must be specified by at least partially filling the parameter structure IS_VARIANT.
Parameter
IS_VARIANT
I_TABNAME_HEADER
I_TABNAME_ITEM
IT_DEFAULT_FIELDCAT
I_SAVE
I_DISPLAY_VIA_GRID
E_EXIT
ES_VARIANT
Exceptions
NOT_FOUND
PROGRAM_ERROR
REUSE_ALV_VARIANT_EXISTENCE
FunctionalityThis function module checks the existence in the database of a display variant passed in the interface.
Parameter
I_SAVE
CS_VARIANT
Exceptions
WRONG_INPUT
NOT_FOUND
PROGRAM_ERROR