SAP Function /OSP/GENERATE_VARIANT_NAME - Generates variant name using &, date and number range

Parameter Reference Type Length Text
ET_RETURN BAPIRET2_T h 548 Return parameter table
EV_VARIANT /OSP/DT_VARIANT C 14 ABAP: Name of variant (without program name)

Exception Text
NUMBER_RANGE_INIT_FAILED Number range initialisation failed
VARIANT_NAME_GENERATION_FAILED Variant name generation failed