Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sending BG job spool to E-mail using submit statement

0 Likes
527

Hi ,

I am calling submit to create a job in backgrount, is it possible to achive the spool reciept through submit syntax. If not is there any way to achive .my requirement was to send spool report to E-mail id.

SUBMIT zfi_XXXXXXXXXXXXXXXX

USING SELECTION-SET gv_variant

WITH s_belnr1 IN r_belnr1

TO SAP-SPOOL SPOOL PARAMETERS lwa_priparams

WITHOUT SPOOL DYNPRO AND RETURN

USER sy-uname

VIA JOB lv_jobname NUMBER lv_jcnt.

Thanks

Nelson

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
474

You can use FM RSPO_GET_ATTRIBUTES_SPOOLJOB............

check these links.....

http://wiki.sdn.sap.com/wiki/display/sandbox/ToConvertSpoolDataintoPDFandExcelFormatandSenditinto+Mail

http://wiki.sdn.sap.com/wiki/display/sandbox/ConvertingSpooltoPDFandsendingviamailtoexternalemail+id

Hi ,

I am calling submit to create a job in backgrount, is it possible to achive the spool reciept through submit syntax. If not is there any way to achive .my requirement was to send spool report to E-mail id.

SUBMIT zfi_XXXXXXXXXXXXXXXX

USING SELECTION-SET gv_variant

WITH s_belnr1 IN r_belnr1

TO SAP-SPOOL SPOOL PARAMETERS lwa_priparams

WITHOUT SPOOL DYNPRO AND RETURN

USER sy-uname

VIA JOB lv_jobname NUMBER lv_jcnt.

Thanks

Nelson

1 REPLY 1
Read only

Former Member
0 Likes
475

You can use FM RSPO_GET_ATTRIBUTES_SPOOLJOB............

check these links.....

http://wiki.sdn.sap.com/wiki/display/sandbox/ToConvertSpoolDataintoPDFandExcelFormatandSenditinto+Mail

http://wiki.sdn.sap.com/wiki/display/sandbox/ConvertingSpooltoPDFandsendingviamailtoexternalemail+id