Import PLSQL procedure or package into OWB

Here's a simple question. In schema X, I created a procedure and a package. If I try to import them into OWB (10g R2), connecting to schema X and clicking on transformations and "import" doesn't show the newly created objects for import. I tried granting execute to OWB10GR2, but no luck. Closed and re-started design center with no luck.
Creating a procedure in Design Center and then deploying it to schema X works and is a workaround, but it's awkward to write code there (compile is deploy, which takes a lot longer than normal compile).
What am I missing so that I can't import a procedure into design center?

OK, so I'm going to answer my own question. Maybe someone else can use the info...
The problem is that I have development and production configurations.
Procedure or package defined only in one (dev or prod) schema won't show up on the import list. Apparently, in order to import the object into OWB you need to define it in all environments. Otherwise it doesn't show up on the import list.

Similar Messages

  • Argument Order Reversed Importing Package into OWB

    I'm having a problem importing Packages into OWB. It recognizes the Functions contained in the Package, however the order of the arguments for each Function are reversed after I complete the import into OWB. This causes execution of the mapping to fail... Additionally, after importing into OWB, OWB doesn't seem to recognize any optional parameters or default values in the signature of the Function. I must be doing something wrong... Can anyone help...
    Thanks
    Alan

    Hi
    Standard approach to be followed for any object modification
    1. If you have created your package from OWB and deployed it into your DB, always do it that way i.e. Design center -->DB . Do not make any modifications on DB level and import in back to your Design center. OWB manages Ids for all objects on the repository and this will confuse it. That is why you see two versions of the same package . Any modifications should be done on Design center level and then do a replace on the package from control center
    2. If an object (package or procedure) is created on DB directly and is imported into design center, follow the same norm everytime you make any changes to that object. The status of that object will appear as "New" or "Not deployed" on control center but that is fine because OWB has no ID on its repository to maintain this information.
    3. If you need to rename any object already deployed from OWB, always drop it first, then rename it and then deploy it. That way OWB will maintain the name and ID on its end and not get confused.
    4. For your case, you can drop the older version of the package from OWB, delete the one imported from Database into OWB, make the changes on OWB level (adding parameter etc) and then redeploy the same package as replace from control center.
    Hope these tips help
    birdy

  • Importing a package into OWB repository.

    Hi,
    there is a package existing in my OWB repository.
    Package ABC
    Procedure PQR(pram1 varchar2,param2 varchar2)
    now i have modified this package in my target schema, an extra parameter is added to the procedure PQR.
    Procedure PQR(pram1 varchar2,param2 varchar2,param3 number).
    now when I re import this package to my OWB repository module. it shows both versions of the procedures.
    Package ABC
    PQR(pram1 varchar2,param2 varchar2)
    PQR(pram1 varchar2,param2 varchar2,param3 number)
    PQR(pram1 varchar2,param2 varchar2) is still vsible in OWB repository though it is replaced with PQR(pram1 varchar2,param2 varchar2,param3 number) in target schema.
    Is there any way I can replace the old version of procedure with the new version in OWB repository.
    Regards
    RD_RBS

    Hi
    Standard approach to be followed for any object modification
    1. If you have created your package from OWB and deployed it into your DB, always do it that way i.e. Design center -->DB . Do not make any modifications on DB level and import in back to your Design center. OWB manages Ids for all objects on the repository and this will confuse it. That is why you see two versions of the same package . Any modifications should be done on Design center level and then do a replace on the package from control center
    2. If an object (package or procedure) is created on DB directly and is imported into design center, follow the same norm everytime you make any changes to that object. The status of that object will appear as "New" or "Not deployed" on control center but that is fine because OWB has no ID on its repository to maintain this information.
    3. If you need to rename any object already deployed from OWB, always drop it first, then rename it and then deploy it. That way OWB will maintain the name and ID on its end and not get confused.
    4. For your case, you can drop the older version of the package from OWB, delete the one imported from Database into OWB, make the changes on OWB level (adding parameter etc) and then redeploy the same package as replace from control center.
    Hope these tips help
    birdy

  • Importing Database Package into OWB changes position of parameters .. Nasty

    Hi all,
    Anyone else having the same problem ? Any solutions ? Or is this a bug.
    When a package is imported from a DB schema, OWB kindly changes the order in which the parameters are listed.
    The effect is that any mapping using the procedure or function will not have the correct parameters passed to.
    For example.
    DB_Test_proc
    io_name_in in out varhar2,
    o_clean_name_out out varchar2
    After importing in OWB the parameter positions are reversed .... very nasty.
    Anyone can help or do I raise a bug ?
    Regards
    Nick

    Hi Borkur,
    Dropping and re-importing the package would work well (works for another module) but this is a package whose procedures and functions are heavily referenced in several mappings and process flows (supports the custom job management). So, I would be forced to re-synchronize them all which I want to avoid. The other way would be to modify the package manually (only the signature is needed not the code since I will not deploy it from OWB, in fact, I deployed it from Oracle Designer !!!). But OWB Paris doesn't allow this. Once imported, always imported. You can modify imported tables, procedures, functions but not packages. Or is there a way ???
    regards
    Thomas

  • How to move functions and procedures from packages into a schema?

    Hello,
    I have below requirements for a homework and my question is if someone can point me in the right direction to find documentation which can help me solve the below. Any information will be very much appreciated. Thank you.
    Write procedures and functions (included or not in packages)under the form scripts  .txt or .sql . Once they have been launched in SQL developer they should more the functions and the procedures from the packages in the current schema. If the current schema contains only 2 packages, pac1( with procedures p11,p12 and the functions f11,f12,f13) and pac2( contains the following procedures p21,p22,p23 and the functions f21 and f21( overloading cases), the execution of the scripts will generate the following effects:
    The procedures p11,p12,p21,p22 ,p23 and the functions f11,f12 and f13 will be created in the current schema.
    pac2 will contain 2 instances of the overloading function- f21; they will be kept in the package, without being created in the current schema; so all the procedures/functions overloaded will be kept in the original packages
    If pac1 contains variables, cursors and public types, we will keep only the package specifics( and delete the body);generally if the packages do not contain procedures or functions overloaded the body will be deleted and if no variables, cursors, public types then we will delete the header.
    If in the triggers, procedures, functions  we will call procedures/functions from the packages(the procedures and the functions moved in the current schema) they reference will need to be updated ( via amending the body or recompile) for example if pa1.p12 will need to be replaced with p12.
    The scripts will have to have numbers in the following series( 01....n) and characters that explain the content.

    My only advice would be to remember that these are public forums and if YOU can find them, so can your instructors.
    Also, those are horrible procedure and function names
    This assignment seems to be around overloading pl/sql objects and order of precedence...do a search on the Oracle Docs around overloading and inheritence
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28371/adobjplsql.htm#i21148

  • Importing packages/procedures into OWB

    Is it possible to import packages or procedures into OWB that are stored on a different database?
    I want to call a procedure in a mapping that is stored on a different database. I can only import tables and views (as data source ) from other databases.
    I can only import PL/SQL packages into OWB if they're stored in the current database.
    Does anybody have a solution?
    Regards,
    Maurice

    Maurice,
    Essentially the import uses a dblink, so you have the option to specify the dblink to another place and you should be able to see/import that pl/sql.
    The most elegant and prefered way however is to import the pl/sql into the public transformations node (I'm using OWB 9.0.4). This is a bucket that holds sharable pl/sql and seems to address the need for you.
    Here again you create the dblink and point at the remote db schema that owns the pl/sql.
    Hope this helps,
    Jean-Pierre

  • OWB 9.0.3.37 and imported plsql packages

    I have some problems in owb version 9.0.3.37 with imported packages.
    I can't delete a procedure/function in the imported package,in the package body I can do this .
    The only way do delete procedure/function is do delete the package and re-import it from the db into OWB.
    Problem then is that when I valid a mapping I must reconcile inbound the transformation (link broken).
    Is there not another way to do delete function/procedure from a imported package.
    Is the import of packages in the new version 9.2 still possible?

    Hi,
    There is an internal reason (validation) why we cannot allow you to delete functions from a package that you imported. That model is still the same in the latest production release.
    Thanks,
    Mark.

  • Import excel file into owb automatically, is it possible?

    Is it possible to load several excel files in owb automatically?
    I want to avoid the follow situation...
    I have like 100 excel files I have to create 100 system dsn each pointing to one excel file.
    Is it possible?
    Thanks

    The forum is how to integrate foreign databases into an oracle database using gateway. From the provided description you're trying to import an Excel file directly into OWB. OWB has its own mechanism to import these files , so better post your issue in the OWB forum:
    Warehouse Builder

  • Help Required :Excel Upload Into Oracle Table Using PLSQL Procedure/Package

    Please Help , Urgent Help Needed.
    Requirement is to Upload Excel file Into Oracle Table Using PLSQL Procedure/Package.
    Case's are :
    1. Excel File is On Users/ Client PC.
    2. Application is on Remote Server(Oracle Forms D2k).
    3. User Is Using Application Using Terminal Server LogIn.
    4. So If User Will Use to GET_FILE_NAME() function of D2K to Get Excel File , D2k Will Try to pick File from That Remote Server(Bcs User Logind from Terminal Server Option).
    5. Cannot Use Util_File Package Or Oracle Directory to Place That File on Server.
    6. we are Using Oracle 8.7
    So Need Some PL/SQL Package or Fuction/ Procedure to Upload Excel file on User's Pc to Oracle Table.
    Please Guide me wd some Code. or with Some Pl/SQL Package, or With SOme Hint. Or any Link ....
    Jus help to Sort This Issue ........
    you can also write me on :
    [email protected], [email protected]

    I also Tried to Use This
    But How can i Use SQLLDR Command In Stored Procedure.
    Well IN SQL*PlUS it is successfull but in Stored Procedure /Package ,PL/SQL does not recognise the OS commands.
    So now my Question How can I recognise the SQLLDR Commnad in Stored Procedure.

  • Import WB_RT_GET_JOB_METRICS procedure into OWB

    How do I import this procedure WB_RT_GET_JOB_METRICS into my mapping.

    You can get the public transformations. After you have opened your map, you can follow this path to get to the procedure: explorer in upper left pannel --> Pulic transformation --> Pre-defined --> control_center --> WB_RT_GET_JOB_METRICS . Then you can drap it to your map.

  • Help Required:How Upload Excel file Into Oracle Table Using PLSQL Procedure

    Please Help , Urgent Help Needed.
    Requirement is to Upload Excel file Into Oracle Table Using PLSQL Procedure/Package.
    Case's are :
    1. Excel File is On Users/ Client PC.
    2. Application is on Remote Server(Oracle Forms D2k).
    3. User Is Using Application Using Terminal Server LogIn.
    4. So If User Will Use to GET_FILE_NAME() function of D2K to Get Excel File , D2k Will Try to pick File from That Remote Server(Bcs User Logind from Terminal Server Option).
    5. Cannot Use Util_File Package Or Oracle Directory to Place That File on Server.
    6. we are Using Oracle 8.7
    So Need Some PL/SQL Package or Fuction/ Procedure to Upload Excel file on User's Pc to Oracle Table.
    Please Guide me wd some Code. or with Some Pl/SQL Package, or With SOme Hint. Or any Link ....
    Jus help to Sort This Issue ........
    you can also write me on :
    [email protected], [email protected]

    TEXT_IO is a PL/SQL package available only in Forms (you'll want to post in the Forms forum for more information). It is not available in a stored procedure in the database (where the equivalent package is UTL_FILE).
    If the Terminal Server machine and the database machine do not have access to the file system on the client machine, no application running on either machine will have access to the file. Barring exceptional setups (like the FTP server on the client machine), your applications are not going to have more access to the client machine than the operating system does.
    If you map the client drives from the Terminal Server box, there is the potential for your Forms application to access those files. If you want the files to be accessible to a stored procedure in the database, you'll need to move the files somewhere the database can access them.
    Justin

  • Import business packages into the Websphere portal

    Hi All,
    Is there any way to import business packages into the Websphere portal. We are looking to display E Recruitment applications in Websphere Portal.Please let me know the procedure.
    Regards,
    Anil

    If it is OK to open the e-recruitment app into a new window from Websphere portal, simply link to it and host it in SAP Portal.
    If you can work out the single sign on, perhaps Websphere portal would let you use a portlet like an iframe that lets you display the SAP functionality hosted in SAP Portal. That way it looks like one interface to the end user but back end is hosted separately.
    The most streamlined but also more work, would probably be to have a SOA aware Websphere developer create the front end in IBM that references SAP's remote enabled functions.
    I'm not aware of any automatic way to simply import / host the SAP business packages inside Websphere, if that is what you are asking.

  • Writing a stored procedure to import SQL Server table data into a Oracle table

    Hello,
    As a new DBA I have been tasked with writing a stored procedure to import SQL Server table data into an Oracle table. I have been given many suggestions on how to do it from SQL Server but I I just need to write a stored procedure to run it from the Oracle side. Suggestions/guidance on where to start would be greatly appreciated! Thank you!
    I started to write it based on what I have but I know this is not correct :/
    # Here is the select statement for the data source in SQL Server...
    SELECT COMPANY
    ,CUSTOMER
    ,TRANS_TYPE
    ,INVOICE
    ,TRANS_DATE
    ,STATUS
    ,TRAN_AMT
    ,CREDIT_AMT
    ,APPLD_AMT
    ,ADJ_AMT
    ,TRANS_USER1
    ,PROCESS_LEVEL
    ,DESCRIPTION
    ,DUE_DATE
    ,OUR_DATE
    ,OUR_TIME
    ,PROCESS_FLAG
    ,ERROR_DESCRIPTION
      FROM data_source_table_name
    #It loads data into the table in Oracle....   
    Insert into oracle_destination_table_name (
    COMPANY,
    CUSTOMER,
    TRANS_TYPE,
    INVOICE,
    TRANS_DATE,
    STATUS,
    TRANS_AMT,
    CREDIT_AMT,
    APPLD_AMT,
    ADJ_AMT,
    TRANS_USER1,
    PROCESS_LEVEL,
    DESCRIPTION,
    DUE_DATE,
    OUR_DATE,
    OUR_TIME,
    PROCESS_FLAG,
    ERROR_DESCRIPTION)
    END;

    CREATE TABLE statements would have been better as MS-SQL and Oracle don't have the same data types.
    OUR_DATE, OUR_TIME will (most likely) be ONE column in Oracle.
    DATABASE LINK
    Personally, I'd just load the data over a database link:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_table@mssql_db_link
    As far as creating the database link from Oracle to MS-SQL ... that is for somebody else to answer.
    (most likely you'll need to use an ODBC driver)
    EXTERNAL TABLE
    If the data from MS-SQL is in a CSV file, just use and external table.
    same concept:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_external_table
    MK

  • Can't Import iPhoto Library "package" into Aperture 3

    Hi there, I've recently made a backup of all my data and did a clean reinstall of Lion, so the problem is that I won't be using my iLife 11 Suite, so as for my photos I want to take advantage of my recently purchased copy of Aperture 3 but when I ever try to import my iPhoto Library Package, it won't let me, this message pops:
    Invalid iPhoto Library
    Importing libraries from versions earlier than iPhoto 7.1.5 is not supported. Please upgrade your iPhoto library with iPhoto 7.1.5 or later.
    So, searched into some discussions and realize I had to upgrade or restore my library using iPhoto.
    Is there any other way to get all my photos and videos in that package, into my aperture library?
    One thing to consider is that I can right-click this package and open its contents and then I can get individual files and view everything, but since there's this function for importing all of the library, I would really love to do it this way, not individually.
    NEED HELP PLEASE!

    Ii you are sure that all of your iPhoto images have been transferred safely, you can remove the you iPhoto Library from your system drive. But keep a backup copy of it on an external drive or thumbsdrive- sometimes you'll notice only later that some images could not be imported properly because of some corruption in the iPhoto library, and then it will be very helpful to still be able to open your old iPhoto Library.
    Regards
    Léonie

  • *URGENT* importing third party package into Jdev project

    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina
    null

    Hello,
    I'm not sure about what you mean,
    but in order to use a given package within JDevelopper, you should:
    - select project/project properties,
    - find the libraries tab
    - click "add", then "new"
    - click "class path"
    - click "add ZIP/JAR" and add the various jar files you want to include
    Note: if the included libraries contain subpackages of packages like javax, and you want to deploy your project (as EJB for instance) you will have to edit the deployment profiles in order to add the 3rd party libraries, otherwise, these subpackages won't be deployed (by default, packages suvh as java.lang, javax etc.. are not excluded from the deployment).
    about the PROJECTFILES and CLASSFILES items, they refer to the directories in which your project's source code (PROJECTFILES) and compiled classes (CLASSFILES) are stored
    Hope this helps, Remi
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Augustina:
    hi,
    our company has bought a thrid party package instead of developing one to speed up the project pace. Some how we cannot import the package into our project environment,
    this is what we do with the package.
    set the class path to where the *.jar files are, for example: C:\AccBank\beta\creditcheck.jar
    please note that the "C:\AccBank\beta\" is where the project file locates.
    and follow is the import statement
    import thirdparty.package1.*;
    please tell us what did we do wrong, if the case in question is not clear, please tell us the steps we need to do to import and use a third party package with JDev.
    Also, please tell me the different purpose between the directory :
    PROJECTFILES and CLASSFILES under the main project directory
    Thank you very much for your time and your help
    Augustina <HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • AP Invoices/Credit Memo Workflow process using Optura

    Hi, We have a VIM tool Optura that we have implemented for our Workflow approval process where in the invoices/credit memos get parked, then go through a workflow approval process and finally get posted. These invoices/credit memos at the time when t

  • TS1424 double charge

    I have been charged 4 times for the same tune that I downloaded on itunes. Is there any way to change that?

  • GroupWise Mobility Service 2.0 now available

    We're pleased to announce that Novell GroupWise Mobility Service 2.0 is now available. This release, which replaces the former Novell Data Synchronizer Mobility Pack, includes the following enhancements: Performance and scalability improvements, and

  • How do I seperate code in BSP ?

    Hi, How do I seperate code in BSP ? (I do not want to make classes or "external" FM.) In abap I can use the form-statement. form ShowConfirmedPO. endform //Martin

  • Adobe Reader documents now download as an anonymous file type, not pdf.

    I'm using Mozilla 19.0.1 but this has been happening for the last several versions, when I open a pdf it displays but when I download it downloads as something without an extension (even though the downloader *says* it's a pdf). Then when I try to op