Running Crystal Reports in background mode

Ist there any way to run Crystal Reports against R/3 (ECC) in background mode instead of as a dialog user? We're having timeout issues since the dialog timeout is set to 30 minutes. We have several reports that run quite a bit longer than that.
Update: I just answered my own question. Pages 58-59 of the install and configuration guide shows you how to do this.
Edited by: Mike Garrett on Jan 22, 2009 4:57 PM
Edited by: Mike Garrett on Jan 22, 2009 8:41 PM

Hi,
SIA should be all you need because it is starting the other processes as well. Keep in mind that if you do that that most likely all you reports will run in batch mode (also those called on demand.)
Ingo

Similar Messages

  • CNTL_ERROR while running a report in background mode

    Hi,
    I am running a report in background on daily basis. I am using cl_gui_custom_container class here and calling the constructor of this class. I am getting a CNTL_ERROR exception at this point. But if i run the same report directly, it is not throwing any exception. The problem is if i schedule it to background. I am not able to sort it out. So please if any body knows, answer this.
    Thanks,
    Kumar

    Hi Nithin,
    I was facing the similar issue in a custom report program. I did apply the logic that you'd mentioned.
    I've implemented the code as below.
    IF  gr_container IS INITIAL.
    *** Check whether the program is run in batch or foreground
        IF CL_GUI_ALV_GRID=>OFFLINE( ) IS INITIAL.
    * Run in foreground
          CREATE OBJECT gr_container
            EXPORTING
              container_name = 'WORK_AREA_CONTAINER'.
          CREATE OBJECT lv_grid
            EXPORTING I_PARENT = gr_container.
        ELSE.
    * Run in background
          CREATE OBJECT lv_grid
            EXPORTING
              I_PARENT = gr_dockcontainer.
          ENDIF.
          ENDIF.
    i_parent_control = gr_dockcontainer.
            CREATE OBJECT m_base_splitter
            EXPORTING
              parent            = i_parent_control
              ROWS              = 1
              columns           = 2
            EXCEPTIONS
              cntl_error        = 1
              cntl_system_error = 2
              OTHERS            = 3.
            CALL METHOD m_base_splitter->get_container
            EXPORTING
              row       = 1
              column    = 2
              RECEIVING
              container = m_splitter_right_part
            EXCEPTIONS
              OTHERS    = 1.
    After I've implemented the above code I'm getting the following error in the batch job:
    Category               ABAP Programming Error
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL
    You attempted to use a 'NULL' object reference (points to 'nothing')
    access a component (variable: "M_BASE_SPLITTER").
    An object reference must point to an object (an instance of a class)
    before it can be used to access components.
    Either the reference was never set or it was set to 'NULL' using the
    CLEAR statement.
    Would you be able to help me in the above issue?

  • Run Crystal Reports in background on event from asp

    How would I run a Crystal Report file in the background after an onClick event from an ASP web page?
    Are there any code samples of how this can be configured?
    I have Crystal Reports Server 2008 and Crystal Reports 2008.

    See if the solution in [this|Re: CR2010 Production Release; thread will help.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Error when running crystal report

    i saw the error in log file 'Only TrueType fonts are supported. This is not a TrueType font' and 'Error while running Crystal report'
    Help me to fix this problem.Thanks inadvanced.
    I used some software developed in vb6.It changed some system font when running :D.
    i want to run both that soft   and sap.

    Hi,
    Please refer to the link, [Re: CR XI R2, Crystal Report Viewer Opentype Font not supported|Re: CR XI R2, Crystal Report Viewer Opentype Font not supported].
    What is the version of your crystal report, we will try to apply some service packs.
    Regards,
    Clint

  • Unable to run Crystal Report due to error code called "database code:102

    I have created a View on the SQL server and Now I am trying to run crystal report using that view. However, I get Database Vendor Code error message 102. Need your help, How can I ran a report using SQL veiws in Crystal?
    thanks!
    Mansoor

    Hi,
    The report is getting an error code 102  from the database driver.Try with searching the RDBMs type for error code 102, to narrow down the issue.
    If  data from database is failed to retrieve then,there are several causes of this error like disconnected tables, tables that are not connected properly.
    Run your query in SQLcon32 and check that getting accurate output or not.
    Regards,
    Shweta

  • Authorization object for running a report in background

    Good day experts,
    I tried running a report in background, I choose immediately so that it doesn't have to be scheduled. But when I checked it in my own jobs, It remains at scheduled status. When I tried it on my admin account, It works and with status finished. It seems to be an authorization problem. What object could I be missing with my user account? I tried S_TCODE SMX and SP02 but still not working.
    Thanks in advance!

    Hi karshbax,
    What you're looking for is authorization object S_BTCH_JOB. You need authorization for field JOBACTION = RELE.
    In future use transaction SU53. It shows last error authorization error, so if this is authorization problem then after try of manual releasing of job you'll find in SU53 precise info what went wrong.
    Best Regards
    Marcin Cholewczuk

  • Error While running crystal report

    Dear All,
    i have some crystal reports in SAP.while opening any crystal report its through some error like  "Error While running crystal report ".
    Kindly suggested me how to do this .
    Thanks&Regards,
    P.Pratap

    Hi All,
    Thanks for your reply,
    already i close this Issue.
    they have one addon for crysatl report .so it show error like Error while Running crystal report
    thanks&Reagrds,
    P.Pratap

  • Error while running Crystal Reports from application

    Hi,
    I am getting the below error when I try to run Crystal Reports from my application.
    There are no Page Servers connected to the Cache Server or all connected Page Servers are disabled or all connected Page Servers are not part of the specified server group. Please try to reconnect later.
    I am able to preview the reports in CMC and Infoview, but when I try to run the same report via my application the above error pops up.
    Sometimes I get a different error:
    The Page Server you are trying to connect to is not accessible. Please contact your system administrator.
    Looks like some configuration settings are missing/ corrupted.
    I tried to look in a number of websites... tried few workarounds, but none seems to be working.
    Any help is highly appreciated.
    Meena
    Edited by: meenakshitikoo1 on Apr 19, 2011 12:46 PM

    Check the following SAP note
    https://service.sap.com/sap/support/notes/1032461
    Regards,
    Stratos

  • To run a report in background in selection screen using a new button

    hi friends iam new member to this site
    nice to meet u all
    i want to run a report in background using the selection screen of the same report and i want to keep a button in application tool bar.
    after enter the values in the selection screen by clicking that button it should move to the screen which we get generally by menu option
    program-->execute in background
    and by entering the output device and start condition it should be scheduled in the background.
    with job_open,job_submit and job_close we need variants.
    for this i tried through bp_jobvariant_schedule and
    bp_jobvariant_overview but with this we can run with variants only
    but the user wants to enter the values in selection screen and need a button to run background
    ok friends i think u understood me
    please inform soon ok bye have a nice time

    Hi Jagadish
       There are two ways for you to handle the situation.
    1. Train the users to enter the values in selection screen and manually go for backgroung scheduling.
    2. Use At user command and within that basing on the option selection selected, use FM:JOB_OPEN with sy-repid get the job number, submit the program with the values on the selection screen and lastly executing FM: JOB_CLOSE with the job number from JOB_OPEN and SY-REPID.
    Note that you have to set 'X' for export parameter something like startimmed while calling FM: JOB_CLOSE for immediate execution. Am not on SAP to give you the exact parameter.
      Hope the above info helps you.
    Kind Regards
    Eswar

  • Is it possible to run ALV report in background if Yes how?

    is it possible to run ALV report in background if Yes how?

    Hi,
    Why not?Through se38 only you create ALV report. there you can give your report name and go to program on menu bar - click - execute buton- click-Background . You will get new screen there you can choose Execute immediate or schedule.
    <REMOVED BY MODERATOR>
    Cheers,
    Chandra Sekhar.
    Edited by: Alvaro Tejada Galindo on Mar 4, 2008 2:12 PM

  • How run a report in background process ?

    Hi Experts,
    I wrote a code in which I am have multiple selection screens....means in first screen there will 3 radio buttons.
    So, depending upon the radio button selected, the other selction screen will be displayed...
    So, here i want to run a report in background process...But in menubar im not able to find 'program'.
    So, please help me this to run my report in background process.. with any simple code...
    Thanks,
    Rocky.

    Hi,
    Try to see this example and adapt it for your case:
    constants :   c_jobname  like tbtcjob-jobname  value 'ZRFC_CM_38',
                  c_jobclass like tbtcjob-jobclass value 'A',
                  c_x        type c                value 'X',
                  c_msgclass type arbgb            value 'ZXXXSD',
                  c_error    type bapi_mtype       value 'E',
                  c_status   type bapi_mtype       value 'S',
                  c_msg1     type msgnr            value '177',
                  c_msg2     type msgnr            value '178'.
    data : v_jobcount like tbtcjob-jobcount.
    ranges:
      r_auart    for vbak-auart,
      r_wbstk    for vbuk-wbstk,
      r_mtart    for mara-mtart,
      r_reswk    for ekko-reswk,
      r_vtweg    for vbak-vtweg.
      call function 'JOB_OPEN'
        exporting
          jobname          = c_jobname
        importing
          jobcount         = v_jobcount
        exceptions
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          others           = 4.
      if sy-subrc = 0.
      Assignment of Ranges
        append lines of:
           distribution_channel to r_vtweg,
           order_type_range     to r_auart,
           status_range         to r_wbstk,
           material_type_range  to r_mtart,
           plant_range          to r_reswk.
      Submit program in background
        submit z_beve_salesorder_list
          with p_spart   = division
          with p_file    = file_name
          with p_land1   = country
          with s_vtweg   in r_vtweg
          with s_auart   in r_auart
          with s_wbstk   in r_wbstk
          with s_mtart   in r_mtart
          with s_reswk   in r_reswk
           via job c_jobname
        number v_jobcount
           and return.
      Close the Job
        call function 'JOB_CLOSE'
          exporting
            jobcount             = v_jobcount
            jobname              = c_jobname
            strtimmed            = c_x
          exceptions
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            invalid_target       = 8
            others               = 9.
        if sy-subrc = 0.
        Status Message
          return-type  =  c_status.
          message id c_msgclass
             type c_status
           number c_msg1
             into return-message
             with c_jobname
                  sy-datum
                  sy-uzeit.
        else.
        Error Message
          return-type  =  c_error.
          message id c_msgclass
             type c_error
           number c_msg2
             into return-message
             with c_jobname.
        endif.
      endif.
    Regards.

  • Running Crystal Reports

    How do I restrict users to being able to run Crystal Reports via "schedule" only? (version X1)

    You can use WEB.SHOW_DOCUMENT('URL of the Crystal Reports Server and pass the necessary parameters.');

  • Issues in running crystal reports 2013 with SOQL as a datasource

    Hi Experts,
    We have some crystal reports created in CR 2008 with command as a data source and all the commands are written in SOQL pulling data from SFDC, now when I open and run those reports in crystal report designer 2013 it is giving below errors:
    Failed to retrieve data from the database.
    Details: 42S22:[Simba][SQLEngine] (31400) Qualified column could not be bound: c.Investor__r.Relationship_Formula__c. [Database Vendor Code: 31400 ]
    Failed to retrieve data from the database.
    Details: 42S22:[Simba][SQLEngine] (31400) Qualified column could not be bound: k.Account_Relationship__r.PE_Priority__c. [Database Vendor Code: 31400 ]
    We are running crystal reports in both the version with system admin user who has access to all the objects in SFDC. It works well for CR 2008 but not for CR 2013, means relationship is not an issue.
    We have done some analysis and found that if the field in query contains two periods (.) it is not recognising that field, if we remove that field from query, CR 2013 takes that as a valid statement.
    Any help or suggestions on this issue would be a great help.
    Regards,
    Apoorv

    Hi Apporv
    Please check your database documentation for error 31400.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Run crystal report through BI, can't locate par file on BOBJ server

    Attempting to run crystal report through BI iView. 
    Followed steps here: http://wiki.sdn.sap.com/wiki/display/BOBJ/CreateBOEXI3.1IntegrationKitIViewTemplateintoSAPEP+Portal
    successful until we try to locate the par file:
    com.businessobjects.pct.masteriview.par
    Is there something we need to install to be able to load this file, or is there somewhere we can download.
    As of now, stopped b/c can't find
    com.businessobjects.pct.masteriview.par

    Thanks Ingo, would this be the correct file to download and install?
    Download BusinessObjects XI 3.1 Java Portal Integration Kit - WAR 10 MB
    Located here:
    http://www.sdn.sap.com/irj/boc/enterprise;jsessionid=(J2EE3414800)ID1586935850DB11532971180627469992End?rid=/webcontent/uuid/503988db-58c5-2b10-f79d-cb96700417f9
    then click Download BusinessObjects XI 3.1 Java Portal Integration Kit - WAR 10 MB
    to get here:
    http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/f0c30ff1-4e75-2c10-a385-8eff81c946aa
    We currently have BOBJ set up, CMC/INFOVIEW, and crystal linked to SAP BI...so I thought we'd installed everything we need, I guess this is more for portal...b/c now our goal is to see what crystal reports look like in BI portal instead of infoview.
    thanks a lot,
    matt

  • When deleting running crystal report from BOE CMC, it leaves Oracle thread?

    hi,  Yesterday, we discovered an anomaly.  From BOE's CMC, I deleted a running Crystal Report instance. I believed that this would "cancel" the running report. However, later, it produced a message.  It apparently kept on running in Oracle until it finished.
    My question: when I delete a job from BOE's CMC, what else must we do to cancel it from continuing in Oracle? Apparently, it continued to be a "thread" in Oracle.
    What additional steps should I take or are there any setup steps?  Thank you.
    Our BOE version (copied from the CMC about screen) is: Product: 12.1.0 © 2008 Business Objects (or Product Version:      12.2.0.290).
    Thank you,
    Dean

    I'd just been trying instructions in SAP note: 1407795 when this reply came through.... I can confirm this worked for me.
    The error codes I found in the Windows Event viewer, both yesterday and today are listen below:
    RCIRAS0240
    RCIRAS0622
    RCIRAS0567
    RCIRAS0244
    The issues that are described in this post and the ones I have seen first-hand  when the screen hangs when viewing this report on-demand, or the report running for a longer than expected time when scheduled, are covered by the above error codes. 
    A known cause of the issues you are experiencing is that when these particular reports were created, a network printer was specified as the default printer, this printer may now either be unavailable, IP address may have changed, etc.
    There do seem to be two options available:
    Option 1 - Remove the printer driver dependency
    Open this report in the Crystal Reports Designer.
    Under the File menu, click on Page Setup.
    Select the No Printer option.
    Option 2 - Add or correct the printer that the report is designed with
    Open the Report in the Crystal Reports Designer
    Under the File menu, click on Page Setup
    Make not of the printer that is listed in the Page Setup dialog
    Log on to the BusinessObjects Enterprise Server that houses the Crystal Reports Processing Servers.
    Make sure you log in as the user account that runs the Crystal Reports services.  This is generally the account that runs the Service Intelligence Agent (SIA)
    Go to Control Panel and click on Printers
    Ensure that the same printer is configured on the server that is used in the Crystal Report
    In the printer already exists, try removing it and re-adding it.

Maybe you are looking for

  • Which is better for 3D rendering

    Hello everyone. I build a new computer. I want to work with 3d graphics. Can not decide which graphics card can handle better rendering. Decide between: HP Nvidia Quadro K4000 or GeForce GTX 780 Thank you for your help, Karči

  • Linksys WRT54GL and Airport Extreme dropping connections

    In looking through these forums, I realize that people have had problems with their Linksys WRT54G routers and their Airport cards. There seem to be a lot of suggested fixes, but no definitive answer as to what's wrong. I don't know either, and after

  • Configure CTS+ - WebDynpro Exception

    Hi Gurus, I want to configure CTS+ and followed the How-to-Guide to set up CTS+ in a Portal Environment. At step 3.2.2 - Activating the Service - I wanted to test the service sodis_core_wbo as described in the Guide but I get a shortdump. WebDynpro E

  • Recent news about OCS rejection by US state

    Hi, I was evaluating OCS and recently ran into this surprising news that says "State rejects e-mail software, will seek refund from Oracle" http://www.tmcnet.com/usubmit/-state-rejects-e-mail-software-will-seek-refund-/2006/02/27/1410730.htm It indic

  • Optimizing SSD+HDD space.  What to store where?

    Hi there, I'm planning on buying a 2.5" 120GB Sandisk branded SSD to install internally (DIY) into my 2010 iMac to improve performance and I'm wondering a few things, hopefully you'll be able to help me: 1) I'll make a clean OSX installation but, onc