COPA Report - Execution in Background

Friends,
We have a COPA report that takes very long time to execute. For this reason the user wants to schedule the report such that it executes in the background at month-end.
In order to test the scheduling of the report execution in background in Development system, I followed the following steps:
1) Selected the report to be executed using the t-code KE30.
2) Clicked on Report - Execute in background.
3) Filled in the execution parameters and since I did not want the print of the report, I ticked the checkbox 'Rebuild frozen report data' (I was getting the error message "Select either 'Print' or 'Save'".
4) Executed the report by pressing F8. I got the message 'Report data for the report saved'.
My question is how to view the report on screen when the report is executed in background?
Please advise at the earliest.
Thanks & Regards,
Sameer S. Gupte
Office: +91 22 66452730
Cell: +91 93232747801

Sameer
You cannot see this data as it is.
When you see the message 'Report data for the report saved'. It means that the system has performed a kind of summarization for the selection criteria you have entered. This is performance enhancement tool.
So you have to run the report again to view this report; but  this time choose the option Read saved Data for the Read Mode under Status of Data. You can get to the see report output fairly quick.
SAP documnetation reads thus " <b>You create report-specific frozen report data by executing the report in the background and by choosing the Rebuild frozen report data option in the selection.  When you call up the report again using the same selection, you have the option of displaying this frozen report data. If you would like more up-to-date frozen report data, you need to create this data again."</b>
Good luck.
Sridhar

Similar Messages

  • Report Execution in Background

    Hi
    Our clients wants to know if this can be done in BI
    Can we execute reports automatically in background at every morning 8:30am and then automatically email then to the users?
    We are on BI 7.0 version.
    I think in earlier version we had something called "Reporting Agent" but now we dont have that option...So how to achieve this functionality?
    Regards
    Annie

    Hi......
    check this link :
    Executing queries automatically
    Regards,
    Debjani..........
    Edited by: Debjani  Mukherjee on Sep 30, 2008 5:37 AM
    Edited by: Debjani  Mukherjee on Sep 30, 2008 5:38 AM

  • Report Execution in background at user command.

    Hi,
    I want my program to run in background when the user selects a checkbox to run the program in background. can you please tell how to execute the program in background?
    regards,
    ravi.

    Hi Ravi,
    Follow below logic.
    If check box is selected
    AND sy-batch IS INITIAL.   "Means currently u r running report in foreground
    CALL FUNCTION JOB_OPEN.
    SUBMIT ur program using SUBMIT statement.
    CALL FUNCTION JOB_CLOSE.
    ELSE.
    Normal processing.
    ENDIF.
    Thanks,
    Vinod.

  • Creation of Spool for a Report Output in background.

    Hi Gurus,
    I am working on a Report and my requirement is that a Spool should be Generated for the Report Output in background. Instead of generating the spool manually, I need it to be generated in background.
    Please let me know ASAP.
    Regards,
    Amit.

    Get print parameters using 'GET_PRINT_PARAMETERS'.
      DATA : rep LIKE pri_params-plist,
    w_title TYPE tsp01-rqtitle,
    mstr_print_parms LIKE pri_params.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING destination           = 'LP01'
                  copies                = 1
                  list_name             = rep
                  list_text             = w_title
                  immediately           = 'X'
                  release               = 'X'
                  new_list_id           = 'X'
                  expiration            = 1
                  line_size             = 132
                  line_count            = 65
                  layout                = 'X_65_132'
                  sap_cover_page        = 'X'
                  cover_page            = ' '
                  receiver              = sy-uname
                  department            = 'System'
                  no_dialog             = 'X'
        IMPORTING out_parameters        =  mstr_print_parms
      valid = mc_valid.
    and then use submit statement-
      SUBMIT
      zp1012_ar_rep_vendstat
      TO SAP-SPOOL
      WITHOUT SPOOL DYNPRO
              SPOOL PARAMETERS mstr_print_parms
      WITH s_lifnr IN s_lifnr
      WITH p_bukrs eq p_bukrs
      WITH s_gjahr eq p_gjahr SIGN 'I'
      WITH s_monat BETWEEN p_per-low AND p_per-high SIGN 'I'
                       AND RETURN.
      COMMIT WORK.
    Regards,
    Aparna Gaikwad

  • How to Run a Report automatically in Background for every night

    Hi,
    How to run a report program in Background automatically for every nigh.
    Thanks
    Ramesh

    Hi Ramesh,
    You can use SM36 and use the "Job Wizard" to define a background job in simple step by step procedure
    Or
    Goto SM37 and specify a job name.
    Next specify the ABAP Program Name of the report you want to execute under Job Step.
    Then click on "Extended Job Selection" and goto the Period Tab.
    There select "Only Periodic Jobs" and then specify the frequency of execution based on Months, Weeks, Days, Hours or Minutes.
    Hope this helps,
    Regards,
    Madhur
    Message was edited by: Madhur Chopra

  • Does TotalPageCount affect report execution on production as well ?

    Hi... As part of the mass report generation process an employee report needs to be run on production every month. The process runs for almost 2000-3000 customers and generats report for each of them. The static copies of this report is any mailed to each of tehse customers. The repot design uses TotalPageCount in a formula in the Page header of the report. I know use of this formula affects performance during report viewing. But does the use of TotalPageCount affect the report execution time when the report is being generated in mass numbers on production and scenario of report viewing does not exist ?

    Thanks for your answers.
    In my case, yes, the PDF reports are generated and then seperately mailed/emailed to the customers. What are the ways you are referring to so that the report performance can be improved ?
    The java application calls the RAS with the required input parameters. The RAS execution code is abstracted and is not accessible to us. The PDF generated by RAS is stored at some physical location.
    For your reference, my main report uses many subreports. I have done a detailed analysis of the report and no way can i get away with these subreports
    There are some things I have noticed and would be glad if you could confirm the same :
    1. I notice that there are many print time and on demand formulas present in the subreports but are not used. Should I remove them ? Does there presence affect report performance ?
    2. Is there any way that performance of charts can be improved ?
    3. Does using a lot of shared variables affect report performance ?
    4. I have identified a few stored procs where the sorting can be transfered from report to stored procedure.
    5. Is there an alternative way i can create the same effect for Page(TotalPageCount) in the page header without affecting the look of the report and also improving the performance of the report ?
    Thanks in Advance !
    Edited by: Malvika_Sinha on Jan 25, 2012 5:31 PM

  • Restatement and COPA Reporting

    Hello Everyone,
    I was wondering if anyone could share their experience with COPA reports with restatement...basically how to handle COPA restatement and reports.  Any pitfalls, anything at all.
    Thanks everyone,
    Colleen

    Hi Ashok,
    My email is [email protected]
    Thanks,
    Colleen

  • COPA reporting using costing keys

    Hi,
    I am using costing keys to access the different cost estimates in COPA. I have done the necessary configuration - created valuation strategy and assigned a point of valuation and assigned two costying keys - one for current and one for future costs. I have also mapped my value fields to each cost component. I mapped the one value field twice (representing each costing key) to each cost component.
    My question is, when it comes to reporting, how do I show the values seperately that correspond to each costing key? Since I have the same value field being valued with current and future cost estimates, how are these shown separately in the COPA report? Or do I have to use two different value fields per cost component?
    Much Appreciated

    Just read the SAP documentation which says that you need to enter different value fields for the different costing keys (up to six).
    Thanks to those who attempted.

  • Currency type in COPA report

    I created a form to generate a COPA report.  I selected "both company code and operating concern currency types while creating the form.  Now, I need to be able to give the currency type as variable to have the user print the copa report whatever currency they want to print.  It's cost based COPA /
    How can I get the currency type as selection option?  please advise.
    Thanks,
    Sri

    From the form's general selection, select the currency type and define as local variable.

  • Why do I get a status of 'waiting' when I run a report in the background

    Happy new Year Experts!!
    I am working with Ad-hoc query and I run reports in the background.  When I go to System > Own Spool Requests the status is always waiting.  When I go to SM37 the status is complete.  I can open the report from my own spools requests and it is completed.
    Thanks.
    Regards,
    Jeanette

    Go to SM36-> Own jobs - double click the job - Select Edit-Steps - DOuble click the step and check print specifications.
    Moreover, if you wanna make the job printed on finish, make sure that there is a default printer defined in SU3 - Defaults - Output device field.
    Regards,
    Dilek

  • Issue in COPA Report Creation

    Dear All,
    I ave an issue in creation of COPA repor in KE30
    We have created all P&L item as cost element except
    1.Change in WIP for WIP calculation in Product Costing
    2. Price Difference (OBYC- PRD) Variance will be calculated from settlement profile
    Values in COPA are
    1.     VV001  - Quantity (KWBRUM) Quantity field
    2.     VV002 u2013 Price  (PR00) Revenue account of sales (Cost Category 11)
    3.     VV002 -  Material Cost-COGS (VPRS)
    4.     VV003 -  Discount Given (SD Condition)  (Cost Category 12)
    5.     VV005 u2013 Fright (SD Condition)  (Cost Category 12)
    6.     VV005 u2013 Misc Exp (SD  Condition) (Cost Category 12)
    7.     VV006 -  Consumption and Cost of Production, Revaluation, inv diff account
    8.     VV007 u2013 admin expenses
    9.     VV008  - Employees cost
    10.     VV009 u2013 financial cost (interest paid etc deprecation cost, audit exp)
    11.     VV010 u2013 Settlement of Variances of Production order (from settlement profile)
    12.     VV011 - Other income GL accounts (including Exch Rate Diff, profit on sale of asset etc)
    From VV005 to VV009 all the GL account included are created as primary cost element (C category 01)
    and assigned in OKB9 as transfer to PA structure and assigned in PA transfer FI (direct posting form FI)
    VV011 u2013 all the GL account created as Revenue (Cost Category 11)
    Issue we are facing
    1. In Consumption and Cost of Production GL account (Movement type 101 and 261 from production order ) we are not
    able to generate Profit analysis document.
    2. Price difference also come in picture at the time of Stock transfer and Price diff GL account is not created as cost element and how to flow that in copa, price difference from settlement will come from settlement profile.
    Format we have created for COPA report is like
    1.Quantity Field
    2.Selling Price  (PR00)
    3 Material Cost (VPRS)
    4 Discount Given
    5. Fright
    6. Misc Exp
    7. Consumption and Cost of Production, Revaluation, inv diff account
    8 admin expenses
    9. Employees cost
    10. financial cost
    11 Settlement of Variances of Production order
    12. Other income
    13 Net Profit (Calculated Values ) ( 2- 3-4-5-6-7-8-9-10-11+12)
    Is this a correct logic I applied kindly suggest.
    Regards
    Bittu

    Dear All,
    Any suggestion..
    Bittu

  • Sales order values not coming in copa report can been seen in ke24

    hi
    i have did sd and billing and actual settlement through va88
    i can able to values in ke24 actual line items.
    but when i cant able to see values in ke30 copa report aganist sales order characteristic
    and aganist record type A values are not flowing in copa report.
    please help me.
    thanks
    kareem

    hi ajay,
    i have again prepare actual line items report from ke94 ,ke91 and executed report ,
    here for that particular sales order values are flowing through record type C but not flowing for record type A.
    sales order is not displaying for record type A.
    and for that c only revenue and  and  raw material cost is flowing.
    thanks
    kareem

  • Want to add number of sales orders in a COPA report or form

    Hi All
    I created a COPA report that has two columns: sales from sales orders & sales from billing documents. Now I want to add columns which shows number of sales orders that make up sales. Can any one explain me , how can we acheive this  With a user exit, .
    thanks in advance for looking into this

    Hi Steve,
    Walter is very right in saying so.
    In SD module itself you can get some reports like this.
    Even in COPA you will get these kind reports.  But if your company is a big company and have lots of sales orders,
    Then you will have serious problems with System performance issue. 
    When you define that sale order is a segment level character, then system will ear up the resources and take very long time in executing the reports.
    But for some reason this requirement is a must case, then it is very simple
    you define Sale order in either form or report,
    then give the variable parameters like Co.Code, Period etc. you will get all the sales orders details for the selected period
    But think about not going for it before you make up your mind
    Best Regards
    Surya

  • SUBMIT REPORT AS A BACKGROUND JOB

    Hi all,
       I am executing one report in foreground in that report i want to submit one report which should be executed in background only. how it is possible to execute 2nd report in <b>background mode</b> only.
    Regards
    deepak

    This is the Basic code to Achieve that.
    Call Function 'JOB_OPEN'
    SUBMIT RSBDCBTC
    via background Job <Job info>
    With QIE = <QID Returned by BDC_OPEN_Group FM>
    AND RETURN.
    Call Function 'JOB_CLOSE'
    2) Also go through this
    DATA: lv_job_name         LIKE tbtco-jobname,
    lv_job_nr           LIKE tbtco-jobcount,
    lv_job_released     TYPE c,
    lv_job_start_sofort TYPE c,
    lv_print_parameters TYPE pri_params.
    lv_job_name = 'Z_BGPROGRAM'.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_job_name
        IMPORTING
          jobcount         = lv_job_nr
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF syst-subrc = 0.
    " submit job with all the selection screen params...
        SUBMIT (lv_job_name)
            WITH applfile = applfile " these are the parameters of the background program
            WITH p_lines = p_lines
            USER syst-uname " you must use this
           VIA JOB lv_job_name NUMBER lv_job_nr AND RETURN.
        IF sy-subrc = 0.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = lv_job_nr
              jobname              = lv_job_name
              strtimmed            = 'X'
            IMPORTING
              job_was_released     = lv_job_released
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              OTHERS               = 8.
          IF syst-subrc <> 0.
            MESSAGE i162(00) WITH
            'An error occured while closing the background job.'.
            STOP.
          ENDIF.
        ENDIF.
      ENDIF.
      SKIP 1.
      WRITE: / 'Background process', lv_job_name , 'called successfully' NO-GAP.
      WRITE: / 'You can check the job in transaction SM37'.
    Thanks

  • Schedule measurement in SE30 - running a report in the background

    Dear experts,
    I have a long running ABAP report and I will need to analyze its runtime for performance improvements.
    How may I correctly run this ABAP report in the background from SE30 (runtime analysis tool)? The report has to be run using a specific variant for its selection screen inputs as well.
    This is what I have done:
    1. Go to SE30
    2. Click on "For User/Service" button under "Schedule"
    3. Create new Schedule Measurement with the following details:-
      - User (<my user name>),
      - Client (<properly specified>),
      - External Session (Any),
      - Processing Category (Background Processing),
      - Object Type (Report),
      - Object Name (<ABAP report program name>),
      - Max. No. of Scheduled Measurements (1),
      - Expiration Date & Time (<properly specified>)
    5. In the screen "Overview of Scheduled Measurements", I have the following displayed as well:-
      - Scheduled = 1
      - Started = 0
      - Errors = 0
      - Status = Being processed
    Am I still on the right track here? (Started = 0 and there was no way I could specify the variant for the selection screen input values too)
    Please help. Appreciate any inputs at all.
    Thanks.

    Hi,
    you can try it with ST12 and the <ALL Servers> Option for tasktype B.
    see this blog:
    /people/hermann.gahm/blog/2010/03/22/st12-150-tracing-user-requests-tasks-http
    ST12 uses SE30 / ST05 behind the covers. But here you can switch on
    the trace for all servers and therefore don't have to take care for that yourself.
    Kind regards,
    Hermann

Maybe you are looking for

  • Unable to login in EP 6.0 after system refresh

    After performing the system refresh of EP 6.0, completed the post system copy steps. Imported the new certificated as well, when I try to login the page is getting refresh but remains on the same page. please help me what could be the reason.

  • How do I add "a:hover" into CSS panel? DW says "no punctuation" allowed....

    When I use "Create a new CSS rule" and attempt to add "a:hover" tag rule into my CSS panel, DW gives me an error message that no puntucation is allowed in the name. But if I manually create the rule in the CSS style sheet itself, then it works just f

  • Can JMS work with websphere (3.5 or +)

    Hi , I am aware that JMS is designed to work with J2EE architecture but can I use it with websphere? Regards, Dukkar Lee

  • Bug: htmldb_item.SELECT_LIST_FROM_QUERY p_null_text in

    called htmldb_item.SELECT_LIST_FROM_QUERY in my sql as htmldb_item.SELECT_LIST_FROM_QUERY ( 10, ss.CHOSEN_ID , ' select NAME as DISPLAY_VALUE , ID as RETURN_VALUE from OBJ_TPL_SELECT_OPTION where SELECT_ID = '||s.ID , 'onchange="doSubmit(''SAVE_AND_S

  • Problem Change SAP Query in Crystal Reports

    Hi, i have a problem with changing a SAP Query in an Crystal Reports. I build a Report with a Query(1) and Design the Report complet everything works fine. I make a new Query(2) and if i make a new Crystal Report with this new Query everything works