Show TOC

Procedure documentationMaintaining Variants Manually Locate this document in the navigation structure

 

Once you have imported ABAP programs from an SAP instance, you can edit their variants, add, remove parameters and change parameter values inside SAP CPS.

This can be done per SAP System/ABAP/Client/variant combination. If for each ABAP program you import at least one variant as well as its definition, available columns will be presented in a drop-down menu.

The following job definitions allow you to interact with variants:

  • SAP_ImportVariants - import variants of already imported Abab programs

  • SAP_ImportVariantDefinitions - import parameter values and select options of variants

  • SAP_CopyVariant - copy a variant into another SAP System (you do not have to import the variant)

  • SAP_StoreVariant - create/update/replace a variant in an SAP System

  • SAP_DeleteVariant - delete a variant from an SAP System

Note Note

You can only import variants of ABAP programs that have already been imported.

End of the note.

Note Note

XBP 3.0 requires a logical system for the client, see for more information on creating logical systems for clients.

End of the note.

See Creating and Modifying Variants for step-by-step instructions on how to modify variants using the SAP CPS user interface.

Prerequisites

  • An RFC connection has been established between the Central Scheduler and a BI or BW system, as outlined in Connecting to SAP Systems.

Additionally, the SAP System must have one of the following:

  • XBP 3.0 support

  • The Redwood transport files must have been installed

Procedure

Change the value of a variant definition

  1. Navigate to   Environment → SAP Systems  .

  2. Choose Maintain Objects from the context menu of the SAP System.

  3. Choose an ABAP/client/variant/parameter/select option combination.

  4. Change the value of the selected parameter.

  5. Optionally, remove a parameter by choosing Delete from the context menu of a variant parameter.

  6. Choose Save and Close.

  7. Submit job definition SAP_StoreVariant with the parameter values below.

Parameter

Desctiption

SAP_SYSTEMS

The SAP System

CLIENT

The client of the SAP System

ABAP_PROGRAM_NAME

The variants ABAP program

ABAP_VARIANT_NAME

Variant

WRITE_MODE

The write mode allows you to specify how the job will handle duplicate entries. the following reactions are available when you encounter a duplicate: Error - the job gets the status error, nothing is changed in the SAP System Skip - the variant is skipped Replace - the variant is overwritten with the variant definition from SAP CPS Change - only different parameters are changed, deleted variant parameters will not be removed (recommended)

Result

The variant in the SAP System has been replaced with the variant that was edited in SAP CPS.