Response communication for synchronous JDBC channel

Hi,
We have a Proxy->XI-> JDBC synchronous interface. Is there a necessity for a response receiver communication channel? We just set one up and it always fails with a select statement "Select * from payroll where enddate = "20081012". I never set up this SELECT statement. Just confused if I really need this response communication channel. Any ideas?
Teresa

Hey
No,you don't need a separate receiver communication channel for response.
JDBC on receiver side can support synchronous interface.
>>fails with a select statement
My guess is that either your mapping is wrong or the receiver/response message structure you have created in Data type is in wrong format.
JDBC Receiver Adapter -- Synchronous Select – Step by Step
Thanx
Aamir
Edited by: Aamir Suhail on Jul 13, 2008 10:05 PM

Similar Messages

  • RFC destination for synchronous communication (message type SYNCH)

    Hi experts,
    I am trying to configuare ALE settings.waht i did is
    My sending & receiving systems are one server with different clients.By using SALE transaction
    1.crated logical systems.(LS_800 &LR_810)
    2.Assigned those to clients.
    3.Created RFC destination
    4. Created modelview assign sending & receiving
    systems and message type.saved it.
    4.generated Partner profile.Here i am getting below problem
    Target system LR_810
    RFC destination for synchronous communication (message
    type SYNCH)
    Partner profile LR_810 SYNCH does not exist
    Generate partner profile or
    specify outbound partner profiles for message type
    SYNCH
    Target system LS_800
    RFC destination for synchronous communication (message
    type SYNCH)
    Partner profile LS_810 SYNCH does not exist
    Generate partner profile or
    specify outbound partner profiles for message type
    SYNCH
    Regards;
    Upender.

    Hi Shital;
    Thanks for your replay;
    Still am getting the Same Error;
    Thanks;
    Upender.

  • An exception handler is obligatory for synchronous RFC communication

    I am getting the error "An exception handler is obligatory for synchronous RFC communication" when I try to activate an Integration Process. Under a synchronous Send step, under Exceptions, I have System Error and the RFC.Exception Application Error to be handled. For both I have given the same Exception handler block. Is this not allowed? Why am I not able to go to same Exception handler block in case of both System Error as well as Application Error?
    Thanks

    you are right, it was erroring out due to the next step. Now if there is system error or exception, it will go to the exception branch. Here I need to have the ability to restart the process from this point after being alerted and having fixed the issue. So I am thinking of doing the send step again in the exception branch. But since the application error initially will exist soon after the alert is issued, this step will complete as I cannot handle application error a second time (this is where it was giving that error that exception handler was mandatory).
    Is there a way in which I can stop/fail the process after the exception branch gives the alert so that I can restart the failed branch again?

  • Read Queue Manager details from MQMD headers for synchronous communication?

    I have a requirement for synchronous messages between MQ and Proxy. MQ being at sender side.
    The response need to go to a queue which is a clustered queue. the Queue manager name present in the MQMD header of request. PI need to read the MQMD value from request and use it to decide the queue manager at runtime for sending the response back.
    Is it possible in PI? We have some settings for correlation id which only tells how to incoming set the correlation id & how to send it back with response.
    Thanks  for all help in advance
    Thanks,
    Sandeep

    Hi Raj,
    My requirement as below-
    The sender application specifies the response queue and queue manager in MQMD header when it send the request to PI. The response queue is same in all the cases but the response queue manager is different every time.
    PI need to read the response Queue manager details from MQMD header of request and use these details while sending the response back to sender application.
    I went through JMS adapter properties and not found helpful for above solution.
    Thanks,
    Sandeep

  • Can somone please let me know what is a safe site where i can download adobe premier pro for free as i have just started editing for a community no profit tv channel.

    Can someone please let me know what is a safe site where i can download adobe premier pro for free as i have just started editing for a community no profit tv channel.
    Thank you...

    Flash Player is free, and you might ask for help in Flash Player
    This forum is about the Cloud as a delivery process, not about using individual programs... and as far as I know, Flash Player is a different, free, download
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Lower number of JDBC channels strategy

    Hello Experts,
    I have been asked to optimize this scenario:
    There are 15 databases from which master data and sales data is queried and uploaded to BW using asynchronous interfaces with daily scheduled JDBC sender adapters. The original developers decided to segment the queries for each type of master data into 11 separate queries according to certain parameters, mainly to facilitate mappings to enrich the data.  There is a restriction: We cannot use stored procedures in the database, so the solution must be implemented using SQL Queries only.
    As a result we have 15 databases x 10 master data objects x 11 subdivisions: 1650 different JDBC channels, plus some other channels for sales data. And there is one set of the repository objects necessary for each of those channels. So you can imagine the level of redundancy in the repository too.
    What would be the best strategy to reduce the number of JDBCchannels (and possibly repo objects)?
    Is there a way to implement some kind of dynamic or intelligent query?
    Thanks in advance for your kind responses!
    -Sam.

    Hi Sam,
    Since your landscape got 15 different database there will be minimum 15 JDBC communication channel as the parameters are different from each other.
    The perferfect design will be a
    JDBC (asyn- for triggering) > BPM> JDBC (syn - to get the required data from other DB)> Transformation (if required)> ABAP proxy ( syn to upload Master Data into SAP , here you can logically separate the backend transcations using different Blocks) ---> Send back the status to client(use JDBC asyn channel)
    Regards,
    Sunil.

  • How to put Stored Procedure in Receiver JDBC channel

    Hi all,Good Evening,Iam using a JDBC to JDBC scenario in which I have to move the data from database into XI and we all know that the Interfaces which require stored procedures on Oracle database server for publishing the data needs to be called in combination of BPM & Receiver JDBC adapter.
            In this method, a dummy interface will be created for triggering the process. This interface could be designed using any adapter which works on polling mechanism (sender JDBC/File). Dummy interface will invoke a small BPM designed for each business object. BPM will make a synchronous call to Oracle database by calling underlying stored procedure. Stored procedure will return the result set by using a cursor. BPM will send this result set to target application.
            Now my question is how to put a stored procedure in a receiver JDBC channel which need to collect the data from database when BPM makes a synchronous call.
           Because it is required in my scenario,can any one tell me how and where to put stored Procedure in JDBC receiver channel.
    Thanks in advance,
    Regards,
    Prajwal

    Your action should be EXECUTE for stored procedures in Message mapping.
    <StatementName5>
    <storedProcedureName action=u201D EXECUTEu201D>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=u201Dtrueu201D] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName > 
    </StatementName5>
    action=EXECUTE
    Statements with this action result in a stored procedure being executed. The name of the element is interpreted as the name of the stored procedure in the database. If you use the optional <table> element, the value specified here is used as the stored procedure name. This enables you, for example, to define stored procedure names containing non-XML-compatible characters or characters that prevent them from being used in interface definitions in the Integration Builder/PCK.  If specified, <table> must be the first element in the block within <dbTableName>.
    The elements within the stored procedure are interpreted as parameters. They can optionally have the attribute isInput=u201C1u201C (input parameter) or isOutput=u201C1u201C (output parameter) or both (INOUT parameter). If both attributes are missing, the element is interpreted as an input parameter. The parameter names must be identical to those of the stored procedure definition.
    The attribute type=<SQL-Datatype> , which describes the valid SQL data type, is mandatory for all parameter types (IN, OUT, INOUT).
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    /people/sap.user72/blog/2005/10/15/jdbc-adapter-execution-mode-chained-or-unchained
    /people/luis.melgar/blog/2008/05/13/synchronous-soap-to-jdbc--end-to-end-walkthrough
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi

  • "Channel started but inactive" in RWB Monitor for SOAP sender channel

    Dear XI specialists,
    I have configured a communication scenario involving SOAP Adapter (sender) usage, but I'm facing the issue when testing the scenario. The problem is that none of messages are coming into the SOAP Adapter (checked via TCode SXI_MONITOR in XI) when using 3rd party SOAP-clients (XML Spy, soapUI) based on WSDL-file generated and exported from XI.
    I checked the sender communication channel for SOAP Adapter - it is activated in Integration Builder's Directory. SOAP Adapter itself is also started.
    I checked Runtime Workbench monitors and in the Communication Channels Monitor of the Components Monitor received the warning saying "Channel started but inactive" for my configured channel as well as for other channels working on SOAP Adapter.
    Activities which were performed (in the order in which they were performed and results tested):
    1. the configuration channel restart;
    2. the communication channel re-activation and further re-start;
    3. SOAP Adapter restart;
    4. XI system's Java instance restart.
    All mentioned activities didn't give any positive effect in part of this issue resolution.
    On the other hand, if I use test message functionality of the Runtime Workbench (Component Monitor), then messages are seen in SXI_MONITOR and expected response messages are also returned to XI from integrated business system.
    Would you please advise what can be checked else here and where the root of the problem may be detected?
    All your answers and feedback will be greatly appreciated and awarded accordingly.
    Many thanks in advance and my regards,
    Vadim

    Dear all,
    Thank you for your input! Unfortunately, the problem still exists after testings and checkings which you suggested.
    TO Seshagiri:
    I checked message monitor and found only several messages for the required sender/receiver services pair in the used namespace - all of them were successfully processed (these are messages which I sent by means of RWB Component Monitor's test message functionality).
    TO Sarvesh:
    Yes, sender agreement is configured properly. I configured it when configuring communication scenario in the Configuration Wizard and then manually re-checked its definition. Moreover, when performing Test Configuration in ID, I received positive results.
    TO Nallam Guna:
    I cleared Data Cache in Integration Builder, but this didn't help.
    TO Gujjeti:
    I'm on SAP NetWeaver 2004s PI 7.0. Service Pack level for PI is 13.
    TO Durga:
    Thank you for provided links! I have already had a look at them - but proposed solutions doesn't seem to be working in my situation.
    Thank you all once again for your prompt answers! I really appreciate your attempts in helping me!
    I would appreciate if you could share any further ideas on this issue.
    My best regards,
    Vadim

  • Request Response Bean for SOAP Sender Adapter

    Hi Friends,
    Is it possible to use  Request Response Bean Module described (FIle to RFC to File here) for SOAP(sender) and JDBC(receiver) adapter?
    I want to configure SOAP to JDBC to JDBC scenario.
    http://wiki.sdn.sap.com/wiki/display/HOME/UsingRequestResponseBeanModuleinFILE+Adapter
    Scenario:
    I will do SOAP adapter call Asynchronously and JDBC receiver adapter will select data from database. This response will go back to SOAP adapter and then SOAP will divert this response to another JDBC adapter. This JDBC adapter will insert data into another database.
    I do not want to use ccBPM. Is there any design approach to implement this scenario?
    Thanks,
    Sandeep Maurya

    Hi Sandeep,
    SAP says SOAP sender adapter does not support Modules. You can serch Help.sap (for SOAP sender channel) to find the same.
    I would suggest to use AXIS adapter (provides all the functionality of SOAP) and supports the Modules as well.
    I have used the Module beans that you mentioned in the past... but it is not consistent with its processing.. sometimes it stucks with Message ID issue... I have seen same issue faced some other friends as well .. search on SDN you will find the issue with these modules...
    Using BPM would be another option...
    Thanks,
    Sunil Singh

  • Synchronous JDBC adapter(receiver side) with stored procedure

    Hi experts,
    Can some database processing logic be included in receiver JDBC (synchronous) adapter...to put it simply
    I have synchronous JDBC adapter in the receiver side..Using this JDBC adapter I want to get some response back from the table..
    The requirement is not a simple fetch from the table..It involves some processing in the database side which I guess will be done by stored procedure..After this database processing , this output will be picked up by the JDBC adapter and will send to PI.
    How can this be achived ..Any Blog..
    Thanks
    Ayan

    Yes u can use stroed procedure and send back the response,
    refer this link for stored procedure structure.
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    chirag.

  • Datatype structure for receiver jdbc adapter

    what is the datatype structure while using a receiver jdbc adapter

    XML Document Format for the Message Protocol XML SQL Format
    You can modify one or more database tables by means of a message. Depending on the content of the message, you can either insert (INSERT), update (UPDATE), or delete (DELETE) the data. Results from queries (SELECT) can also be included in the response in XML format for synchronous messages. The XML document must have the following schema in this case:
    <root>
      <StatementName1>
    <dbTableName action=”UPDATE” | “UPDATE_INSERT”>
              <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2new</col2>
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName>
      </StatementName1>
      <StatementName2>
    <dbTableName action=”INSERT”>
    <table>realDbTableName</table>
    <access>
    <col1>val1</col1>
    <col2>val2</col2>
    </access>
    <access>
    <col1>val11</col1>
    </access>
    </dbTableName> 
      </StatementName2>
      <StatementName3>
    <dbTableName action=”DELETE”>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>     
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName> 
      </StatementName3>
      <StatementName4>
    <dbTableName action=”SELECT”>
              <table>realDbTableName</table>
    <access>
    <col1/>
    <col2/>
    <col3/>     
    </access>
    <key1>
    <col2>val2old</col2>
    <col4>val4</col4>
    </key1>
    <key2>
    <col2>val2old2</col2>
    </key2>
    </dbTableName> 
      </StatementName4>
      <StatementName5>
    <storedProcedureName action=” EXECUTE”>
              <table>realStoredProcedureeName</table>
    <param1 [isInput=”true”] [isOutput=true] type=SQLDatatype>val1</param1>
    </storedProcedureName > 
      </StatementName5>
      <StatementName6>
    <anyName action=” SQL_QUERY” | “SQL_DML”>
    <access>SQL-String with optional placeholder(s)</access>
    <key>
      <placeholder1>value1</placeholder1>
      <placeholder2>value2<placeholder2>          
    </key>
    </anyName > 
      </StatementName6>
    </root>
    Mudit

  • JDBC channel with encryption

    Dear experts,
    I have a requirement to update a database in a SQL Server 2008 from a PI 7.0. The communication must be encrypted. I have found this article explaining how to do for an Oracle database:
    Link:http://wiki.sdn.sap.com/wiki/display/XI/EncryptioninscenariosinvolvingJDBCAdapterwithOracleDatabase
    I have already searched SAP notes and in the Microsoft portals, but I haven't found the parameters needed that I need. Has anybody ever created a JDBC channel to a SQL Server 2008 with encryption? Any guide of what I need?
    Thanks.

    Can you try with the below URL.
    String connectionUrl =
        "jdbc:sqlserver://localhost:1433;" +
         "databaseName=AdventureWorks;integratedSecurity=true;" +
         "encrypt=true;trustServerCertificate=true";
    http://msdn.microsoft.com/en-us/library/bb879949.aspx

  • Synchronous JDBC structure

    Hi all,
    I have a scenario involving SOAP and JDBC with synchronous calls.
    I have created the source structures with request and response and have no doubt about it.
    The doubt is on the target side (JDBC),
    Have a structure as,
    Name, EmpID and location. Usually the structure for async JDBC goes as,
    Project
      -> Statementname
         -->Storedprocedurename
            -->Action
            -->Table
            -->Name
                -->isInput
                -->type
            -->EmpID
                -->isInput
                -->type
            -->Location
                -->isInput
                -->type
    The response required for this structure would be the Emp ID field. Actually, the source data will send data for Name and Location fields leaving the Emp ID field empty. After it reaches the DB, an Emp ID is generated by the Stored procedure and all the 3 fields is given back as the response with data.
    Do i have to create 2 different JDBC structures, one for request and one for response and to enter isOutput attribute in the response structure or is one structure enough and i create the isInput attributes and the isOutput attributes in the same structure.
    Help me out guys !

    Do i have to create 2 different JDBC structures, one for request and one for response and to enter isOutput attribute in the response structure or is one structure enough and i create the isInput attributes and the isOutput attributes in the same structure.
    You need seperate structure for response.
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures

  • Query On Mode Of Communication For Adapters.

    Hi All,
    Kindly let me know which adapter is compatible to which type of communication or is it like all the adapters are compatible with either mode of communication.:
    1) File:     Synchronous / Asynchronous
    2) RFC:     Synchronous / Asynchronous
    3) JMS:          Synchronous / Asynchronous
    4) Mail:       Synchronous / Asynchronous
    5) IDoc:       Synchronous / Asynchronous
    6) JDBC:     Synchronous / Asynchronous
    7) SOAP:     Synchronous / Asynchronous
    Correct me if I'm wrong.
    Regards,
    Sreedhar, Av

    Hi Sridhar,
       1.File: This adapter supports only Asynchoronous mode of communication.But if u want to use it in the combination of synchronous interfaces for instance (File 2 RFC 2 File) scenario .You have to go for BPMs where in we have to use SYNC-ASYNC bridge.
    2.RFC: Supports synchronous and asyncronous Mode depending on the type of RFC that you are going to use(Syncronous or Asynchronous RFC).
    3.IDOC: supports mpstly Asynchronous scenarios.But some times we have to deal with Acknoledgementes using additional configurations at system level.
    4.SOAP: Its used in both Synchronous and Asynchronous .But in general we go for this adapter for Syncronous communication.
    5.JDBC: suports both sync/async communication (Synchronous in case of fetching the data from the system)& (Async for updating data in the database).
    6.Mail: supports asynchronous.
    7.JMS: No idea.
    Thanks,
    Ram.

  • Synchronous Proxy to Synchronous JDBC scenario

    Hi,
    I have a scenario for a synchronous  PROXY  to a synchronous JDBC  scenario. I have set 4 message types .
    MT_PROXYOUT u2013 o/b synch with a response MT_PROXYIN
    MT_JDBC   - i/b synch with a response MT_JDBC_RESPONSE
    I then set up an interface mapping for both the request and response message interfaces. The design looks good but I got stuck in the configuration part.
    Since itu2019s a proxy sender, the sender agreement is not needed(Correct me if I am wrong). In the interface determination, there is provision for only the inbound interface which in case would be the JDBC (request/response) back to the proxy and the interface mapping is applied.
    So do I need just one interface determination from the proxy as sender and jdbc as receiver and also one receiver determination again with the proxy as sender and the jdbc as receiver. I am confused here because when I try to create a receiver determination for the response back from JDBC to proxy receiver , the interface mapping comes blank. Is it taken in account by the single receiver determination in synchronous to synchronous scenarios??
    Teresa

    Hi Teressa,
    Java Proxy to Synchronous JDBC scenario and SAP XI:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP proxies-
    Client proxy:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Cheers
    Sunil

Maybe you are looking for

  • Range Expander not working .. Desperately needed HELP

    I just bought the wireless expander yesterday. At first, i followed the instructions which came with it. As my network is WPA-enabled, i insert the CDrom to start the utility. Everything went well and the utility was able to find my network and the w

  • Proper use of one table in different business areas

    Hi We will be using certain DB tables in several business areas and we are more than one person to define them. If a table is loaded from the database for each of the business areas it will be numbered 'table 1, 2...' which does't seem very desirable

  • Yaourt suddenly asking for root password, pacman-color [NEVERMIND]

    So just a few days ago I started getting the following whenever I try to install something from yaourt: ==> Continue building boxee-source ? [Y/n] ==> -------------------------------------- ==> ==> Building and installing package ==> Install or build

  • Find a record in spread sheet

    I'm new to numbers. How can  do a searches in my spread sheet to find a text match or number match? I have iPad 3

  • Can't see my ipod in itunes

    I just upgraded to Snow Leopard on my imac and now I can't see my ipod touch in itunes! Help!