Automation Engine Script Guide > AE JCL for Applications > SAP > R3_CREATE_OUTPUT_REQUEST

R3_CREATE_OUTPUT_REQUEST

Creates a new output request for an existing spool request

Transaction: SP01

Interface: AE

Syntax

R3_CREATE_OUTPUT_REQ[UEST]

Syntax

Description/Format

SPOOLNR=

Number of the spool request
Format of the value: script literal

DEST[INATION]=

Output device
F
ormat of the value: script literal

RECEIVER=

Recipient
Format of the value
: script literal

DEPART[MENT]=

Department
Format of the value
: script literal

COPIES=

Number of copies
Format of the value
: number

Default value: "0"

SPOOL_PRI[ORITY]=

Spool priority
Format of the value
: script literal or number

Default value: "0"

TITLE=

Spool title
Format of the value
: script literal

PAGE_FROM=

From page
Format of the value
: number

Default value: "0"

PAGE_TO=

To page
Format of the value: number

Default value: "0" 

ERROR=

Handling if an error occurs
Format of the value
: script literal

Allowed values: "NORMAL" and "ABEND" (default value)

"NORMAL" - The AE job continues.
"ABEND" - The AE job ends abnormally.

LAYOUT=

Editing for printout.
Format: script literal

This parameter defines the print format of the spool request. The format mainly defines the page format such as the maximum number of lines and columns on one printed page.

Example

R3_CREATE_OUTPUT_REQUEST SPOOLNR='1234',DESTINATION='PRNT',RECEIVER='SMITH',DEPARTMENT='UC4',COPIES=1,TITLE='Overview December',LAYOUT='X_65_80'

 

See also: