OMB to find out deployment status of an object

Hi all,
I am creating an OMB script to deploy all objects in a collection. I use that to promote new developments to e.g. the acceptance environment. Objects in the collection may already exist and be deployed to the database. In the case of a table it is relevant to know if the table is already deployed to the database because you do not want to destroy data already in the table. I would like to use an UPGRADE for that table as that will preserve the data and is possible in most cases.
Now I am looking for an OMB command to retrieve the deployment status so I can determine if I must use an UPGRADE or a CREATE. It seems I can't find it in the docs? Is this possible in any way?
I can find the status using the all_iv views of course, but since I am working from a tcl script, I would prefer an OMB command.
Kind regards,
Eric.

Hi Eric,
I've never saw such OMB command. You can try approach (using JDBC in OMBPlus) described here {message:id=3691751} .
If your design and runtime repositoris located under the same database you can avoid creating new JDBC connection - since OWB 10gR2 it is possible get JDBC connection to OWB repository like this (before you need grant from Design Center system privilege ACCESS_PUBLICVIEW_BROWSER to user under which you plan to run script)
set repMgr [java::call oracle.owb.connection.RepositoryManager getInstance]
set jdbcConn [$repMgr getPublicViewConnection]
set connStatus [$jdbcConn isClosed]
puts $connStatusRegards,
Oleg

Similar Messages

  • How to generate a report from crm table to find out user status changes

    Dear all,
    Could you please help me on generating a report from SAP CRM table level
    to find out user status changes in crm orders for a specific period of time?
    Thanks in advance,
    Regards,
    Shaik

    Hi Shaik.
    You would not need to write report for this. You need to create a Table view mainenance for the CRMD_ORDERADM_H or CRMD_ORDERADM_I for whichever  you need.
    Follow the below or search on google for more on table view maintenance.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
    In the table maintenance generator screen, you should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually you will create with one
    step. You should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, you find display, Maintain options.
    You can view the table contents by choosing Display and  supplying the selection criteria of dates.
    Regards
    Apoorva

  • Hw to find out the status of the program...? like active / inactive?

    Hi kindly let me know how to find out the status for the programs (like active / inactive).
    I have 100’s of zprograms; I want to know at a time which are all active and which are all inactive.
    I heard some table is there, but don’t know exactly, let me know if you have any idea…
    Akshitha.

    Hi akshitha,
    1. Active and Inactive status is stored in table REPOSRC.
    2.  Just goto that table in SE11/SE16,
         and enter (copy/paste) the list of your 100 programs.
    3. <b>In that there is a field R3STATE
       Where A= Active
                 I = Inactive</b>
    From there u can filter as per ur requirement.
    regards,
    amit m.

  • How to find out the modified or customized objects in oracle apps

    Hi all,
    I have a proble, there is no documentation available from the client and I have to find out what all oracle seeded objects have been modified during customizations (in reports, forms, work flow, jsp, tables etc..)
    Are there any tools or any particular way where we can figure them out.
    Any suggestions will help me a lot.
    And this is very imp and urgent.
    Please help me if you have some thing..
    Thank you all,
    Nagender

    For JSP's
    Diff between JSP in $HTML_TOP and corresponding PROD_TOP/html (like $IBE_TOP/html for ISupport Files)
    Any file that you see differing between $HTML_TOP and $PROD_TOP/html are Customized.
    Database Objects:
    You can look at the CREATE TIME. All seeded objects would have the same CREATE TIME. Any modofication would overwrite the CREATE TIME.
    Note that one pitfall here is that of Objects created by a Patch applied after the intial Install.
    I have no clue how you would identify the Workflows and Reports.
    HTH

  • How to find out the type of the object ?

    how would i find out the type of an object reference variable ?
    it would be nice if there was some sort of getType() method that would return a string to tell me the type of the object -- just for testing purposes

    try
    Object.getClass().getName();
    or just
    Object.getClass().toString();
    so something like this in your code:
    Object obj = new Foo();
    System.out.println(""+obj.getClass());
    etc.

  • How do i find out the status of the ink in the HP 5510 machine?

    Please can you advise how i find out what the status of the ink is in the "HP 5510" machine?

    Hi,
    Please use this:
    From the Printer Home screen, touch the right directional key, and then touch the Ink icon to display the estimated ink
    levels.
    Regards,
    Note: The ink icon is similar to a drp\op of water.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How to find out Tomcat status

    hi all,.
    how to find out the tomcat status in windows? linux also helpful ..i want to know whether the tomcat is running or stopped....?

    if it is tomcat 5+, tomcat is most likely started as a service (At least under windows 2000 and higher). So go to control panel -> administrative tools -> services and you can check the status there.

  • How to find out the status of a file in java

    Hi
    I have an application that writes xml files anytime it is invoked. I am writing all unique files to a windows directory.
    i also have an ftp client working on that directory that scans all the files and sends them to the server every few minutes.
    I want to find a way using which all the files except the one that is being currently written by the application are transferred.
    Is there a way to find out in java as to what file is being written to by the operating system at that point of time ? I have looked around for quite a long time and have not been able to find a solution to this problem.
    Any help will be deeply appreciated.

    out = new FileOutputStream(matcher.group(1)+".open" , true);
                          FileChannel ch = out.getChannel();
                                       FileLock lock =  ch.lock(0L, Long.MAX_VALUE, false);
                                   // Connect print stream to the output stream          
                                       p = new PrintStream( out );
                            p.println ("\n" + parms.getProperty( value ) + "\n");
                                  p.flush();
                            p.close();
                                  lock.release();Ok, I tried implementing locks but I dont know why it is not working...An exception is thrown and nothing is wriiten to the file. I have employed a complete lock on the file so that no other JVM application can use it.
    Actually this is a server that grabs data sent from an Iframe and writes it down to a temp file. I open a file input stream, lock it and then use a printwriter strream to write the realyed data to the file. Any inputs as to what is wrong with the code snippet above?????

  • How to find out  Locks on the database objects

    how to find out Locks on the database objects

    The following notes should be helpful:
    Note: 200590.1 - bde_session_locks.sql - Locks for given Session ID
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200590.1
    Note: 1039273.6 - SCRIPT: VIEWING LOCKS ON OBJECTS HELD BY SPECIFIC USER
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1039273.6
    You can also search Metalink, there are many notes/scripts published there which would be also helpful.

  • How to find out import & export path for object migration between D Q & P?

    Hi guys!
    Is there a way, how to find out export and import path for object transport on XI?
    Thanx!
    Olian

    Hi,
    Have a look at these links.
    When we do an export of the IR or the ID Oblects, a typical path at which it gets exported in the XI Server is as follow:
    For IR Objects:
    “C:\usr\sap\PI1\SYS\global\xi\repository_server\export “
    For ID Objects:
    "C:\usr\sap\PI1\SYS\global\xi\directory_server\export"
    Now in case you need to import the ".tpz" that you have.... You need to place it in the path mentioned below and u will be able to do import it from IR or ID...
    For IR Objects:
    “C:\usr\sap\PI1\SYS\global\xi\repository_server\import “
    For ID Objects:
    "C:\usr\sap\PI1\SYS\global\xi\directory_server\import"
    File Level transport in sap xi
    Every SLD related transport details are explained here
    Regarding transport of SLD objects
    https://service.sap.com/~sapdownload/011000358700001684302005E/HowToSLDandXI.pdf
    Regarding transport of XI objects
    http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/content.htm
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.
    Message was edited by:
            Akshay Jamgaonkar
    Message was edited by:
            Akshay Jamgaonkar

  • How can I find out the status of my podcast feed submission?

    I submitted a podcast feed for approval 2 1/2 weeks ago. I've yet to get an approval. I got the acknowledgement email. I followed up a week ago; and they asked me to send my feed to them again for reference. Nothing. As many podcasts as they have, it seems Apple could do a lot better than sending requests into a black hole. 
    I don't have any profaniity or music under copyright in it. I"m doing reviews of a TV show so I kinda need to get going here.
    I did a podcast a couple of years ago, and it seems I got approval in like 48 hours. Super frustrated. If anybody knows how to get a status or ETA out of Apple I'd love to hear it. Thanks.

    You are not alone. A number of people have complained of a long delay after a submission is accepted. I'm afraid there isn't much you can do about it. You could try emailing support at podcasts 'at' apple.com, but you may just get a form answer telling you how to submit a podcast, which you already know.

  • How to find out System Status of WBS Elements?

    Hi PS Experts!
    Please help me on my query.
    I want to get a list of WBS elements whose status is Released and can be used.
    If I try to search the table PRPS, it can only help me in finding WBS elements without deletion flag, with RA Key and so on.
    But the System status (such as Blocked for use) etc. is not present in the table.
    The one way I know is to get Object Number of WBS element from PRPS Table and insert it in JEST Table to get system status.
    Or alternatively, I give the WBS element no. in CJ20N t-code, and then check for System Status.
    These 2 methods work, if I do it one WBS Element at a time. If I need to get thousands of WBS elements in such a fashion, it's tedious.
    So could anyone help me on this issue?
    Thanks in advance,
    Vinitha.

    Hi Bala
    Yes, you have put it rather correctly.
    We use WBS elements for booking and posting time (client requirement). So what I am looking for is WBS Elements with the system status TERL (Time and Expense Released).
    I talked of the deletion flag also, because a WBS element flagged for deletion can't be used. It's one of the criteria to screen the WBS elements.
    I hope it's clearer now.
    Vinitha.

  • Finding out a status of PO

    Hello guys,
    We have a tricky situation. When we cancel the PO in the custom tables, then again when we pick up the PO it is coming as cancelled. Should we update any master table with the status?
    Kindly guide me.

    Thank you for your quick reply.
    If the store manager doesnt want the PO, then he puts the status as Cancelled in the PO and submits it. Depending upon this, the status of the PO is changed in the custom tables. Now again if the store manager wants the PO to be re-used, then he changes the PO and submits it. But when the PO is sent out to his manager for approval, it goes out as PO cancelled and not as re-submitted.
    Kindly guide me.

  • How to find out application status on a server?

    Hi,
    How can i find whether the application is running or not on specific system and port in core java?
    //Gupta.

    By using the JDK's jConsole tool. YOu can connect to any JVM and display all the threads, memory consumption, etc. Just inspect the running threads and show if something blocks.

  • HT2736 How do I find out the status of a iTunes card I gifted to another person via email?

    I used the option in the iTunes Store to buy a gift card for a friend.  I did this three days ago, and the email with the code has not yet arrived, nor have I received a confirmation from iTunes.  When I look at the history in the Store, there is no way to check on the status.  The whole idea was to get the gift to my friend quickly.  Three days isn't quick...

    Welcome to the Apple community.
    When you purchase a gift card for another person, it is usually delivered instantaneously by email. If that email has not arrived, then check your Your Purchase History.
    If you do not see the gift card in your purchase history, there is a good chance you have purchased it incorrectly and it has not been sent.

Maybe you are looking for