Knowledge Base > Automation Engine and Target Systems > SAP > Agent for SAP BW

Agent for SAP BW

General

The Automation Engine supports the components SAP Business Information Warehouse (SAP BW) in the same way that it supports an operating system. Technically, this cooperation is set up so that function modules are called via SAP's RFC (Remote Function Call) within the SAP system. The communication for the SAP system is carried out exclusively via RFC and is therefore independent of the environment where SAP BW is installed.

The setting of the connection parameter is carried out in the Connection object of the agent. Furthermore, this agent can be set for all AE-supported SAP BW versions.

The agent for SAP BW can also process jobs in the SAP basis system (regular background jobs).

The following table shows which SAP Version and SAP Basis correspond to an agent for SAP BW.

BW Release SAP Basis Agent for SAP BW
1.2B 4.5A Not supported
2.0B 4.6C Available first with Automation Engine version 2.63C
2.1C 4.6D Available first with Automation Engine version 2.63C

3.0B

6.10

Available first with Automation Engine version 2.63D

>3.0B

6.x

Available first with Automation Engine version 2.63D

Support Packages for SAP BW

For the operational use of the agent, Automic recommends  installation of the following support packages from SAP BW.

SAP BW Release Support Package Level
2.0B 32
2.1C 24

3.0B

14

3.1C

08

>3.1C

Support Package Level unknown

If the agent is used with a lower support package level, the following messages can appear. Further information is found in the given SAP notes.

SAP Note Number Message
488588 short dump "DYNPRO_SEND_IN_BACKGROUND"
426047 Message E089(RSM1) "Job not (yet ?) started"
488808 BAPI_IPAK_CHANGE ignores InfoPackage Parameter

Status Check

The Automation Engine presumes that the technical status that is submitted when the function status check is called is a "final status". The Interface Repository gives the following description:

The parameter TECHSTATUS is the request's technical status. It always contains one of the following values:

Obviously, these states are not "final states". A status can change to "red" for a short time and then to "yellow" or "green" after a while. AE accounts for this fact. For status checks, a time delay can be activated so that it can be checked n times if the status "red" actually remains in this status, for example. The INI file of the SAP agent contains the parameters maxruntime= and repeat_check= [SAP_BW]) for this.

Another function is available which checks the states of process chains. It supplies the following values:

AE then converts these states into return codes:

Return code

Status

SAP status

0

ENDED_OK

G or F

4

ENDED_NOT_OK

R

8

ENDED_NOT_OK

X

12

ENDED_NOT_OK

S