SAP ABAP Function Module RS_CREATE_VARIANT (Creating a variant (not using a selection screen))
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-TO (Application Component) Logical DB, Selection Screens, Selection Variants
     SLDBV (Package) Selection Screens, Variants, Logical Databases
Basic Data
Function Module RS_CREATE_VARIANT Creating a variant (not using a selection screen)  
Function Group SVAR   Maintain Variants  
Program Name SAPLSVAR   Function Group for Variant Maintenance 
INCLUDE Name LSVARU18    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Importing CURR_REPORT TYPE RSVAR-REPORT Report Name
Importing CURR_VARIANT TYPE RSVAR-VARIANT Variant name
Importing VARI_DESC TYPE VARID Variant description (structure VARID)
Tables VARI_CONTENTS TYPE RSPARAMS Contents (STRUCTURE RSPARAMS)
Tables VARI_TEXT TYPE VARIT Variant text (structure VARIT)
Tables VSCREENS TYPE RSDYNNR
Tables VARI_CONTENTS_L TYPE RSPARAMSL Gen. Structure for Parameters and Select-Options (132 char.)
Exception ILLEGAL_REPORT_OR_VARIANT TYPE Incorrect report or variant name (VARI_DESC)
Exception ILLEGAL_VARIANTNAME TYPE Variante name space or contains '&' or '%'
Exception NOT_AUTHORIZED TYPE No authorization
Exception NOT_EXECUTED TYPE Not executed
Exception REPORT_NOT_EXISTENT TYPE Report does not exist
Exception REPORT_NOT_SUPPLIED TYPE Report is not type '1'
Exception VARIANT_EXISTS TYPE Layout Already Exists
Exception VARIANT_LOCKED TYPE Variant locked
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  19950113 
SAP Release Created in