How to Run GR55 Reports in Background for Cost ..

3
7/9/2014 how to run GR55 reports in background for cost ... | SCN http://scn.sap.com/thread/1440001 1/3 Getting Started Newsletters Store Products Services & Support About SCN Downloads Industries Training & Education Partnership Developer Center Lines of Business University Alliances Events & Webinars Innovation Log On Join Us Hi, Guest Search the Community Activity Communications Actions Brow se 0 Tweet 0 5 Replies Latest reply : Oct 26, 2009 2:54 PM by Kim Dudgeon Share 0 Like 1920 View s Average User Rating (0 ratings) how to run GR55 reports in background for cost center hierarchies This question is Assumed Answered. 1. I have been asked by our users to create batch jobs to run in the background for some GR55 reports, that can then be sent directly to cost center managers via email. I have figured out the process to do this as long as the cost center manager only needs to see a single cost center at a time. However, if they are in charge of multiple cost centers, we also want to send them a summarized report using the hierarchy we have set up. I can't seem to make this work, as the job only seem to recognize the last cost center in the group and the report is for that cost center. Example. cost centers 100, 200 and 300 belong to hierarchy abc. If I run the job just for cost center 100 it is fine. But if I have a variant to run hierarchy abc, or even if I use the range 100 to 300, all I get is a report for cost center 300. We cannot use BW because we only have revenue in BW. I am being asked to make this work from standard R/3 within the GR55 realm of reporting. 2. In addition, the report selection criteria includes two separate plan/forecast versions. They need to update these each month prior to running the reports and sending them out. I looked at the variables associated with the versions and tried to set them up with default values that I hoped would update automatically so that they don't have to manually change 50 or so variants each month. But I don't see any dynamic variables that I can use to have the system make that change without going into each variant individually. 3. There is another piece to this equation as well. There is another report they want sent out in batch, but it is several pages wide in SAP and several pages long. So when you run it in batch and either spool it or get it sent as an email, it is very ugly in the formatting due to all the page splits horizontally and vertically. If anyone knows how to get the report to stay together like it would if you had excel integration turned on, it would be very helpful. I have tried running it with that integration turned on, but the jobs are set up with user batch_mgr and not my id, so it isn't working well. The batch_mgr id is just a system id, not a dialog id. We also don't want the jobs set up with a regular user id because if people leave, then the jobs all need to be changed. Kim Dudgeon Aug 10, 2009 6:43 PM Helpful Answer by Gustavo Gordon Re: how to run GR55 reports in background for cost center hierarchies Kim, I may have options for issues 1 and 2. In case of 3, what I can tell you is I understand the concern, Helpful Answer Gustavo Gordon Aug 10, 2009 9:35 PM (in response to Kim Dudgeon)

description

SAP GR55 report

Transcript of How to Run GR55 Reports in Background for Cost ..

Page 1: How to Run GR55 Reports in Background for Cost ..

7/9/2014 how to run GR55 reports in background for cost ... | SCN

http://scn.sap.com/thread/1440001 1/3

Getting Started Newsletters Store

Products Services & Support About SCN Downloads

Industries Training & Education Partnership Developer Center

Lines of Business University Alliances Events & Webinars Innovation

Log On Join UsHi, Guest Search the Community

Activity Communications Actions

Brow se

0 Tweet 0

5 Replies Latest reply: Oct 26, 2009 2:54 PM by Kim Dudgeon

Share 0Like

1920 View s

Average User Rating

(0 ratings)

how to run GR55 reports in background forcost center hierarchiesThis question is Assumed Answered.

1. I have been asked by our users to create batch jobs to run in the background for some GR55

reports, that can then be sent directly to cost center managers via email.

I have figured out the process to do this as long as the cost center manager only needs to see a

single cost center at a time. However, if they are in charge of multiple cost centers, we also want to

send them a summarized report using the hierarchy we have set up. I can't seem to make this work,

as the job only seem to recognize the last cost center in the group and the report is for that cost

center.

Example. cost centers 100, 200 and 300 belong to hierarchy abc. If I run the job just for cost center

100 it is fine. But if I have a variant to run hierarchy abc, or even if I use the range 100 to 300, all I get

is a report for cost center 300.

We cannot use BW because we only have revenue in BW. I am being asked to make this work from

standard R/3 within the GR55 realm of reporting.

2. In addition, the report selection criteria includes two separate plan/forecast versions. They need

to update these each month prior to running the reports and sending them out. I looked at the

variables associated with the versions and tried to set them up with default values that I hoped would

update automatically so that they don't have to manually change 50 or so variants each month. But I

don't see any dynamic variables that I can use to have the system make that change without going

into each variant individually.

3. There is another piece to this equation as well. There is another report they want sent out in

batch, but it is several pages wide in SAP and several pages long. So when you run it in batch and

either spool it or get it sent as an email, it is very ugly in the formatting due to all the page splits

horizontally and vertically. If anyone knows how to get the report to stay together like it would if you

had excel integration turned on, it would be very helpful. I have tried running it with that integration

turned on, but the jobs are set up with user batch_mgr and not my id, so it isn't working well. The

batch_mgr id is just a system id, not a dialog id. We also don't want the jobs set up with a regular

user id because if people leave, then the jobs all need to be changed.

Kim Dudgeon Aug 10, 2009 6:43 PM

Helpful Answer by Gustavo Gordon

Re: how to run GR55 reports in background for cost center hierarchies

Kim,

I may have options for issues 1 and 2. In case of 3, what I can tell you is I understand the concern,

Helpful Answer

Gustavo Gordon Aug 10, 2009 9:35 PM (in response to Kim Dudgeon)

Page 2: How to Run GR55 Reports in Background for Cost ..

7/9/2014 how to run GR55 reports in background for cost ... | SCN

http://scn.sap.com/thread/1440001 2/3

but this is what typically happens in some standard CO reports that are not ALV compatible, I don't

think there is not much there to do unless you add some custom code for the output.

In regards to point 1, yes, I have noticed that this happens in some standard and custom reporting,

not sure what is going on. I came up with a work around that made the trick for my client in a similar

scenario; which is editing the cost center groups. For instance, instead of having the group set as a

range from 100 to 300, the groups are have listed the cost centers, 100, 200 and 300. Obviously,

the disadvantage of this option is that it would require a bit of more cost center group maintenance.

In regards to point 2, I understand from your note that your users already have set up selection

variants for the report. One option for you is to get the help from a developer to create a custom

period variable and tiny program that runs in batch every month that would update that variable

accordingly. Once that's done, you may have to update at least once, the selection variant attributes

to change the period to a selection variable, so everytime from that point of time forward that the

variable gets updated, it will be ready with the right value for every selection variant that uses it.

Hope this helps.

GG

Like (0)

Re: how to run GR55 reports in background for cost center hierarchies

thank you for the quick response - I will look into these options.

Like (0)

Kim Dudgeon Aug 10, 2009 9:46 PM (in response to Kim Dudgeon)

Re: how to run GR55 reports in background for cost center hierarchies

I used SM36 to set up a job. You get the program name by attempting to execute the report normally,

and then when you get to the selection screen do a system> status to get the program name to set

up in SM36. When setting up the job, you specify the spool list recipient with either a single user or a

distribution list in the SAP inbox. In addition, the user(s) that you are sending the report to have to

have the communication method set to email in SU01, with their email address in the email field.

Like (0)

Kim Dudgeon Oct 26, 2009 2:54 PM (in response to Kim Dudgeon)

Re: how to run GR55 reports in background for cost center hierarchies

I got a response to this on the ASUG website. This posting is being closed.

Like (0)

Kim Dudgeon Oct 20, 2009 4:57 PM (in response to Kim Dudgeon)

Re: how to run GR55 reports in background for cost center hierarchies

Hi Kim,

I've same requirement for my client to send one cost center report to one person; could you

please share how you were able to do this. Is this a standard functionality? We don't have

any hierarchy issue. Thanks in advance.

Edited by: Venkata Ganesh Perumalla on Oct 22, 2009 11:46 PM

Like (0)

Venkata Ganesh Perumalla Oct 22, 2009 11:46 PM (in response to Kim Dudgeon)