Maintaining Variants Manually

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

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 dropdown list.

The following Process Definitions allow you to interact with variants:

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

Note: XBP 3.0 requires a logical system for the client, see Setting Up Logical Systems for more information on creating logical systems for clients.

See Creating and Modifying Variants for step-by-step instructions on how to modify variants using the Redwood Server user interface and the syntax to specify parameters and select options.

Prerequisites

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

Additionally, the SAP System must have either 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".
  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 Process Definition SAP_StoreVariant with the parameter values below.
Parameter Description
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 process will handle duplicate entries. The following reactions are available when you encounter a duplicate: Error - the process 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 Redwood Server 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 Redwood Server.

See Also