Sends an existing spool request.
Transaction: SP01
Interface: AE
R3_SEND_SPOOL_REQ[UEST]
[JOBNAME=...]
[,JOBCOUNT=...]
[,STEP=...]
[,SPOOLNR=...]
[,RECIPIENT=...]
[,ADDRESSTYPE=...]
[,EXPRESS=...]
[,COPY=...]
[,BLINDCOPY=...]
[,NOFORWARD=...]
[,LINE_FROM=...]
[,LINE_TO=...]
[,TITLE=...]
[,ERROR=...]
[,NOPRINT=...]
[,DELIVER=...]
[,STATUSBYMAIL=...]
Syntax |
Description/Format |
---|---|
JOBNAME= |
Name of the background job. |
JOBCOUNT= |
Number of the background job. |
STEP= |
Step number. |
SPOOLNR= |
Spool list number. This parameter can be used as an alternative to JOBNAME=, JOBCOUNT= and STEP=. |
RECIPIENT= |
Recipient. |
ADDRESSTYPE= |
Address type. Allowed values: "B" (default value) - SAP user |
EXPRESS= |
Sends an express message. Allowed values: "" (default value) and "X" "" - No message is sent. |
COPY= |
Sends a copy. Allowed values: "" (default value) and "X" "" - No message is sent. |
BLINDCOPY= |
Sends a blind copy. Allowed values: "" (default value) and "X" "" - No message is sent. |
NOFORWARD= |
Forwarding is not allowed. Allowed values: "" (default value) and "X" "" - Forwarding is allowed. |
LINE_FROM= |
From line. Default value: "0" |
LINE_TO= |
To line. Default value: "0" |
TITLE= |
Mail title (Subject). |
ERROR= |
Handling if an error occurs. Allowed values: "IGNORE" and "ABEND" (default value) "IGNORE" - The AE job continues. |
NOPRINT= |
Printing is not allowed. Allowed values: "Y" and "N" (default value) "Y" - Printing is not allowed. |
DELIVER= |
Receipt. Allowed values: "" (default value), "A", "E" and "N" "" - As specified in the SAP system |
STATUSBYMAIL= |
Receipt by e-mail. Allowed values: "" (default value), "A", "E" and "N" "" - As specified in the SAP system. |
There are three ways of using this function. You can:
The following SAP support packages are required in order to use the parameters NOPRINT=, DELIVER= and STATUSBYMAIL=:
R3_SEND_SPOOL_REQUEST JOBNAME='MYJOB',JOBCOUNT=123,RECIPIENT='Smith',ADDRESSTYPE='O'
See also: