Automation Engine Script Guide > AE JCL for Applications > SAP > R3_COPY_VARIANT

R3_COPY_VARIANT

This scriptA particular Automation Engine object type. statement copies a reportA report provides more detailed information about a task's execution or a component. variant.

Transaction: SA38

Interface: AE and Standard

Syntax

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 agentA program that enables the de-centralized execution of processes (such as deployments) on target systems (computers or business solutions) or a service that provides connectivity to a target system (such as for databases or middleware). An agent is also an object type in the Automation Engine. [Formerly called "Executor."] See also: host waits after a variant has been copied.
Format of the value: script literal

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 applicationAn application is a software which helps a user to fulfill specific tasks. In the context of ARA see also: Application entity. servers.

 
MODE=

Processing mode.
Format of the value: script literal

Allowed values: "" (default value) and "C"

"" - Copies the variant by duplicating table entries.
"C" - Creates the variant by referring to SAP-internal interfaces.

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.
Format of the value: script literal

Allowed values: "YES" and "NO" (default value)

"YES" - The target variant is overwritten.
"NO" - The target variant is not 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.
"NO" - The variant is not protected.

 

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).

Example

Variant 'DAILY' of report 'RSPO0041' is copied to 'DAILYCOP'.

R3_COPY_VARIANT REPORT='RSPO0041',SOURCE='DAILY',TARGET='DAILYCOP'

 

See also: 

 


Automic Documentation - Tutorials - Automic Blog - Resources - Training & Services - Automic YouTube Channel - Download Center - Support

Copyright © 2016 Automic Software GmbH