SAP Function /ASU/RS_VARIANT_EXISTS - Checks whether variant exists

Parameter Reference Type Length Default Optional Text
EXEC_CLIENT /ASU/EXEC_CLIENT C 3 ASU: Client in which an ASU step is executed
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'