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

Spool Output Send Mail in HTML format

Former Member
0 Likes
998

Dear Friends,

ALV report which is Executed in Background should be send to the recipient as

HTML format when the code is schedule in the Background.

I done one program. That is working fine in Foreground.

Logic.

1. SUBMIT ZALV_PROGRAM EXPORTING LIST TO MEMORY AND RETURN.

2. CALL FUNCTION 'LIST_FROM_MEMORY'

3. CALL FUNCTION 'SO_DOCUMENT_SEND_API1'.

But Here if i shedule in Background that same program

SUBMIT ZALV_PROGRAM EXPORTING LIST TO MEMORY AND RETURN statement not working.

If i do SUBMIT ZALV_PROGRAM TO SAP-SPOOL

SPOOL PARAMETERS print_parameters

WITHOUT SPOOL DYNPRO

VIA JOB name NUMBER number

AND RETURN.

How to send the SPOOL to Mail with HTML format. Only HTML format.

Please Give me a solution.

or

Give some other logic.

Thanks,

Durai.V

Edited by: Durai V on Nov 18, 2008 4:44 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
720

Hi Durai,

Please search this forum with text "Spool in HTML format" & you will get the details.

Best regards,

Prashant

Dear Friends,

ALV report which is Executed in Background should be send to the recipient as

HTML format when the code is schedule in the Background.

I done one program. That is working fine in Foreground.

Logic.

1. SUBMIT ZALV_PROGRAM EXPORTING LIST TO MEMORY AND RETURN.

2. CALL FUNCTION 'LIST_FROM_MEMORY'

3. CALL FUNCTION 'SO_DOCUMENT_SEND_API1'.

But Here if i shedule in Background that same program

SUBMIT ZALV_PROGRAM EXPORTING LIST TO MEMORY AND RETURN statement not working.

If i do SUBMIT ZALV_PROGRAM TO SAP-SPOOL

SPOOL PARAMETERS print_parameters

WITHOUT SPOOL DYNPRO

VIA JOB name NUMBER number

AND RETURN.

How to send the SPOOL to Mail with HTML format. Only HTML format.

Please Give me a solution.

or

Give some other logic.

Thanks,

Durai.V

Edited by: Durai V on Nov 18, 2008 4:44 AM

1 REPLY 1
Read only

Former Member
0 Likes
721

Hi Durai,

Please search this forum with text "Spool in HTML format" & you will get the details.

Best regards,

Prashant