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 drop-down menu.
The following process definitions allow you to interact with variants:
- SAP_ImportVariants - import variants of already imported ABAP programs
- SAP_ImportVariantDefinition - 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
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
- Navigate to "Environment > SAP".
- Choose Maintain Objects from the context-menu of the SAP System.
- Choose an ABAP/client/variant/parameter/select option combination.
- Change the value of the selected parameter.
- Optionally, remove a parameter by choosing Delete from the context-menu of a variant parameter.
- Choose Save and Close.
- 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.