BW_ACTIVATE_INFOPACKAGE

Use the BW_ACTIVATE_INFOPACKAGE script element to schedule one or more InfoPackages for immediate start. The InfoPackage must not already be scheduled.

Note: If you use BW 7.x DataSources and Transformation Services (as of SAP NetWeaver 04s), you must transfer the data after loading it. Define suitable process chains in your BW system and handle them with the BW_ACTIVATE_CHAIN script element.

Transaction: RSA1

Syntax

BW_ACTIVATE_INFOPACKAGE [NAME=...][,ERROR=...][,NOFOUND=...][,MAXRUNTIME=...][,LOG=...]

Parameters

Parameter Description Format Allowed Values Default Value
NAME=
(Optional)

Technical name of the InfoPackage to activate.

Notes:

  • You can retrieve the technical name using BW_GET_INFOPACKAGES. The script element stays active until the loading job in SAP BW ends; the AE job aborts if the loading job does not end normally.

  • If this parameter is omitted, multiple InfoPackages can be scheduled for immediate start.

Script literal n.a. n.a.
ERROR=
(Optional)
Specifies the AE reaction if the InfoPackage ends abnormally Script literal
  • ABEND — The script aborts; the AE job ends abnormally
  • IGNORE — The script continues; the AE job ends normally
ABEND
NOFOUND=
(Optional)
Specifies the AE reaction if the InfoPackage cannot be found Script literal
  • NORMAL — The script continues; the AE job ends normally
  • ABEND — The script aborts; the AE job ends abnormally
NORMAL
MAXRUNTIME=
(Optional)
Maximum time in seconds during which the scheduled InfoPackages are monitored. Use this parameter when InfoPackages are manually set to quality status Y (yellow) in the administrator workbench, to prevent the AE job from waiting indefinitely. Use ERROR= to define whether the job should abort or continue when MAXRUNTIME= is exceeded. Number n.a. 86400
LOG=
(Optional)
Controls whether log messages of InfoPackages are included in the job report n.a.
  • NO — Log messages are not included in the job report
  • YES — Log messages are included in the job report
NO

Examples

The following example schedules an InfoPackage for immediate start, with a maximum monitoring time of one hour.

BW_ACTIVATE_INFOPACKAGE NAME="ZPAK_6LX4XTMC3RJ2DF4F09NFIJW98",MAXRUNTIME=3600

The following example selects all InfoPackages whose long text matches "AE:*Text*" and schedules them for immediate start. Any error causes the AE job to abort.

BW_SET_INFOPACKAGE_SELECTION SELNAME='TEXTLONG',SIGN='I',OPTION='CP',LOW='AE:*Text*'

BW_ACTIVATE_INFOPACKAGES NOFOUND='ABEND',ERROR='ABEND'