Same problem in JDBC to RFC

Hi Experts,
I have an requirement is that, we are fetching the data from database table through PI, and mapping to synchronous RFC. Then, this RFC response message is mapping with the another Asynch function module and the same RFC response message is mapping with email structure.  I have already imported the email structure in External Definition.Currently I am working on PI 7.1.
1. Please suggest me that  how can I map RFC Response message to function module and the same RFC Response message to email.
2. Please let me know, how I can I handled in BPM.  Currently I am using BPM. Please suggest me, BPM steps.
Thanks,
Rajesh

Why do you post the same thread twice?
You have already replies to your first thread, what is wrong with them?

Similar Messages

  • Problem in JDBC to RFC

    Hi All,
    I have an requirement that, we are fetching the data from database table through XI, and mapping to Synchronous RFC.  Then, RFC response is send to both file and email also. I am using BPM scenario for this.  Please, let me know, how can I map with RFC response to email and file.  How can I handled in BPM scenario. Can you please suggest me steps. Currently I am using PI 7.1 EHP1 version.
    Thanks You,
    Rajesh

    you have to use in JDBC sender channel
    Please have a look at the link below
    File - RFC - File without a BPM - Possible from SP 19.
    regards
    Ninad

  • Mapping problem in message response  RFC -- xi -- JDBC

    Hi all,
    I'm using the follow scenario:
    RFC <-> xi <-> JDBC
    It's a synchronous interface.
    In JDBC the message do a SELECT in database and returns selected rows in message response.
    The message response transfers selected rows to RFC.response in the mapping.
    It seems working right but no data are transfered to RFC.
    In SXMB_MONI I can see the selected rows from database.
    There is no error in JDBC and RFC adapter. Bellow is the message response in the SXMB_MONI:
      <ns1:MT_jbdc_select_response xmlns:ns1="http://braskem.com.br/xi/sapxi03">
      <t7_productionorder_response>
      <row>
      <PRODUCT>Nafta Media</PRODUCT>
      </row>
      <row>
      <PRODUCT>Nafta Media</PRODUCT>
      </row>
      </t7_productionorder_response>
      </ns1:MT_jbdc_select_response>
    I think that there is an error in message mapping between RFC.response <-- message_response, because I'm just mapping the fields <row> and <product>, because if I make a link beteween <t7_productionorder_response> and return table of RFC, a Short DUMP happens.
    Bellow the structure of MESSAGE RESPONSE:
       <t7_productionorder_response>
          <row>
             <PRODUCT/>
          </row>
       </t7_productionorder_response>
    Bellow the structure of RFC RESPONSE:
    <RFC.response>
      <t_return>
         <item>
             <product/>
         </item>
      </return>
    </RFC.response>
    When I make a link in the mapping between
    <t7_productionorder_response> -> <t_return>
    a short DUMP happens in RFC call in R/3.
    Anyone could help me about this problem ?
    Thanks in advance
    Regis Ferrato

    Hi,
      <i>because if I make a link beteween <t7_productionorder_response> and return table of RFC, a Short DUMP happens.</i>
    After doing this mapping, did you test it in the IR mapping editor? was it successful?
    Do specify the occurence of all the headers so we can help you better.
    Regards,
    Smitha.

  • JDBC to RFC synchronous scenario (Urgent).

    Dear forum,
    My requirement is data is populated in oracle data base.we are fecthing the data from database through XI and sending it to R/3. RFC is sending the response (suceess/failure) to XI. And XI is updating the status message into database.
    For this,I have done the JDBC - RFC - JDBC syncronous scenario using BPM. .I got the successfull message under message monitering.Problem is I cannot able to find the data for RFC and JDBC reciever.
    Please find the following Configuration steps for the above scenario
    3 data types
    JDBC request, JDBC response one dummy structure to capture RFC response messages.
    3 message types for the above data types
    5 message interfaces.
    OB request,
    OB ABS request,
    IB Asyn for dummy,
    Syn ABS (JDBC req and dummy structure),
    IB JDBC response.
    4 message mappings.
    Mapping between JDBC request to JDBC request dummy.
    Mapping between JDBC request dummy to RFC request.
    Mapping between RFC response to JDBC response dummy.
    Mapping between JDBC response dummy to JDBC response.
    3 Interface Mappings.
    JDBC request to JDBC request dummy.
    JDBC request dummy to RFC request and RFC response to JDBC dummy response(Synchronous request and responce) .
    JDBC dummy response to JDBC response.
    Integration Process.
    Used following steps.
    Recieve step asynchronous -> Send synchronous -> Send asynchronous
    I can able to see the payload for sender under communication channel.But the data is not reached to RFC.can any one help me to come out of this problem.
    Points will be awarded for helpfull answers.
    Thanks & Regards,
    Naresh.K

    Hi Seshagiri,
    We are trying the same scenario with out using BPM.
    Following steps has been done in design(IR).
    2 data types for JDBC request & JDBC response.
    2 message types for the above data types.
    1 outbound synchronous message Interface.
    2 message mappings (JDBC request -> RFC request) and (RFC response -> JDBC  response)
    1 Interface Mapping.
    Could you please let me know how to maintain the collaborative profiles & and agreement details in Configuration(ID).
    Your valuable assistence is required to complete the interface.
    Thanks in advance.
    Kind Regards,
    Naresh.K

  • Problem in JDBC Adapter Mapping

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

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

  • Problem whit jdbc adapter

    hello,
    a very big problem.
    I configured in my PI 7.1 installation a JDBC - PI - rfc interface.
    When i active the jdbc comunication channel , all cpu saturated and j2ee crash.
    I try to restart java stack but is not possible
    I think the problem is on jdbc adapter but i cannot stop it if java part is down.
    There are solution for stop or delete this comunication channell from abap stack?
    does someone already had a similar problem that jdbc adapter generate a crash of system?
    thanks

    >
    Alessandro Pederiva wrote:
    > ok thanks, we try
    > which is the correct connection string for connection on SQL server??
    > i used :
    >
    > driver:             sun.jdbc.odbc.JdbcOdbcDriver
    > connection :    jdbc:odbc:Driver={SQL Server};Server=host;Database=dbname
    Are you using a JDBC-ODBC bridge type driver, I am not sure if this is supported by JDBC adapter.....
    If it is not try this,
    Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection: jdbc:microsoft:sqlserver://SQLHOSTNAME:PORT;DatabaseName=DBNAME;SelectMethod=cursor

  • JDBC TO RFC SCENARIO

    Hi,
    I am tryiing JDBC TO RFC SCEANRIO.
    XI is picking data from MS SEQUEL SERVER but
    the same data is not getting mapped into RFC
      I am not getting any error as such.
    Following are the details.
    made a datatype
    resultset
         row
         EmployeeID
         LastName
         FirstName
    message mappping
                                    RFCFORJDBC
         resultset                      outab
                row                        item
                  EmployeeID----
    Empno
                  FirstName
                               concatenate--- Empname
                  Lastname
        But for some odd reason
        the OUTTAB FOR RFC
         is coming like this in message
          <?xml version="1.0" encoding="UTF-8" ?>
    - <p3:ZZTESTXIJDBC xmlns:p3="urn:sap-com:document:sap:rfc:functions">
      <OUTAB />
      </p3:ZZTESTXIJDBC>
    while payload is getting picked correctly
    <?xml version="1.0" encoding="utf-8" ?>
    - <resultset>
    - <row>
      <EmployeeID>9</EmployeeID>
      <FirstName>Anne</FirstName>
      <LastName>Dodsworth</LastName>
      </row>
      </resultset>
    Kindl help with the same

    Hi,
    t' was namespace.
    It solved issue.
    Besides
    the sql statement
    select EmployeeID , FirstName ,LastName from Employees where EmployeeID > 7
    and the output is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <p3:ZZTESTXIJDBC xmlns:p3="urn:sap-com:document:sap:rfc:functions">
    - <OUTAB>
    - <item>
      <EMPNO>8</EMPNO>
      <EMPNAME>Laura Callahan</EMPNAME>
      </item>
    - <item>
      <EMPNO>9</EMPNO>
      <EMPNAME>Anne Dodsworth</EMPNAME>
      </item>
      </OUTAB>
      </p3:ZZTESTXIJDBC>
    but I see only one record is getting updated
    <EMPNO>9</EMPNO>
      <EMPNAME>Anne Dodsworth</EMPNAME>
    what could be the reason for that

  • JDBC to RFC  Scenario large data

    Hi,
    I have jdbc to rfc scenario. I have no problem with the small size data (about 10 mb ). if resultset is very large ( about 80 -120 mb ) , i received resultset and proceess it  but when PI try to send these data to RFC it stucks status Scheduled in sxmb_moni , and in rwb is  to be delivered and doesn't send to rfc.
    What can i do ?

    Since you are using JDBC as sender, I would think you query from the sender and resultset is mapped to RFC for the target system. PI  gives optimum performance upto 5 mb message size. YOur message size is pretty big.
    Suggestion:
    A) Make a minor change and do the query to result less records.
    Example: Select Fields from tablename where rownum < 500    and
                   in update statement set flag = true for the read records so that next time you will not reread those old records again and every time you query only for 500 or  300 or your desired number records and keep the  mesg size always constant irrespective of data available.
    Hope that helps.

  • File to JDBC Using RFC Adapter.

    Hi All,
    I've been trying to find out a scenario which is like a File-to-Database where RFC is the sender and JDBC is at Receiver end.
    Kindly guide me in:
    1) What are the steps I need to do when I use a RFC Adapter to pick a file from FTP?
    2) Are the steps same for the JDBC Adapter as we do normally in a JDBC Receiver Adapter?
    3) Is there any other configuration required for this type of scenario?
    4) If I import the RFC only I wanted to know how would the file be picked from FTP Server? Is it likewhile create a RFC we import the File from FTP server.
    My Plan of Action to do the scenario is:
    1) Import the RFC from R/3.
    2) Create the data types for target.
    3) Map them both.
    4) Use JDBC Adapter on the Receiver end.
    These are the steps which I think should be done, if there are any  other steps which I need to do, please do tell me.
    Please do let me know the steps if all the are wrong as I'm doing this type of scenario for the 1st time.
    Regards,
    Sreedhar.

    Hi,
    Though i am not very sure about your interface requirement/design but would suggest you the following links :
    Sender RFC :
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    Reciever JDBC:
    JDBC Stored Procedures:
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures 
    JDBC Receiver Adapter -- Synchronous Select u2013 Step by Step
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response - XI: How-to
    on JDBC receiver response

  • Question regarding JDBC - XI -RFC

    Hi all,
    I have a scenario which XI will get data from database (using jdbc adpater) then send data to execute in RFC. This is an asynchronous call. My question is that.
    1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
    2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
    Any suggestion from expert?
    Thanks,
    Pavin

    Hi
    1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
    Yes you can do multi mapping 1:N without BPM
    Message Splitting Using the Graphical Mapping Tool
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
    You can queue to process one by one. Response can be obtained with or without BPM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC
    JDBC to RFC Mapping Problem.
    Thanks
    Gaurav

  • RFC- XI- JDBC- XI- RFC

    Hi All,
    Can we do RFC->XI->JDBC->XI->RFC scenario without BPM?
    In this SAP-RFC executed with SELECT and Table name
    And SAP-RFC expect data from JDBC connection.
    If not then what could be the expected steps of BPM?
    Regards

    Hi,
    Are you talking about a Sync call. I mean are the Sender and Receiver RFC are the same. If it is a Sync step you can do without a BPM.
    Like RFC will initiate the process the XI and the the data is selected from JDBC and the response is given back to RFC.
    If the above is not the case you can avoide using BPM by having to separate scenarios.
    1. Scenario 1 RFC --> XI --> JDBC
    2. Scenario 2 JDBC --> XI --> RFC
    If there are some dependencies or due to some constraints if you need to use BPM then you will have the steps like
    Receiver Async(RFC)Send Sync(JDBC)Send Async(RFC)
    Thanks,
    Prakash

  • JDBC to RFC with BPM

    Hi,
    Please find details of my scenario.
    Oracle(VIEW)
    Sender JDBC--> PI--
    > RFC request
    and RFC response I need to update some other table in Oracle  using storeprocedure.
    and have one more storeprocesdure to update the View so that I will not get duplicate entry.
    I am not using UPDATE statement in JDBC sender communication channel, insted of that to update VIEW I am using storeprocedure.
    Please let me know how I can achive it with BPM.
    Thanks,
    Bhupesh

    Hi,
    1) If the structure send by JDBC is not acceptable by the BPM then you need one Mapping in JDBC ---> BPM flow.
    2) If the structure send by JDBC is same as the receiving structure of BPM then no need of Mapping.
    3) You will need one Mapping to map JDBC req message to the RFC req message; one mapping program to convert RFC response to the JDBC stored-procedure message....
    So your scenario with mappings will be:
    JDBC --> Interface Determination (Mapping Optional as per pt.1) -
    > BPM
    BPM <-> Interface Determination (Request-Response Mapping) <--> RFC
    In the above mapping program your ABS MI of BPM should have below MTs
    Req Message -
    > Original Message Received from JDBC
    Response Message ---> Message which needs to be send to the JDBC stored-procedure.
    Now your IN SYNC MI at the RFC end should have below MTs
    Req Message ---> RFC request message
    Resp Message ---> RFC response massage.
    Then in the Interface Detremination of BPM <----> RFC flow develop a IM with below mapping programs:
    Request Mapping between ---> MessageFromJDBC_to_RFCRequest
    ResponseMapping between ---> RFCResponse_to_JDBCStoredProcedure
    BPM -
    > JDBCStoredProcedure
    For this flow there is no need of Mapping program...
    using the above mappings programs you can ensure that there is no Transformation step in your BPM...this is to help you in achieving a good performance out of your BPM...
    You need a Syns ABS and Sync IN message Interface for BPM <---> RFC communication.
    Regards,
    Abhishek.

  • RFC to JDBC to RFC sync

    Hi all,
    Anyone have any link for RFC to JDBC to RFC sync scenario step by step?
    (For reverse one means JDBC to RFC to JDBC used RRBEANS configuration in sender jdbc channel and created one receiver JDBC channel.)
    What should I do for the same?
    Any suggestion?
    Thanks,
    Arthita 

    Hi Inaki Vila,
    2. Where I need to configure the RRBEANS ? In which channel?
    In the RFC sender channel, the first channel to be used. You can check it in the wiki that i mentioned above.
    Could you please provide the wiki link for the same?it ll be very helpful.
    3. Is it applicable for reverse scenario?
        Suppose JDBC is sender and I'm using one RFC. For that also no need to use any bridge (RequestResponseBean) ?
    If you want to take the data from DB source and to pass to an ECC system via RFC you wont need any bridge, you can do a normal async scenario JDBC - RFC.
    I'm asking for JDBC - RFC sync scenario where I'm using one RFC.
    Thanks,
    Arthita

  • Jdbc to rfc to jdbc scenario is not working

    Hi...
    We have done the JDBC to RFC to JDBC scenario using BPM, it was working fine in the last month. now we started testing the same scenario, that is not working. In SXMB_MONI it is showing only sender data is successful, it is not showing any RFC Receiver data & Jdbc Receiver data. in the CCM also Jdbc Sender CC is showing successfull and it is showing the successful messages also, but in RFC Receiver CC
    & JDBC Receiver CC it is not showing any thing.
    please help on this...
    Regards,
    Pasi.

    Hi
    Check u r RFC response (put external break point)
    and check wether it has data
    rgds
    srini

  • JDBC to RFC data is not showing in RFC palyoad

    Hi,
    I am doing JDBC to RFC scenario. I configured the scenario while i executed the scenario JDBC communication chennal i can see the payload and its picked the data orom Oracle.
    when i check in SXMB_MONI message showing scucess and request for message mapping i can't see any data in payload.
    I am tried to use the Test coniguration and its showing success and its connected to RFC but while running the scenario the data is not in payload.
    RFC communication chennal also showing green and when i click the message in payload i could't see any data.
    Pls help me on this
    Thanks,
    Venkat

    Hi,
    I have checked the sxmb_adm the Logging=1 and server restarted even the same msg.
    I have checked the runtime workbench the msg showing success and when i click the details the payload is empty.
    I have tested the scenario through ID with mapping
    this is the payload from SXMB_MONI
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:mt_bc_tran_sender xmlns:ns="http://testxi.com/oracle/test">
    - <row>
      <SET_ID>6</SET_ID>
      </row>
      </ns:mt_bc_tran_sender>
    Request message mapping
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:_-BIC_-CQZOMD_ZL00004000 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
    - <DATA>
    -   </item>
      </DATA>
      </ns1:_-BIC_-CQZOMD_ZL00004000>
    I have tested in message mapping and Interface mapping its working fine
    Thanks,
    Venkat.

Maybe you are looking for

  • Connection issue on new infinity

    Hi, would appreciate if anyone can shed some light on the issue I'm having. I live a fair distance from the local village, so I can't get full infinity, but I do have infinity to a certain point, then copper cable for the rest of the distance. Well a

  • Go to and not play right! - please help

    Hi - thanks for looking I'm using a movie as an umbrella app that calls in various swf files when a user clicks a button - all works fine. In the individual swf files that get called up from the above app there are a sequence of scenes that are suppo

  • "The operation could not be completed" Creating an iMovie

    Hello, Every time I go to create a Movie or project in iMovie it says, "The operation could not be completed" followed by "No other information is available about the problem." I have been recording several videos, and I need to edit them, get them o

  • Teststand how to change the status of step

    hi, All i am a beginner of  TestStand.   Now i need to run a simple case:  I have 2 Labview Programms (Vi) ,  which both use a same IP Address. Each time, only one Vi can use the IP-Address. i want to make a sequence in Teststand , which has 2 Step, 

  • Sync with my new MBP *without* losing anything and without copying itunes

    Hi. Here is what I had: iMac. iTunes library with over 10,000 songs. My iphone was synced to it. Now, what I have: A new macbook pro. With iTunes. Because this is a laptop I don't want to fill it up with 10,000 songs, so I do not want to copy the who