I want to run background process at plsql program based on the timeout

Hi
when it comes to ready state I want to run background process at plsql program based on the timeout
Thanks and Regards
ch saivikram

Thanks dude
This solution �start java TestClass� works fine �. But it does not solve my problem
It opens another black window and that black window persist till the life time of my program
Is it possible application run on complete background without opening another black window �as in Linux

Similar Messages

  • Want to run compensation process for all employee at once.

    Dear All,
    I have created Compensation Adjustment which use an user exit to read employee appraisal and create the compensation amount.
    its working fine by this transaction code HRCMP0001C - Change .
    but i want to run for all employees simultaneously, and here on this transaction, its only one employee can be select at a time for compensation adjustment.
    any body hv any idea how to run this compensation process for all employees at once?
    thanks in advance

    there is one option available in Edit >Spreadsheet. but it giving an error.
    Error while generating document
    Message no. SOFFICEINTEGRATION141
    Diagnosis
    An internal error occurred in the SAP Document Container Control.
    Procedure
    If the error recurs, enter an error message. There are notes related to how to create a log file using the report SAPROFFICEINTEGRATIONTRACE.
    any body hv idea how to solve it?...thanks

  • How to run background process with web application

    Hi,
    I have a web application , a servlet. I would like to have a background process that collecting data for my servlet.
    How can I achieve this? can someone point me to a tutorial or example?
    Also, would it be possible to share an object between the background process and myservlet?
    Thanks,

    Thanks for the idea.
    I had the background process running. :)
    But I'm still do not understand this part to share an object such as Java Map (<id,myobject>), what do you mean by "task a property of my ServletContextListener" ?
    BalusC wrote:
    If you make the task a property of your ServletContextListener implementation and put the implementation in the application scope, then you can access it from any servlet.Do you mind explain to me a bit more I'm still fairly new with this or maybe if you know an example.
    Here's my code snippet so far. How can I share myList to MyServlet?
    public class MonitorTimer extends TimerTask
           private Map<String, Channel> myList;
         @Override
         public void run()
              System.out.println("Monitor Timer times up");
              //Clear the map before fill with the new data
              if(myList!= null)
                   myList.clear();
              loadConfig();
            private void getData()
               //fill myList with data
    public class MyContextListener implements ServletContextListener
         @Override
         public void contextDestroyed(ServletContextEvent arg0)
              // TODO Auto-generated method stub
         @Override
         public void contextInitialized(ServletContextEvent arg0)
              System.out.println("Context Initialized");
              Timer timer = new Timer();
              //Run MonitorTimer every 2 minutes
              timer.scheduleAtFixedRate(new MonitorTimer(), 10*1000,2*60*1000);
    public class MyServlet extends HttpServlet implements Servlet
         @Override
         public void destroy()
              // TODO Auto-generated method stub
              super.destroy();
         @Override
         protected void doGet(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException
    }Thank you so much for your help,
    Edited by: geek.shrek on Nov 4, 2009 1:50 PM

  • EAS background processes status window is not listing the processes

    Hi All,
    When I choose to run a calc/report script at the background in EAS i dont see that process in the background process status window, it is just blank. but when i goto the session window to check, the process is still running. So background process status window is not list any processes that are chose to run at the background. Did anybody have this issue? Really appreciate your help to solve this problem.
    We are using Essbase 11.1.2.1. The issue is in the nonprod environment but it works fine in the prod environment which is running the same version.
    Thanks for you help..
    MD

    Hi Shiva,
    When I run a calc from EAS and If I choose to run at the background, I should see that process and all previous processes that were run at the background in "Background Process Status" window but i don't see anything there. What do I need to do in ESSVR?
    Hi Celvin,
    This is the JRE version and same in prod too.
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Oracle JRockit(R) (build R28.0.2-11-135406-1.6.0_20-20100624-2119-linux-x86_64, compiled mode)
    Thanks

  • Escalation process in Service Ticket based on the Priority,DueDate & Status

    Hi Experts,
    What is the standard way of Escalation process in SAP CRM Service Ticket management based on the Priority, Due Date and Status together. SLA can be usde with Service Ticket ?
    Based on the status, priority and due date/Time, how can I re-assign the ticket and send mail to the specific responsible employee or department to work on the ticket.
    Thanks
    Shaik Chand

    Hi Chand,
    pls check this below link ..
    http://help.sap.com/saphelp_sm40/helpdata/en/ec/7c83dc4ded11d5992600508b6b8b11/content.htm
    Regards,
    Raghu

  • Running background process at start-up

    Hello.
    I would like an executable file called "functionToVolume" to secretly run when Mac OS X starts up.
    This little programme allows me to change system volume with generic PC keyboards using PrtSc and ScrlLock keys (http://alum.hampshire.edu/~bjk02/functionToVolume.zip).
    I struggled for hours to figure out how to do this by myself, but I guess I need your help.
    I tried using rc.local, launchctl and launchd but got really confused and gave up
    Joseph

    by an executable do you mean a unix executable that you normally run from terminal or a regular application?
    If the latter simply add it to your login items in system preferences->accounts and check the box to hide it. If the former, create a launch daemon to run it at login. you said you couldn't do it but try [lingon|http://lingon.sourceforge.net>. it makes it very easy to create simple launch daemons like that.

  • Load fails while running a Process Chain even before loading to the PSA.

    Hi Experts,
    We are working on BI 7.0 and ECC 6.0 on an IS-U Project.
    We are loading Transaction Data using Process Chains. Data load is failing even before loading to the PSA and the error message is as below:
    Error message during processing in BI
    Diagnosis
    An error occurred in BI while processing the data. The error is documented in an error message.
    System Response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Inbound Processing
    Procedure
    Check the error message (pushbutton below the text).
    Select the message in the message dialog box, and look at the long text for further information.
    Follow the instructions in the message.
    Had anyone come across this type of error, if so, what could be the reason of failure and probable solution.
    Your time is very much appreciated.
    Thanks in Advance.
    Best Regards,
    Chandu.

    Hi,
    It might be a network connection between the source system and BW?  Can you get your Basis colleague to look into the connection?
    Hope this helps.
    Cheers,
    Gimmo

  • When I try to run NI's Sample VB programs I get the following error, Unable to find gpib-32.dll.

    Tried to reference gpib-32.dll but VB says unable to reference gpib-32.dll. Software: Win95, NI488.2 (ver 2.6) Hardware: GPIB-PCIIA

    NI-488.2 version 2.6 is written for DOS/WIN 16 operating systems. You may want to remove that driver and install NI-488.2 version 1.6 or 1.7 instead. Here is a link to the download site: http://digital.ni.com/softlib.nsf/websearch/E10418C4F6CFDCC186256BA600644D77?opendocument&node=132060_US
    Heather S.
    Applications Engineer
    National Instruments

  • ATP Re-Run in background processing for sales order

    Hello All,
    In sales order i need to re run the ATP check for the quantity confirmation in background processing.
    Scenario is :
    I have created orders with order quantity 100.
    while creating the order stock for the same material was only 20 so ultimately it will not confirmed the quantity.
    After the some period i m increasing stock of same material by 120. Now, same order which i created before can be confirmed as i need only 100 quantity in that. but for the same I need to manually run the ATP again and then it will confirm the quantity.
    instead of manually re run the ATP again i want to do this activity in background processing so that it will automatically confirmed the stock once inventory increased.
    Is there any provision in sap to avoid this manual task with the help of background processing or any program?
    Thanks and Regards,
    Rasik

    Hi,
    This can be achieved by rescheduling the orders .
    << Moderator message - Cut and paste response from http://help.sap.com/saphelp_470/helpdata/en/93/744c0c546011d1a7020000e829fd11/content.htm removed and points unassigned. Plagiarism is not allowed in SCN >>
    You reach the Sales screen.
    Select Environment ® Backorders ® Rescheduling ® Execute.
    You can  also simulate the backorders for rescheduling before confirming by selecting the simulateevaluate option.
    Prerequisite for rescheduling the line items of the order is that at schedule line you should not flag the  field fixed date and quantity field. Also for ATP you must have defined the scope of check with checking rule BO(i guess) for that particular plant in combination of checking group .
    Hope this will help you.
    Thanks and Regards,
    Atulkumar Dagade
    Edited by: Rob Burbank on Jan 24, 2012 10:16 AM

  • Local process chain is failing and i want to run its successor chain

    Hello All,
    I have a query regarding process chain, which is :
    I have a metachain, in which some local chains are existing.
    If suppose local process chain 2 is failing and i don't want to run that i want to run local process 3 directly
    (which is successor of chain 2 ).
    What should i do?
    Regards,
    Dolly

    Hi,
    You can trigger the process chain as below:
    Go to TC SE37 -
    > use function module RSPC_CHAIN_START -
    > execute -
    > put your process chain's technical name in variant  I_CHAIN -
    > Execute -
    > specify job priority
    Cheers
    Chanda

  • GUI_DOWNLOAD and background processing

    Hello,
    I have created a process which creates a file. this process uses GUI_DOWNLOAD to put the file on the users C drive or other directory on our network. The user wants to run this process in background and the program is returning a 6  (error unknown) from the GUI_DOWNLOAD FM. I was looking on SDN and found out the GUI_DOWNLOAD only works in foreground. You have to use OPEN and CLOSE DATASET statements to process in background. I am thinking about putting a button to denote foreground/background processing and using the appropriate statements to process the file. I will then have to get the file from the app server to a place will the user can get access to it.
    <b>first question</b> - is there a FM to do a FTP from the app server to a directory on our network for the user to access?
    <b>second question</b> - is this the right approach or is there something else that I should be doing.
    thanks in advance for your help

    Hi,
    Yes, your right, GUI_DOWNLOAD wil not work in background mode, you need to place the file in Application server, here.
    See the below link for a FTP program, use the proper commands(i do not know whether downloading the file is possible through the commands)
    http://www.sap-img.com/ab003.htm
    or else, write a small program which downloads the data from the application server, but it should run in the foreground
    Regards
    Sudheer

  • 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.

  • 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 in Flex

    I have two questions here. But, I guess they both are related
    1. I have a calendar application, where I display set of
    events based on time for a day. I need to start a background
    process to check if any of the events are scheduled for the next
    half an hour and show the reminder to the user.
    Like I mentioned, I believe that there should be a background
    thread running to check the current day event's time against the
    local time and display reminder.
    2. Next question is, I have a search component, where the
    user enters the text and clicks on the search to fetch the results
    based on the text entered.
    I need a little customizable behavior here, where I need to
    fetch the results based on the user input automatically(without
    clicking the search button) based on the time lag after the last
    character entered.
    Any help/views in this regard is highly appreciated.
    Thanks In Advance,
    Suresh.

    Hi,
    The issue is bcz. in background screen container is not recognized.
    Change the code as follows:
    SET PF-STATUS 'SCREEN_100'.
    SET TITLEBAR 'xxx'.
    <b>*if program is run in background
      CALL METHOD cl_gui_alv_grid=>offline
        RECEIVING
          e_offline = off.
      IF off IS INITIAL.
        IF container1 IS INITIAL.
          CREATE OBJECT container1
                EXPORTING
                 container_name    = 'CC_ALV1' .
        ENDIF.
      ENDIF.
      CREATE OBJECT g_grid1
              EXPORTING
                i_parent          = container1.</b>
      PERFORM prepare_field_catalog.
      PERFORM exclude_button.
      PERFORM display_alv.
    Best regards,
    Prashant

  • Experience in ABAP OO and heavy background processing?

    Hi,
    we're planning to develop a new application with a (very) high part of background processing. We plan to use the ABAP OO. We also want to make a good OO-Design (with many SETTER and GETTER methods and so on). I'm afraid we will get a lot of "program to program" communication and we will atomize our application. Also it's sounds to me like a conflict with the stuff from the Performance-course BC490.
    Has anybody experience with ABAP 00 and applications that normally designed for a "number cruncher"?
    Thanks and regards,
    Stefan

    Hi Mariana,
    I've started with two technical prototypes that have a very little business logic. One prototype is designed in the "good old" ABAP and one in the ABAP OO and a selfmade OO-framework from our company. This framework is very comforable and offers a lot of methods and superclasses. For vectors there is a own superclass. So for you question: We use a own object to pass the vectors.
    Also we use the software objectif for the OOD. I've learned how important a good OOD is, before I started any coding.
    My prototypes have a very simple business logic. They creates bills for 10.000 invoice recipient. The only feature is, that every recipient can have his own customizing to decide which items should be together on one invoice to a individual invoice date. 
    I must admit that the API in the OO prototype are more understandable, but for the performance I see still the follow bottlenecks with the I/O:
    - When I instance a business object, all attributs are loaded into the memory.  In the old ABAP I use only the required fields. So the "smelly" SELECT *-Statement is back again...
    - A business-class (A) that have dependent business-classes (B1, B2, B3...BN) should instance his dependes objects with the first access the the class (A). When the classes (B1,B2...BN) has also dependent classes, this object should be instances (B1 has C1,C2,C3..CN), too. There is always a "vector"-class between this classes that notice the reference of his objects.In my prototype for example you have a invoice recipient.
    In my prototype for example I have a class invoice recipient (class A). This recipient has a vector of bill-header (class B) and every bill-header has a vector of bill-items (class C). Between every of this classe is a vector-class that manage the references of the objects.
    I've programmed this lazy (hope that this is the correct word that a OO-gurus use). This means I instance only the class A. If there is a call to a method from object A that need the information from the class B-objects, than i look if the reference of the vector-class for the B-Object is already available. When not I instance the vecotr-class and this reads all dependens object B.
    So there is much more I/O than in old ABAP, after all.
    However I'm a OO beginner.
    Therefore I'm waiting that an OO-expert from our company take a look to my prototype coding and improve this for a better performance. I'm looking forward for some good tips. I will let you know when I've good some other nuts and bolts.
    Perhaps SAP needs a OO-database instead a rational database, so that all GET-methods goes directly to the database to avoid a instance with all attributs in the memory of the application-server...
    Many greetings from germany,
    Stefan

Maybe you are looking for