Need JDBC to JDBC Scenario Step by Step

Dear All,
Kindly provide me the Document or link which should contain JDBC to JDBC scenario with clear explanation of Each and Every fields even fresher can understand.
Kindly provide me a purpose of each and every field in Sender and Receiver Channel and module as well.
Thanks in Advance.
Regards,
Manikandan

Ref:  http://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
Before posting a question, just search in SDN/Google, you would find a lot of info and scenarios.
Thanks,

Similar Messages

  • Idoc to JDBC scenario steps required

    Hi friends,
    Can anybody help me to follow the steps for sending the data from SAP system to XI and from XI to JDBC server.
    -Balu

    search on SDN before posting the question as this has been asked many times.
    Introduction to IDoc-XI-File scenario and complete walk through for starters. --> For Idoc sender: IDOC -file
    FILE to JDBC Adapter using SAP XI 3.0 --> for jdbc receiver: file -JDBC
    IDOC configuration steps:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    chirag

  • Need information regarding IDOC to JDBC Scenarios.

    Hi,
    Kindly help me with the pre-requisites inorder to start with a scenario of IDOC to JDBC and also the scenario of JDBC to IDOC.
    Regards,
    Sreedhar, Av

    Hello Sreedhar,
    While we working in JDBC or JMS Adapters we should deploy the Drivers..
    Go through this links,
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    2)  While we working in IDOC  Adapters we should do  ALE Config of IDOC Settings .
    Do these configurations in R/3 and in XI...
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    Here in IDOC to JDBC interface we need not to config sender Adapter..
    1) The main usage of a sender adapter is to convert the input format into the XI supported XML format.
    Once the conversion is completed the sender agreement appends the header with the sender details.
    In case of these adapters we wont require sender agreement and sender communicationchannel for the
    following reasons.
    Sender agreement is associated with a namespace when we shoot an idoc frm r/3 if already contains its standard sap namespace. so those is need of sender agreement
    The sender communication channel use is to identify the sending system and adapter, as the idoc header contains the details there is no need to sender.
    These adapters resides on ABAP stack here the integration server takes care of IDOC/HTTP to XML conversion without requirement of adapter.
    The business system that is sending the adapter has already been assigned to a techinical system which normally acts as an integration server...
    IDOC to xi links
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Hope this explanation is useful to u..
    Thanks,
    Satya Kumar
    Edited by: SATYA KUMAR AKKARABOYANA on Jun 3, 2008 9:57 AM

  • ** RFC to JDBC scenario - Need not source code - Correct ?

    Hi Friends,
    I am doing RFC to JDBC scenario. It is a synchronous scenario. I think it is need not required to write any code in the source code tab of  RFC. Is it correct ...? (Only Import and Export parameters are enough.)
    Kindly reply, friends.
    Kind Regards,
    Jeg P.

    Hi,
    RFC needs only configuration and we  will call remote method in R/3. Actual logic present in R/3.
    Thanks,
    RamuV

  • Need help in webservice to JDBC scenario

    Hi All,
    My scenario is a synchronous webservice to JDBC scenario. The SOAP request contains two fields one is ID & the other field is Date which is an optional field. I need to perform a SELECT statement on JDBC based on ID & Date. SOAP request will always contain ID field & Date may or maynot be there in the request. If Date present then search should be based on ID & Date , if Date not present search should be based on ID only. How to achieve this with the help of standard JDBC reciever structure or is there any other way to achieve this?
    Thanks
    Navin

    You can create your target structure as shown below and check the existence of DATE field in the source(using standard function "Exists" ) and then only create the target DATE node.
    <StatementName>
              <dbTableName action=u201DSELECTu201D>
                  <table>realDbTableName</table>
                  <access>
                      <col1/>
                     <col2/>
                     <col3/>
                  </access>
                  <key1>
                     <DATE/>
                     <ID/>
                  </key1>
              </dbTableName>
       </StatementName>
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417700%29ID0591392850DB01436613452367233705End?blog=/pub/wlg/3928
    Pooja

  • Proxy to JDBC scenario need dynamic sql query for sender .

    Hi Experts,
    I am developing proxy to jdbc scenario. in this i need to pass dynamic sql query  whre we are passing classical method like below.
    while we are passing select stmt in constant and mapped with access field  and key field mapped with key field.
    MY requirement is like instead of passing select stmt in constant where i can generate dynamically and passed in one field and mapped with access field.

    Hi Ravinder,
    A simple UDF or use of graphical mapping functions in most cases should provide you everything you need to construct a dynamic SQL statement for your requirement.
    Regards,
    Ryan Crosby

  • Help needed on Idoc - Jdbc scenario

    Hi ,
      We have a IDOC - XI - JDBC scenario.when we post a IDOC from R3 it is showing successful in we02 with status 03 and there are no errors in SM58 of R3 system but the Idoc Is not reaching XI.This interface has been working fine from many months and there are no ports or anything changed.
    Please provide me with some pointers to check where the Idocs are missing.
    Thanks
    Raghu.

    Hi vijay...
      I even checked in IDX5 but there are no Idocs found there also.
      Any other pointers.
    Thanks
    Raghu.

  • File JDBC - scenario, no need of response

    File  to  JDBC scenario insert Async scenario....
    i dont want response back..but i am getting response and throws error ..how to make it without response?

    i was using file adapter as sync with requestresponse bean..which caused the issue..I removed it and issue resolved...

  • XI idoc-jdbc  scenario in details

    Hi Experts,
    Please provide me this scenario pn detail.
    Cheers
    Aman

    Hi,
    For IDOC to JDBC scenario:
    Refer the below weblog for help:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    1) First you need to install the JDBC drivers on XI server refer the below link for installation process.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    2) You need to do the IDOC configuration at R3 as well as at Xi end:
    Refer the below configuration steps:
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    IDOC testing using WE19
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    Configuration required at Xi side:
    Go to IDX2: load the DOC metadata.
    3) For updating the table you need to write the stored procedure:
    Refer the below link for stored prcedure.
    JDBC:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    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
    Thnx
    Chirag
    Reward points if it helps and close the threads.

  • Proxies to jdbc scenario help...!

    Dear All,
    I am very new to XI , can anyone guide me step by step process for
    1. File to webservice scenario via xi
    2. Proxies to jdbc  scenario via xi
    3.IDOC to JDBC scenario via xi
    will be much helpful as i need to complete these processes very soon.
    Thanks in Advance.

    HI,
    Here are the documents:
    Webservice scenario:
    these 3 documents should explain it all,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    troubleshooting SOAP:
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    IDOC and JDBC Scenarios:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters --> For Idoc sender: IDOC -file
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    IDOC configuration :
    Refer the help:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Idoc to File:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    This is expalined both the scenarios:
    Please follow the below process for configuration:
    Pre-requisites for Inbound IDoc to R/3 from PI:
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    JDBC:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    Writing 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
    Proxy:
    Client Proxy:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy:
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Smarter Approach for coding ABAP Proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    File to Inbound Proxy:
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    How do you activate ABAP Proxies?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Debugging Inbound Proxy:
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks and Regards,
    Chirag Gohil

  • Sender side Synchoronous jdbc scenario

    Hii experts,
    Can we do Sender side synchronous jdbc scenario?? if yes give me an example how the scenario will look like??
    and what are the steps has to be done?
    Regards,
    Balaji

    Hi,
    Can you pls clear your requirement?
    In your case, do sender JDBC will fetch the data and give it to the target, and again target will give some resonse and that
    response you have to insert into the database at sender side?
    If this is the case for you, then it can be achieved.
    Pls exactly tell what you are looking for.
    -Tanaya.

  • File-Jdbc scenario

    Dear Friends,
             I am performing Simple File to JDBC scenario. For this I am using MySql. I have designed and configured all the required steps and activated. Now I went to Runtime Work Bench monitoring.. Here in Message monitoring status is "waiting". Here it has thrown one exception like this, Exception caught : Jdbc Receiver Channel:Configuration not initialized due to loading Jdbc receiver
    "com.microsoft.sqlserver.SQLServerDriver" Failed :java.lang.ClassNotFound - Exception : com.microsoft.jdbc.sqlserver.SQLServerdriver.
    Please help me,Now what i have to perform.
    thanks in advance.

    check this
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/08546ff5200486e10000000a155369/content.htm
    and
    https://wiki.sdn.sap.com/wiki/x/sAA7AQ
    Regards,
    Ravi

  • SOAP TO JDBC scenario: calling stored procedure which will return the value

    Hi
    I have Soap To Jdbc scenario in which I am going to call the Stored Procedure at target side which will be executed and it is going to return the result set .
    Result contains following values.
    return code as ( 0 Or 1) and also specific exception message if its return code as 1.
    Could you suggest me the way by which I can handled this return code and send it back to the Sap PI system then the same thing is directed the to SMTP server for sending mail to consern person.
    Regards
    Kumar

    The OUT parameters of stored procedure will be returned as response. Where exactly are you facing the proble? Here is a complete walkthourgh
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    In your case, you don't want response at sender. Instead you want to mail it. For this you may use BPM to design your scenario with following steps
    Receive (to receive data from sender)
    Send Sync (to stored procedure and get response)
    Send Async (to mail receiver)
    Regards,
    Prateek

  • Problem in Idoc to JDBC scenario(uses BPM)

    Hi
    I have a IDoc to JDBC scenario which also uses BPM.
    The JDBC adapter has to execute a Stored procedure on Sybase database.
    I work on XI3.0 SP14.
    When I am sending IDoc to XI it is failing in CALL adapter step.
    The error message is "Unable to convert sender service TruckLiftAccountUpdate to an ALE logical system".
    However this scenario is working in Production with same settings.But it is not working in Quality and it is giving the above error.
    Can any one help me in this.
    Thanks in advance.
    KP

    Thanks for your quick reply..
    All the settings are in place.
    Here the Idoc is coming to BPM and BPM cant able to execute the stored procedure.and we are getting the error from BPM to target system.
    Here error is unable to convert the sender service(from BPM service) to ALE
    logical system.
    same settings are there in Production but it is not working in QA.
    Thanks in adavnce,
    KP

  • IDOC to JDBC scenario: Does INSERT command expect a result value?

    Hello,
    we have an IDoc-to-JDBC-scenario configured on our XI 3.0, which uses the INSERT command to put a dataset coming from R/3 into a SQL database. This works fine.
    Now a trigger has been activated on the database, which sets a flag to each dataset after inserting.
    Because of this a system error occurs in the Adapter Engine and I found in the AuditLog (logSQLStatement=true), that the INSERT command is processed correcty, but in the next step an error is shown up: 'SQLServerException. A result set was generated for update.'
    Could it be, that the trigger returns a result value, which can't be handled on the XI ?
    If yes, how can I solve this issue? I have read something about the different methods execute(), executeUpdate() and executeQuery(), but I don't know how and where this has to be configured...
    Thanks in advance,
    Juergen

    Hi Upendra,
    I got some more information from the database adminstrator:
    He used the following command 'exec xp_cmdshell @ExportCmd , no_output'
    whereas @ExportCmd contains the command.
    With the no_output option, the xp_cmdshell does not return a recordset.
    I hope this will be helpful to you.
    Grtz,
    Juergen

Maybe you are looking for

  • Two Computers / Two Monitors

    I have a Power Mac G4 and one of the early Mac Mini's. Sadly, still in the dark ages with VGA monitors. I have a dual monitor setup on the G4 that comes in handy for Photoshop and Final Cut Pro. I would like to consolidate, and lose the monitor on th

  • No Audio or MIDI using Focusrite Saffire Pro 24 DSP Firewire soundcard

    I installed the latest version of Mixcontrol, all my motherboard drivers and BIOS etc are up to date. No problems reported by Device Manager. I've emailed Focusrite about this, but still waiting for a reply. I've tried reinstalling everything, but st

  • ASA 8.2 configuration for an ASA 9.1.(1) device

    Hello, I have a configuration file from a 5510 running ASA ver 8.2 I have a brand new ASA5525 running ASA ver 9.1(1) It is my understanding the configuration syntax is different between these versions I need to take this config I have and somehow aut

  • Oracle 11g R2 Architecture Diagram

    Hi, I trust this is the right way to go about the following Few years ago I created an architecture diagram for 10g. I have now updated that diagram to include new features of Oracle 11g. Obviously there is so much one can detail in one page PDF Arch

  • Error message when attempting to sync with itunes

    when i try to sync my phone it says "itunes cannot read the content of this iphone, go to the summary tab in iphone preferences and click restore" but i dont want to restore my phone. any other options?