Run report in the background

hi
how to run report in background and store it in cache
thanks in advance
krish

Hi,
You need to do this using Information Broadcasting. Details are available here http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?QuickLink=index&overridelayout=true
Regards,
Suhas

Similar Messages

  • How to run long running report in the background

    Oracle Application server 10g
    I need to run the long running reports in the background because while the report is running the cursor is loading and the control doesn't return to the user
    this feature exist in oracle 6i by set the following parameter
    RUN_PRODUCT( REPORTS, 'r_1', ASYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    How can I accomplish the same in OAS 10g?

    Hi,
    I've done this in 11g. I think it will be the same in 10g as well
    Following are the steps in 11g using run_report_object.
    1. Read metalink note: Using the Reports Server Queue PL/SQL Table and API - RW_SERVER_JOB_QUEUE [ID 72531.1]
    2. Implement RW_SERVER_JOB_QUEUE table as per above notes.
    3. When submitting report run it as background
    a. SET_REPORT_OBJECT_PROPERTY(lo_report_object, REPORT_EXECUTION_MODE, ASYNCHRONOUS); -
    SET_REPORT_OBJECT_PROPERTY(lo_report_object, REPORT_COMM_MODE , BATCH);
    4. Display the job_id to user (notification).
    5. Create a new form to view reports base on on RW_SERVER_JOB_QUEUE which provides you the status, etc.... (you may have to create a way to identify the username who submitted the job. This way not all users will see the jobs in RW_SERVER_JOB_QUEUE )
    6. Optionally you can use NOTIFYSUCCESS=email to notify user when the report is finished.
    Cheers
    LS

  • Not able to run report in the background

    I'm working in SCM 5.0.
    I've created a function module to run report /SAPAPO/BACKGROUND_SCHEDULING in the background but when I execute it the report is prompted (i.e. is not running in the background). The function module code is the following
        if i_vrsioid is initial or i_tproid is initial or i_proprf is initial.
         submit /sapapo/background_scheduling
                   using selection-set i_variant
                with simname = i_simname
               exporting list to memory and return.
        else.
         submit /sapapo/background_scheduling
                   using selection-set i_variant
                with vrsioid  = i_vrsioid
                with tpro_id  = i_tproid
                with thelp_id = i_thelpid
              with proprf   = i_proprf
                with simname  = i_simname
            exporting list to memory and return.
        endif.
      endif.
    Can you help me understand what is wrong?
    Many thanks,
    Diego

    hi in fm you can not use Submit or call transaction..
    try this way...
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = job_name
      IMPORTING
        jobcount         = job_nr .
    IF sy-subrc <> 0.
    ENDIF.
    jobs-report = '/sapapo/background_scheduling'.   "report name
    jobs-variant = 'i_variant'.                                    "Variant name
    wa_authchknam       = sy-uname.
    wa_pri_params-pdest = 'MP18'.        "Print parameters, output device
    wa_pri_params-plist = jobs-variant.  "Print parameters, text for cover
    wa_pri_params-prtxt = jobs-variant.  "Print parameters, text for cover
    wa_pri_params-prnew = 'X'.      "Print parameters, new spool requ
    wa_pri_params-prsap = 'D'.           "Print: SAP cover page
    wa_pri_params-prunx = 'D'.           "Print: SAP cover page
    wa_pri_params-prabt = 'X'.      "Print parameters, new spool requ
    wa_pri_params-paart = 'X_65_132'.    "Print parameters, new spool requ
    wa_pri_params-armod = '1'.    "Print parameters, new spool requ
    CLEAR wa_pri_params.
    CALL FUNCTION 'JOB_SUBMIT'
      EXPORTING
        authcknam               = wa_authchknam
        jobcount                = job_nr
        jobname                 = job_name
        priparams               = wa_pri_params
        report                  = jobs-report
        variant                 = jobs-variant .
    IF sy-subrc <> 0.
    ENDIF.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        jobcount             = job_nr
        jobname              = job_name
        strtimmed            = 'X' .
    IF sy-subrc <> 0.
    ENDIF.
    Regards,
    Prabhudas
    Edited by: Prabhu Das on May 19, 2009 11:50 PM
    Edited by: Prabhu Das on May 19, 2009 11:57 PM

  • Running reports in the background

    Headstart 2.1 has the report parameter BACKGROUND. I would
    expect that when I enter YES the report runs asynchroneous.
    However, reports are always started synchroneous. Is this a bug?
    Wim
    null

    you can use rfc's model  for this na?
    pass the parameters to the RFC and through that RFC run the report,
    with regards
    shanto aloor.

  • 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

  • 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

  • Running abap reports in the background when clicked on Webdynpro Button

    Hi Experts,
    I have requirement where when clicked on a Button in a Webdynpro application, it needs to run an abap reports in the background and I need to pass some parameters to the report.
    Is it possible to do that? if yes, please guide me though.
    Reward points for useful tips.
    Sabbir
    Edited by: Sabbir Ahmed on Oct 17, 2008 8:05 AM
    Edited by: Armin Reichert on Oct 24, 2008 10:05 AM

    you can use rfc's model  for this na?
    pass the parameters to the RFC and through that RFC run the report,
    with regards
    shanto aloor.

  • Running program in the background

    Hi everybody!
    I need to run  program in the background.
    So I need only to change the sy-batch status to 'X'?

    HI,
    if your program is runninn in the Background then the System field SY-BATCH will become 'X' otherwise it will have space ......
    it will not execute the job in the background if you put SY-BATCH = 'X'
    you need to use: Job_open , Job_submit and job_close function modules
    example:
    *Submit report as job(i.e. in background) 
    data: jobname like tbtcjob-jobname value
                                 ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
          host like msxxlist-host.
    data: begin of starttime.
            include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
      call function 'JOB_OPEN'
           exporting
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           importing
                jobcount         = jobcount
           exceptions
                cant_create_job  = 01
                invalid_job_data = 02
                jobname_missing  = 03.
      if sy-subrc ne 0.
                                           "error processing
      endif.
    Insert process into job
    SUBMIT zreport and return
                    with p_param1 = 'value'
                    with p_param2 = 'value'
                    user sy-uname
                    via job jobname
                    number jobcount.
      if sy-subrc > 0.
                                           "error processing
      endif.
    Close job
      starttime-sdlstrtdt = sy-datum + 1.
      starttime-sdlstrttm = '220000'.
      call function 'JOB_CLOSE'
           exporting
                event_id             = starttime-eventid
                event_param          = starttime-eventparm
                event_periodic       = starttime-periodic
                jobcount             = jobcount
                jobname              = jobname
                laststrtdt           = starttime-laststrtdt
                laststrttm           = starttime-laststrttm
                prddays              = 1
                prdhours             = 0
                prdmins              = 0
                prdmonths            = 0
                prdweeks             = 0
                sdlstrtdt            = starttime-sdlstrtdt
                sdlstrttm            = starttime-sdlstrttm
                strtimmed            = starttimeimmediate
                targetsystem         = host
           exceptions
                cant_start_immediate = 01
                invalid_startdate    = 02
                jobname_missing      = 03
                job_close_failed     = 04
                job_nosteps          = 05
                job_notex            = 06
                lock_failed          = 07
                others               = 99.
      if sy-subrc eq 0.
                                           "error processing
      endif.
    Thanks
    Sudheer

  • Running ME2M in the background - display variant

    Hello all,
    I try to run ME2M (purchasing report) in the background and receive the result with specific display variant.
    Does anybody know how I can tell the system to show the results with specific fields, not all of them ?
    Thanks,
    Isaac

    Hello Isaac,
    Enter T.code ME2M>Select Menu  GOTO/Variants/Save as variant  in menu bar>get into VARIANT ATTRIBUTES Screen.
    >Enter variant name (user defined)>Enter user defined text in meaning field>Select check box as reqiured like background  processing etc.>now select whichever fields you want to hide,display or other options by checking in check box on object for selection screen --->finally Save.
    After creating variant, you can get it through Variant icon (Shift+F5).
    Thanks,
    AK

  • How will schedule the BW report in the Background ?

    Hi
    Small query, i have one management report in the BI, which should be run early morning and send mail to the GM,
    We can schedule the ABAP report but no the BW !!!!
    How will schedule the BW report in the Background ?
    How the mail send to the GM ?
    Please advise us
    REgards
    Anwer Waseem
    SAP BASIS

    Reporting Agent will be only supported in the 3.X runtime in 2004s,start using Bex Broadcaster.Reporting agent is going to be obsolete or is would say.
    All the new functionalities will be implemented in Broadcaster only.
    Advantage -The old Reporting Agent in BW 3.x could pre-calculate the data of a template and access it through the URL . It could not broadcast queries, workbooks or web templates by email or to KM folders.
    https://websmp203.sap-ag.de/~sapdownload/011000358700004219392005E/ERQA_INFOBROADCASTING.PDF
    http://csc-studentweb.lrc.edu/swp/Berg/articles/Reporting_Analytics_2006_Broadcasting_v10.ppt
    Note 760775 - Settings for Information Broadcasting
    Hope it Helps
    Chetan
    @CP..

  • Get a Report crashed error while running report using the mode character

    Hello,
    I'am getting an "Enable to run report - Report as crashde" issue only when I'am running reports using the mode character. The same report with desformat pdf never has any problems. I have changed the englife (set to one) increase the cachesize but I still have the same issue.
    I'm using report 6i and Oracle 8i.
    Thanks in advance for your help.
    Regards,
    Laurent.

    Hi Thanks for the response,
    In fact the report in character mode is working fine in my environnement but is not working on my customer environnement (which is supposed to be the same as mine). I was thinking of cache size issue or something like this ?
    Regards,
    Laurent.

  • Reports Server/running reports on the web.

    I am trying to configure my web server to run reports on the web. I have followed the instructions provided by Oracle, but some is not clear. When i try to run report on the browser, i get the following error:
    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
    Oracle documentaion say the following about the steps to configure the web server:
    1-Start your Web server by entering the following:
    2-Start your browser.
    3-Create a listener.
    4-Configure your Web server mapping and note the physical and virtual directories. For example:
    I have done all the steps above except creating a listener. The documentation doesnt explain that step at all.
    I have created a cgi-bin directory and made it excetable and copied the rwcgi60.exe from reports server machine to the web server machine. I also copied the TNSNAMES entry for the web server from the reports server machine to the web server machine.
    Here is the command i use(just trying to make sure that web CGI is responding, but it doesnt work)
    http://web_server/scm/cgi-bin/rwcgi60.exe
    Other question: On the server machine, i have 3 oracle directories: ORA81, ISUITES, 806, which one should be the home directory for the reports to work on the web??
    I am using oracle 8.1.7 with 9iAS release 1.
    Thanks

    Please note that our CGI servlet is only used as a migration point for
    people with legacy CGI. It is not intended to support people with new
    development to -- we encourage you to use JSP and servlets.
    Thanks,
    Michael
    Savitha wrote:
    >
    Thanks Wei,
    Savitha
    "Wei Guan" <[email protected]> wrote in message
    news:8itate$332$[email protected]..
    Yes, WebLogic has CGIServlet to handle CGI, refer to document for details.
    Cheers - Wei
    Savitha <[email protected]> wrote in message
    news:8isq8i$ocn$[email protected]..
    Does Web logic Support CGI ?
    Need to connect the Web Server with the Oracle Reports Server running
    on
    a
    separate machine.
    Which is to be referred to as CGI_Virtual Directory?
    Thanks ,
    Savitha
    Thanks,
    Michael
    -- BEA WebLogic is hiring!
    Check our website: http://www.bea.com/

  • How can we run reports from the front enf of iProcurement...

    Hi Guys,
    I need to create a link to run reports from the front end in iProcurement webpage instead of using apps SRS to run the report...
    help needed...
    thanks
    aman

    Hi Tapashray,
    That was a great help. Thank you so much. A few more clarifications needed sir..
    I refered to a previous link and came to know about a prcedure he followed for a report. So is it the same way that is to be done... I pasted a descr what he said in the thread. In ur solution, you said, have a link bean. what do u mean by that. After i go thru all the steps what this guy told.
    It would be of gr8 help if you kindly look in to this for one more minute sir..
    thanks
    Creating a new report in 11.5.9
    Re: Creating a new report in 11.5.9
    Posted: Mar 11, 2005 7:12 PM in response to: dhergert Reply
    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region

  • How to run form in the background from command line

    please can anybody tell me to
    how to run form in the background from command line
    vishal

    Ummm....Oracle Forms is a foreground runtime kind of thing. What you want is a database procedure (or an OS utility - it depends on what sort of processing you want to do in the background).
    Cheers, APC

  • After closing large documents (drawings) the window closes but the process runs still in the background. I open the next document, the same procedure and after dowing this several times the RAM is full the system becoms very slow. what can i do???

    after closing large documents (drawings) the window closes but the process runs still in the background. I open the next document, the same procedure and after dowing this several times the RAM is full the system becoms very slow. what can i do???

    You can always shut it down manually via the Task Manager
    (CtrlShiftEsc)...
    On Mon, Sep 1, 2014 at 3:05 PM, frank koethen <[email protected]>

Maybe you are looking for

  • Upload file with additional comments column

    Hi Experts, When we upload data into the system using the import option of the data manager, we first upload the csv file into the system and then import the same using a transformation file. Now we have a requirement of inserting an additional colum

  • Import image in Map Builder

    When using the import image tool of Map Builder to create a GeoRaster theme, you may get a popup window with an error message saying that the import was not successful. The application console should contain the following lines. Creating GeoRaster Ta

  • (SOLVED) Conky and battery status

    How come this will not work on my system: ${color red}$alignc Battery Information ${color lightgrey} Currently: $battery ${color lightgrey}$stippled_hr I have tried a dozen scripts for battery status and nothing works. Does anyone have a sure fire wa

  • Re-activate on new PC

    I have changed my computer from xp to windows 7 and deactivated my xp cs3 and have reinstalled to windows 7 but the activation wont work.  How can i get my product activated on my new PC<

  • How do I Replace album art in ITunes 12

    How do I replace album art in ITunes 12. Before the upgrade I was able to delete and paste a new one in get info. No can do now!