Jquery confirmation before running delete process.

All,
            Ive a process to delete a record in the table but i wan to show a jquery dialog confirmation(not simple js confirm function) with YES & NO button so if i click Yes it deletes that record otherwise cancel the delete. Ive written the delete process and that works and displays the successful message as needed but now i want to add the confirmation part which prompts before that delete, what do i need to change ?
thank you.

1. Re: jquery confirmation before running delete process.
RameshP
Hi,
This is where iam so far, ive put the hidden DIV and added the js code and the hidden item, so if you click the button it popups the div with OK & CANCEL btn also set hidden item = ID value. also i put the process condition expression 1 eq 2 P1_REC_ID THE VALUE of ID eg 3. but clicking ok doesnt delete the record.
what am i missing here?   thank you.

Similar Messages

  • Dsc - Delete Process vs Undeploy Libraries

    If I have a Shared Variable Engine process MyProc that was created by deploying a library MyProc.lvlib, what is difference between running Delete Process.vi and Undeploy Libraries.vi?
    Thanks,
    Mark Z.

    Dear Mark,
    Both function's functionally and behavior is complete different.
    Using DSC module and creating the SVE (Shared Variable Engine) you can transfer the data or play with data on network.
    Process:- Process is required to log or interact with data in Citadel database. This is like you create a process to link or identify your database or shared variable engine. So if you delete the process you are basically deleting the link of your real time data or database and removes all the associated variables in your SVE within that process.
    Shared Variable:- Shared variable we use to get the access of real time data over the network. So we have to create library and for particular data define Tags and deploy this on your server or host PC so everyone can access it using your defined tags. Undeploy function will give you the facility to close one or multiple tags.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

  • How to Run Operating System Command Before/After Message Processing SAP PI

    Hi,
    We are trying to execute multiple commands via "Operating System Command Before/After Message Processing".
    When we use single command say for example cp or mv (copy or move) the commands get executed fine.
    eg: cp %F /var/opt/data/outbound/Test/Dummy.txt 
    /this works fine/
    when we club commands together or try to redirect the outputs of commands, none of the commands get executed.
    eg:
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    or
    wc -l %F > /var/opt/data/outbound/Test/Dummy.txt
    Is it possible to execute multiple commands or redirect the output  of commands without using a shell script? The PI server we are working on iis hosted on UNIX environment.

    Hi Harleen,
    try like this
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    instead of semicolon try this
    (1) &
    command1 & command2
    Execute Command1 and then execute Command2
    (2) &&
    command1 && command2
    Runs the command2 only when command1 doesn't Complete successfully
    (3) ||
    command1 || command2
    Runs the second command if the first command had an error
    (4) ()
    (command1 || command2) || (command3 & command4)
    Defines the order in which commands are to be executed
    Regards
    Suraj

  • Production order should be confirmed before in-process inspection UD

    We guys,
    I have activated the In-process inspection for one Finished goods and inspection lot is getting created when Production order released. This production order can be confirmed without UD for In-process inspection lot.
    Please let know How can I control that Production order should not be able confirm before UD of Inspection lot for in-process inspection.
    When production order released it means an production has just starded. Then What is the meaning in getting the inspection lot created on release of production. I think it is supposed to be on completion of each opration.
    Please give your inputs.
    Thanks
    Dhanu

    Hello
    inprocess inspection are used to assisst you to record results , defect , rework, during the production operation. It is defined to get created during the release of the order. It gives QM personnel a control over the quantity confirmation. You can do the result recording based on time and quantity.
    Operation confirmation and UD are independent and it will not be possible to do confirmation once you do the UD.
    The controls that can be brought in 03 inspection for a better usage
    1) Result recording mandatory for all inspection points
    2) QM operation can be confirmed only by QM personnel
    3) At the time of GR of the order check whether UD for the lot is given. Make UD mandatory for GR of the order
    4) Only after QM operation confirmation the next operation can be confirmed
    5) make use of Rework to capture rework cost and First Pass Yield
    Hope this gives some picture to you
    Regards
    gajesh

  • HT4818 I want to have an exFAT parition in addition to the Mac OS X and Windows partition.  If I create it before running BootCamp, it wants me to delete it.  If I create it in either Windows or Mac OS X afterwards, I can no longer dual boot.

    I want to have an exFAT parition in addition to the Mac OS X and Windows partition.  If I create it before running BootCamp, BootCamp wants me to delete it before continuing.  If I create it in either Windows or Mac OS X after running BootCamp and installing both OSes, I can no longer dual boot.  What is the magic sequence to get this to work?

    I've got the same quandary.
    After upgrading my hard drive to a Momentus XT Hybrid and doing a clean install of Mountain Lion, I was surprised that I couldn't format partitions separately and then restore from my clone of the old Windows 7 Partition. I found that I had to use the BootCamp Assistant to manage it all, which essentially meant getting rid of the partitions and starting again...   
    I now can't get my Windows / BootCamp partition to boot, after adding a 3rd, ExFat, partition, when it was working perfectly fine before. I just get a lot of dos booting failures and a final message that "No boot device is available, press Enter to continue".  
    See the attached message, that I get when trying to boot the bootcamp partition, through Parallels 7; which also worked perfectly fine before.
    Be good to know if there is a work around this in Mountain Lion as, if not, I'm thinking I might skip Bootcamp altogether and just install a machine drive via Parallels. As suggested here:
    http://forums.macrumors.com/showthread.php?t=1420754
    I might even keep the virtual windows machine on a separate hard drive and then I'll have no need for the ExFat partitions altogether as that was designated for  sharing between Windows  and Mac.

  • RUN "delete noprompt obsolete" before "backup database"

    Hello,
    11g on windows 2003, 3 day recovery window
    For almost a year now, I having been running the below script daily to backup my database. Now I am begining to run out of disk space, and can not run the backup commands unless I run "delete noprompt obsolete" first.
         backup database tag=database_full_backup;
         backup archivelog all delete input tag=achivelog_backup;
         crosscheck backup;
    delete expired backup;
         delete noprompt obsolete;
    Is it a bad idea to rearange the order of the commands like below?
    crosscheck backup;
    delete expired backup;
         delete noprompt obsolete;     
    backup database tag=database_full_backup;
         backup archivelog all delete input tag=achivelog_backup;
    thanks for any help

    Hi,
    No problem. You configured a recovery window of 3 days, it means you want to be able to restore/recover until sysdate - X (X up to 3) at any time. RMAN will always respect that, you can "delete obsolete" whenever you want.
    Best regards
    Phil

  • Getting the Metric evaluation error start - Unable to run the process

    Hi,
    I am getting the below error:
    Metric evaluation error start - Unable to run the process
    We are using the Grid Control for monitoring purposes, and we get this error frequently from different databases. Please do let me know if anyone have faced this error before or know about it. Any kind of help is greatly appreciated!
    Thanks.

    Where are you seeing this error?
    Can you confirm the target exists (check targets.xml on the agent) and that the instance of the target has it defined correctly (all the required instance properties are there)?
    Given that those check out, can you open up the metric browser on the agent and make sure the target looks ok there.

  • Dialog from Deleting Process Chain

    Hi, I am cleaning up some old Process Chains and ran into an issue of concern.  I 1st unscheduled the chain I wanted to delete just in case.  2nd I deleted it.
    A message "Request Status Changed.  Trigger Follow-on event?"
    Why would I get this message if I'm deleting an unscheduled Process Chain?
    I responded with no, but I'm concerned...
    Thanks!

    That p-chain ran/executed before. It may not be scheduled when you deleted it, but it did run before. Sometimes, process chains get stuck and will never be refreshed. You selecting 'NO" will not change the Process Chains and it will not trigger anything, so you are OK.
    Uday-Ram Chamarthy

  • To pass new session variable value to stored proc before running a report.

    Hi,
    Below is summary of the report requirement -
    Database level design
    1. Created a view and a global temporary table (GTT)
    2. Created an Oracle package procedure to accept from and to business dates on basis of which it will fetch, process and populate the GTT.
    Repository level design
    1. Created a business model containing the view and the GTT (mentioned above)
    2. Created two SESSION variables "from_dt" and "to_dt" to be initialized by their respective init blocks. Each of the variable is initialized with a DATE column value (of type DATETIME) from a database lookup table. I have also set the option "Enable that variable to be set by any user" for both variables.
    Query for these variables :
    from_dt = select from_date from <table>
    to_dt = select add_months(from_date,12) from <table>
    Presentation level design
    1. Using a text box, i display the default/initialized values of these variables like this -
    Current business date:@{biServer.variables['NQ_SESSION.from_dt']} Future business dt:@{biServer.variables['NQ_SESSION.to_dt']}
    Dates get displayed in YYYY-MM-DD 00:00:00 format
    The text msg displays these default dates and allows the user to specift different date range for which i create prompts as shown below.
    2. Using any random two columns of date type from the business model, i create two date dashboard prompts with labels "From Dt" and "To Dt".
    i select Calender Controls for both; setting Default To = Report Defaults.
    The Set Variable is set to Presentation variables - such that pv_from_dt maps to "From Dt" and pv_to_dt maps to "To Dt".
    3. i create the report using the business model created above. In the report "Advanced Tab" => "Prefix" field i specify the following -
    SET VARIABLE from_dt='@{pv_from_dt}',to_dt='@{pv_to_dt}';
    Note : The logic here is to display the default dates and allow user to specify different date values which will be stored in presentation variables.
    If the user does specify different "from dt" and "to dt" values, then using the presentation variables, i want to "write" back these new values to the corresponding session variables mentioned above.
    If the user does not specify different date range, then the default/initialized dates must be considered.
    I also display the default and new date values in the report title.
    Back to Repository level design
    To execute the stored procedure that will load the GTT before running the report I need to pass two date parameters to the stored procedure on basis of which it will fetch data, process and populate the GTT.
    In the Connection Pool --> Connection Script Tab --> Execute before query, I wrote the below query using the repository variables FROM_DT and TO_DT to execute the procedure -
    DECLARE
    v_from_dt date;
    v_to_dt date;
    BEGIN
    v_from_dt := VALUEOF(From_Dt);
    v_to_dt := VALUEOF(To_Dt);
    package_name1.package_body(v_from_dt,v_to_dt);
    END;
    Now when i try to run the report i get the following error :
    [nQSError: 10058] A general error has occurred. [nQSError: 23006] The session variable, NQ_SESSION.to_dt, has no value definition. (HY000)..
    Need help on this.
    Is it possible to "write back" a new value to a session variable ?
    Any other alternatives.
    Thanks
    Nusrat
    Edited by: user10309945 on Jan 24, 2011 10:08 PM

    Sandeep, I found a several topics where users describe saving values in DB through stored procedure or function. For example, [How to store OBIEE presentation level variable values in DB |http://forums.oracle.com/forums/thread.jspa?threadID=892006] I tried it and get an error
    *10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 14551, message: ORA-14551: cannot perform a DML operation inside a query ORA-06512*
    It's not a BI error. This error are generated by Oracle DB. If I write next:
    SELECT MyPLSQLFunction(p1,p2) FROM DUAL
    I get the same error.
    Oracle doesn't allow DML operations in SELECT.
    Did you relalize this feature yourself? Where did I mistake?

  • When I attempt to open firefox an error message appears telling me that firefox is already running, but I can't find it running. How do I do so or in any case close the already running Firefox process?

    When I attempt to open Firefox instead of Firefox opening, an error message appears saying "Firefox is already running but isn't responding. To open another window please close the existing Firefox process or restart the system.", but I can't find that process of Firefox in order to kill it, and after restarting the system there is still the problem. I have found an emergency fix to at least get online, and that is to use"Firefox_Profile_Manager" in the start menu's "run" start menu, but the
    Firefox that then opens is that one doesn't carry over what I had in my bookmarks but starts bookmarks anew.

    Sounds like it is hanging when you exit and later try to restart Firefox.
    * How to stop the running Firefox process
    ** In Task Manager, does firefox.exe show in the '''<u>Processes</u>''' tab?
    ** See: http://kb.mozillazine.org/Kill_application
    **Windows 7 users: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    * What may cause Firefox to hang at exit
    **Windows 7 Task Manager: http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576
    ** http://support.mozilla.com/en-US/kb/Firefox+hangs
    ** http://kb.mozillazine.org/Firefox_hangs
    ** https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding
    * You may need to try Firefox Safe Mode
    ** You may need to use '''Safe Mode''' to locate the problem: ***See: http://kb.mozillazine.org/Safe_Mode
    ***Firefox 4 users, hold the Shift key while clicking the Firefox 4 desktop icon to enter Safe Mode.
    ***Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox.
    ****In Firefox 4, Safe Mode also disables Plugins and Hardware Acceleration.
    ****If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes '''<u>before</u>''' starting Safe Mode (In Firefox 4, Tools > Add-ons > Appearance). See: http://support.mozilla.com/en-US/kb/Using%20themes%20with%20Firefox#w_managing-themes-and-personas
    ****When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode".
    ****Test to see if the problem you are experiencing is corrected.
    *** If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it
    ***#by enabling '''<u>one at a time</u>''' until the problem reappears.
    ***#You can also enable a few at a time (3-5), keeping track of what you just re-enabled to see if the problem re-occurs; this will help narrow down the possibilities if you have a large number of add-ons.
    ***#'''<u>You MUST close and restart Firefox after EACH change</u>''' via File > Restart Firefox (on Mac: Firefox > Quit).
    ***#You can use "Disable all add-ons" on the Safe Mode start window.
    **See the following for more information
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes
    *** http://support.mozilla.com/en-US/kb/Troubleshooting+plugins
    *** http://support.mozilla.com/en-US/kb/Basic+Troubleshooting
    <br />
    <br />
    '''You need to update the following:'''
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *Shockwave Flash 10.2 r153
    *Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • I have to back up the disc before running Bootcamp?

    I need to run Windows on my computer by tomorrow morning for a job.
    I'm working on a MacBook Pro (Mac OX S version 10.6.8).
    I am very computer illterate and was told to set up Bootcamp.
    When I try to start up Bootcamp it gives me two options before proceeding:
    Download the Windows Support software for this Mac.
    I have the Mac OS X installation disc that came with my Mac or I have already downloaded the Windows support softer for this Mac to a CD, DVD, or external disk.
    I keep choosing the second option because when I choose the first option I am given an error that reads, "The Window Support Software is not available."
    When I choose the second option I get an error that reads, "Back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again."
    I don't know how to do - I don't have an external hard drive, however, most my files are stored on flashdrives and Dropbox (just in case my computer ever happens to crash).
    So basically, can someone walk me through how to set this up? It's a bit of an emergency.
    I've tried looking up solutions to this problem but become a bit overwhelmed (like I said, "computer illiterate") and can't follow along with the advice.
    If anyone could write a possible solution in a kind of step-by-step format, then I'd be very grateful.
    Thank you so~ much to anyone who may reply.

    That error message tells you that you have more than one partition on your hard disk, so you have to delete it before running Boot Camp.
    1. First of all, if you have important data on that volume, copy it to the first partition before doing anything. You can access to that volume on Finder sidebar.
    2. Open Disk Utility, select your hard disk at the top of the sidebar and go to Partition tab.
    3. You will see a partitions bar with all the partitions of your hard disk. Select the last partition and press - button to delete it.
    4. Then, click at the bottom right corner of the first volume and drag it to the end of the bar, so your OS X partition will use all the space of the hard disk. Finally, press Apply.
    5. Close Disk Utility, open Boot Camp Assistant and follow the steps to install Windows.
    I give you some notes for the Windows installation:
    Boot Camp will create a FAT partition; however, Windows Vista and Windows 7 requires a NTFS partition, so on the partitioning screen (it will appear during the Windows installation), you have to select "BOOTCAMP" volume, press "Options" and choose "Format". When it finishes, press "Next" and Windows installation will start.
    After installing Windows, you have to install the Boot Camp drivers. Just insert the Snow Leopard DVD and follow the steps to install the drivers. They will give compatibility for all the hardware of your Mac, so you won't have any problem with Windows.
    After installing Windows, your Mac will always start into Windows by default. If you want to start into OS X, press X key while your Mac is starting. If you want to start always into OS X, press X key while your Mac is starting, open System Preferences > Startup Disk, and choose "Macintosh HD".
    If you do this last step, to start into Windows, you only have to press Option key while your Mac is starting and choose "Windows".
    If you want all the detailed steps to install Windows, you can print this PDF > http://manuals.info.apple.com/en_US/Boot_Camp_Install-Setup_10.6.pdf

  • Running a process within a java program

    Hi
    I have code that runs a process for performance monitoring on an installed system. When I run the code standalone as below, it runs fine. If I include the code below inside another java program, the process fails to execute and the status returned is non-zero (failed to execute).
    The process requires the PATH and LD_LIBRARY_PATH to be set which seem to be set correctly when i print them out. So, I am not sure why the process doesnot run when included within another running java program.
    Can someone please point out what I maybe missing?
    Thanks!!
    public class RunPerf
      private static final String CLASS_NAME = "RunPerf"; private static Process proc = null;
    public static void main(String[] args)
        String INSTALLPERF_SAW_UNIX_COMMAND = "sawexe" + " " + "-perf";
             StringBuffer path1 = new StringBuffer(30);StringBuffer ldlibpath1 = new StringBuffer(30);
        System.setProperty("user.home", "/home/user");
        StringBuilder commandToExecute = new StringBuilder();
       commandToExecute.append(System.getProperty("user.home"));
       commandToExecute.append(File.separator);
       commandToExecute.append("web");
       commandToExecute.append(File.separator);
       commandToExecute.append("bin");
       commandToExecute.append(File.separator);
         String path = System.getProperty("user.home")+"/server/bin/" + File.pathSeparator + System.getProperty("user.home")+ "/web/bin";
           path1.append( path );
           path1.append( File.separator );
           path1.append( System.getProperty("java.library.path") );
           path1.append( File.separator );
          String env_value = null;
         String[] ldargs = {"LD_LIBRARY_PATH"};
         for (String env: ldargs) {
                env_value = System.getenv(env);
             System.out.println("LD_LIBRARY_PATH value before setting property= " + env_value);
                if (env_value != null) {
               String newldlibpath = System.getProperty("user.home")+ "/server/bin/" + File.pathSeparator + System.getProperty("user.homee")+ "/web/bin" ;
                ldlibpath1.append(newldlibpath);
                ldlibpath1.append(File.separator);
                   ldlibpath1.append(env_value);
                   ldlibpath1.append( File.separator);
                    System.out.format("%s=%s%n", env,ldlibpath1.toString());
                } else {
                    System.out.format("%s is not assigned.%n", env);
                 commandToExecute.append(INSTALLPERF_SAW_UNIX_COMMAND);
                   String[] envp =   { "USER_HOME =" + "/home/user",          "PATH=" + path1.toString(), "LD_LIBRARY_PATH=" + ldlibpath1.toString() };
               int status = executeCommand1(commandToExecute.toString(), envp,null);
                   if(status != 0){
                          System.out.println("Unable to run perf Unix") ;
         public static int executeCommand1(String command,String[] envp, Logger logger) {
            String METHOD_NAME = "executeCommand1";
            if (logger == null) { logger = Logger.getAnonymousLogger();}
            logger.entering(CLASS_NAME, METHOD_NAME, new Object[] { command, envp});
            Runtime runtime = Runtime.getRuntime();
            runtime.addShutdownHook(new Thread() {
                        public void run() {
                            if (proc != null) {     try {  proc.destroy();  if (proc != null) { proc.destroy();  }
                                } catch (Exception e) {
                                    e.printStackTrace(); }      }      }     });               
                           int retVal = 0;
          File cwd = new File(System.getProperty("user.home")+ "/web/bin/");               
                           try {
                               if (envp != null) {   proc = runtime.exec(command, envp,cwd); }
                                       else {  proc = runtime.exec(command); }
                               Thread t_err =        new Thread(new StreamReader(proc.getErrorStream()));
                               t_err.start();
                               Thread t_in =     new Thread(new StreamReader(proc.getInputStream()));
                               t_in.start();
                               retVal = proc.waitFor(); } catch (IOException e) {        retVal = -1;   logger.severe("IOException");      }
                                     catch (Exception e) { retVal = -1;        logger.severe("Exception");                  }
                     logger.exiting(CLASS_NAME, METHOD_NAME, retVal);
                     return retVal;
    static class StreamReader implements Runnable {
            InputStream in;
            public StreamReader(InputStream genericStream) {   in = genericStream;   }
            public void run() {
                try {
                    String strTemp = null;
                    BufferedReader buffReader = new BufferedReader(new InputStreamReader(in));
                    while ((strTemp = buffReader.readLine()) != null) {
                        System.out.println(strTemp);                }
                } catch (Exception e) {               e.printStackTrace();            }        }    }}

    Either set up a script before the program runs or have the
    program write a script file which contains the statements
    that need to be executed. Then you will be able to
    execute the script with a call to
    Runtime.getRuntime().exec()Mark

  • Error while running the process chain

    Hi, I am getting following error while running the process chain.
    "Lock NOT set for: Deleting the data completely from a data target"
    Please suggest.
    amit

    hi,
    This is due to a lock on the objects which is being used by ur load.
    Even if master data used by this would be in a lock by an attribute change run. wait till that attribute change run finishes and then repeat.
    If this target itself is locked by someother process like rollup , compression , this error would appear. In this case also repeat the step after those locking process finish.
    some general locks during loading:
    Sometimes parallel processing in DTP might lead to this, its better set the DTP and infopackage in serial processing. In this case change the settings and then repeat the process.
    There is a specific case in which the Serial DTP gets locked by itself, in this case repeat it untill it succeeds.
    You can identify the above scenario as below. This is applicable only if the DTPs processing mode is serial.
    if u see in SM 37 this load would have three DTP processes running.
    it should have only two.
    In this case cancel the process and repeat it untill u get it right.
    hope this helps u
    regard,
    ranjith
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:44 AM
    Edited by: Ranjith  Kumar Murugesan on Sep 12, 2008 10:46 AM

  • Order deletion process

    Considering COO2 and marking the order for deletion is the standard deletion process, i would like to know what are the effects of this transaction. How do we reconcile the materials to the WH ( if lets say, production has ensued in the WH and some raw materials were already used up )

    dear,
    please note that when you delete the order with delition flag, then system will check internally and give error if there is any open reservation, or WM TR/TO.
    Hence before deliting the order you need to delete all the associated documents and then only you can delete the order.
    Hence reconcellation happens before delition
    I hope you got it, else come back with you clear explanation so that we can help you.

  • Error in 'eMail Response - Process Message' --- Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(

    Hi,
    When I was simulating the 'eMail Response - Process Message', I had been getting the below error when entering to 'Create activity Process' step.(provided all the inputs per testmode.xml file)
    Error running sub-process 'eMail Response - Create Activity' at step 'Create Activity Process'.(SBL-BPR-00183)
    I increased the log level to 5 and got the below message in log file
    ObjMgrBusServiceLog    InvokeMethod    4    0000000251b51f04:0    2013-06-10 01:30:12    Begin: Business Service 'XML Hierarchy Converter' invoke method: 'DocToHier' at 12cc4240
    ObjMgrBusServiceLog    Error    1    0000000251b51f04:0    2013-06-10 01:30:12    (xmlcnvsv.cpp (548)) SBL-EAI-00246: XML Hierarchy Converter error - empty input message, expecting an XML document in <Value> of input arguments
    I was wondering I could not find 'XML Hierarchy Converter' business service in 'eMail Response - Process Message' and 'eMail Response - Create Activity' sub process.
    Can any body help me out in this regard.
    Thanks in advance..
    Jagadeesh

    Hi Naresh,
    yes, I am using the delete polling strategy. Here is the .jca file:
    <adapter-config name="Pozadavky" adapter="Database Adapter" wsdlLocation="Pozadavky.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/PozadavkyConn" UIConnectionName="PozadavkyConn" adapterRef=""/>
    <endpoint-activation portType="Pozadavky_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="Pozadavky.Pozadavky"/>
    <property name="QueryName" value="PozadavkySelect"/>
    <property name="MappingsMetaDataURL" value="Pozadavky-or-mappings.xml"/>
    <property name="PollingStrategy" value="DeletePollingStrategy"/>
    <property name="PollingInterval" value="120"/>
    <property name="MaxRaiseSize" value="1"/>
    <property name="MaxTransactionSize" value="10"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>

Maybe you are looking for