Defining attributes for ABAP steps

To create and submit SAP jobs dynamically, look at the table and define the attributes for ABAP steps.

Supported attributes for ABAP step definition shows a complete list of the supported attributes for ABAP step module definition:
Table 1. Supported attributes for ABAP step definition
Attribute name Synonym Description Required
type typ Specify the step type. Possible values are:
  • A
  • ABAP
The product performs a check for correct attribute values prior to launching the job.
✓
program Specify the ABAP program name. ✓
parameter Specify the ABAP variant name. ✓
user authcknam Specify the user of the step. ✓
language lang

Specify the step language.

This attribute accepts language names in either the ISO format (two characters, for example DE, EN) or the R/3 format (one character, for example D, E).

If this attribute is not specified, the login language of the access method is used (customize using the option twsxa_lang in the r3batch options files).

The product performs a check for a valid language prior to launching the job.

✓
pr_dest

printer      pdest

Print Parameter: Specify the printer for the output.
pr_copies prcop

Print Parameter: Specify the number of copies. The value of this attribute must be numeric. A corresponding check is performed prior to launching the job.

pr_lines linct

Print Parameter: Specify the page length.

The value of this attribute must be numeric. A corresponding check is performed prior to launching the job.

pr_columns linsz

Print Parameter: Specify the page width.

The value of this attribute must be numeric. A corresponding check is performed prior to launching the job.

pr_auth prber Print Parameter: Authorization
pr_arcmode armod Print Parameter: Archiving mode
pr_sapbanner prsap Print Parameter: SAP cover page
pr_exp pexpi

Print Parameter: Spool retention period

The value of this attribute must be a single digit. A corresponding check is performed prior to launching the job.

pr_recip prrec Print Parameter: Recipient
pr_spoolname plist Print Parameter: Name of spool request ¹
pr_format paart Print Parameter: Print formatting ¹
pr_dep prabt Print Parameter: Department on cover page ¹
pr_spoolds prdsn Print Parameter: Name of spool data set ¹
pr_spoolprio priot Print Parameter: Spool request priority ¹
pr_immed primm Print Parameter: Print immediately ²
pr_release prrel Print Parameter: Delete after printing ²
pr_banner prbig Print Parameter: Selection cover page ²
pr_newspool prnew Print Parameter: New spool request ¹ ²
pr_cover prtxt Print Parameter: Text for cover page ¹. If the string contains spaces it must be enclosed between single quotes.
pr_hostcover prunx Print Parameter: Host spool cover page ¹ . Possible values are:
' '
Blank. Does not use any cover page.
'X'
Prints the host cover page.
'D'
Prints the default host cover page.
al_sapobject sap_object SAP ArchiveLink: Object type of business object
al_object object SAP ArchiveLink: Document type
al_info info SAP ArchiveLink: Info field
al_id archiv_id SAP ArchiveLink: Target storage system ¹
al_doctype doc_type SAP ArchiveLink: Document class ¹
al_rpchost rpc_host SAP ArchiveLink: PRC host ¹
al_rpcserv rpc_servic SAP ArchiveLink: RPC service / RFC destination ¹
al_iface interface SAP ArchiveLink: Name of communication connection component ¹
al_client mandant SAP ArchiveLink: Client ¹
al_report SAP ArchiveLink: Report name ¹
al_text arctext SAP ArchiveLink: Text information field ¹
al_date datum SAP ArchiveLink: Archiving date ¹
al_user arcuser SAP ArchiveLink: Data element for user ¹
al_printer SAP ArchiveLink: Target printer ¹
al_format formular SAP ArchiveLink: Output format ¹
al_path archivpath SAP ArchiveLink: Standard archive path ¹
al_protocol protokoll SAP ArchiveLink: Storage connection protocol ¹
al_version SAP ArchiveLink: Version number ¹
Note:
  1. This attribute is available for BC-XBP 2.0 and later.
  2. This attribute is a flag, that is, it does not have a value, for example: –s2 pr_release.
HCL Workload Automation performs the following syntax validation on job attributes:
  • Only valid attributes are allowed.
  • Checks if a particular attribute requires a value.
  • The values of the following attributes are checked:
    • type
    • language
    • pr_copies
    • pr_lines
    • pr_colums

Validation is performed before the job is created in the SAP system. If the validation fails, the HCL Workload Automation job goes into the ABEND state.