Application Development 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: 

GRC Consolidated Log Report output to email

ssharma28
Participant
0 Kudos

Hi,

We run the consolidated log report in background and export the output.

Is there any way to email the output when we schedule the job for this report.

Thanks

Seema Naharia

5 REPLIES 5

Former Member
0 Kudos

Refer SAP report BCS_EXAMPLE_8 (BCS: Send a Spool Request as PDF by E-Mail (Example)) , it will help you.

Cheers,

Shadab

Jelena
Active Contributor
0 Kudos

The question is very generic. It's not clear what the report is and what does "export" mean exactly. This could mean at least 3 different things.

If a job generates a spool already then it can be emailed by adding the email address in the job details in SM36.

Otherwise the answer depends on the specific implementation. Please read this blog on how to post better questions and provide more details.

kiran_k8
Active Contributor
0 Kudos

Jelena,

Does that mean if a program is creating a Spool then without any custom code, the same can be emailed to a certain mail ID ? If that is the case then in what format does it sends the mail ?

Thanks,

K.Kiran.

Jelena
Active Contributor

Why not just go to SM36 and see what does the "Spool list recipient" button do?

The format is usually HTML. I believe there is a system-wide parameter for this somewhere but I haven't seen other formats used so far.

ssharma28
Participant
0 Kudos

Hi Jelena,

Here I am talking about GRC system which has different way of scheduling job and getting spool.I know if it would have been ECC, its simple enough.

But in GRC system, when we create a job , it generates some id and we get spool from GRC link only. The job id is dynamic and not like ECC, where we can maintain spool recipient.

Anyways, we created a custom program which will read job ids for a particular date from TBTCP and based on those job ids fetch report data from class cl_schudle->get_report_data. and this report output is being sent as an attachment in email.