Problem in background processing

Hi all,
   following Program is working fine in foreground, when i am scheduling it is not working, plz find if there is any problem in coding.
DATA: PATH(256)  TYPE C.
DATA: DIR_SEC    LIKE EPSF-EPSDIRNAM,
      DIR_PROCESS LIKE EPSF-EPSDIRNAM,
      DIR_INBOUND LIKE EPSF-EPSDIRNAM,
      DIR_ERROR LIKE EPSF-EPSDIRNAM.
DATA: FILE_MASK  LIKE EPSF-EPSFILNAM VALUE 'TEMP_.'.
DATA: FILE_INBOUND  LIKE EPSFILI OCCURS 0 WITH HEADER LINE,
      FILE_BACKUP  LIKE EPSFILI OCCURS 0 WITH HEADER LINE.
DATA: LOC LIKE SXPGCOLIST-PARAMETERS,
      RET_CODE LIKE EXTCMDEXEX-STATUS.
DATA: BEGIN OF PROT_TAB OCCURS 10.
INCLUDE STRUCTURE BTCXPM.
DATA: END OF PROT_TAB.
*DIR_SEC = '
172.19.2.249\pos\inbound'.
read directory
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
  EXPORTING
   DIR_NAME                     = DIR_SEC
     DIR_NAME                     =  '
172.19.2.249\pos\inbound_pos'
   FILE_MASK                    = FILE_MASK
IMPORTING
  DIR_NAME                     =
  FILE_COUNTER                 =
  ERROR_COUNTER                =
  TABLES
    DIR_LIST                     = FILE_INBOUND
  EXCEPTIONS
    INVALID_EPS_SUBDIR           = 1
    SAPGPARAM_FAILED             = 2
    BUILD_DIRECTORY_FAILED       = 3
    NO_AUTHORIZATION             = 4
    READ_DIRECTORY_FAILED        = 5
    TOO_MANY_READ_ERRORS         = 6
    EMPTY_DIRECTORY_LIST         = 7
    OTHERS                       = 8.
IF SY-SUBRC <> 0.
  IF SY-SUBRC = 7.
    MESSAGE S083(TRUST).
    RETURN.
  ELSE.
    MESSAGE E081(TRUST) WITH DIR_SEC.
  ENDIF.
ENDIF.
CALL FUNCTION 'EPS_GET_DIRECTORY_LISTING'
  EXPORTING
   DIR_NAME                     = DIR_SEC
     DIR_NAME                     =  '
172.19.2.249\pos\inbound_archive'
   FILE_MASK                    = FILE_MASK
IMPORTING
  DIR_NAME                     =
  FILE_COUNTER                 =
  ERROR_COUNTER                =
  TABLES
    DIR_LIST                     = FILE_BACKUP
    EXCEPTIONS
    INVALID_EPS_SUBDIR           = 1
    SAPGPARAM_FAILED             = 2
    BUILD_DIRECTORY_FAILED       = 3
    NO_AUTHORIZATION             = 4
    READ_DIRECTORY_FAILED        = 5
    TOO_MANY_READ_ERRORS         = 6
    EMPTY_DIRECTORY_LIST         = 7
    OTHERS                       = 8.
IF SY-SUBRC <> 0.
  IF SY-SUBRC = 7.
    MESSAGE S083(TRUST).
    RETURN.
  ELSE.
    MESSAGE E081(TRUST) WITH DIR_SEC.
  ENDIF.
ENDIF.
  LOOP AT FILE_INBOUND.
  READ TABLE FILE_BACKUP WITH KEY NAME = FILE_INBOUND-NAME.
  IF SY-SUBRC <> 0.
     CONCATENATE '
172.19.2.249\pos\inbound_process\' FILE_INBOUND-NAME INTO DIR_PROCESS.
     condense DIR_PROCESS.
     CONCATENATE '
172.19.2.249\pos\inbound_pos\' FILE_INBOUND-NAME INTO DIR_INBOUND.
     condense DIR_INBOUND.
     CONCATENATE DIR_INBOUND DIR_PROCESS INTO LOC separated BY SPACE.
     condense LOC.
      CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
      EXPORTING
      COMMANDNAME = 'ZMOVE'
      OPERATINGSYSTEM = 'Windows NT'
      ADDITIONAL_PARAMETERS = LOC
      STDERR = 'X'
      STDOUT = 'X'
     TARGETSYSTEM = DB_HOST
     DESTINATION = XPG_DEST
      TERMINATIONWAIT = 'X'
      TRACE = ' '
      IMPORTING
      STATUS = RET_CODE
      TABLES
      EXEC_PROTOCOL = PROT_TAB
      EXCEPTIONS
      COMMAND_NOT_FOUND = 01
      NO_PERMISSION = 02
      PARAMETERS_TOO_LONG = 03
      PARAMETER_EXPECTED = 04
      PROGRAM_START_ERROR = 05
      PROGRAM_TERMINATION_ERROR = 06
      SECURITY_RISK = 07
      TOO_MANY_PARAMETERS = 08
      WRONG_CHECK_CALL_INTERFACE = 09
      X_ERROR = 10
      OTHERS = 11.
      write 'sai'.
      ELSE.
     CONCATENATE '
172.19.2.249\pos\inbound_pos\' FILE_INBOUND-NAME INTO DIR_INBOUND.
     condense DIR_INBOUND.
     CONCATENATE '
172.19.2.249\pos\inbound_errorfile\' FILE_INBOUND-NAME INTO DIR_ERROR.
     condense DIR_PROCESS.
     CONCATENATE DIR_INBOUND DIR_ERROR INTO LOC separated BY SPACE.
     condense LOC.
     CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
      EXPORTING
      COMMANDNAME = 'ZMOVE'
      OPERATINGSYSTEM = 'Windows NT'
      ADDITIONAL_PARAMETERS = LOC
      STDERR = 'X'
      STDOUT = 'X'
     TARGETSYSTEM = DB_HOST
     DESTINATION = XPG_DEST
      TERMINATIONWAIT = 'X'
      TRACE = ' '
      IMPORTING
      STATUS = RET_CODE
      TABLES
      EXEC_PROTOCOL = PROT_TAB
      EXCEPTIONS
      COMMAND_NOT_FOUND = 01
      NO_PERMISSION = 02
      PARAMETERS_TOO_LONG = 03
      PARAMETER_EXPECTED = 04
      PROGRAM_START_ERROR = 05
      PROGRAM_TERMINATION_ERROR = 06
      SECURITY_RISK = 07
      TOO_MANY_PARAMETERS = 08
      WRONG_CHECK_CALL_INTERFACE = 09
      X_ERROR = 10
      OTHERS = 11.
      ENDIF.
      WRITE 'SAI'.
     endloop.

the only thing I can think of is that your function modules don't work in the Background ? Have you checked them ? Lot of FM's like GUI_DOWNLOAD etc don't work in the background. Perhaps your FM's function similarly ?

Similar Messages

  • Problem in background processing of a report

    Hey,
    I am facing a problem while executing a report in background. In foreground its running absolutely fine but in background the job get cancelled every time .
    can any body tell me how to find the cause of the problem and how can we debug the report  in background
    thanks
    bobby

    Hi Amole,
    following error is encountered  in background processing
    ABAP/4 processor: GETWA_NOT_ASSIGNED
    job cancelled
    thanks
    bobby

  • Do anyone have problem with background process APSDeamon.exe, do anyone have problem with background process APSDeamon.exe

    Hi All,
    I have a problem with APSDeamon.exe. It do not close properly. If I open iTunes and then close it and try to re-open it again. I must end the process in the task manager to be able to open the software. Has anyone got this kind of issues??

    Please look clayclay's and my answers -  https://discussions.apple.com/message/17002335#17002335

  • Regarding background processing of the session

    Hi Gurus
       I have some records in my flat file.
    While i am doing uploading the file using tc, in foreground it is processing correctly and no issues.
    While in Background some of the records are not processing properly and in sm35 for those records I am getting the message :"InCorrect".
    What may be the reasons I am not getting.
    Can you please suggest me where may be the wrong exactly.
    Your suggestions are highly encouragable.
    Regards,
    kumar

    Hi Sree Ram,
    This is a very common problem faced in Mass upload of data. This mainly happens if the current transaction is dependent on the previous transaction. For e.g. transaction 2 has a dependency on sucessfull processing of transaction 1.This is due to the time taken by the transaction to update the database table.
    Put a commit statement after every transaction in your recording and this will ensure that the records are updated and you will not face any problem in background processing.
    Regards,
    Guru

  • Using ServletContextListener for background process in tomcat, problems?

    Hi, I am building a web app using mojarra 1.2, hibernate 3.2, mysql 5 and tomcat 6. Currently, there's a need to run a background process every hour to:
    1) query the database
    2) process information
    3) send emails to (big) list of individuals when matched
    4) update database
    5) must happen during business hour
    For now, my approach to this problem is to hook a Timer object inside a class implements ServletContextListener. So that every hour during business hour will process the steps above when Tomcat started until someone shut down shut down Tomcat or when it crash (hopefully that won't happen).
    I read a few articles, they claimed this is not a good approach because in a managed environment, background thread like this won't be in the scope of the container.
    Due to certain reasons, we can't deploy this part as a separate daemon (e.g: jsvc) yet. We'll need to wait for few other things to occur before can we deploy a full daemon services.
    The question for this post is: What are some of the potential problems we will be dealing with when running background thread like this in tomcat? What are some of the things we'll need to watch out for before real problems arise (e.g size of db connection, # of concurrent process, etc) what are some other pitfalls other experienced when deploying background thread in tomcat?
    We hope this solution will be able to handle what needs to be done until our daemon service is ready.
    Thank you for your opinions

    You can try this.. Which gives more grip... in making threads etc..
    Here is a class with a method that sets up a ScheduledExecutorService to beep every ten seconds for an hour:
    import static java.util.concurrent.TimeUnit.*;
    class BeeperControl {
    private final ScheduledExecutorService scheduler =
    Executors.newScheduledThreadPool(1);
    public void beepForAnHour() {
    final Runnable beeper = new Runnable() {
    public void run() { System.out.println("beep"); }
    final ScheduledFuture<?> beeperHandle =
    scheduler.scheduleAtFixedRate(beeper, 10, 10, SECONDS);
    scheduler.schedule(new Runnable() {
    public void run() { beeperHandle.cancel(true); }
    }, 60 * 60, SECONDS);
    }

  • Data of alv report in  excel file in background processing using open datas

    Hi Experts,
    I have developed report for purchase register . if i execute this report in background process i am not able to get the downloaded file in excel and output is also not coming properly, columns are going to overlap.
    i used open dataset  read dataset and close dataset but still problem is not solved. so if anyone have code with this and also which will have concatenate statement in the code send it.
    Regards,
    Rahul

    Hi Rahul,
    Ur code shud be like below:
    DATA : l_filename2 TYPE string,
                v_extn.
        SPLIT p_filename AT '.xls' INTO l_filename2  v_extn.
        CONCATENATE l_filename2  'downloaded'  INTO l_filename2  SEPARATED BY '_'.
        CONCATENATE l_filename2  'txt'   INTO l_filename2 SEPARATED BY '.'.
        OPEN DATASET l_filename2 IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
        IF sy-subrc <> 0.
          MESSAGE e499(sy) WITH text-e02.
        ENDIF.
        LOOP AT it_order_number INTO wa_order_number.
          TRANSFER wa_order_number TO l_filename2.
        ENDLOOP.
        CLOSE DATASET l_filename2.
    Now, go to tcode AL11 and check it in the Application server itself.
    Hope this helps,
    Regards,
    Arnab.

  • Crystal Reports VS 2008 "The request could not be submitted for background processing"

    Hi,
    I am going to try to explain this issue the best I can. Please let me know if you need any other information or have any ideas as I have exhausted my resources. We have an ASP.NET application that has highly formatted crystal reports in them that the users can export as PDFs. All reports export without a problem when the application is run off of our desktops. The reports use a sql server authenticated user, executing stored procedures, and each subreport is linked by the main parameter. We are using Visual Studio 2008 version 3.5 SP1 with Crystal Reports Basic for Visual Studio 2008 on Windows 7 Enterprise SP1. We have designed the reports in Crystal Reports XI Release 2 (11.5.12.1838) and imported them into the ASP.NET application. When trying to export the reports as PDFs from the development or production servers, we get the error message below for some, not all, reports:
    System.Runtime.InteropServices.COMException (0x800002AD):  Error in File C:\Windows\TEMP\KeyAccountProfile {9FA5C095-77A2-425D-AC6B-8BB66B435336}.rpt: The request could not be submitted for background processing.     at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)     at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
    We have cleared the temp directory on the servers before exporting and are still receiving the error. We have installed Crystal Reports Basic Runtime for Visual Studio (10.5.2.0) on both servers. I have identified the underlying issue to one stored procedure/subreport that is causing the report to fail. The weird thing is, when we change the connection to point to development, the stored procedure/subreport runs fine for the report that generates an error when run from production, and the data is the exact same. I have tried rebuilding the subreport but the error still appears even though it runs fine for other reports.
    I have been through the document below, and othe similar issues in the forums, but still have not found a resolution. I was trying to use the "modules" application put since this is an ASP.NET application I am unsure of which executable I should be looking at.
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33?QuickLink=index&overridelayout=true&36837934524320
    Thanks in advance for your assistance,
    Brad Hood
    06-26-14
    OK.. I did some more investigating on this today. I have found out when I move the sub report that generates the error under another sub report, the sub report in question runs without issue. But when I try and move the sub report that produces the error above any other sub report, the error still generates. Can this get any weirder.... FYI.. there is a total of ten sub reports on this report.

    Hi Brad
    I'm not sure that Modules would show us anything in this case, so let's try a few other things:
    1) Make sure you are using SP 1 for Crystal Reports Basic Runtime for Visual Studio:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    2) Seeing as this works on dev, this may be some db inconsistency so enabling the report option "Verify on 1st Print" will be a good idea.
    3) Double check the database client and make sure the same client is used on dev and deployed systems. Actually I take back my Modules negative as this is where it may prove useful. Once you have the Modules logs, look at who is loading the crpe32.dll, then look at that process and see the client dlls.
    4) Check the printer driver; see if there are any updates. Try a different printer driver.
    Ten subreports is not too bad, though not that good either as you are loading the report engine with at minimum 11 simultaneous reports (each subreport is considered to be a report). If a subreport is in a details section and the details section returns a 100 records, you are running 100 + 1 reports. This may lead to memory issues, which may lead to the error.
    If I was a betting man, I'd put most of my money on the printer driver (based on your last addition to your post). What ever money I had left would go to some database issue (be it actual data or client related).
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Submit Report (Regarding Background Processing)

    Hi Guru's,
    I want help regarding Background Processing.
    I have developed a program which is running fine in forground but in Background mode no values are comming.
    All values are becomig Zero.
    Plz help.
    *--- Submit Report for 'COGI' (Postprocessing of Error Records from Automatic Goods Movements)
      SUBMIT coruaffw USING SELECTION-SCREEN '1000'
                      WITH  r_cumul = 'X'
                      EXPORTING LIST TO MEMORY
                    AND RETURN.
    *---- Get the List
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          listobject = it_list_tab
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.
      IF sy-subrc = 0.
    *--- Convert to Ascii
        CALL FUNCTION 'LIST_TO_ASCI'
          TABLES
            listobject         = it_list_tab
            listasci           = it_asci_tab
          EXCEPTIONS
            empty_list         = 1
            list_index_invalid = 2
            OTHERS             = 3.
        IF sy-subrc <> 0.
    *      MESSAGE i000 WITH 'Problem in converting LIST to ASCII'.
        ENDIF.
        DESCRIBE TABLE it_asci_tab LINES w_cogi.
        w_cogi = w_cogi - 5.
      CALL FUNCTION 'LIST_FREE_MEMORY'
        TABLES
          listobject = it_list_tab.

    Hi Arbind,
                  You have used return you need to add the addition with.Try this way hope it works
    SUBMIT zreport EXPORTING LIST TO MEMORY
                    AND RETURN
                    WITH P_1 = P_1
                    WITH P_2 = P_2
                    WITH P_3 = P_3
                    WITH S_4  IN S_4
                    WITH S_5 IN S_5
                    WITH S_6 IN S_6.

  • How can I run a method as a background process?

    Hello,
    I am currently working on a report where depending on the number of items selected, the user may choose to process all the items right now or as a background process.
    How can I do that in ABAP?
    Thanks

    To run a job in the background it has to be scheduled as batch job. You would usually do that using transaction SM36. As I understand your problem you want to schedule such a job directly from your coding. You may want to have a look at function group BTCH. It overs quite a few FMs to programmatically add a batch job.
    regards
    Daniel

  • BACKGROUND PROCESSING, REPORT NOT LOADING, "OBJECT NOT SET TO INSTANCE..."

    Post Author: thecoffeemachine
    CA Forum: .NET
    I already posted this message in other Web sites, but I am almost getting crazy here and I need help:
    HI:
    The Web application I am testing was having several issues related to loading Crystal Reports. It was fixed and I do not know which of the 1000 things I did to fix it; but now it began, again, to have the same behavior after I had a conflict with another Web site that was in the same server.
    The thing is that I had another virtual directory where resided a copy of the same Web app. for testing purposes/working with the Visual Studio. The reports were loading all fine, very fast, all perfect... And suddenly the assemblies of one Web site and the other began to "blend" together and..... well the same behaviors appeared again. I tried to copy the last stable backup and rebuild the Web app... but it did not work.
    At the very first time that one requests the report, it shows without problem. At the second time it shows an error message related to "cannot submit to background processing", and sometimes "object not set to an instance.." ... and on the third time it just never shows up and the app. becomes unresponsive. I have to close the window and request the Web site again in another browser window. If I wish to see the report again I have to wait for hours until it shows it.
    I am using Visual Studio 2003 and the Crystal Report version that was shipped with that Visual Studio version. I am working with Windows Server 2003 and SQL Server 2000. Below is the VB code:
        Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load             Me.SqlConnection1.Open()
           Me.SqlSelectCommand1.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandReferences.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandTextbook.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandObjectives.Parameters("@CourseCode").Value = Request.QueryString("CD")         Me.SqlSelectCommandTopicData.Parameters("@CourseCode").Value = Request.QueryString("CD") Me.SqlSelectCommandCourseOutcomes.Parameters("@CourseCode").Value = Request.QueryString("CD")
            Me.SqlDataAdapterMainData.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseSyllabusData")         Me.SqlDataAdapterReferences.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseReferenceData")         Me.SqlDataAdapterTextBook.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseTextbookData")         Me.SqlDataAdapterObjectives.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseObjectivesData")         Me.SqlDataAdapterTopicData.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseTopicData")
    Me.SqlDataAdapterCourseOutcomes.Fill(Me.DtsSyllabusCompleteData1, "procWebSelectCourseOutcomes")
            Dim myExportOptions As CrystalDecisions.Shared.ExportOptions         Dim myDiskFileOptions As CrystalDecisions.Shared.DiskFileDestinationOptions         Dim myExportFile As String         Dim myReport As New ABETFormat         myReport.SetDataSource(Me.DtsSyllabusCompleteData1)
            myExportFile = "C:UNTempPDF" & Session.SessionID.ToString & ".pdf"         myDiskFileOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions         myDiskFileOptions.DiskFileName = myExportFile         myExportOptions = myReport.ExportOptions
            With myExportOptions             .DestinationOptions = myDiskFileOptions             .ExportDestinationType = .ExportDestinationType.DiskFile             .ExportFormatType = .ExportFormatType.PortableDocFormat         End With
            myReport.Export()
            Response.ClearContent()         Response.ClearHeaders()         Response.ContentType = "application/pdf"
            Response.WriteFile(myExportFile)         Response.Flush()         Response.Close()         System.IO.File.Delete(myExportFile)         Me.SqlConnection1.Close()
        End Sub
    I already have tried moving the Crystal Reports dll´s to the bin directory. ..... I have tried calling the Garbage Collector at page unload...I also have checked, inside the report, that the database is "up to date"... ... recycling the worker process of the IIS... etc...
    I see that, in debbuging mode inside the Visual Studio, when the page loads the debbuging window shows a message notifying that the symbols related to the Crystal Reports dll's could not be loaded.
    Should I need to modify the default properties of the database? I checked "database is case insensitive", "use indexes or server for speed".. I have tried checking and unchecking the box "performing grouping on server"
    Oh by the way, my report has about 4 subreports in it. Each report loaded shows 1 or 2 pages.
    ANY HELP WILL BE EXTREMELY APPRECIATED....
    MMS

    See  [Crystal Reports For Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23&overridelayout=true] article, page 107 and on for details on how to use Crystal reports in session.
    Ludek

  • Error: The request could not be submitted for background processing

    I'm getting an intermittent error in our custom reporting application using Crystal Reports Server XI R2 w/ SP1:
    Error in File C:\WINDOWS\TEMP\{F6D30537-956A-458C-96D0-84ECB520D688}.rpt: The request could not be submitted for background processing.
    I'm using the Report Application Server XI Release 2 .NET SDK. This is the code that produces the exception (The export type is pdf):
    ByteArray ba = this.reportClientDocument.PrintOutputController.Export(ConvertExportReportTypeToCrystalReportExportType(),0);
    The error is also logged by Business Objects in the crystalras log file:
    ErrorLog 2007 12  3 12:24:56.531 6624 4872 (\servers\ras\dtsagent\reporthandler.cpp:11592): CReportHandler::buildReportViewerError: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"\servers\ras\dtsagent\reporthandler.cpp" LineNum:11588 ErrorCode:685 ErrorMsg:" Error in File C:\WINDOWS\TEMP\{F6D30537-956A-458C-96D0-84ECB520D688}.rpt:
    The request could not be submitted for background processing." DetailedErrorMsg:""
    This has been happening regularly about once a week, at which point the RAS fails and no more reports can be run until the CMS and RAS servers have been restarted.
    Has anyone else had this problem, or have any ideas?
    Thanks

    It was not a  bug (not in all cases anyhow), but it is one of those error message that might as well say; something went wrong. I wrote an article on the most likely cases for the error and the article can be downloaded from here;
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a6f5e8-8164-2b10-7ca4-b5089df76b33
    See if the above article will help you out. Please note that having the latest SP / FP is step one. The downloads page is here;
    http://service.sap.com/sap/bc/bsp/spn/bobj_download/main.htm
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Request could not be submitted for background processing

    Using Crystal Reports XI R2
    <br />Using Visual Studio .NET 2005
    <br />
    <br />Here's the scenario.  The client goes to run a report and specifies the filters they want for the report.  We load a pre-built rpt with no saved data and pass the filters in to the report via the parameters.  We then generate and export the report to another rpt file with saved data using the PULL method from the report itself.  When the viewer wants to view the report the file (with saved data) is copied locally to the web server and the CrystalReportViewer control is pointed at the rpt with the saved data in it.  In almost every case the reports come up fine and display in the viewer no problem.  The error above (Request could not be submitted for background processing) tends to show itself in the CrystalReportViewer control whenever the report has large amounts of data (like 8 megs worth).  I've tried everything I can find on this issue including the steps listed in the white paper for this issue.
    <br />
    <br />So just to be clear on the steps taken:
    <br />1)If I take the saved rpt and open it in Crystal Reports itself then it works fine.
    <br />2)If I point to the rpt with the CrystalReportViewer control in my development environment it works fine.
    <br />3)I've run Process Monitor and there were a couple of access denied messages to one of the HKLM registry keys but I modified the permissions so those went away but the problem still remained
    <br />4)As far as I can tell the report has no design issues.  Nothing runs over any edges, no overlapping of any kind, the Font itself exists on the machine in question.
    <br />5)Its not a dataset problem since the report is using the PULL method to generate itself plus the rpt with saved data is correctly generated its just showing the above error when trying to view it in the control.
    <br />6)The client is using a WIndows 2003 server, with 4 Quad Core processors and 8 gigs of RAM and 100 gigs of hard drive space remaining (so hardware is not an issue)
    <br />7)In code the ReportDocument object is inside a using statement (C# .NET) and only exist for the brief period needed to create the rpt with saved data.  So they are getting closed and disposed of correctly.  Also as pointed out above the rpt with saved data is already being generated correctly its just not displaying in the control.
    <br />
    <br />So to recap on a web server used by multiple people whenever a user tries to view a saved rpt file that has a large amount of data using the CrystalReportViewer control the error above tends to get generated even though the vast majority of the reports do display.  I'm at a loss for what else to try to make the report display correctly in the control.  Any thoughts would be helpful.

    Make sure you are using SP6:
    https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe
    Runtime
    msm:
    https://smpdl.sap-ag.de/~sapidp/012002523100000634042010E/crxir2sp6_net_mm.zip
    msi:
    https://smpdl.sap-ag.de/~sapidp/012002523100000633302010E/crxir2sp6_net_si.zip
    Other than that, I'd consider installing the CR designer - as a test, on the user machine and see if the designer can open the report.
    Ludek

  • Background processing- download multiple itabs into one excel with tabs

    Hello,
    I want to run a report as a background job and download the outputs in excel file into different tabs.
    Problem is OLE does not run in background mode.
    Are there any other alternatives for that?
    I searched the forum and did not get any useful answer for background procesing. All the topics use for foreground processing.
    (Old query for reference:- )
    [background processing] multiple work sheets in single attachment file
    Thanks.

    Hi,
    Even i had the same issue before, what i did is, i written a program which will run in the background and stores the data in application server file, and also it sends the email to user saying that 'the data is soted in application server, to veiw please run the ZXXXX transaction code to view,
    The second transaction code is having the OLE code which will download the data into an excel sheets with more than 1 tab.
    Thanks
    Sudheer

  • How to deploy an app with servlet and background processing

    i have a servlet with background processing. it has to run 24 hours a day.
    but i have problem with shutdown (after 1-2 hours without user action). [9iAS 9.0.3.0, windows 2000]
    i created for application seperate OC4J (in the EM) and i deployed it there. first time as war file, later as ear file (because there is possible to re-deploy only ear file).
    but it seems that the servlets are not designated to run as a uninterruptible task.
    the question is: how to deploy such (servlet + uninterruptible background processing) application in the 9iAS?
    a) everything in the OC4J (then how to disable shutdown?)
    b) servlet in the OC4J. where (and how) to install the rest of application?
    b1) servlet in the OC4J + rmi/soap/... + standalone server?
    what is the standard in the oracle world :) ?
    thanks

    Better to post your topic in the iPad in the Enterprise community.
    This is the, "Using Mac App Store" forum and for the most part for troubleshooting the App Store.

  • How to run a background process in a J2EE App ?

    Hi guys,
    Here is the requirement which totally stumped me.
    " The web app should have a feature like a background process or something like cron jobs.. which keeps on running in the background and at a particular time each day calls a method". User intervention is not an option.
    Now had this been a stand alone app .. I could have done this using Threads.. but i cant possibly use threads in a J2EE app. Any pointers.. how I can go about realizing this
    Thanks for your replies.
    Cheers!

    You could take the approach that SoulTech mentioned and spawn a new thread from the Servlet's init method. To have the servlet invoke this method with no intervention, you would need to set the following parameter in your servlet definition in your web.xml:
    <servlet>
      <servlet-name>MyStartupServlet</servlet-name>
      <servlet-class>com.my.company.MyStartupServlet</servlet-class>
      *<load-on-startup>1</load-on-startup>*
    </servlet>When you deploy your application, the servlet will be loaded, and its init method will be called.
    If your application is running in a servlet container, I believe you are allowed (by the specification) to spawn your own threads, but you should do so carefully. Since you're writing a scheduler and not some kind of worker threads that are messing with your database, I think you should be okay. Still, just to keep it clean you should add any clean-up logic you may need to your servlet's destroy method. I know that in an EJB container, spawning your own threads can definitely be a problem and the container makes no guarantees that they will function correctly. The J2SE Timer class could be used if you're not using EJB, but the Timer class doesn't have support for J2EE - that's at least part of what led to the introduction of the timer beans in J2EE 1.4. If you're already using EJB, especially EJB 3.0, then the timer service provides a convenient built-in mechanism to do exactly what you want.
    There are always multiple ways to solve any problem...
    Edited by: proflux on May 15, 2008 1:04 PM

Maybe you are looking for

  • Sender File Adapter: Flat file content conversion to "multileveled" XML

    Hi all, I would like to do following conversion with file adapter: - Input flat file schema: A... B,,, C::: - Desired XML form: <mesage>   <A>     <B>       <C>:::</C>     </B>   </A> </message > All found examples (internet or XI documentation) do o

  • Use of function module

    can anyone explain me the use and the purpose of the following FM. 1. EXIT_RSAQEXCE_001 please explain it will be a great help for me. thanks, Phyrose

  • Excessive Time to launch Web Dynpro iView

    Hello, I have an interesting problem here: When I launch the web dynpro Java iView in Portals 7.0, its taking 5-6 seconds to launch the iView. After that its calling the web dynpro application. I couldnt understand why there is such delay?. Has anyon

  • Raw images all blank

    I have managed masters in Aperture.  Last night went to print an image and received message that "Versions with unavailable originals cannot be printed".  Then all Raw images started to blank out - the image and thumbnail are black. Some are marked a

  • Video not working when using Airplay.

    When I mirror my iPhone to my Apple TV to watch vibe TNT app why does the sound come through but not the video? The video came through at first but stopped working. When I shut the app down my phone screen shows up on the tv again.