This script statement copies a report variant.
Transaction: SA38
Interface: AE and Standard
R3_COPY_VARIANT
REP[ORT]=...
,S[OURCE]=...
,T[ARGET]=...
[,DELAY=...]
[,MODE=...]
[,OVERWRITE=...]
[,PROTECTED=...]
Syntax | Description/Format | AE Interface required |
---|---|---|
REP[ORT]= | Name of the report whose variant should be copied. Format of the value: script literal |
|
S[OURCE]= | Name of the source variant. Format of the value: script literal |
|
T[ARGET]= | Name of the target variant. Format of the value: script literal |
|
DELAY= |
Period in seconds which the agent waits after a variant has been copied. Default value: "0" Helps to avoid possible synchronization problems in an SAP system (a variant that has just been copied cannot be found) by using multiple application servers. |
|
MODE= |
Processing mode. Allowed values: "" (default value) and "C" "" - Copies the variant
by duplicating table entries. The parameter MODE=C must be used if you want to copy a system variant. A copy is not automatically included in a transport order. This parameter is not required if the standard interface is used. |
|
OVERWRITE= |
Handling if the variant
already exists. Allowed values: "YES" and "NO" (default value) "YES" - The target variant
is overwritten. |
|
PROTECTED= |
Handling of the variant while it is being copied. Allowed values: "YES" and "NO" (default value) "YES" - The variant is protected and cannot be changed. |
Note for using the XBP3.0 interface: The options Protect variant and Only background processing are not passed on and the copied variant is visible for all users (batch and dialog).
Variant 'DAILY' of report 'RSPO0041' is copied to 'DAILYCOP'.
R3_COPY_VARIANT REPORT='RSPO0041',SOURCE='DAILY',TARGET='DAILYCOP'
See also: