Menu

SAP Function Module RS_CREATE_VARIANT_RFC

Creating a variant (not using a selection screen)

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 RS_CREATE_VARIANT_RFC (Creating a variant (not using a selection screen)) is a standard Function Module in SAP ERP and is part of the function group SVAR_RFC within the package SLDBV.

Technical Information

Function Module RS_CREATE_VARIANT_RFC
Short Text Creating a variant (not using a selection screen)
Function Group SVAR_RFC
Package SLDBV
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CURR_REPORT LIKE RSVAR-REPORT Report Name
CURR_VARIANT LIKE RSVAR-VARIANT Variant Name
VARI_DESC LIKE VARID Variant description (structure VARID)

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN LIKE BAPIRET2 Return Code

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
VARI_CONTENTS LIKE RSPARAMS Contents (STRUCTURE RSPARAMS)
VARI_TEXT LIKE VARIT Variant text (structure VARIT)

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ILLEGAL_REPORT_OR_VARIANT Incorrect report or variant name (VARI_DESC)
ILLEGAL_VARIANTNAME Variante name space or contains '&' or '%'
NOT_AUTHORIZED No Authorization
NOT_EXECUTED Not executed
REPORT_NOT_EXISTENT Report does not exist
REPORT_NOT_SUPPLIED Report is not type '1'
VARIANT_EXISTS Layout Already Exists
VARIANT_LOCKED Variant locked