Fonction SAP /OSP/REPORT_CREATE_VARIANT - Create a variant for R/3 Report

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
IT_VARI_CONTENTS /OSP/TT_REP_VAR_NAMEVALUEPAIRS h 102 General Table type for Parameters and SELECT-OPTIONS
IV_GW_CALL /OSP/DT_FLAG C 1 X Flag
IV_GW_DATE SYDATUM D 8 X Current Date of Application Server
IV_GW_LANGU SYLANGU C 1 X Language Key of Current Text Environment
IV_REPORT_NAME /OSP/DT_PROGNAME C 40 ABAP Program Name
IV_SAPID /OSP/DT_SAPID C 32 X SAP ID - GUID
IV_USER_NAME /OSP/DT_UNAME C 12 User name

Paramètre Reférence Type Long. Description
ET_RETURN BAPIRET2_T h 548 Return parameter table
EV_SAPID /OSP/DT_SAPID C 32 SAP ID - GUID
EV_VARIANT /OSP/DT_VARIANT C 14 ABAP: Name of variant (without program name)

Exception Description
ILLEGAL_VARIANT_NAME Illegal Variant Name
NOT_AUTHORIZED Not authorized
NOT_EXECUTED Not Executed
VARIANT_EXIST Variant already exist
VARIANT_LOCKED Variant locked
VARIANT_NAME_GENERATION_FAILED Variant name generation failed