JDBC Adapter. Help required

Hi All,
Can JDBC Adapter be used for calling API for
stored procedures of database.
If yes please send blogs/docs for it.
Regards

hI Rick,
Chek action=EXECUTE point from this link.
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
Hope this helps you.
Carlos

Similar Messages

  • Prepopulate adapter help required

    Hello Experts,
    I have OIM 11.1.1.5 on win32 platform, and I have connected OIM to a database(target system) through a connector(DBAT connector).
    While provisioning a user to that database, it ask for the values which i need to store in database.
    What i want is to map those database values to OIM attributes.
    For example: my table has first name, last name column and instaed of manually providing those values i want to pre-populate those values from user definition.
    As i was doing R&D, I got to know that I have to create an pre-populate adapter(specifically a copy adapter). Kindly suggest me what are all the steps do I need to follow to
    do the same.
    Thanks in advance.
    Warm Regards,
    KK

    There are plenty of examples of Pre Pop adapter on the forum and internet . Please try to search out .
    You can access the below link to see a working example .
    http://identityandaccessmanager.blogspot.in/2011/07/prepopulate-adapter-in-oim-11g.html
    http://docs.oracle.com/cd/B31081_01/idmgr/b25939/using.htm
    Hope this helps.
    Thanks
    Suren

  • File Adapter help required.

    Hi All,
    My scenario:
    I have source txt file that is seperated by semicolon.
    I need to do Receiver determination that for some value it shoud go to Receiver A and for other value it
    should go to Receiver B.
    File that is reaching Receiver A and Receiver B should be again txt in nature.
    What can be solution for this?
    Regards

    Hi Anand
    So the approach will be:
    1. Sender File Adapter (File content coversion) -- from txt file to xml file
    2. Rec Determination --- for different Receivers
    3. Receiver File Adapter (File content coversion) -- from xml file to txt file
    Am I correct?
    Do you have blogs for this
    Regards

  • JDBC Adapter Issue

    Hi Experts,
    I have an issue with my XI JDBC adapter.  Once a job gets sent through XI (from nonSAP to XI to SAP), the JDBC adapter is required to write a confirmation in the database that the job was processed in SAP.
    When I go into my Adapter Monitor (http://system:num/AdapterFramework/) I see a red dot beside JDBC and the following error:
    Error: Transform error in xml processor class, rollback:
    ERROR:Processing request: Error when executing statement for table/stored proc. 'stfx.job_copy': com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after statement closed.
    Any ideas??

    Hi Bhavesh,
    I update with the XML coming out of XI.  All I need to update is the status.  This XML currently does come out of XI and would be sent back to my database, except for the fact that the JDBC adapter goes down, and I get the originally mentioned error.  The XML looks like:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_UPDATE_STATUS xmlns:ns0="http://tssi.ycdsb.ca">
    - <STATEMENTNAME>
    - <dbTableName action="UPDATE">
      <TABLE>sfx.job_copy</TABLE>
    - <access>
      <status1>DONE</status1>
      <status2>DONE</status2>
      </access>
    - <key>
      <jobId>00595593</jobId>
      <status1>NEW</status1>
      <messagenm>d3e98e294bfcd2d5d3e98e29</messagenm>
      </key>
      </dbTableName>
      </STATEMENTNAME>
      </ns0:MT_UPDATE_STATUS>
    Any ideas?

  • System trace for File, JDBC adapter

    In the  JDBC Adapter Help (help.com) I see:
    „The adapter writes the output (STDOUT and STDERR) for the operating system command in the system trace.”
    Which trace is meant here?
    I have the same question regarding File Adapter.
    Thanks, Jozsef

    Hi,
    have a look at my weblog to see how you can check
    the traces:
    /people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • ABAP client proxy With Receiver JDBC Adapter

    Hello Experts,
    I am working on a scenerio ABAP client proxy With Receiver JDBC Adapter.
    The client proxy program will fetch the master data related to equipment in plant maintenance module and  will update the sql database through Receiver JDBC Adapter .
    my requirement is if the equipement is created in sap then the  scheduled job has to trigger the client proxy program and send the message with status 'created'  to sql data base.
    if the equipment is modified in sap then the scheduled job has to trigger the client proxy program and send the message with status 'modify' to sql data base.
    please let me know how can i write the logic/code for this scenerio in client proxy program.
    Tables for equipment master i am using  is EQUI and fields are   ERDAT and AEDAT which is created date and modified date.
    fields for scheduling start date is tbtcp-sdldate.
    Thanks in advance.
    Ram.

    Hello Ram,
       Here you can check if updated date field is not empty then send status as created and if this field is not blank then send status as modified record.
    Monica

  • Need help reg sender JDBC adapter

    Hi,
    I am having a requirement like, i need to fetch the data from two data base tables. and after fetching the data, i need to update those two tables.
    For selecting the data from two tables, two select statements i need to write, how i can give two select statements in sender JDBC comm channel.
    In sender JDBC channel, only one update query we can give...how i can update two tables?
    Regards,
    Venkata Ramana.

    Hello Venkat,
    For your requirement, go for stored procedure and find the below thread.
    Fetching data from JDBC without using JDBC sender adapter
    Re: Executing an Oracle Stored Procedure from Sender JDBC adapter
    Re: Sender JDBC adapter not picking up data
    Re: Retrive data from two diffirent tables
    hope this will help you
    Thanks,
    Venky

  • Need Help...........JDBC Adapter

    Hi All,
    We have installed SAP on OS/400.
    My scenario is IDOC XI JDBC.
    We have created a File JDBCTEST , member JDBCTEST and Field JDBCTEST.
    These are created under a lib QLGP.
    Then I did a message mapping between the IDOC and JDBCTEST by concatenation function.
    <b>IN THE JDBC ADAPTER CONFIGURATION I am getting the error
    Value missing for mandatory configuration attribute table EOColumnName Ts</b>
    In the EO JDBC ADAPTER Configuration, the DATABASE parameters:
    DBTABLE:JDBCTEST
    KEY COLUMN NAME:JDBCTEST
    Is there anything wrong I am doing?
    Any help is appreciated.
    Thank you.

    Hi Bhavesh,
    My XML structure after testing the mapping is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1><ns1:TEST_MT xmlns:ns1="http://mri.com/xi/IDOC2JDBC"><STATEMENTNAME><JDBCTEST action="INSERT"><access><JDBCTEST>567,23,2345,MRI</JDBCTEST></access></JDBCTEST></STATEMENTNAME></ns1:TEST_MT></ns0:Message1>
    I have tested by giving the PERSISTENCE as LOCAL,then intially there was no error but now I am getting the Transformation error.
    TransformException error in xml processor class: Error processing request in sax parser: Error when executing statement for table/stored proc. 'JDBCTEST' (structure 'STATEMENTNAME'): java.sql.SQLException: [SQL0104] Token MOTOR was not valid. Valid tokens: ) ,.
    Am I doing anything wrong in the JDBC Adapter Configuration or Message Mapping?
    Please help me out with this issue.
    Thank you in advance.

  • [Help]JDBC adapter- sender/receiver

    Hello Gurus,
    I have a scenario but can not find a solution.
    We have a ECC and a database.
    The scenario is to run a report from ECC, sending the selection criteria to the database, and get the result from the SQL statement.
    How can i configure in PI?
    Thanks a lot in advance!
    Best regards,
    Charlie

    Hi,
        This can be done using sync client proxy call.
        On the ECC side we need to make a sync call to PI using client proxy, the input parameters to this proxy will be the
        selection criteria, on the receiver side in PI use JDBC adapter.
        For receiver side use the data type for "Select" statement :
        (http://help.sap.com/saphelp_nw70/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm)
         and in mapping use the values received from ECC and map them as <key> elements.
        The returned value will be part of the output parameters of the client proxy.
    Pravesh.

  • JDBC Stored procedure help required

    Hi All,
    Please let me know simple blogs how to use JDBC Stored procedure or any other method  in receiver jdbc adapter to insert or select in 2 tables
    Please  let me know simple blogs how to use JDBC Stored procedure or any other method  in sender jdbc adapter to select from 2 tables
    Thanks

    Hi,
    I am also looking for JDBC Stored procedure or any other method in sender jdbc adapter to select data from 2 tables
    Thanks

  • Required jar files for using jdbc adapter

    Hi all,
    I have an XI scenario in which i need to send a msg from XI to Oracle 8.0 server.
    For this i am using the JDBC adapter.
    Can anybody pls tell me which are the jar files needed for doing so.
    Thanks in advance.
    Regards
    Neetu

    Neetu,
    You will need to deploy the classes.zip file using the SDM. More details on how to configure the JDBC adapter can be found at
    How to Install and Configure JDBC adapter
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10

  • Problem in JDBC Adapter Mapping

    Hi all,
    I am working on a scenario wherein i am trying to connect an ORACLE DB to SAP 4.7 system using XI 3.0 . I configured the JDBC Adapter and the JDBC adpter is picking up the message but i have a problem in JDBC adpter Mapping.
    The error message is like this:
    <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_ORACLE_MSGMAP_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>During the application mapping com/sap/xi/tf/_ORACLE_MSGMAP_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    How to map the "Resultset" from the Adapter to a target message? Can anybody throw some light on how to get the message from the JDBC adpter and map it to some other message format...Any documents regarding this ?
    Waitin for ur replies...
    Bye,
    Romit Shankar Arun.

    Hi,
    Does your other SDN post "Inserting data through JDBC adapter" refer to the same problem?
    I assume you use XMLSPY for creating XSDs.
    I used the XSD posted by you in the other forum thread and tried to generate the XML structure and it does not seem to generate the XML structure in the format required by the JDBC adapter.
    sample file generated from your XSD posted in the other forum thread:
    <?xml version="1.0" encoding="UTF-8"?>
    <resultset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Untitled1.xsd">
         <row action="INSERT">
              <CUSTOMER_NUMBER>String</CUSTOMER_NUMBER>
              <COUNTRY_KEY>String</COUNTRY_KEY>
              <FIRST_NAME>String</FIRST_NAME>
              <LAST_NAME>String</LAST_NAME>
              <AUTHORIZATION_GROUP>String</AUTHORIZATION_GROUP>
              <INDUSTRY_KEY>String</INDUSTRY_KEY>
              <ACCOUNT_GROUP>String</ACCOUNT_GROUP>
              <INTIAL_CONTACT>String</INTIAL_CONTACT>
              <COMPANY_CODE>String</COMPANY_CODE>
              <CITY>String</CITY>
              <CITY_CODE>String</CITY_CODE>
              <COUNTRY_CODE>String</COUNTRY_CODE>
              <DISTRICT>String</DISTRICT>
              <FAX_NUMBER>String</FAX_NUMBER>
              <HOUSE_NUMBER>String</HOUSE_NUMBER>
              <POSTAL_CODE>String</POSTAL_CODE>
              <REGION>String</REGION>
              <TELEPHONE_NUMBER>String</TELEPHONE_NUMBER>
         </row>
    </resultset>
    Compare the above to the template i have mentioned.
    Hope this helps.
    Regards,
    Sridhar

  • JDBC Adapter Configuration

    Hello,
    In JDBC Adapter, is there any other way to fetch the data other than select query?
    Our Scenario is like Transferring Project Information (PS Module) from Primavera to SAP. We fetch data from Primavera Through JDBC adapter with writing a select query. And we also give poll interval so after every pollinterval JDBC adapter again run the query and send it to integration Engine.
    But our requirement is once the project query executed next time only updated record transfer to SAP. IS XI gives this kind of feature?
    Regards,
    Gaurav Jain

    Hi Giridhar,
    Check out this
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    also check this interesting blog by Bhavesh
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    Thanks,
    Prakash
    Message was edited by: Prakash Arunachalam

  • JDBC Adapter:- How does it work??

    Dear Friends,
    I would like to know the nuts and bolts of JDBC adapter.
    1.)How does it work internally?Internally what does sap use?
    2.)In my scenario i just need to access a sap table so Can i write my Java JDBC program to access it.?
    3.)Is there any other way to sent data from Idocs to map to a external database with out using XI.?
    thx,
    jeevan

    Hi Jeevan,
    As far as the JDBC adapter goes, internally it uses, obviously JDBC (Java DataBase Connectivity). Thus all the calls from this adapter are internally SQL Queries (Either Select, Insert, Update, Delete, Execute Stored Procedure) that are sent using Java JDBC API.
    In Sender Configuration, it needs a Select and an Update query to be configured into it. It polls the External Database at specific intervals (Polling Interval in the Channel Configuration),i.e., it connects to the Database via a JDBC Connection and runs the select query. The data from the query is sent to XI as an XML Document. The update query is used to update the DB such that the same data is not picked again in the next poll. This is generally done through a status field. The select query's Where clause should pick records with one status and the update should change all those statuses so that the select does not pick them again. Click [Here|http://help.sap.com/saphelp_nw70/helpdata/EN/22/b4d13b633f7748b4d34f3191529946/frameset.htm|SAP Help on JDBC Sender Adapter] for more details, including the format of the XML file sent.
    In receiver configuration, the channels creates SQL statements from the XML Document it receives. This can be either Select, Insert, Update, Delete or Stored Procedure Call Statements. This requires you to give the receiver channel an XML Document in a pre-defined Schema. Click [Here|http://help.sap.com/saphelp_nw70/helpdata/EN/22/b4d13b633f7748b4d34f3191529946/frameset.htm|SAP Help on JDBC Receiver Adapter] for more details including correct XML Schemas. Note that the kind of SQL Statement generated (Select, Update, etc) is dependent on the schema provided.
    Hope this was helpful!!!
    Thanks,
    Guru

  • Invoke stored procedure from JDBC Adapter

    Is there a tool that generates interfaces for stored procedure(ORACLE PL/SQL) like RFC or IDOC adapters?

    Hi Denis,
    I dont think there is any such tool.]
    To generate a Stored Procedure of your Oracle DB, all you will have to do in your <b>JDBC adapter configuration</b> is give the name of the Stored Procedure under <Table> and you will have to give "<b>execute</b>" as the value under action attribute.
    Just check this link. Hope it helps,
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/8c103e05df2e4b95cbcc68fed61705/content.htm
    Just check this blog of Sriram wherein a stored procedure of a MaxDB Database is called.
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    I have implemented a scenario which requires an Oracle stored procedure to be executed and so, if you do need any further info, let me know.
    Hope this info helps,
    Regards,
    Bhavesh

Maybe you are looking for

  • How to delete .inProgress from my failed back-up in Time Machine?

    So I deleted it my failed back-up and it doesn't want to be emptied in trash.. So because of that I can't back up now because my external hard drive is full because of that failed back up! Help please!! Thanks in advance!

  • How can I output RCA video?

    How can I output RCA video from the headphone jack of my macbook pro? Is there any software to do this?

  • Encountering problems getting the median value for specific rows alone.

    Consider the following columns: Call Value 0.49 0.65 1.22 1.29 1.34 1.64 1.8 2.25 3.86 4.32 5.12 Median 1.64 Quartile 1 0.49 0.65 1.22 1.29 1.34 Expected Median 1.22 BO Returns       The first column in the table contains call values. The median of a

  • .MOV to MPEG2

    I've converted FCP .mov files to MPEG2 using the Program Stream setting 100 times with no problem. Recently though, I CAN NOT get a workable conversion (video stops and starts, interlacing, motion blur, etc). It's a :30 spot for broadcast tv. Any sug

  • HT1338 mac mini with os 10.5.4 can i upgrade this?

    Hi I've got a mac mini which I haven't really used ever, and apart from iphones/ipad's I haven't got any experience in apple products! It was brand new when i purchased it and I know it is a 1.66 intel core duo with 2gb ram and a 160gb hdd. I would l