Show TOC

Background documentationMaintaining Variants Automatically (Advanced) Locate this document in the navigation structure

 

You can create a RedwoodScript job definition to change one or more values of a variant directly, without the need to manually edit the variant. In the script youmodify the values for the vairants with legal values and then submit job definition SAP_StoreVariant to save the variant in the SAP System. This is especially useful when you want to have dynamic variants, for instance, a parameter that would contain the current date. With SAP CPS, this is easily implemented, as you could schedule a job daily which changes the parameter value of the variant and fills it with the current date.

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.
Syntax of Select Options

The following operators are available:

Syntax

Meaning

Mathematical Syntax

NOT

Not

!

EQ

Equals

=

NE

Not Equals

!=

NE

Not Equals

<>

GE

Greater than or equals

>=

GT

Greater than

>

LE

Less than or equals

<=

LT

Less than

<

Note Note

In RedwoodScript, both the NOT as well as the ! syntax can be used.

End of the note.

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