Workload Automation

 View Only

how to add multiple email address in sap_maillist and recipient value 

Jul 11, 2018 12:24 PM

how to add multiple email address in sap_maillist and recipient value

 

Hello,

 

You can use the following syntax to send an email to multiple sap recipients:

 

insert_job: sap_job

machine: sapagent

job_type: SAP

sap_job_name: BTCTEST

sap_step_parms: abap_name=BTCABAP

sap_recipients: rcp_type=INT,recipient=J01PROD@example.com

sap_recipients: rcp_type=INT,recipient=J01TEST@example.com,blind_copy=Y

sap_recipients: rcp_type=INT,recipient=J02PROD@example.com,Copy=Y

sap_recipients: rcp_type=DLI,recipient="SAPoffice Dist List", Express=Y,Copy=Y,no_forward=Y,no_print=Y

sap_recipients: rcp_type=SU,recipient=WAAESAP,blind_copy=Y

Please consult the following docops page for more information:

 

https://docops.ca.com/ca-workload-automation-ae/11-4-2/en/reference/ae-job-information-language/jil-job-definitions/sap_… 

 

I hope this can help.

 

Thanks,

Roya

 

Hi Cona,

 

- To specify multiple spool recipients. Use one entry of sap_recipients to define each recipient and its properties. For example, to specify two recipients user1@company.com and user2@company.com, define an sap_recipients attribute for user1 and an sap_recipients attribute for user2.

 

sap_recipients: rcp_type=type[,keyword=value...]  

sap_recipients: rcp_type=INT,user1@company.com  

sap_recipients: rcp_type=type[,keyword=value...]  

sap_recipients: rcp_type=INT,user2@company.com  

....

rcp_type=type
Specifies the recipient type. Options include SU, DLI, or INT.

recipient=value
Specifies the target recipient's distribution address. The value corresonds to the rcp_type value.

This parameter is required when rcp_type is set to SU, DLI, or INT.

 

You can use global variables to specify the target recipient's distribution address. Use the $$global_name, $$(global_name), or $${global_name} format to reference global variables.

 

- Add the following parameters to your agentparm.txt and restart the agent.

sap.use.BAPI_XBP_JOB_SPOOLLIST_READ=true

smtp.server=<host name of the mail server>

 

I hope These responses suits your need,

 

Thanks and warm regards,

 

Faouzia

 

Hello,

 

You can use the following syntax to send an email to multiple sap recipients:

 

insert_job: sap_job

machine: sapagent

job_type: SAP

sap_job_name: BTCTEST

sap_step_parms: abap_name=BTCABAP

sap_recipients: rcp_type=INT,recipient=J01PROD@example.com

sap_recipients: rcp_type=INT,recipient=J01TEST@example.com,blind_copy=Y

sap_recipients: rcp_type=INT,recipient=J02PROD@example.com,Copy=Y

sap_recipients: rcp_type=DLI,recipient="SAPoffice Dist List", Express=Y,Copy=Y,no_forward=Y,no_print=Y

sap_recipients: rcp_type=SU,recipient=WAAESAP,blind_copy=Y

Please consult the following docops page for more information:

 

https://docops.ca.com/ca-workload-automation-ae/11-4-2/en/reference/ae-job-information-language/jil-job-definitions/sap_… 

 

 

Would you please apply and provide feedback?

 

Thanks,

Roya

 

This document was generated from the following discussion: how to add multiple email address in sap_maillist and recipient value

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.