Menu

SAP Function Module LVC_VARIANT_SELECT

Read a display variant

The Function Module LVC_VARIANT_SELECT (Read a display variant) is a standard Function Module in SAP ERP and is part of the function group SLVC within the package SLIS.

Technical Information

Function Module LVC_VARIANT_SELECT
Short Text Read a display variant
Function Group SLVC
Package SLIS
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IT_DEFAULT_FIELDCAT TYPE LVC_T_FCAT Field Catalog with Field Descriptions
I_DEFAULT LIKE 'X' Read Default Variant
I_DIALOG LIKE 'X' Call with dialog
I_USER_SPECIFIC LIKE ' ' Incl. user-specific variants

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
ES_LAYOUT TYPE LVC_S_LAYO ALV Control: Layout Structure
ET_FIELDCAT TYPE LVC_T_FCAT Field Catalog with Field Descriptions
ET_FILTER TYPE LVC_T_FILT List output filter criteria
ET_SORT TYPE LVC_T_SORT List output sort criteria
E_EXIT LIKE Dialog cancelled by user

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CS_VARIANT LIKE DISVARIANT Variant information

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
IT_DATA LIKE Data Table

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
FC_NOT_COMPLETE Field catalog incomplete
NOT_FOUND Variant not found
PROGRAM_ERROR Program Errors
WRONG_INPUT Inconsistent input parameters