How to send SAP Spool by Email with WA Agent
search cancel

How to send SAP Spool by Email with WA Agent

book

Article ID: 74515

calendar_today

Updated On:

Products

Workload Automation Agent CA Workload Automation AE - Business Agents (AutoSys)

Issue/Introduction

Users are trying to schedule jobs in WAAE Autosys and want to send SAP Spool as an email.
 
Sample SAP job definition
 
insert_job: job12
job_type: SAP
sap_release_option: A
sap_step_parms: variant=….,sap_maillist="destination@domain",dest="MAIL",banner_page=N,copies=1,release=N,prt_arc_mode=PRINT,print_imm=Y,new_spool=Y,format="X_65_132",footer=N
sap_recipients: no_print=n, no_forward=n, blind_copy=n, express=n, rcp_type=int, recipient=destination@domain, copy=n
 

 

 

Environment

WA Agent 11.3 + SAP plugin

Resolution

Add the following parameters in the “agentparm.txt” file of System Agent with SAP Plugin
 
sap.use.BAPI_XBP_JOB_SPOOLLIST_READ=true
 
smtp.server=<host name / ip address of the mail server>

Restart the Agent after updating the agentparm.txt