Menu

SAP Function Module RS_CREATE_VARIANT

Creating a variant (not using a selection screen)

Unsere Literaturempfehlung

IDoc-Entwicklung für SAP: Customizing, Erweiterung, Eigenentwicklung

Wenn der Standard nicht ausreicht: Mit diesem Buch lernen Sie, IDocs selbstständig zu programmieren und zu erweitern. Die Autorin beschreibt Customizing-Techniken, die Erweiterung der Standardbausteine und komplette Eigenentwicklungen. Ob Rückmeldungen von Statuswerten, E-Mail-Workflows oder Serialisierung – für alle Aufgaben finden Sie Anleitungen und Tipps aus der Programmierpraxis. Neu in dieser Auflage: Überwachung und Fehlerbehandlung mit dem SAP Application Interface Framework.

Bei amazon.de ansehen →

The Function Module RS_CREATE_VARIANT (Creating a variant (not using a selection screen)) is a standard Function Module in SAP ERP and is part of the function group SVAR within the package SLDBV.

Technical Information

Function Module RS_CREATE_VARIANT
Short Text Creating a variant (not using a selection screen)
Function Group SVAR
Package SLDBV
Module Type Normal Module

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

This function module does not define any EXPORTING parameters.

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