Proxy to JDBC Synchronus with ccBPM

Hi  Experts,
my scenario is : Proxy to JDBC Synchronus with ccBPM
we are fetting data from ECC to PI and same data inserting into DataBase Table Name : ABC  via JDBC
after 2 mins i need to get same data from DataBase Table Name : ABC  and sending back to ECC with ccBPM.
what are BPM steps required for this requirement and i need to handle the exception handling with control step also.
Table name is same Table Name : ABC in DataBase for request data and response data.
Please anybody help me on this requirement, i am new to BPM scenarios.
Thanks,
Aadi

Hi,
Have you checked the JDBC XML request?, you need to check that the XML has all the company codes in the SELECT.
Regards.

Similar Messages

  • Proxy to JDBC Sync, with Idoc Receiver

    Hello all,
    I have to set up following synchronous scenario.
    PROXY -> PI -> JDBC   |   JDBC -> PI -> PROXY
                                           JDBC -> PI -> IDOC
    In other words, I need that the response from the JDBC Receiver adapter is sent back to R3 to an IDOC and the originating PROXY.
    How can I achive this? I mean how can I send the synchronuos response back to the originating PROXY, and in the other hand send an asynchronous message to the IDOC.
    This is a message with a large quantity of info, so I'm not sure what to use or how to use it.
    Thanks for your help.
    Felipe

    Hi Felipe
    PROXY -> PI -> JDBC | JDBC -> PI -> PROXY
    JDBC -> PI -> IDOC
    The message to the IDOC need to be sent from response ?
    Is your proxy SYNC?
    Use a BPM for this
    1. receive the message from Proxy.(SYNC)
    2. Send it to JDBC (SYNC)
    3. Map the proxy request to JDBC request and JDBC response to Proxy response.
    4. Send the JDBC response to IDOC
    Thanks
    Gaurav

  • Proxy to JDBC interface with multiple select queries

    Hi all,
    We have to develop a interface where SAP will be sending a Number based on which we have to fetch the data from the database and send it to back to the SAP system.
    The data in database is spread across 6-7 tables/views and canu2019t be fetched using a single query even with joins.
    Can anyone please suggest the best way to develop this interface.
    As it would be a synchronous interface, I think it is not possible to use multimapping.
    Regards
    Younus

    >They have confirmed that they can't create a stored procedure but can create PL/SQL program or function with the same logic.
    IMO, it is not fully feasible to call the oracle function from PI. I would recommend still to use query and construct the following jdbc data structure.
    <StatementName>
    <anyName action=u201D SQL_QUERYu201D
    <access>SQL-String with optional placeholder(s)</access>
    <key>
      <placeholder1>value1</placeholder1>
      <placeholder2>value2<placeholder2>
    </key>
    </anyName > 
    </StatementName>
    Place your complex join query in the access tag element. Under key tag you can pass values through placeholder element and reference the placeholder element as follows. Sample as follows...
    <statement>
        <Customers action="SQL_QUERY">
          <access> Select x,y,z from customers1 a, customers2 b,customers3  c, where a.CompanyName=u2019$NAME$u2019 and b.CustomerID='$KEYFIELD$u2019
          </access>
          <key>
            <NAME>Company</NAME>
             <KEYFIELD>CO</KEYFIELD>
          </key>
        </Customers>
      </statement>

  • Proxy to JDBC (Synchronus interface)

    Hi Experts,
    i am sending the request  to JDBC DataBase  for C028 (company code ) getting the response like C028 Record data from JDBC Successfully.
    but while sending the multiple company codes like: C028,C043,C097 ,i am not getting the response for multiple company codes data.
    Please help me on this ,it will be great.
    Thanks,
    Aadi

    Hi,
    Have you checked the JDBC XML request?, you need to check that the XML has all the company codes in the SELECT.
    Regards.

  • 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

  • File---- XI----- JDBC(synchronus)---- transformation-------- Proxy ??

    can  u tell me,
    if i have scenario with multiple receivers,
    file-->XI->JDBC(synchronus)>transformation--
    >Proxy
    i want to make it without BPM,
    how can i do that,
    coz, without BPM, how will the sequence of those two receivers(JDBC and Proxy) be specified, coz in my ID, when i do receiver determionation for the two receivers, how will the sequence be maintained....

    Your scenario isn't simply multiple receivers, as you have also multiple senders (JDBC here plays as receiver and sender).
    You can't do it properly without BPM.
    And by properly I mean maintaing all the correct logical routing steps (receiver/interface determination etc).
    What you could do is a File2Proxy async scenario and in mapping you could perform Lookup in DB. That is only way of achieving it without BPM.
    Regards,
    Henrique.

  • Sender ABAP Synchronous proxy -- PI -- JDBC sync scenario pls!!

    Hi Guys,
    Can any one help to find one sample scenario like ABAP Proxy --> PI --> JDBC Sync call ? Sync ABAP proxy sample code any 2 or more filelds going from ABAP proxy and maps on JDBC sync request, up date target side SQL server database tables, in case if any error happens error/success message must go back to SAP one Z table with response.
    Any help would be really great!!
    Many thanks in advance
    San

    up date target side SQL server database tables, in case if any error happens error/success message must go back to SAP
    one Z table with response.
    When you do an update you can get back the number of rows updated in the JDBC response....you can find this in the help page showing JDBC structure. If you are looking for any other response then probably the message needs to be genarated by PI itself after checking the response from JDBC.
    Regards,
    Abhishek.

  • ABAP Mapping for Error handling in Proxy to JDBC

    Hi All,
    I am working on a proxy to jdbc scenario in which we have to throw validation errors to NWPM(Net Weaver Process Monitor Tool)
    I am following the below steps,
    step 1 - In message mapping a UDF is created to catch errors and store them in a variable using  dynamic configuration
    step 2 - writing abap mapping for handling this thrown exception and im reading the dynamic configuration in the abap class and raising exception. The exception format expected is
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1>ZPI_THROW_EXCEPTION</SAP:P1>
      <SAP:P2>001</SAP:P2/>
      <SAP:P3>Mandatory field is missing[BUKRS] </SAP:P3>
       <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have written the following ABAP code to achieve this:
    method IF_MAPPING~EXECUTE.
      DATA l_record type mpp_dynamic.
    DATA error type String.
    getting dynamic configuration value
    filled in by any previous mapping
    CALL METHOD DYNAMIC_CONFIGURATION->GET_RECORD
      EXPORTING
        NAMESPACE = 'http://sap.com/xi/XI/System/ERROR'
        NAME      = 'ERROR'
      RECEIVING
        RECORD    = l_record.
    error = l_record-value.
    *raising exception with our message
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '001'
        ERROR_TEXT = error .
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '003'
        ERROR_TEXT = error .
    endmethod.
    I am gettign the following message for our code:
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Could you please help in finding the solution for getting currect error message from ABAP class?
    Edited by: SwethaC on Jan 21, 2011 8:18 AM

    The error is due to RFC Call fail from PI system to your ECC Application System.
    Check your RFC Destination for ECC System type 3 in PI System.
    When you are receiving data from ECC System using Proxies & again you are going to ECC System for Validation.
    Why you are not doing this validation on ECC System only in your proxy code ?
    In your proxy code, it will be much better for performance to check your data there on same system.

  • An error Handling in Asynchronous Proxy to JDBC Scenario?

    Hey,
    In my scenario, we'll send data from erp to third-party database.
    If it occurred an error while saving the data to database, I want to manage that error in ERP.
    Is it possible to make this scenario with asynchronous proxy to JDBC?
    If it was possible, how should do I?
    Thank you,

    Also
    go thru the following thread (Similar problem discussed)
    Re: RFC to JDBC response
    regards
    krishna

  • Proxy-Soap-Jdbc  Async/Sync Bridge

    Hi,
    I have proxy soap requestsoap response-jdbc syncronous scenario. i have used async/Sync bridge for that.
    I m getting NO_RECEIVER_CASE_ASYNC, No receiver could be determined error.
    I have created :
    2 Datatype for proxy sender and jdbc receiver and 2 MT
    6 Service interface :
            one abastract syncronous for proxy sender and jdbc receiver
            one abstract asyncronus for proxy sender
            one outbound asyncrous for proxy sender
            one abstract asyncronus for jdbc receiver
            one inbound asysncronus for jdbc receiver
            one abstract syncronous for SOAP request and response
    2 message mapping for request and response
    1 operation mapping  using  abastract syncronous for proxy sender and jdbc receiver with   abstract syncronous for SOAP request and response
    BPM steps
    two container request and response
    receiver- send1- send2
    receiver for asyncrous and file request
    send1 for syncrouns for request and response
    send2 for asyncrouns response.
    Activated the IR.
    ID Part.
    Imported BPM from Design and created two business component one for SOAP receiver and one for proxy sender and jdbc receiver.
    Created 3 Reciver Determination as proxy sender to bpm, bpm to soap, bpm to jdbc receiver.
    Created 3 IInterface Determination as proxy sender to bpm, bpm to soap, bpm to jdbc receiver.
    Created 2 Receiver Agreement as  bpm to soap, bpm to jdbc receiver
    Activated and run the proxy . in sxmb_moni i m getthing No receiver could be determined error.
    I have checked the BPM ,No semantic errors found.
    cleared the cache with sxi_cache and full refresh url.
    Please suggest me with above details.
    Regards
    Laxmi Bhushan Jha

    like in operation mapping we have abstract syncronous interface which has proxy as sender and jdbc as response
    receiver to SOAP reuest and response...
    Either of us seem to be confused!
    This is your scenario (as per my understanding)
    Receive (Proxy_message) --> Transformation --> Send (Mode = Sync...SOAP message) --> Transformation --> Send (mode = Async..JDBC req)
    If the requirement is correctly understood by me then:
    You should have one ASYNC-Outbound and ASYNC-Abstract interface for your Proxy-side.....proxy to be developed on the ASYNC-Out interface.
    You should have a SYNC-ABS and SYNC-IN interface for SOAP req and resp.
    You should have one ASYNC-IN and ASYNC-ABS interface for your JDBC side.
    Mapping to be developed between PROXY_Async and SOAP_Req_Async & SOAP_Resp_Async and JDBC_Async.
    Regards,
    Abhishek.

  • BPM flow Proxy to File and then Acknowledgement back to Proxy or JDBC.

    hi All,
    I have to create an BPM scnario to get acknowledgement from receiver file adapter.
    Steps created in BPM are:
    receive -> send (Transport Acknowledgement is selected) as per blog /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments
    Now what i want to do is whenever any type of acknowledgement is obtained i need to send success or failure message to proxy or JDBC(have alreay seen how to request for acknowledgements through client proxy).
    What i need to do in order to achieve this scenario?
    Thanks,
    Mayank

    hi,
    If we are getting exception for some reason and error text as visible in moni  for example is:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while retrieving an FTP connection from the connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: ConnectException: Connection timed out: connect</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
    Is it possible to capture Additional Text somewhere in BPM, so that in case if deadline limit is exceeded we can send exception text back to the sender?
    thanks.

  • PROXY TO JDBC scenario

    Hi All,
    I am working on PROXY to JDBC scenario upto yesterday its working fine.
    Today I, am getting "Time limit exceeded" error in QRFC monitoring  and message showing with GREEN COLOUR FLAG (RECORDE) in PI SXMB_MONI.
    Please help me to salvoes this error.
    Thanks and Regards,
    MFH

    Hi All,
    First of all thanks for all your early replays....
    "TIME LIMIT EXCEEDED" QRFC Problem is indicates that when we processing large volume of messages to external or internal systems in this case specified time limit in SM59 is not enough to process the message so that please increase TIMEOUTS...TIME LIMIT EXCEEDED error will be solved.
    With Regards,
    MFH

  • Proxy to JDBC a small issue

    Hi friends,
    I had a scnario where i am using proxy to JDBC this is sync scnario. when i am triggring the proxy with help of a report.
    If the data is present every thing is working fine.. in one case if data is not there in the sender side . mean payloade is blank then the interface is throughing error. the error is..
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards
    Viajy

    Hi Vijay,
    1. Your target message to JDBC adapter should look like-
      <StatementName2>
          <dbTableName action=u201DINSERTu201D>
             <table>realDbTableName</table>
             <access>
                <col1>val1</col1>
                <col2>val2</col2>
             </access>
          </dbTableName> 
      </StatementName2>
    So change the mapping/data type as requried.
    2. Go to the runtime workbench and check the JDBC communication channel error messages. It will give you enough information as to what causes the error.
    Regards.

  • Proxy to JDBC scenario data to be fetched from two dB

    Hello all,
    we have a  requirement in which  the data is sent from an abap program and using PI it will fetch the data from DB at client side,
    and we need to display the data in the report program.
    As we need the real time data and need to be displayed back in the Report program the processing time should be less than 30 sec.
    We have tried the scenario using synch Proxy-synch jdbc and we are getting the data with in time but we tried this with 1 DB.
    But now we have requirement change and  we need to look the data in 2 Data bases.
    we need to pass data through  client proxy(Synch) to PI and it should check the data in 2 DB and send back the data.
    the data sent back from the DB, we need to show in our ABAP program.
    Please send in your inputs so that i get some pointers regarding this requirement.
    Thanks
    Karandeep Singh

    HI Vijayashankar,
    Thanks for your reply.
    Please brief me the steps for using fork in BPM.
    Thanks
    Karandeep Singh.

  • 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

Maybe you are looking for

  • PO is not creating in system

    Hello Experts, Iu2019m trying to create a PO through u2018BAPI_PO_CREATE1u2019. Iu2019ve gathered all the structure and fields which this bapi needs to create PO. When I call this BAPI in my report program the whole code get execute but I never get a

  • Issue with Oracle LONG RAW data type

    Hi All, I am facing some issues with Oracle LONG RAW DATA Type. We are using Oracle 9IR2 Database. I got a table having LONG RAW column and I need to transfer the same into another table having LONG RAW column. When I tried using INSERT INTO SELECT *

  • Open with (app) menu in context menu?

    The firefox android don't prompt anything, when i click on online video link, other browsers will play the (*.flv;*.mp4;*.mp3) online files, or at least prompt a question for which app need tap to open it. FF dont have some add-on or so to make the u

  • I need Badi for PO Before save.

    Hi Abappers, i want Badi name for PO Before save. Regards, vani.

  • Wi-Fi doesn't connect after update to 2.0

    My iPod touch worked fine on Wi-Fi before the update, now it won't connect. Just says "Unable to join the network". Have tried on WEP, WPA and no security, same message each time. The router is a Linksys WAG54G V.3 Firmware Version: v1.00.22. My MacB