Previous Topic: PRINTDATASET Statement—Specify Data Set Name for SAP Print SpoolNext Topic: PRINTDEST Statement—Specify Print Destination


PRINTDEPARTMENT Statement—Specify Department Name

The PRINTDEPARTMENT statement specifies the department name to print on the SAP cover page.

Supported Job Types

This statement is optional for the following job types:

Syntax

This statement has the following format:

PRINTDEPARTMENT department
department

Specifies the department name to print on the cover page.

Limits: Up to 12 valid SAP characters; case-sensitive

Notes:

Example: Specify Department Name

This example prints department Department1 on the cover page for the RSPARAM ABAP:

SAPJOBNAME SAPTEST
AGENT SAPHTAGENT
ABAPNAME RSPARAM
   PRINTDEST LP01
   PRINTDEPARTMENT Department1