Menu

SAP Function Module LVC_VARIANT_SELECT

Read a display variant

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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