OMB Plus Script for creating a project

Hi,
I am totally new to this OMB Plus.
Ok. My concern over here is we have been working on some new Mappings. However now for the testing purpose these Maps would be deployed on some other schema with pure Deployment process.
So i found that while importing the Maps it encountered me an error, the reason was that it was trying to find a project which doesnot exists as its new Source. Ideally importing the Mpas would have created the project automatically but it gave me error.
Now, to overcome this i thought why not use the OMB Plus script in order to overcome this issue. So i want to creat a .tcl script which will run and will create a project and then once created i may able to import the maps or the complete project without any error.
So could you please help me with some commands, because on the internet nowhere is mentioned how to create a project or to import a non-existing project.
Please Help!!!!

Hi Experts,
I tried the above link it is really usefull.
However, when i execute the below statement i m getting an error at the step 2.
Step1:
OMBCONNECT <USER_NAME>/<PASSWORD>@<HOST NAME>:<PORT NO>:<SERVICE NAME>
Step2:
OMBCREATE PROJECT 'CPP_CPEPLUS'
Error: oracle.wh.repos.sdk.exceptions.WBException: OWB_NS_FATAL_ERROR100ORA-01403: no data found
PS: I successfully connected the Step1.
Please Help!!!!
Regards,
BB

Similar Messages

  • TIPS(42) : SCRIPT FOR CREATING ROLES

    제품 : SQL*PLUS
    작성날짜 : 1997-02-10
    TIPS(42) : SCRIPT FOR CREATING ROLES
    ====================================
    REM
    REM SCRIPT FOR CREATING ROLES
    REM
    REM This script must be run by a user with the DBA role.
    REM
    REM This script is intended to run with Oracle7.
    REM
    REM Running this script will in turn create a script to build all the roles
    REM in the database. This created file, create_roles.sql, can be run
    REM by any user with the DBA role or with the 'CREATE ROLE' system privilege.
    REM
    REM Since it is not possible to create a role under a specific schema, it is
    REM essential that the original creator be granted 'ADMIN' option to the role.
    REM Therefore, such grants will be made at the end of the create_roles.sql
    REM script. Since it is not possible to distinguish the creator from someone
    REM who was simply granted 'WITH ADMIN OPTION', all grants will be spooled.
    REM In addition, the user who creates the role is automatically granted
    REM 'ADMIN' option on the role, therefore, if this script is run a second
    REM time, this user will also be granted 'ADMIN' on all the roles. You must
    REM explicitly revoke 'ADMIN OPTION' from this user to prevent this from
    REM happening.
    REM
    REM NOTE: This script will not capture the create or grant on the Oracle
    REM predefined roles, CONNECT, RESOURCE, DBA, EXP_FULL_DATABASE, or
    REM IMP_FULL_DATABASE.
    REM
    REM Only preliminary testing of this script was performed. Be sure to test
    REM it completely before relying on it.
    REM
    set verify off
    set feedback off
    set termout off
    set echo off
    set pagesize 0
    set termout on
    select 'Creating role build script...' from dual;
    set termout off
    spool create_roles.sql
    select 'CREATE ROLE ' || lower(role) || ' NOT IDENTIFIED;'
    from sys.dba_roles
    where role not in ('CONNECT','RESOURCE','DBA', 'EXP_FULL_DATABASE',
    'IMP_FULL_DATABASE')
    and password_required='NO'
    select 'CREATE ROLE ' || lower(role) || ' IDENTIFIED BY VALUES ' ||
    '''' || password || '''' || ';'
    from sys.dba_roles, sys.user$
    where role not in ('CONNECT','RESOURCE','DBA', 'EXP_FULL_DATABASE',
    'IMP_FULL_DATABASE')
    and password_required='YES' and
    dba_roles.role=user$.name
    and user$.type=0
    select 'GRANT ' || lower(granted_role) || ' TO ' || lower(grantee) ||
    ' WITH ADMIN OPTION;'
    from sys.dba_role_privs
    where admin_option='YES'
    and granted_role not in ('CONNECT','RESOURCE','DBA', 'EXP_FULL_DATABASE',
    'IMP_FULL_DATABASE')
    order by grantee
    spool off
    exit
    REM ---------------------------------------------------------------------------

    One thing that stands out as being undesirable as far as best practices go is that you are placing code on objects (using the on() approach).  The proper approach is to assign instance names to your interactive objects and use them to place all of your code on the timeline where it is readily visible.  In doing so you may just find that alot of the code you show can be modularized into functions that can be shared by different objects rather than having each one carrying a full load on its back. You may find you can pass arguments to shared functions that make the same functions capable of supporting interactions with different objects
    Your on(press) call performs an unnecessary conditional test.  If you change the condition to be   if (project._currentframe != 25) you can avoid this.
    In your on(rollOver) call's set of conditionals, you have some lines that repeat in each condition, so they can be moved to the end outside the conditionals.
    Your on(release) call has the same issue as your on(press) call.  Also the overrun use of the _parent target is an indication that most of the code in this call would likely serve you better sitting in the _parent timeline, and your button could just call that function

  • Example WLST scripts for creating clustered domain for soa suite 11.1.1.4?

    Hello,
    does anyone know sample wlst scripts for creating domain for soa suite 11.1.1.4 on top of weblogic 10.3.4?
    I try to create a domain having a cluster with two managed servers in two linux machines.
    Any help appreciated.
    regards, Matti

    Please refer -
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/domains.htm
    http://download.oracle.com/docs/cd/E17904_01/web.1111/e13715/intro.htm#WLSTG112
    Regards,
    Anuj

  • Shell script for creating,altering, etc ., a database

    hi there,
    Please help me to find shell scripts for creating,altering, etc a database..
    Thanks & Regards,
    Balu.

    Thanks to all , but dbca generates XML files :
    <DatabaseTemplate name="MYDB" description="" version="10.2.0.0.0">
       <CommonAttributes>
          <option name="ISEARCH" value="false"/>
          <option name="OMS" value="false"/>
          <option name="JSERVER" value="true"/>
          <option name="SPATIAL" value="true"/>
          <option name="ODM" value="true">
             <tablespace id="SYSAUX"/>
          </option>
          <option name="IMEDIA" value="true"/>
          <option name="XDB_PROTOCOLS" value="true">
             <tablespace id="SYSAUX"/>
    ..................I need a file.sql script to launch in sqlplus. Something like the following :
    CREATE DATABASE MYDB
    USER SYS IDENTIFIED BY ***
    USER SYSTEM IDENTIFIED BY ***
    LOGFILE GROUP 1 ('/home/oracle/oracle/instances/oradata/MYDB/redo1/redo01.log') SIZE 15M,
    GROUP 2 ('/home/oracle/oracle/instances/oradata/MYDB/redo2/redo02.log') SIZE 15M,
    GROUP 3 ('/home/oracle/oracle/instances/oradata/MYDB/redo3/redo03.log') SIZE 15M
    ......................

  • ECATT Scripts for Creating Bussiness Partners

    Hi CRM Experts
    Can anyone guide me how to create a eCATT Script for Creating Mass Business Partner (Tcode: BP).
    While iam trying to create eCATT i was getting the error: Scripting not permitted on this server
    I talked to by Basis team, and they couldnt find flaw with eCATT settings.
    Thanks for Reading.
    Thanks
    Srinivas

    Hi
    This is to setup CIC users. All the user who would be accessing the CIC are TELESALES AGENTS. For provideing CIC access to Telesale end user we need to perform a series of steps to ensure all the order transactions made by agents are maped to salesareas and profitcenters.
    When an Sales Agent is to be created he would need to be linked to salescodes. Functional Team Set's up a sales code and map it profit centers in R/3 and this sales code data would be replicated from R/3 to CRM.
    In CRM(CIC) for Setting up a End user i need to perfrom 3 steps. The inputs i have for setting up the user is (User ID,Sales Code, User Job Position)
    1. create a user ID using su01 with required roles.
    2. In Tcode:BP (business partner) i need to search with the sales code and assign the USER ID to sales code.
    3. Using Tcode:PPOMW assign the USER ID to the Job Position (or) Company Hirearchy (or) Org Structure. 
    I want run eCATT to complete the step 2. The process involved is.
    1. Execute BP screen
    2. Enter Salescode in feild "BusPartner"
    3. Click Start
    4. You will find the one bus partner details that i replicated from R/3.
    5.Double click on the details shown in the Rectangle below the start button.
    6. select "Identification" TAB
    7.you will find a blank Feild in Employee data / USER
    8. input the user ID.
    9.save
    These are the process steps i need to recored for step 2.
    Thanks you for spending time on this.
    Srinivas

  • OMB*Plus Command for Maintain/Add/Remove Experts in Context and Tools Menue

    Hi there,
    does anybody know how to maintain Experts in the Context- and Tools-Menue by OMB-Commands?
    The problem ist, that I transfer Experts into another workspace via OMBEXPORT/OMBIMPORT,
    and I would like to maintain the menues in my batch-script.
    Can't find anything in the docu about this.
    Thanks in advance.
    Andreas

    Hi David,
    thank you very much for the quick and correct answer.
    Just a few more questions about this.
    Now, as I know the answer, I found it in the documentation as well.
    But I allways find it very hard to find anything in the OMB*Plus Command Reference . And also with the description of the OMBMENU command: Why is there no description about the parameters in the reference? Where is the list of valid object types, and where is the description of the "QUOTED_STRING" (NEW, OPEN)?
    This command is just an example for the, in my opinion, really poor quality of the OWB*Plus Command Reference.
    Is there any underlaying reason for this that I do not understand, or is there a special strategy to work with this document, or do I just need more practice?
    The answers to this questions would be very helpfull for me, but also for my customer, where we start to implement a quite big DWH on OWB basis.
    Thanks again.
    Andreas

  • OMB Plus Scripts

    Hi all,
    I am a newbie to OWB.I have some trouble in doing OMBCC MAPPING_NAME command.
    This is the exact thing which i got.
    OMB*Plus: Release 11.1.0.6.0
    Copyright (c) 2000, 2007, Oracle. All rights reserved.
    OMB+> OMBCONNECT rep_owner/[email protected]:1521:erepos USE WORKSPACE 'DE
    V_WORKSPACE'
    Connected.
    OMB+> OMBLIST PROJECTS
    DWH_EREPOS EREPOS MARC_EREPOS MY_PROJECT PUBLIC_PROJECT STG_TO_PROSPECT_CONTACT
    OMB+> OMBCC 'DWH_EREPOS'
    Context changed.
    OMB+> OMBLIST ORACLE_MODULES
    DWH_PROSPECT DWH_PROSPECT_STG STG_TO_PROSPECT
    OMB+> OMBCC 'DWH_PROSPECT_STG'
    Context changed.
    OMB+> OMBLIST MAPPINGS
    M_API M_BTCUSTPREFERRED_STG M_DNCHANGE_REQUEST M_INPUT_FEEDFILE_NAD M_SRC_MOVE_F
    ILE_BAT M_STG_CONSENT_CRF M_STG_CONTACT_CRF_V2 M_STG_CONTACT_CRF_V_SHOW_TELL
    OMB+> OMBCC 'M_API'
    OMB01051: Path M_API must include a folder as the last step.
    Could anyone tell me where i went wrong....
    Thank you...

    Hi
    OMBCC is only for folder objects (such ad projects and modules), mappings are not folders. If you want to get mapping details you can use OMBRETRIEVE MAPPING command.
    For example;
    OMBRETRIEVE MAPPING 'M_API' GET TABLE OPERATORS
    See doc for more details;
    http://download.oracle.com/docs/cd/E11882_01/owb.112/e14406/chap19015.htm#FFHHAEHC
    Cheers
    David

  • BAPI's for creating of Project and WBS elements in SAP system.

    Hi Guys,
                 I was able to use a Wrapper FM for creating the
    We have a FM which combines 5 different BAPIs
    FM/Wrapper: "Z_LEED_PROJ_WBSELEMT_CREATE"
    1)      BAPI_PS_INITIALIZATION
    2)      BAPI_BUS2001_CREATE
    3)      BAPI_BUS2054_CREATE_MULTI
    4)      BAPI_PS_PRECOMMIT
    5)      BAPI_TRANSACTION_COMMIT
    Requirement: To automate the process of creation of Project and WBSE(Tasks) and create an entries in the PS tables based on the user inputs from the user interface in Visual Composer.
    Basically user should be able to create the Projects and WBSE.
    Issue: We were able to create the Project with the FM (BAPI_BUS2001_CREATE) but having the issue with the creation of WBSE(Tasks), the user will be entering the inputs for Project Definition, Project Profile and WBSE which are to be created in the UI.
    The problem is we are not able to create the WBS elements using  BAPI     BAPI_BUS2054_CREATE_MULTI .i will send u the code below .Can anybody correct
       CLEAR it_return.
      CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition-project_definition
        TABLES
          IT_WBS_ELEMENT = it_wbs_element
          ET_RETURN = it_return.
      APPEND LINES OF it_return[] TO et_return[].
    Thanks,
    Gopi.

    Hi Ramiro,
                   This is the entire FM code which is below.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_PROJECT_DEFINITION) LIKE  BAPI_BUS2001_NEW STRUCTURE
    *"        BAPI_BUS2001_NEW
    *"  TABLES
    *"      IT_WBS_ELEMENT STRUCTURE  BAPI_BUS2054_NEW
    *"      ET_RETURN STRUCTURE  BAPIRET2 OPTIONAL
    *"      EXTENSIONIN STRUCTURE  BAPIPAREX OPTIONAL
    *"      EXTENSIONOUT STRUCTURE  BAPIPAREX OPTIONAL
      DATA: it_return LIKE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE,
            v_error TYPE boolean VALUE IS INITIAL.
      CLEAR: et_return, it_return.
      CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    Do checks for creating project definition
      CALL FUNCTION 'BAPI_BUS2001_CREATE'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition
        TABLES
          ET_RETURN = it_return.
      APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
    Do checks for creating WBS elements
      CLEAR it_return.
      CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition-project_definition
        TABLES
          IT_WBS_ELEMENT = it_wbs_element
          ET_RETURN = it_return.
       APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_PS_PRECOMMIT'
        TABLES
          ET_RETURN = it_return.
       APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'X'.
    ENDFUNCTION.
      can u please look at the code and let me know the changes?
    Thanks,
    Gopi.

  • Possi. for ABAP code instead of JAVA Script for creating searachhelp in BSP

    Hi Consultants i have a doubt that is there a possibility to use ABAP coding in BSP object for creating search help
    instead of JAVA Script if so please reply me with the procedure or else with some sample coding.

    Hi Consultants i have a doubt that is there a possibility to use ABAP coding in BSP object for creating search help
    instead of JAVA Script if so please reply me with the procedure or else with some sample coding.

  • Prerequisites for creating a project in primavera

    Hi Guys,
    I want to create a project in P6V7 what are the prerequisites that i need to creating a project.
    Thanx,
    Ra

    Hi
    i'll consider that you implement security in P6 before adding projects
    you need to do the following before creating projects
    1- Create OBS
    A global hierarchy that represents the managers responsible for the projects in your organization. The OBS usually reflects the management structure of your organization, from top-level personnel down through the various levels constituting your business. The OBS can be role-based or name-based.
    2- Create EPS
    A hierarchy that represents the breakdown of projects in the organization. Nodes at the highest, or root, level might represent divisions within your company, project phases, site locations, or other major groupings that meet the needs of your organization, while projects always represent the lowest level of the hierarchy. Every project in the organization must be included in an EPS node.
    3- add projects to EPS

  • XI 2.0 installation script for creating XI Sandbox Demo System

    Does any have a Windows2000 XI 2.0 installation script designed to create minimal XI Sandbox?  Brief installing instructions.

    Hi Dan
    There is no Installation Script for XI-2.0. The document you have to check is the XI 2.0 installation guide.
    Regards
    Prasad
    SAP Netwaver RIG-XI
    SAP Labs LLC, USA

  • Script for creating grid spreads of photos from the Adobe Bridge

    Hi,
    Someone once showed me a script for being able to select multiple images while looking at them in the bridge and making grid layouts on pages from them. Does anyone know how to do that? Thanks!

    The only code that I have seen that does this sort of thing is to be found here. http://forums.adobe.com/message/5713633

  • CATT script for creating Contract Detail lines

    In my requirement I have to use the transaction SCAT and record the transaction ME31K for creating the line items. But when adding more than 1 line item the function is not working only the first detailed line item is added, no more. Please help.

    Hi shashikant
    Use  Message type BLAORD .. FM: IDOC_OUTPUT_BLAORD (Process code is ME15 (Not sure)  in AFS it is /afs/md15- BLAORD:  AFS Contract via EDI)
    Thanks
    Ramesh
    302 290 5677

  • Workflow for creating one project that can be burned to both Blu-ray and standard DVD?

    Hi,
    I have a 20 minute project and I'm creating a simple single menu with a play button. I'd like to create it once and be able to burn both a 1080p Blu-ray and a standard DVD. Is this possible?
    Thanks

    Hi,
    Let me explain how transcoding works for DVD and Blueray.
    Encore transcodes the files separately for DVD and Blueray and once the transcode is done and status shows transcoded the options for transcoding are greyed out, this means you have already transcoded the file and you cannot transcode again without reverting to original.
    For example you have blueray selected in project settings and you click transcode now from project panel the files will be transcoded for blueray, but after transcoding if for any reason you decide to change the transcode settings and transcode the asset again with different settings you have to revert to original.
    But in this case when you want to transcode the assets for DVD you don’t need to revert to original and loose the transcoding done for blueray. You can change the project settings from blueray to DVD after that you will be able to transcode for DVD without losing the transcoded files for blueray.

  • OWB OMB Plus scripting

    Hi all
    Can You help me , I'm finding some documentation about scripting in OWB Plus.
    Thank You Brano

    http://www.oracle.com/technology/products/warehouse/index.html
    Please use the OWB forum for future questions on OWB.
    Warehouse Builder

Maybe you are looking for