How to use external procedures in OWB Mapping

Hi,
Does anyone have an exmple of using external procdures in Mapping.
Thanks
mandi

Hi Mandi,
you can use Public and self created external Procedures/Functions in a Mapping.
You can integrate them in Expressions, e.g.
or use them as Post or Premapping in a Mapping.
It´s simple, just play a bit :-)
Only on a few Things you´ve to watch:
Every external Objects you want to use in a Mapping must be known in the Metadatas.
If you create a Mapping under the User scott,(e.g.), and you want to use
an external Procedures/Functions from the User Tiger,(e.g.), you must make sure
that theres a connection between these two Schematas.
For such things you can create a Connector in the Control Center.
Regards
Lone

Similar Messages

  • Calling procedure in owb mapping

    Hi,
    I am calling a procedure in a OWB mapping. THis procedure deletes the records from the target table based on key column of source table with some additional logic involving tables from other schemas. I dont know how to connect this procedure in the mapping to the target. Can u help. Thanks

    I am using a transformation operator to call the procedure. Should i use post mapping op and include the logic to delete those recs.Its depents on you if you use the transformation operator it will be part of mapping if using in Map.
    and if use Post mapping that will be called once mapping will be executed.
    Cheers
    Nawneet

  • HOW TO USE STORED PROCEDURES IN JASPERREPORTS(URJENT)

    Hi,
    i'm using jasperreports in struts based project. How to use stored procedures in jasperreports. pls send the solution urjent
    Thanks in advance
    ramesh

    Hi,
    Refer the below link:
    JDBC:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    Stored Procedures-
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
    http://www.sqlteam.com/article/stored-procedures-an-overview
    HI in the message mapping structure u need to specify the different action and also u need to specify the procedure name.
    refer the below link which has all the associated action
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    Chirag

  • How to use Stored Procedures in JDBC sender side and receiver side

    Hello,
    Can anyone explain how to use stored procedures in configuring the scenario using JDBC adapter at bothe sides sender nad receiver..
    Thanks,
    Soorya

    Hi,
    Refer the below link:
    JDBC:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    Stored Procedures-
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
    http://www.sqlteam.com/article/stored-procedures-an-overview
    HI in the message mapping structure u need to specify the different action and also u need to specify the procedure name.
    refer the below link which has all the associated action
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    Chirag

  • How to use External Tables

    Hi, I want to know how to use external tables? The procedure i follow for SQL*Loader in my shell script is:
    Call the sqlldr
    Check return code
    If return code = 2. get count of records from bad file and exit.
    If return code != 0 and != 2 then exit as fatal error
    If return code = 0 then continue.
    But i don't understand how to use external table as it is not invoked and does not have a return code.

    Hello,
    What do you mean alogrithim, do you mean to invoke external table as you invoke sqlldr? You can generate external table script from sqlldr and use it to load data but you might have to modify the table name and datafile name . You can see if any bad file generated from sqlldr and if yes then you can generate external table (using sqlldr) or based on your bad file. May be if you can list what exactly you want in bullet points, then it will be easier to suggest you.
    Regards

  • How to use external hard drive and iTunes together?

    how to use external hard drive and iTunes together?

    Yes I did get to that part.... I went trough external to retrive itunes folder... When I selected the folder, it said that it was locked, choose another folder... I then went to my external again to my itunes folder and and used command I to see if folder was locked and it wasn't.... it was suggested on another forum to reboot.. which I did and still same problem... All I want to do is link my external hard drive that has my itunes playlist from another Mac to my new one.. and to also use the external as the main source for adding new songs to my playlist...

  • How to use external Java API in Java Embedd inside BPEL

    How to use external classes inside the BPEL in Java Embed Activity ? Any sample code availble ? Like i want to use log4j API inside BPEL.

    No you dont have to change your startManagedServer.cmd/.sh everytime you need to have a Java Embedding activity. You only need it in case of using Log4J. As log4j requires a configuration xml viz log4j.debug.xml and log4j.dtd you need to let the soa managed server know about it. The best way to load this configuration files is using the JAVA_OPTIONS command during server startup.
    Hope the explanation helps.

  • How to use external library(in .jar format) in netbeans project?

    How to use external library(in .jar format) in netbeans project?
    Thanks!

    How to use external library(in .jar format) in netbeans project?
    Thanks!

  • How to use Stored Procedure Call in Sender JDBC adapter

    Hi All,
             Could someone send me a blog on how to use Stored Procedure call in Sender JDBC adapter?
    Xier

    Hi Xler
    refer these links
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Also, you can check Sriram's blog for executing Stored Procedures,
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    /people/jegathees.waran/blog/2007/03/02/oracle-table-functions-and-jdbc-sender-adapter
    This blog might be helpfull on stored procedures for JDBC
    JDBC Stored Procedures
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    Please go through these threads and see if it helps...
    Re: How to execute Stored Procedure?
    Re: Problem with JDBC stored procedure
    Thnaks !!

  • How to use Stored Procedures in form 6i Blocks

    Dear Friends,
    I would like to know how to use Stored Procedures while creating blocks in Data Block Wizard in forms 6i application.
    Please send me sample code of stored procedure.
    Regards,
    Khader.

    The Data Block Wizard is not for creating stored procedures. It will allow you to use a stored procedure in your form. See the help documentation for how to use the wizard.
    Here's an example of a simple procedure. If you search the database forum or the web, you will find many examples.
    CREATE OR REPLACE PROCEDURE procedure_name (value OUT NUMBER ) AS
    BEGIN
    SELECT COUNT(*) INTO value
    FROM your_table;
    END;
    Message was edited by:
    Mark Roberts

  • How to use stored procedures in DIAdem and Can the stored procedures be used to return values?

    Can anyone please tell me how to use stored procedures in diadem and to return values from it. Its really important, can you please answer it at the earliest.
    Thanks In advance
    spiya

    Hi Spria,
    I'm very sorry for the mix-up, I thought Allen was going to answer you back with the particulars that we found out. Check out the attached Word document and the below tidbits:
    The built-in DIAdem ODBC functions {SQL_...()} can only call stored functions, which return a scaler result {found then in SQL_Result(1,1)}. The syntax for this with an ORACLE db is
    "select function(parameters) from package"
    ...where package defaults to "dual" if you don't use your own package.
    There might be exceptions to that though, and the syntax will be different for other databases. Note that stored ORACLE procedures can NOT be called from the ODBC functions, instead you must use either ADO function calls in the DIA
    dem VBScript or the OO4O COM wrapper that ORACLE provides (this is described in further detail in the below Word document).
    Hope this helps,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    Calling_ORACLE_Stored_Procedures_from_DIAdem.doc ‏28 KB

  • Is it possible to use External Defiantion in Interface Mapping?

    Hi Experts,
    Is it possible to use External defination in Interface mapping? I used this ED in Message Mapping but I am unable to use the same ED for Interface Mapping?
    In order to create Interface Mapping I need to create Message Interface and use it in Interface Mappiong?
    Thanks
    Rajeev

    Hi Rajeev,
         External definitions is for importing avaliable external DTD,XSD or WSDLs instead of creating them in XI environment maually by creating elements under datatypes,assigning them too Message types and Message Interfaces etc.Where as you fo for Imported Archives to import externally done Mapping programs like JAVA,ABAP and  XSLT mappings but not define Mesage interfaces.
    So you can create message interface import appropriate External definition into it.Later use it during interface mapping.Hope you understand it.
    Thanks,
    Ram.

  • How to use external jars in NW2004

    Hello Experts,
    can i use the same approach mentioned in the below Weblog for using the external jars in NW2004.
    /people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
    and if not then what will be the best way to achieve it in  NW2004.
    Please provide your inputs on above.
    Regards,
    Siddharth

    Hi Sidharth,
    If you are using web dynpro DC perspective then you need to follow the following points to use the external jar files in it.
    1. Create a external library project.
    2. copy the external jars in the library folder os the projects.
    3.) Select all the jars from the u201CLibrariesu201D folder, Right click and then select Development Component and click on Add to Public Part
    4.Select the first Radio Button (Provides an API)and give some nameto it.
    5. Repeat the step no 3 but now select the second radio button other than as selected in step no 4.
    6. Now build your lirary DC.
    7. Now create a j2ee DC project.
    8. ) Expand the node DC Definition and Right Click on Used DC. Select Add Used DC.
    9. Select the External Library DC with build time dependency.
    10.Right click on the J2EE DC and then select Development Component followed by Build
    11. Right click on the J2EE DC and then select Development Component followed by Deploy
    now you can use both the libary DC and the j2ee DC in your web dynpro DC as used DC.
    But if you have created a web dynpro project only(but not DC) than you can directly add the external jars in java build path
    hope this will help
    regards
    Narendra
    Edited by: Narendra Singh on Oct 27, 2009 11:22 AM

  • How to compile external procedure for Linxu

    Hello to all.
    I'm not able to find how to compile external procedure on Linux.
    I have 64bit release Linux (I don't know if I need special 64bit library or not).
    I found only something like that:
    gcc -fPIC -shared -o comsh64.so comsh64.c
    Listener are correctly configured.
    Library is in Oracle bin directory.
    If I run select externproc from dual ... I don't receive any error message but program don't work.
    I think that there is some missing parameter in gcc or some small thing ?
    Thank you for possible answeer
    Filip

    Do you have someone any idea?
    Now I have 1 library, 2 functions and 1 package with 2 functions:
    int renamefile(char source, char destination)
    { int result;
    result=rename(source,destination);
    return result;
    int comexi (char *c)
    { int ret;
    ret = system(c);
    return ret;
    FUNCTION callSystemI(c in varchar2) RETURN binary_integer is
    EXTERNAL LIBRARY extern_utils
    NAME "comexi"
    LANGUAGE C
    PARAMETERS (c string);
    function renamefile (src IN varchar2, dst IN varchar2) return binary_integer
    AS EXTERNAL
    NAME "renamefile"
    LIBRARY extern_utils
    LANGUAGE C
    PARAMETERS (src string, dst string);
    The first function still don't works, second function works.
    Why?

  • How to use 'oprofc' procedure?

    How to use 'oprofc procedure'?
    I don't find this program in JDEVELOPER2.0 directory.
    is it necessary to launch 'oprofc' to use some oracle-specific
    features (form exemple: CLOB)
    null

    David,
    Please also see my reply to your other query about SQLJ and
    CLOBs. It is my understanding that this script is only necessary
    for command line SQLJ operations, and I don't believe it is still
    used with 8.1.
    Because JDeveloper handles the SQLJ translation for you, we do
    not provide the command line utilities. They should be available
    with either your server installation or the Oracle Client
    distribution if you would like to use them.
    -L
    David DUPONT (guest) wrote:
    : How to use 'oprofc procedure'?
    : I don't find this program in JDEVELOPER2.0 directory.
    : is it necessary to launch 'oprofc' to use some oracle-specific
    : features (form exemple: CLOB)
    null

Maybe you are looking for

  • My 5th Gen iPod Nano won't connect to itunes or computer, just keeps resetting. Reinstalled itunes to no avail, other ipods connect fine...help please

    I re-installed i-tunes but this didn't solve the issue.  Other iPods including additional 5th generation nanos connect and sync just fine.  When it's plugged into the computer, it says "Connected...Eject before disconnecting" but doesn't show in itun

  • Table Name ??

    Dears, What is the table name for On-Hand Quantity under Distribution_Inventory Super Users Irresponsibility ???

  • Type in without showing the words

    Hi, I'm developing a standalone program that require user to type in their PIN number. In this case, when the user is prompted to enter their PIN, how can I not show their PIN on the screen on the terminal (when they type in the screen should show **

  • Import YouTube Videos (.flv) - 1 works/1 does not

    I was wondering if anyone might be able help me with a curious problem in Premiere Pro CS4 (running on Vista Home Basic). A client came to me to re-edit and update some old marketing videos they had previously uploaded to youtube. They did not have t

  • AutoAttendant Setup Problems.

    Hello, I have installed the AutoAttendant (3-1-2) and proceded to follow the directions for the setup of this on my CCM 3.3(3). However when I get to the point of loggin in and configuring the directory information (just after the install and reboot)