JDBC Response

Hi.
Being a beginner i had a query that
What is the response structure of JDBC ..
Normally JDBC have both Sync and Async as mode..
Thanks & Regards
guna

Refer these blogs in which we have the response structure for some of the statements like select, insert,.
JDBC RECEIVER ADAPTER
JDBC Receiver Adapter -- Synchronous Select – Step by Step
STORED PROC
JDBC Stored Procedures
JDBC Receiver Adapter -- Synchronous Select u2013 Step by Step:
JDBC Receiver Adapter -- Synchronous Select – Step by Step
sender and Receiver JDBC Adaptor Config using XI
RDBMS system integration using XI 3.0 JDBC Sender/Receiver adapter
JDBC to JDBC
https://wiki.sdn.sap.com/wiki/display/XI/JDBCTOJDBC
Connecting to MS Access using receiver JDBC Adapter (Without DSN):
Connecting to MS Access using receiver JDBC Adapter (Without DSN)

Similar Messages

  • Ask again, jdbc response

    I designed process to figure out how to get the records count of jdbc response.
    after step send db request with synchronize mode, there is a transformation step to get count.(mapping with count function to rows of DB response). The result is always is 0.
    But when I add a send step, which send db response message to file, I can see all the response content.
    I don't know why.
    How could I get the records count of DB response?
    Thank you very much.

    not understand you.
    DB response is this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:jdbc_req_response xmlns:ns0="http://aaa.com/jdbc_syn">
    <ExecuteStatement1_response>
         <row>
              <LIBID>2001</LIBID>
              <LIBNAME>Zoral</LIBNAME>
              <LIBADDRESS>Shanghai</LIBADDRESS>
         </row>
         <row>
              <LIBID>2001</LIBID>
              <LIBNAME>Zoral</LIBNAME>
              <LIBADDRESS>Shanghai</LIBADDRESS>
         </row>
         <row>
              <LIBID>2001</LIBID>
              <LIBNAME>Zoral</LIBNAME>
              <LIBADDRESS>Shanghai</LIBADDRESS>
         </row>
         <row>
              <LIBID>2001</LIBID>
              <LIBNAME>Zoral</LIBNAME>
              <LIBADDRESS>Shanghai</LIBADDRESS>
         </row>
    </ExecuteStatement1_response>
    </ns0:jdbc_req_response>
    I use count function :
    row->count->size. But got 0.
    It is one message, why I need correlation?

  • Writing to database i want the JDBC response

    i have a file-xi-jdbc scenario.... after writing to database i want the JDBC response also...means no. of records updated/inserted/deleted etc.....means no. of rows returned
    what can i do....
    1. can i do it with a send step using asynchronous interface.
    2. can i do it with send step using Synchronous Message Interface to the database.
    Message was edited by:
            sudeep

    sorry posted in a different forum

  • RFC to JDBC Sync Scenario and get JDBC response

    Hi All,
    We need to create RFC to JDBC synchronous interface with update_insert action.
    And we need to get the number of records updated or inserted as response and map the response and send it back to ECC as RFC response mesg.
    I have gone through the help document on JDBC and it says :
    The response document has the following format; one of the two values is always 0 because either an UPDATE or an INSERT action is always executed:
    <update_count>count</update_count>
    <insert_count>count</insert_count>
    Now following is the question: Is this this the standard feature? Because in our case Database side they will not be sending any response back.
    So with the synchronous receiver JDBC channel would we get this update and insert count as response  by default?.
    Please help with replies.
    Thanks,
    Jane

    Hi Jane
    No setting needs to be done by the Database team, it is a standard feature.
    Whenever you insert or update records in DB using the JDBC Adapter, you will get the response with the count.
    If insertion fails due to some reason in JDBC Adapter, then there will be no response.
    Regards
    Osman

  • Don't want JDBC Response.

    Hi,
       I have a RFC -> XI -> JDBC Scenario.
       I don't need the number of inserted rows, but the response of JDBC brings to me. How do I do to ignore it? Because a error appears in <b>Request Message Mapping</b> Step of <b>Response Msg</b>.
       The <b>ProcessingMode</b> is synchronous even if I configurated the Message Interface as asynchronous.
    Thanks in advance.

    Hi Luis,
    you need to send the RFC request asynchrounous:
    CALL FUNCTION 'Z_MY_FUNC'
    IN BACKGROUND TASK
    DESTINATION 'MY_DEST'
    COMMIT WORK.
    Regards,
    Udo

  • RFC to JDBC response

    Hello,
    I have a scenario SAP-> RFC -> XI -> JDBC. Where i'm using data from SAP R/3 to update a table in an Oracle database of a third party system. Is there any way i can find out if the fields have been updated succesfully or not?
    I know that only if i use a synchronous JDBC reciever i will get a response.
    Helpful suggestions will be rewarded.

    Hi,
    The Response sent by your JDBC adapter will be not be a Apllication Level Acknowledgement, but rather a System Level Acknowledgement and so, you will have to configure a BPM, if you want to send the number of rows Updated as a response to your RFC.
    For more info, just take  a look at this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    It contains the info,
    <b>The response documents described below can only be evaluated by the Integration Server/PCK if the call is synchronous because the content of the response document is not accessible if the call is asynchronous. The response is put in a separate element <StatementName_response> for each statement element.</b>
    So, if you want to send the response, then you will have to configure your receiver JDBC adapter sysnchronous, use a BPM to route the response message to whichever system you want.
    Regards,
    Bhavesh

  • JDBC response generic message format

    Hello experts
    I have a proxy to JDBC scenario,In the Receiver end , i have to call 3 SQL statements.The Format is as follows
    <Statement1>
    Delete Query
    </<Statement1>
    <Statement2>
    Insert Query
    </Statement2>
    <Statement3>
    Stored Procedure
    </Statement3>
    I want a response in the stored procedure.So i have to make the inbound message type synchronous.Will i be getting the response for all the statements .What would be the exact generic format of the response message.Unless i know the response message type i will not be able to design the exact receiver message type.plz throw some light on this

    <root>
      <StatementName1>
    <dbTableName action=u201DUPDATEu201D | u201CUPDATE_INSERTu201D>
      </StatementName1>
      <StatementName2>
    <dbTableName action=u201DINSERTu201D>
      </StatementName2>
      <StatementName3>
    <dbTableName action=u201DDELETEu201D>
      </StatementName3>
      <StatementName4>
    <dbTableName action=u201DSELECTu201D>
      </StatementName4>
      <StatementName5>
    <storedProcedureName action=u201D EXECUTEu201D>
      </StatementName5>
    </root>
    The response is put in a separate element <StatementName_response> for each statement element.
    like here in this root i am getting response for  <StatementName5>
    So response Structure would be like ....
    <root_response>
                              <StatementName4_response>
                                        <row>
                                         row structure from select query
                                        </row>
                              </StatementName4_response>
                              <StatementName5_response>
                                        <row>
                                         out element of stored procedure.
                                        </row>
                              </StatementName5_response>
    </root_response>
    Hope this Helps.
    Regards
    Dragon.
    Edited by: KOMODO DRAGON on Jun 28, 2010 12:47 PM

  • JDBC response requirement

    hi
    we are triggering a JDBC stored procedure using MsSQL where we select a name based on the location that we get in the source file.
    the structure of the response MT is like below:
    <MT_response>
      <row>     1..n
         <Name>  0..1
    what we require is ..that even if the DB doesn't return any rows from a particular location, the response should have the row field nonetheless with the Name field missing.
    for example the source file has 2 cities - london and delhi
    the Stored proc resultset has 4 names for london and none for delhi.
    so we want that 4 rows with Name field should come in the MT_response corresponding to london
    and 1 row with no Name field should come in the response for delhi.
    please help.

    Hey itisha,
    You will have to convert your MI to Outbound sync for file and inbound sync for jdbc.
    Now if you see the interface mapping between this two interfaces .. it will have both request and response mapping..
    request mapping is the normal that we use...but after you get the response from jdbc...you do not want the ROW node to go away....then you add a response mapping also where you can do all this kind of transformations
    and then send the result file to a folder..
    Settings given in the below Wiki will also need to be done...only difference is you scenario is Fileasync to Jdbc sync
    but the one given here is File async to RFC sync ...concept however of response mapping and sending response to async file system will remain same
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529

  • JDBC  response  mapping

    Hello,
    I have  two sql statements (union ) selecting data from multiple tables and I have the sql XML as follows.   The response structure is also given bellow. Do I need a response  for STEMENT_TWO  also?  How do I map the result to single target ?
    Can I have a generic resultset for both of the statements so that I can map to single target?
    appreciated an urgent reply.
    <xsd:element name="STATEMENT_ONE">
    <xsd:element name="GTSDB">
    <xsd:element name="ACCESS" type="xsd:string">
    <xsd:element name="KEY">
    <xsd:element name="YEAR" type="xsd:string">
    <xsd:element name="MONTH" type="xsd:string">
    <xsd:attribute name="ACTION" type="xsd:string" use="required">
    <xsd:element name="STATEMENT_TWO">
    <xsd:element name="GTSDB">
    <xsd:element name="ACCESS" type="xsd:string">
    <xsd:element name="KEY">
    <xsd:element name="YEAR" type="xsd:string">
    <xsd:element name="MONTH" type="xsd:string">
    <xsd:attribute name="ACTION" type="xsd:string" use="required">
    <xsd:annotation>
    Response type
    xsd:element name="STATEMENT_ONE_response" maxOccurs="unbounded">
    <xsd:element name="row" minOccurs="0" maxOccurs="unbounded">
    <xsd:element name="currency_code" type="xsd:string">
    <xsd:element name="rate_type" type="xsd:string">
    <xsd:element name="weekly_rate" type="xsd:string">
    Thanks
    Sindhu

    Hi Bhavesh,
    Thanks  for your reply. I had already seen your Weblog  and accordingly created two response . Now the target is an RFC structure .The response1 and resoponse2 date should be mapped to a table parameter of RFC . I did duplicate the table structure and mapped both the response . While testing the mapping  I am getting the response  .
    Can I duplicate the table structure of RFC being it is imported form SAP .
    It created an additional node ,so  whether it will transfer the data correctly to RFC .
    While I am doing the actual  integration ,the RFC is not being called ,though there is no error.
    Regards
    Sindhu

  • Jdbc response time

    one of the java developers have been complaining about slow response times when running a query. I ran the query in sqlplus and the response time was around .05 millaseconds so i dont think the table and indexes are set up wrong. Listed below is the code that he is using. Any help on this would greatly be appreciated. He is saying that the rs=ps.executeQuery() is where he is getting the slow response times.
    static class OracleStatements {
    public static final String SELECT_STATUS_UPDATES =
    "SELECT LX01, AT701, AT702, AT703, AT704, AT705, AT706, MS101, MS102, PICK_OR_DELIVERY, WAREHOUSE_ID, MS101_CITY, " +
    "AT705APPT, AT706APPT, AT707APPT, MS101APPT, MS102APPT, MS101APPT_CITY FROM VFT.STATUS_UPDATES " +
    "WHERE RECORD_KEY = ? AND PICK_OR_DELIVERY = ?";
    public void initOracleStatements() {
    Connection connectToOracle() throws Exception {
    Connection con = NetworkController.getConnection().oracon;
    return con;
    public void getOracleData(boolean lockit) {
    puEdiDM.clearData();
    delEdiDM.clearData();
    PreparedStatement ps = null;
    try {
    Connection con = connectToOracle();
    ps = con.prepareStatement(OracleStatements.SELECT_STATUS_UPDATES);
    ResultSet rs = null;
    try {
    ps.setString(1, dataModel.getData().getRecordKey());
    ps.setString(2, "P");
    rs = ps.executeQuery();

    Hi,
    Have you executed this Query on same Database?
    I've already passed by a problem like this and the problem was Database statistic not updated in a Database Server.
    Run Explain Plain of this query.
    Best Regards,
    one of the java developers have been complaining
    about slow response times when running a query. I ran
    the query in sqlplus and the response time was around
    .05 millaseconds so i dont think the table and
    indexes are set up wrong. Listed below is the code
    that he is using. Any help on this would greatly be
    appreciated. He is saying that the
    rs=ps.executeQuery() is where he is getting the slow
    response times.
    static class OracleStatements {
    public static final String
    l String SELECT_STATUS_UPDATES =
    "SELECT LX01, AT701, AT702, AT703,
    1, AT702, AT703, AT704, AT705, AT706, MS101, MS102,
    PICK_OR_DELIVERY, WAREHOUSE_ID, MS101_CITY, " +
    "AT705APPT, AT706APPT, AT707APPT,
    APPT, AT707APPT, MS101APPT, MS102APPT, MS101APPT_CITY
    FROM VFT.STATUS_UPDATES " +
    "WHERE RECORD_KEY = ? AND
    CORD_KEY = ? AND PICK_OR_DELIVERY = ?";
    public void initOracleStatements() {
    Connection connectToOracle() throws Exception {
    Connection con =
    on con = NetworkController.getConnection().oracon;
    return con;
    public void getOracleData(boolean lockit) {
    puEdiDM.clearData();
    delEdiDM.clearData();
    PreparedStatement ps = null;
    try {
    Connection con = connectToOracle();
    ps =
    ps =
    ps =
    =
    con.prepareStatement(OracleStatements.SELECT_STATUS_UP
    DATES);
    ResultSet rs = null;
    try {
    ps.setString(1,
    ps.setString(1, dataModel.getData().getRecordKey());
    ps.setString(2, "P");
    rs = ps.executeQuery();

  • No response message in Proxy to JDBC synchronous scenario

    Dear Team,
    I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
    Business Scenario:
    ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
    Design :
    For Request structure:
    a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
    b-->Created MT for Receiver JDBC  with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
    I have been following  the link and Bhavesh Kantilal document.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
    rameset.htm&current_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
    For Response structure:
    Created MT for Receiver JDBC with All the column names.
    Created MT for target ABAP ECC with the same 11 column name of JDBC response.
    Note :
    1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
    2. The PING test connection for Cc works fine to database.
    Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
    1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
    2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
    3. How can I test ICO in ID?
    4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
    Hope all your inputs can improve my design part.
    Regards
    Rebecca

    Hi Rebecca,
    Did you go through all of these links below?
    PROXY to JDBC- SYNC
    Proxy to JDBC Sync, with Idoc Receiver
    JDBC to PROXY Sync Scenario | SCN
    JBDC Receiver Insert Statement Response
    Re: Synchronous JDBC select
    receiver JDBC structure
    Regards,
    Jannus Botha

  • JDBC receiver adapter - stored procedure response

    I am on PI 7.11 and have the following scenario:
    RFC->PI->JDBC
    whereby the JDBC receiver access an Oracle db (unsure of that version) using a stored procedure "GET_ICBC_ID".
    My issue is that I never seem to have any data back in PI on the JDBC response coming back from Oracle. ***
    Here is the definition of that stored procedure in Oracle:
    Stored Procedure Name: GET_ICBC_ID
      Parameters
                    ICBCID    OUT VARCHAR2               <- Returned RACF ID (output)
                    REQUESTOR IN VARCHAR2 default 'SAPHR'       <- Optional Requestor ID.
                   COMMUNITY IN  VARCHAR2 default 'EMP'       <- Optional Community ID. 
    Here is my JDBC call in to the stored procedure (sxi_monitor), which seems to be fine:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_racf_req xmlns:ns1="http://sap.com/xi/Z_SkillSoft">
    - <Statement>
    - <GET_ICBC_ID action="EXECUTE">
      <REQUESTOR isInput="true" type="VARCHAR">SAPHR</REQUESTOR>
      <COMMUNITY isInput="true" type="CHAR">EMP</COMMUNITY>
      </GET_ICBC_ID>
      </Statement>
      </ns1:MT_racf_req>
    It appears as though the call into the JDBC is working, as the Oracle guys have shown me the logs (showing success) on the Oracle side.
    This is my sxi_monitor entry (of that response message):
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:MT_racf_req_response xmlns:ns1="http://sap.com/xi/Z_SkillSoft">
      <Statement_response />
      </ns1:MT_racf_req_response>
    Also when I look at some of the message properties I see:
      <SAP:MessageSizePayload>0</SAP:MessageSizePayload>
      <SAP:MessageSizeTotal>13243</SAP:MessageSizeTotal>
      <SAP:PayloadSizeRequest>0</SAP:PayloadSizeRequest>
      <SAP:PayloadSizeRequestMap>0</SAP:PayloadSizeRequestMap>
      <SAP:PayloadSizeResponse>179</SAP:PayloadSizeResponse>
      <SAP:PayloadSizeResponseMap>149</SAP:PayloadSizeResponseMap>
    which I believe is saying that something came back in to PI as a response??  Not sure.
    My Message Type definition is:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/Z_SkillSoft" targetNamespace="http://sap.com/xi/Z_SkillSoft">
       <xsd:element name="MT_racf_req_response" type="DT_racf_req_response" />
       <xsd:complexType name="DT_racf_req_response">
          <xsd:sequence>
             <xsd:element name="Statement_response" type="DT_statement_response" />
          </xsd:sequence>
       </xsd:complexType>
       <xsd:complexType name="DT_statement_response">
          <xsd:sequence>
             <xsd:element name="ICBCID" type="xsd:string" />
          </xsd:sequence>
       </xsd:complexType>
    </xsd:schema>
    I have also tried inserting <row> between <Statement_response> and the ICBCID element.  Still no luck. 
    I suspect something is wrong with my response message type definition, but am not seeing it. Also, am unsure how I can debug this - it appears as though Oracle side is fine, but nothing back into PI.
    Any thoughts appreciated.
    Keith

    Thank you all for your response.  Some more info.:
    - The stored procedure is a SELECT, so am thinking I shouldn't need the <update_count> tags mentioned.  Let me know if this assumption is incorrect.
    - Because one field (ICBCID) is to be returned in the reponse, does it need to be passed in on the jdbc request ? Looking at the blogs I did not see them do that.  If so, with its IsOutput=true, or should it be IsInput=false or other? Also if it is to be passed in on the request, I guess I would set its value to a space so that the xml tag gets produced?
    - Does the order of the request elements passed matter, i.e. if the ICBCID is to be passed on the request, should it be first or last in the list?  Does order of the 2 IsInput=true parameters matter (i.e. in relation to the Stored Procedure)?
    - The Oracle version is 11.1, so pretty up-to-date.  Stored Procedures should work fine.
    - What specifically is meant be 'resultset'?  Also, does <row> need to be added as a tag within the response xml?
    Regards,
    Keith

  • Synchronous Receiver JDBC adapter--response message empty

    My scenario is ABAP Proxt to JDBC synchronous case where I am calling a stored procedure "GetEmployer" to get the relevent data. There is no input data to the stored procedure, just need to call the stored procedure to return the records.
    In the SXMB_MONI I am getting the response message as empty with no records.
    In the communication channel monitoring it is showing successfully processed.
    Request Message :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SELECT_JDBC_REQ xmlns:ns0="XXXX">         <STATEMENT>
    <GetEmployer ACTION="EXECUTE"></GetEmployerList>        </STATEMENT>                      </ns0:MT_IRIS_SELECT_JDBC_REQ>
    Response Message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SEL_PRXY_RES xmlns:ns0="XXXX"> <STATEMENT_response></STATEMENT_response> </ns0:MT_IRIS_SEL_PRXY_RES>

    Hi All,
              If I am trying to test the configuration in the ID I am getting the following error.
    Runtime error      Unable to read the payload from the     message object 
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found </Trace>
    <Trace level="3" type="T">Mapping is already determined in the interface determination </Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 35933EB051F13E60906107DF6862E093 </Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 640C5B80B54311DCABA9F7BB0A126A22 </Trace>
    <Trace level="1" type="T">Interface Mapping http://XXX/employer_list</Trace>
    <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_EMPLOYERLST_ </Trace>
    I am getting the success flag in SXMB_MONI but getting no records in the JDBC response message. It is not throwing any error and the interface is running successfully.
    Could you please suggest some solution for this.
    Thx in advance
    Ravijeet Das

  • Reg: How to Stop Polling of JDBC Adapter without Scheduling the adapter

    Dear Gurus,
    Here I am having one requirement. My clients wants to send data from JDBC adapter (ORcale System table) to R3 system via RFC.
    His Requirement::
    1. He is not telling the time of data flow from Oracle server so that based on that we can schedule the adapter in the Communication Channel monitoring (Availablitiy Time Planning) or Else we can Schedule by deciding the setting of the polling interval time.
    2. He is telling that When ever he waants to send the data he will place one dummy file in the File Adapter FTP location so that it will became an Indication for u to poll the jdbc adapter and to transfer the data to R3.
    3. Untill he keeps the file or gives indication he doesn;t want to communicate with Oracle server due to some security and it s a most important data base he doesn't want to disturb that Oracle Server as so many business are running  on that.....
    We Proposed::
    1. Atleast you need to tell the scheduling time or poll interval time so that we can schedule our adapter.
    but he s not accepting for this
    2. Atleast U need to give access for Data base to enter one more extra field like STATUS CODE so that we will add one number and we keep on Update in the Update table and based on that Update table statement it will poll.
    but he s not even accepting for this
    3. Finally we prposed that to create another table in the Oracle SYstem as Dulplicate Table which is similar to Standard Orginal table when ever he wants to pick the data please keep that data in this Duplicate TABle so that JDBC adapter will pick the data from thsi TABLE instead of picking the data from that standard table so that it will not effect any standard table data in the table.
    but he s not even accepting for this
    We have done some R & D:::
    1. WE approached even through BPM and via switch conditions is one scenario
       FILE RECEIVE >SWITCH CONDITION> RECEIVE AND SEND or else EXIT
    2. Using correlation in anotehr scenario means correlating File adapter and JDBC and based on one dynamica value it will goes to SEND STEP ( RECE IVE --> RECEIVE --> SEND STEPS )
    Even though we know this...concept that...we jsut tried::
    In BPM we can control the flow in XI 3.0 but we cannot Stop the Polling of JDBC adapter at backend because one the data comes from FILE adapter it will keep on HOLD untill it receives the JDBC from Oracle then based on the condition or Correlation it will goes futher SEND step means after that file adapter is picking file or not ...what ever it may be JDBC will polls at backend and brings that data to BPM"
    Hence sugest me How to Stop Polling of JDBC Adapter without Scheduling the adapter or else using STATUS CODE Update statements in JDBC Tables 
    Regards:
    Amar Srinivas Eli

    Hi! All,
    Finally I decided to do the scenario in two steps:
    1: FILE REQ --> JDBC REQ -->JDBC RES --> FILE RECV
    2: FILE RECV --> RFC
    But I am getting issue while doing first scenario
    Desgn :
    I have created 2 Synchronous interfaces :
    1) FILE 2 JDBC REQ
    In this a) out put message is FILE  Req
              b) Input msage:; FILE RES
    2} JDBC2FILE RECV
            a) Output mesage;; JDBC REQ
            b) Input Msge :: JDBC Response
    Mappings:
    1) File REQ-->JDBC REQ
    2) JDBC RES-->FILE RES
    Interface mappings:
    1: FILE 2 JDBC REQ--> JDBC 2 FLE RECV
    CONFIGURATION ::
    1: One Seder File CC
    2: Two reciever CC's one is for JDBC RECEIVER and other s FILE RECEIVER
    3; One Sender Agreement
    4: 2 Recver agreements
    5: One Interface Determination and
    6: One RECCV Determination
    My Question;;
    1. First let confirm whether my development steps are right or not ?
    2: Another thing s I am not sure reg Configuration Steps means
    whetehr one interface determination and one Receiver Determinations are required or not as these are synchronous Interfaces
    3: main Issue is::::
    If my scenario s FILE2RFC2FILE then I will get RFC response automatically but here issue is this is JDBC
    My reqquirement is By sending one Field from fILE to JDBC REQ it needs to send entire TAbLE records as a Response to file as XML
    without having Sender JDBC how can I send the JDBC Res to FILE and If that is the case then again JDBC adapter is polling which is contradict to the client requuirement which i explained above.
    pleas suggest me the Detailed steps mainly Colloboration agreements and logical routings and
    also explain in detail if i can  go for BPM
    Also give cleear blogs but before giving make sure that it contains detailed screen shots because aIready gone thorugh
    Scenario File-JDBC-RFC
    File<-->JDBC Sync coomunication.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file(Without+BPM)
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    Regards::
    Amar Srinivas Eli

  • SAP R/3 -- PI -- Oracle DB SYNC (JDBC)

    What is the best approach to handle the following request:
    We need to develop a synchonous call that will pass information from SAP R/3 through PI to an Oracle database can return the data.
    For instance, we want to pass a material number from SAP R./3, and have all the related information stored in the Oracle DB returned immediately.
    The data stored in Oracle will be retrieved via a JDBC connection.   If possible can you provide an example....thx

    >> Just a simple query, no updating is required.
    >>>  select f1 f2 f3....from ms_tbl where part = inbound-part
    Then you dont need sql stored procedure . We can easily handle at pi side.
    Step 1) create data type for proxy as per your need
    Step 2)  Create the data type for  jdbc request side as similar below ...
    <stmt>
        <Customers action="SQL_QUERY">
          <access> SELECT f1,f2,f3 from ms_tbl  WHERE PART ='$KEYFIELD$';</access>
          <key>
              <KEYFIELD>inbound-part</KEYFIELD>
          </key>
        </Customers>
      </stmt>
    Note: use constant to populate values for action and access field in mapping area.
    Step 3)
    create data type for the  jdbc response side as below
    <stmt_response>
    <row>
    <f1>
    <f2>
    <f3>
    </row>
    </stmt_response>
    Step 4)
    Then create Proxy response data type
    Step 5) create message types and Service Interface.(outbound synchronous and inbound synchronous)
    step 6)first map: Map step 1 messg type with step2 mesg type
    step 7) second map:  Map step 3 mesg type to step 4 mesg type
    Integration Directory: configure Jdbc reciever. Rest are all same.
    That's  it.
    Please follow this link ...
    Jdbc structure :
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Jdbc configure (comm channel)
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm

Maybe you are looking for

  • Firefox 15.0.1 gives an error message when trying to log into my account @u.boisestate.edu

    I'm at student at Boise State. When I try to log into my broncomail account, or when I try to access broncomail through the Firefox Mail, I get the following message. The page isn't redirecting properly Firefox has detected that the server is redirec

  • Itunes wont burn my exported garageband songs

    When I export my garageband song to itunes, and try and burn it to disk, a messsege pops up and says " Nothing in this play list can be burned to disk!" what is this about? I've burned other GB songs before.

  • XEmacs problems in OS 10.5.7

    After updating to 10.5.7, characters I type into XEmacs are scrambled. For example, when I enter 'bcd", I see '071' on the screen. I didn't have any problem with 10.5.6.

  • Integration R/3 4.7 -Transaction in EP 6.0 SP2 Hotfix 4 is not working !

    Hello guys, I think I really need your help. I'll working since last week on Installation of SAP EP 6.0 SP2 hotfix 4, Installed Unification Server and for R/3 too. Installed Business Packages ESS and MSS, and now I can't connect to SAP R/3 thru Suppo

  • Deleting evetns from ICal 3.0.7

    Unfortunately, I selected one of the sites that automatically had uploaded all kinds of events, and I need to get rid of them from ICal. I have selected the items and hit the Delete key but it tells me that I have read only access, how is this possib