Application Integration Guide > CallAPI > Platforms for CallAPIs > CallAPI for SAP

 CallAPI for SAP

The following document includes information and notes required for using the CallAPIA programming interface that processes a script in the Automation Engine system. It can be called directly from within the program itself or from a different program. for SAP.

The RFC Server transfers the scriptA particular Automation Engine object type. to the AE system. It includes a functionPre-defined run book template in the Automation Engine. One single step only, e.g. Start Windows Service, Copy file,… module called AE which can be called in your ABAP programs.

The folderTop level entities such as Environment, Deployment Target, Activity, … are stored in folders. The permissions a user has on an entity depend on the permissions that are set on the folder for the entities. "sample" of the delivery directory includes example programs which show how it is best used.

Function Module AE

Sound knowledge of ABAP/4 is required in order to understand the following descriptions:

 

Parameter

Description

Import Parameter

clientA closed environment within an Automation Engine system where you can create and run objects. A client name consists of a 4-digit number that must be indicated when a user logs on to the Automation Engine system. Users and their rights are also defined in clients. A particular Automation Engine object type.(4) type c

AE client

 

trcflg(1) type c

Trace flag

 

userabtl(200) type c

Department of the AE userIn the Automation Engine, a user is an instance of a User object, and generally the user is a specific person who works with Automic products. The User object is assigned a user ID and then a set of access rights to various parts of the Automation Engine system and product suite. These access rights come in the form of Automation Engine authorizations and privileges, Decision user roles and EventBase rights and ARA web application object rights. You can manage all these centrally in the ECC user management functions. See also, Unified user management.

 

username(200) type c

Name of the AE user

 

userpass(32) type c

Password of the AE user

Export Parameter

msg(255) type c

Message

 

run(10) type c

Run number of the scripts

Tables

script

Script table (a total of 255 characters per line)

Example:
data: uscript(80) type c occurs 30 with header line

Exceptions

logon-failed

Logging on to AE was not successful

 

others

Other error

Example for Calling the Function Module

call function 'UC4' destination 'UC4'
exporting
client = p_clint
trcflg = '0'
userabtl = p_usera
username = p_usern
userpass = p_userp
importing
msg = omessg
run = orunnr
tables
script = uscript
exceptions
logon_failed = 1
others = 99.

 

See also:

About the CallAPI
Using the CallAPI

 


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

Copyright © 2016 Automic Software GmbH