JAMS v. 6.4 introduced two new Execution Methods that support job execution processes using SAP.
![]() |
To use the SAP Process Chain and SAP Job Execution Methods, users must have the following:
|
The two screenshots below highlights these new Execution Methods along with their respective Parameters.
![]() |
NOTE: Support for SAP System Numbers was added in JAMS V6.4.51. To define a system number on your execution method, set the JAMSSAPServer parameter to "Servername:SystemNumber" for the given execution method. E.g. if the server was "10.127.128.117" and the System Number was "23", set the JAMSSAPServer parameter to be "10.127.128.117:23". |
![]() |
NOTE: SAP system numbers are used to define the listener port. The port is defined as "33XX", where "XX" is the system number. If the system number were "23", the SAP port would be "3323". |
![]() |
NOTE: Support for SAP Language was added in JAMS V6.5.47. To define language on an SAPJobV2 Job, create a parameter named JAMSSAPLanguage on the Job and set the parameter value to the language code. To define language on an SAPProcessChain Job, use the Language field in the Job Source. |
The next screenshot shows the selection criteria and credentials required to retrieve a listing of available jobs in the SAP system that can be converted to JAMS Jobs.
![]() |
NOTE: A user must be defined in JAMS with the credentials from SAP, and associated to given SAP Jobs using the Jobs' Submit Options. See the instructions on Creating Users. |
Filtered jobs can now convert into JAMS jobs and placed in any JAMS folder as shown in the following three screenshots.
All steps within converted SAP jobs can then be verified and examined in JAMS by opening the Job's properties Source tab, as shown in the two screenshots below.
![]() |
NOTE: Users may set the SAP System Language on SAPJobV2 Jobs by creating and setting a Parameter named JAMSSAPLanguage on the Job. |
Once JAMS submits the Job, SAP then creates and executes a parallel job as shown in the following two screenshots.
Once a Job executes, logs can be viewed from either the JAMS or SAP environments.
Authorized users may, in certain cases, cancel a currently executing Job. In SAP, such a job would go into a cancelled state. Logs can then be checked in both environments as shown below.
![]() |
NOTE: Users may set the SAP System Language on SAPProcessChain Jobs by using the Language field in the Job Source. |
When the user creates a Job using the SAPProcessChain execution method it is then submitted and executed normally in JAMS. The Job’s output includes a process chain number (log ID).
The JAMS log file then displays the output of the process chain.
These permissions describe the necessary roles and permissions in SAP to allow users to run a Job using the new JAMS adapter.
SAP_BC_BATCH_ADMIN -- This role contains all authorizations for background processing administration, including the creation of background jobs and general administrations functions (SMxx transaction codes, in particular SM36, SM37, SM50, and SM51).
SAP_BC_ENDUSER -- This role contains non-critical basis authorizations for all users, including job creation and job release.
S_BTCH_ADM -- this role allows user the ability toPerform any operation on any job, including:
Five User Type are available in SAP. And as per SAP recommendations, the User should be “System”.
Type | Purpose |
---|---|
Dialog | Individual, interactive system access. |
System | Background processing and communication within a system (such as RFC users for ALE, Workflow, TMS, and CUA). |
Communication | Dialog-free communication for external RFC calls. |
Service | Dialog user available to a larger, anonymous group of users. |
Reference | General, non-person related users that allows the assignment of additional identical authorizations, such as for Internet users created with transaction SU01. No logon is possible. |
Overview of the properties of users with different user types.
Property \ User Type | Dialog | Communication | System | Service |
---|---|---|---|---|
Dialog Logon (SAP GUI) | X | - | - | X |
Multiple Logons | - | X | X | X |
RFC Logon | X | X | X | X |
Background Job Execution | X | - | X | X |
Password Change | X | X | - | - |
Logon Ticket can be Generated | X | X | - | - |
"x" represents Yes