SAP ABAP, Java and PI

The following overview includes the attributes of SAP Job objects and describes their functions, allowed values and ways of modification.

Predefined variables may be used in scripts, and script variables may be set to attributes retrieved via predefined variables.

SAP Page

Start Parameter: Language

SAP_LANG

Value: User-defined

Length: Max. 2 characters

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Start Parameter: Job Name

JOB_NAME, JN

Value: User-defined

Length: Max. 32 characters

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Start Parameter: Job Class

JOB_CLASS, JC

Value: A. B or C (Job priority in SAP)

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Start Parameter: Target System

SAP_DST_SYSTEM

Value: User-defined

Length: Max. 32 characters

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Start Parameter: Delete Job (after completion in CCMS)

SAP_JOB_DELETE

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)

Start Parameter: Delete Job (if no error occurred in CCMS)

SAP_JOB_DEL_NOT_ON_ERROR

Value: Y / N

Access through: GET_ATT, :PUT_ATT, Change Program

Start Parameter - Login Override

(Override agent login information with job login)

SAP_OVERRIDE_LOGIN

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program

Start Parameter: Start mode

SAP_STARTMODE

Values:

Access through: Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Spool List Recipient: Recipient

SAP_RECIPIENT

Value: User-defined

Length: Max. 241 characters

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Spool List Recipient: Address Type

SAP_ADDRESSTYPE

Values:

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Spool List Recipient: Report Send Status

SAP_DELIVER

Values:

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Spool List Recipient: Report Status by Mail

SAP_STATUSBYMAIL

Values:

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program, predefined variable

Spool List Recipient: Copy

SAP_COPY

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program

Spool List Recipient: Blind Copy

SAP_BLINDCOPY

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program

Spool List Recipient: Send Express

SAP_EXPRESS

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program

Spool List Recipient: No Printing

SAP_NOPRINT

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program

Spool List Recipient: No Forwarding

SAP_NOFORWARD

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), Change Program

Job Report: Database

JOBREPORT_DB

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)

Job Report: File

JOBREPORT_FILE

Value: Y / N

Access through:

Job Report: Generate on error only

JOBREPORT_ERROR_ONLY

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process)

Job Report: Agent log

SAP_AGENTLOG

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), ChangeProgram

Job Report: Application logs

SAP_APPLLOG

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), ChangeProgram

Job Report: Spool directory

SAP_SPOOLDIR

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), ChangeProgram

Job Report: Step lists

SAP_STEPLIST

Value: Y / N

Access through: GET_ATT, :PUT_ATT (Pre-Process, Process), ChangeProgram

Job Report: Statistics

SAP_STATISTICS

Value: Y / N

Access through: GET_ATT, :PUT_ATT, ChangeProgram

Optional reports - Statistics of Java Scheduler jobs

SAP_JSTATISTICS

Value: Y / N

Access through: GET_ATT, :PUT_ATT, ChangeProgram

Child Post Process Page

Code on the Post Process Page

Changes the code on the Post Process page

OSCRIPT

Access through: Change Program

Job Attributes Not on the SAP or Child Post Process Pages

Login Info

SAP_CLIENT

Value: Client from login info of the Login object

Access through: GET_ATT, Change Program, predefined variable

Job Type

SAP_JOB_TYPE

Value: 0 (ABAP Engine/Business Intelligence) / 1 (Exchange Infrastructure)

Access through: GET_ATT, predefined variable

See also: