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 nameSynonym DescriptionRequired
typetypSpecify 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.
userauthcknam Specify the user of the step.
languagelang

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_copiesprcop

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 prberPrint Parameter: Authorization
pr_arcmodearmod Print Parameter: Archiving mode
pr_sapbanner prsapPrint Parameter: SAP cover page
pr_exppexpi

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 prrecPrint Parameter: Recipient
pr_spoolnameplist Print Parameter: Name of spool request ¹
pr_format paartPrint Parameter: Print formatting ¹
pr_depprabt Print Parameter: Department on cover page ¹
pr_spoolds prdsnPrint Parameter: Name of spool data set ¹
pr_spoolpriopriot Print Parameter: Spool request priority ¹
pr_immed primmPrint Parameter: Print immediately ²
pr_releaseprrel Print Parameter: Delete after printing ²
pr_banner prbigPrint Parameter: Selection cover page ²
pr_newspoolprnew Print Parameter: New spool request ¹ ²
pr_coverprtxt Print Parameter: Text for cover page ¹. If the string contains spaces it must be enclosed between single quotes.
pr_hostcoverprunxPrint 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_sapobjectsap_object SAP ArchiveLink: Object type of business object
al_object objectSAP ArchiveLink: Document type
al_infoinfo SAP ArchiveLink: Info field
al_id archiv_idSAP ArchiveLink: Target storage system ¹
al_doctypedoc_type SAP ArchiveLink: Document class ¹
al_rpchost rpc_hostSAP ArchiveLink: PRC host ¹
al_rpcservrpc_servic SAP ArchiveLink: RPC service / RFC destination ¹
al_ifaceinterface SAP ArchiveLink: Name of communication connection component ¹
al_clientmandant SAP ArchiveLink: Client ¹
al_report SAP ArchiveLink: Report name ¹
al_textarctext SAP ArchiveLink: Text information field ¹
al_date datumSAP ArchiveLink: Archiving date ¹
al_userarcuser SAP ArchiveLink: Data element for user ¹
al_printer SAP ArchiveLink: Target printer ¹
al_formatformular SAP ArchiveLink: Output format ¹
al_path archivpathSAP ArchiveLink: Standard archive path ¹
al_protocol protokollSAP ArchiveLink: Storage connection protocol ¹
al_versionSAP 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.