SAP Function RS_VARIANT_EXISTS - Checks whether variant exists

Parameter Reference Type Length Default Optional Text
REPORT RSVAR-REPORT C 40 Report Name
VARIANT RSVAR-VARIANT C 14 Variant name

Parameter Reference Type Length Text
R_C SYST-SUBRC I 4 Return code (= 0 if variant exists)

Exception Text
NOT_AUTHORIZED No authorization
NO_REPORT Report name = space
REPORT_NOT_EXISTENT Report does not exist
REPORT_NOT_SUPPLIED Report is not type '1'


This function module checks whether a variant exists for a givenreport.