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

R3_GET_SPOOLREQUESTS

Selects spool requests with predefined filters

Transaction: SP01

Interface: AE

Syntax

R3_GET_SPOOLREQ[UESTS]

Syntax

Description/Format

WITHOUT=

Selection with request status "without"
Format of the value: script literal

Allowed values: "Y" (default value) and "N"

"Y" - Selection is made.
"N" - No selection is made after request status "without".

PROCESSING=

Selection after request status "In process"
Format of the value: script literal

Allowed values: "Y" (default value) and "N"

"Y" - Selection is made.
"N" - No selection is made after request status  "In process".

SUCCESSFUL=

Selection after request status "Successful"
Format of the value: script literal

Allowed values: "Y" (default value) and "N"

"Y" - Selection is made.
"N" - No selection is made after request status "Successful".

PROBLEM=

Selection after request status "Problem"
Format of the value: script literal

Allowed values: "Y" (default value) and "N"

"Y" - Selection is made.
"N" - No selection is made after request status "Problem".

OWNER=

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

AUTHORITY=

Spool authorization
Format of the value: script literal

NAME=

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

SUFFIX1=

Suffix 1 of the spool request
Format of the values: script literal

SUFFIX2=

Suffix 2 of the spool request
Format of the value: script literal

DEST[INATION]=

Output device
Format of the value: script literal

SPOOLNR_FROM=

from spool number
Format of the value: script literal

SPOOLNR_TO=

to spool number
Format of the value: script literal

CREDATE_FROM=

Creation date of the spool request (from date)
Format of the value:
script literal

Format: "YYYYMMDD"
Default value: "20010101"

CREDATE_TO=

Creation date of the spool request (until date)
Format of the value:
script literal

Format: "YYYYMMDD"
Default value: current date

TITLE=

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

RECEIVER=

Recipient of the spool list
Format of the value:
 script literal

DEPART[MENT]=

Recipient of the spool list (departmentDepartment name to which the Automation Engine user belongs.)
Format of the value:
 script literal

NOFOUND=

Handling if no spool requests are found
Format of the value:
script literal

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

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

Description

This function commences each report line with the character ";".

Example

R3_GET_SPOOLREQUESTS SPOOLNR_FROM='1234',SPOOLNR_TO='1236',DESTINATION='PRNT',RECEIVER='SMITH'

 

See also: