Mapping problem in SOAP response to RFC response - RFC-XI-SOAP scenario

Hi gurus,
response structure from SOAP is as below (inbound msg - in SXMB_MONI)
MONI and RWB shows successful(I am using graphical mapping)
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Inbound Message
  -->
- <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success">
- <ns0:SAP_OUT>
       <ns0:F1 Value="1234" />
       <ns0:F2 Value="2345" />
     - <ns0:SAP_LINES>
         - <ns0:SAP_LINE>
                <ns0:SAP_L Value="1" />
                <ns0:Field5 Value="" />
              - <ns0:SAP_S1>
                       - <ns0:SAP_S>
                               <ns0:ID Value="11111" />
                               <ns0:SAP__NO Value="0001" />
                               <ns0:DATE1 Value="08/15/2008 00:00:00:000" />
                               <ns0:FST/>
                         </ns0:SAP_S>
                </ns0:SAP_S1>
         </ns0:SAP_LINE>
      </ns0:SAP_LINES>
  </ns0:SAP_OUT>
  </ns0:testrequestResponse>
I make the RFC response with same structure and mapped it but it is not giving the full structure rather it is giving only this (Outbound Msg in SXMB_MONI)
  <?xml version="1.0" encoding="UTF-8" ?>
- <ns1:Z_MYRFC.Response xmlns:ns1="urn:sap-  com:document:sap:rfc:functions">
  <STATUS>Success</STATUS>
  </ns1:Z_MYRFC.Response>
what went wrong?

Hi,
You would have forgot to map parent node coming after <STATUS>Success</STATUS>
Make sure that you have properly mapped all the parents and there child.
Are you getting the same result while Testing it standalone?
Thanks
Sunil Singh

Similar Messages

  • 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.

  • RFC response from Java mapping

    Guys,
    I am RFC response in my java mapping as &lt & &gt. Any ideas why and how we can make it to get in xml < > format. The problem is parser does not identify this format.
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;rfc:BAPI_COMPANYCODE_GETDETAIL.Response xmlns:rfc=&quot;urn:sap-com:document:sap:rfc:functions&quot;&gt;&lt;COMPANYCODE_ADDRESS&gt;&lt;ADDR_NO&gt;&lt;/ADDR_NO&gt;&lt;FORMOFADDR&gt;&lt;/FORMOFADDR&gt;&lt;NAME&gt;&lt;/NAME&gt;&lt;NAME_2&gt;&lt;/NAME_2&gt;&lt;NAME_3&gt;&lt;/NAME_3&gt;&lt;NAME_4&gt;&lt;/NAME_4&gt;&lt;C_O_NAME&gt;&lt;/C_O_NAME&gt;&lt;CITY&gt;&lt;/CITY&gt;&lt;DISTRICT&gt;&lt;/DISTRICT&gt;&lt;CITY_NO&gt;&lt;/CITY_NO&gt;&lt;POSTL_COD1&gt;&lt;/POSTL_COD1&gt;&lt;POSTL_COD2&gt;&lt;/POSTL_COD2&gt;&lt;POSTL_COD3&gt;&lt;/POSTL_COD3&gt;&lt;PO_BOX&gt;&lt;/PO_BOX&gt;&lt;PO_BOX_CIT&gt;&lt;/PO_BOX_CIT&gt;&lt;DELIV_DIS&gt;&lt;/DELIV_DIS&gt;&lt;STREET&gt;&lt;/STREET&gt;&lt;STREET_NO&gt;&lt;/STREET_NO&gt;&lt;ST R_ABBR&gt;&lt;/STR_ABBR&gt;&lt;HOUSE_NO&gt;&lt;/HOUSE_NO&gt;&lt;STR_SUPPL1&gt;&lt;/STR_SUPPL1&gt;&lt;STR_SUPPL2&gt;&lt;/STR_SUPPL2&gt;&lt;LOCATION&gt;&lt;/LOCATION&gt;&lt;BUILDING&gt;&lt;/BUILDING&gt;&lt;FLOOR&gt;&lt;/FLOOR&gt;&lt;ROOM_NO&gt;&lt;/ROOM_NO&gt;&lt;COUNTRY&gt;&lt;/COUNTRY&gt;&lt;LANGU&gt;&lt;/LANGU&gt;&lt;REGION&gt;&lt;/REGION&gt;&lt;SORT1&gt;&lt;/SORT1&gt;&lt;SORT2&gt;&lt;/SORT2&gt;&lt;TIME_ZONE&gt;&lt;/TIME_ZONE&gt;&lt;TAXJURCODE&gt;&lt;/TAXJURCODE&gt;&lt;ADR_NOTES&gt;&lt;/ADR_NOTES&gt;&lt;COMM_TYPE&gt;&lt;/COMM_TYPE&gt;&lt;TEL1_NUMBR&gt;&lt;/TEL1_NUMBR&gt;&lt;TEL1_EXT&gt;&lt;/TEL1_EXT&gt;&lt;FAX_NUMBER&gt;&lt;/FAX_NUMBER&gt;&lt;FAX_EXTENS&g t;&lt;/FAX_EXTENS&gt;&lt;/COMPANYCODE_ADDRESS&gt;&lt;COMPANYCODE_DETAIL&gt;&lt;COMP_CODE&gt;0001&lt;/COMP_CODE&gt;&lt;COMP_NAME&gt;SAP A.G.&lt;/COMP_NAME&gt;&lt;CITY&gt;Walldorf&lt;/CITY&gt;&lt;COUNTRY&gt;DE&lt;/COUNTRY&gt;&lt;CURRENCY&gt;EUR&lt;/CURRENCY&gt;&lt;LANGU&gt;D&lt;/LANGU&gt;&lt;CHRT_ACCTS&gt;INT&lt;/CHRT_ACCTS&gt;&lt;FY_VARIANT&gt;K4&lt;/FY_VARIANT&gt;&lt;VAT_REG_NO&gt;&lt;/VAT_REG_NO&gt;&lt;COMPANY&gt;&lt;/COMPANY&gt;&lt;ADDR_NO&gt;&lt;/ADDR_NO&gt;&lt;COUNTRY_ISO&gt;DE&lt;/COUNTRY_ISO&gt;&lt;CURRENCY_ISO&gt;EUR&lt;/CURRENCY_ISO&gt;&lt;LANGU_ISO&gt;DE&lt;/LANGU_ISO&gt;&lt;/COMPANYCODE_DETAIL&gt;&lt;RETURN&gt;&lt;TYPE&gt;W&lt;/TYPE&gt;&lt;CODE&gt;FN021&lt;/CODE&gt;&lt;MESSAGE&gt;Address data not found for company code 0001&lt;/MESSAGE&gt;&lt;LOG_NO&gt;&lt;/LOG_NO&gt;&lt;LOG_MSG_NO&gt;000000&lt;/LOG_MSG_NO&gt;&lt;MESSAGE_V1&gt;0001&lt;/MESSAGE_V1&gt;&lt;MESSAGE_V2&gt;&lt;/MESSAGE_V2&gt;&lt;MESSAGE_V3&gt;&lt;/MESSAGE_V3&gt;&lt;MESSAGE_V4&gt;&lt;/MESSAGE_V4&gt;&lt;/RETURN&gt;&lt;/rfc:BAPI_COMPANYCODE_GETDETAIL.Response&gt;

    If you check Michal's guide on RFC Loopkup, it also comes with &lt; and &gt; chars.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/801376c6-0501-0010-af8c-cb69aa29941c#search=%22site%3Asdn.sap.com%20lookup%20rfc%22
    What happens if you output this string directly to output stream? I think XI will be able to understand it as a XML. Then, you could execute another mapping program to parse this XML and get the fields you want. In a same interface mapping, you can use more than one mapping programs.
    Regards,
    Henrique.

  • Synchronous RFC Response Not getting Mapped

    Hi,
    I am making an RFC call from XI to SAP R/3 system.
    Scenario: File -> XI -> RFC (SAP R/3)
    The request message is picked from the File Adapter, routed through XI, and an RFC call is made on the SAP R/3. The RFC Response has to be obtained in XI, transformed and persisted using the FileAdapter.
    I have created the request and response message types and message interface in the repository. The message interface is denoted as Outbound Synchronous. The Request and Response mappings have also been made against the RFC message structure.
    I also created the business process in the repository showing the interface as Synchronous between the two actions.
    However, in the Integration Builder, when I import and configure the Business Process, the wizard does not show me the response message type or the response mappings.
    After completing the configuration, the final configuration is still one-way, and only shows the request scenario.
    I am unable to configure the response scenario in the Integration Builder.
    During runtime, the request does get invoked and the RFC gets called from XI. However, the response is lost.
    What do I need to configure to capture the RFC response into XI ?
    thanks,
    Manish

    I would guess that synchronous response is the collaboration agreement between business systems, and not related to the transports available between them.
    My scenario is as follows:
    BusinessSystem1 -> XI -> SAP R/3
    The inbound document is being sent by the FileAdapter where the SenderService is BusinessSystem1.
    I have also configured another file adapter as a receiver, and this has been configured as a channel for the BusinessSystem1.
    Even in this scenario, I am unable to configure the response in the Integration Directory.
    I am able to configure the response structures and mappings in the Integration Repository.
    Any help appreciated.
    thanks,
    Manish

  • RFC Response Error in XI

    Dear team,
    In my SOAP to RFC scenario, Im facing the error.The is two message mappings in my scenario.
    One is between SOAP Req MT and RFC Import str . Second one is b/w RFC.Response and SOAP RESP MT. While Im testing with XMLSPY the request mapping is executed successfully. the RFC executes its functionality successfully in SAP[updating data in atransaction]. The RFC response should be "SUCCESS" or "FAILURE".*Even if we check RFc individually its working fine and giving response as SUCCESS / FAILURE* .
    BUT
    In my case I got the below error in MONI in Response message .The INBOUNDMESSAGE(CENTRAL)->Payload contains the below response. So obviously the response mapping failed in XI . Why im getting this error. BUT RFC functionlity working in SAP , but response getting error .
    Failure case:
    - <rfc:ZRFC_USAGE_DEC.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <Name>JCO_ERROR_XML_PARSER</Name>
      <Text>Expecting a tag to begin with '<' instead of '#', in "#F#A#I#L#U"</Text>
      </rfc:ZRFC_USAGE_DEC.Exception>
    SUCCESS case:
    - <rfc:ZRFC_USAGE_DEC.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <Name>JCO_ERROR_XML_PARSER</Name>
      <Text>Expecting a tag to begin with '<' instead of '#', in "#S#U#C#C#E"</Text>
      </rfc:ZRFC_USAGE_DEC.Exception>
    Thanks.
    -Drumi

    I have done cache refresh, cross checked MT strucures.
    SOAP Response   MT structure  is
    --->MT
    >REsponse
    RFC.REpsonse Structureis...
    --->RFC.RESPONSE
    >Response
    -Drumi

  • Wrong RFC-response filling with characters '#'

    Hi all,
    we have an XI scenario in which a Report use a synchronous RFC call to run a query on a DB table and return the resultset to the calling Report.
    Sync RFC call -> PI 7.0 -> JDBC Query (Select u2026 with ResultSet) -> PI 7.0 -> RFC Adapter
    Weu2019ve some troubles on the data returning from the resultset of the query, thatu2019s rightly filled, and the RFC-response structure because there are some '#' characters as values of the response fields.
    Weu2019ve loaded into the Message Mapping the instance of the resultset (rightly filled) and the test has run successfully, so perhaps the issue itu2019s regarding the RFC Adapter side.
    Now the mapping mapping is set up with constant values but not all the RFC-response fields are filled, infact there are some u2018#u2019 characters that break the values in more lines.
    Weu2019ve already run the full cache refresh on XI on the ABAP and Java side, also weu2019ve restarted the XI instances without results.
    Any ideas?
    Thanks in advance,
    GB

    If its due to the special characters that are popping in the result of query which does not seem to be valid for RFC response,
    1) try to make the RFC Destination Communication Setting as "Unicode"
    2) Check the data type of RFC Response structure could be the fields for which the data is mapped are of date/numeric, in that case RFC data type has to be changed.
    (you would have to reimport the RFC into PI i guess)
    3) If you feel you would not require these special character, you can filter the same in mapping.
    4) After all these if you are still struck and data types are rightly defined and rfc destination is rightly maintained for Unicode, then it i feel the problem resides in the RFC Adapter to convert the xml message into ABAP RFC Format using its metadata, in that case i recomend to change the scenario to Proxy from RFC where by the messages are routed by ABAP stack not by Java.

  • JDBC(Sender)-XI-RFC (Request) RFC (Response)-XI-JDBC(Receiver)

    Hi All,
    JDBC(Sender)-XI-RFC (Request)
    RFC (Response)-XI-JDBC(Receiver).
    Need some solution for sending email for successfully completion of scenario after updating SQL DB Table.
    Let me explain the scenario:
    We are pooling the SQL DB table to pull the records and map the records to RFC request parameters, after successful Posting the entries in R3 HR, RFC response contain the same with E (Error) S (Success) records status, we are updating the same in SQL DB table, I implemented the complete scenario without BPM with the help of module processor in Sending JDBC Adapter, scenario is working fine but now we have to send the successful mail to our support team with status contain Number of success, Error and total records as email.
    I need the solution how to implement the same requirement in current scenario.
    Is their way to do something with the RFC receiver adapter module addition to send the successful mail or generating Alert with all the description?
    I am at PI 7.0 SP12 with HP unix box.
    Thanks in Advance for creative idea
    With Regards
    Sunil

    Hi Bhavesh,
    Thanks for your help and your blog is really helpful. I implemented the UDF for generating Email Alert but this alert is generating before Updating the SQL Database, is their any way to generate alert after updating the SQL.
    Actually in my scenario we are sending the data from SQL to R3 by RFC and again updating the SQL status whatever the RFC return, after successfully updating SQL we need to send success email to support people but if we are sending the email before updating the DB then their will be problem.
    JDBC receiver after updating the SQL DB returns the response with No. of row updated but how to capture this response, if we can capture this response then we can send email through email adapter even their is one more problem, In my scenario I am counting the number of rows with status “S” and “E” and sending the same in alert email but if are sending email after updating the SQL DB where can hold the row count value and use it while sending the email.
    Implemented the scenario without using BPM..i am using sender JDBC module processor for Syn-Asyn bridge.
    Even I do not find the link to reward point. Please let me know how to do it.
    With Regards
    Sunil

  • Soap Receiver Adapter - No Response Message

    Hi, I've got the following scenario: Idoc - XI - Webservice. I've imported the WSDL from the .NET webservice and used the input and output messages in a syncronous interface.  I've setup a SOAP Receiver adapter with the Webservice details.  Everything is working fine when I call the webservice and the data is received 100% at the target system, but I am not getting ANY response back on XI.
    RECEIVER SOAP ADAPTER Audit LOG:
    2008-01-24 16:41:57 Success SOAP: request message entering the adapter with user J2EE_GUEST
    2008-01-24 16:41:57 Success MP_LEAVE1
    2008-01-24 16:41:57 Success The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
    2008-01-24 16:41:57 Success Acknowledgement creation triggered for type: AckNotSupported
    2008-01-24 16:41:57 Success SOAP: completed the processing
    2008-01-24 16:41:57 Success SOAP: continuing to response message 83638fb0-ca8a-11dc-b36c-00145eed9500
    2008-01-24 16:41:57 Success SOAP: sending a delivery ack ...
    2008-01-24 16:41:57 Success SOAP: sent a delivery ack
    2008-01-24 16:41:57 Success The message status set to DLVD.
    2008-01-24 16:41:57 Success Acknowledgement sent successfully for type: AckNotSupported
    Has it got anything to do with the "AckNotSupported" type?  Is "AckNotSupported" the default setting for the receiver SOAP adapter?  If so, where do I change this setting?
    When I call the webservice with the exact same input using a standalone tool, I get the response message back 100%.  Any help will be appreciated.
    Thanks
    Rudi

    Hey
    you are confusing between a response and an acknowledgement.
    response and acknowledgement and not one and the same thing.
    response is basically used when you send some query to the receiver system and expect a set of value(s) for your query.for e.g sending a query to a Database(JDBC) or SAP system(RFC)
    and acknowledgement is just a notification that the message was receiver by the receiver correctly,it does not returns you a set of value(s).
    now coming to your question,ALEAUDIT IDOC is generated when an IDOC is posted,since in your case you are not posting and IDOC,instead your are sending it ,i m not sure if ALEAUDIT will be generated or not,one thing that will come to your rescue is that every receiver SOAP adapter expects a HTTP response(irrespective of you explicitly asking it or not).
    a HTTP 200 means that messages were posted successfully,and HTTP 500 means application error,get this HTTP response and send it back to the SAP system,most probably you would need to use BPM for this.
    Thanx
    Aamir
    Edited by: Aamir Suhail on Jan 24, 2008 11:26 AM

  • Inserting RFC Response to Tracking table using JDBC as a receiver

    Hi All
    I want to update my tracking table with the RFC response but the problem is I cant figure out he Target structure on my JDBC.
    Every time when testing on my http://xxxxxx:50000/mdt/channelmonitorservlet I get nothing on the  "Processing Details"
    I've configured my RFC Response as a sender (ASYN) and JDBC as a receiver, I do have RFC destination and it working fine.
    My is like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:RFC_JDBC_MT xmlns:ns1="http://yonela.com">
    <StatementName_response>
    <PI_JDBC_TBL ACTION="UPDATE">
    <TABLE>PI_JDBC_TBL</TABLE>
    <access>
    <TYPE></TYPE>
    </access>
    <key>
    <key><CARRID>AA</CARRID></key>
    </key>
    </PI_JDBC_TBL>
    </StatementName_response>
    </ns1:RFC_JDBC_MT>
    Any suggestion

    Hi,
    Use Insert in the action field instead of Update and try again.
    -Supriya.

  • Strange response time for an RFC call viewed from STAD on R/3 4.7

    Hello,
    On our R/3 4.7 production system, we have a lot of external RFC calls to execute an  abap module function. There are 70 000 of these calls per day.
    The mean response time for this RFC call is 35 ms.
    Some times a few of them (maybe 10 to 20 per day) are way much longer.
    I am currently analysing with STAD one of these long calls  which lasted 10 seconds !
    Here is the info from STAD
    Response time :                10 683 ms
    Total time in workprocess : 10 683 ms
    CPU time  :                               0 ms
    RFC+CPIC time :                       0 ms
    Wait for work process           0 ms
    Processing time           10.679 ms
    Load time                            1 ms
    Generating time                   0 ms
    Roll (in) time                        0 ms
    Database request time         3 ms
    Enqueue time                      0 ms
    Number      Roll ins            0
                     Roll outs           0
                     Enqueues         0
    Load time   Program             1  ms
                      Screen              0  ms
                     CUA interf.          0  ms
    Roll time    Out                 0  ms
                      In                  0  ms
                    Wait                0  ms
    Frontend    No.roundtrips       0   
                      GUI time            0  ms
                      Net time            0  ms
    There is nearly no abap processing in the function module.
    I really don't uderstand what is this  10 679 ms processing time especially with 0 ms cpu time and 0 ms wait time.
    A usual fast RFC call gives this data
    23 ms response time
    16 ms cpu time
    14 ms processing time
    1 ms load time
    8 ms Database request time
    Does anybody have an idea of what is the system doing during the 10 seconds  processing time ?
    Regards,
    Olivier

    Hi Graham,
    Thank you for your input and thoughts.
    I will have to investigate on RZ23N and RZ21 because I'm not used to use them.
    I'm used to investigate performance problems with ST03 and STAD.
    My system is R/3 4.7 WAS 6.20. ABAP and BASIS 43
    Kernel 6.40 patch level 109
    We know these are old patch levels but we are not allowed to stop this system for upgrade "if it's not broken" as it is used 7/7 24/24.
    I'm nearlly sure that the problem is not an RFC issue because I've found other slow dialog steps for web service calls and even for a SAPSYS technical dialog step  of type <no buffer>. (what is this ?)
    This SAPSYS dialog step has the following data :
    User : SAPSYS
    Task type : B
    Program : <no buffer>
    CPU time                       0 ms
    RFC+CPIC time              0 ms
    Total time in workprocs    5.490 ms
    Response time               5.490 ms
    Wait for work process           0 ms
    Processing time             5.489 ms
    Load time                            0 ms
    Generating time                   0 ms
    Roll (in+wait) time                0 ms
    Database request time          1 ms ( 3 Database requests)
    Enqueue time                       0 ms
    All hundreds of other SAPSYS <no buffer> steps have a less than 5 ms response time.
    It looks like the system was frozen during 5 seconds...
    Here are some extracts from STAD of another case from last saturday.
    11:00:03     bt1fsaplpr02_PLG RFC     R     3     USER_LECKIT     13     13     0     0
    11:00:03     bt1sqkvf_PLG_18      RFC     R     4     USER_LECDIS     13     13     0     0
    11:00:04     bt1sqkvh_PLG_18      RFC     R     0     USER_LECKIT     19     19     0     16
    11:00:04     bt1sqkvf_PLG_18      RFC     R     4     USER_LECKIT     77     77     0     16
    11:00:04     bt1sqkve_PLG_18      RFC     R     4     USER_LECDIS     13     13     0     0
    11:00:04     bt1sqkvf_PLG_18      RFC     R     4     USER_LECDIS     14     14     0     16
    11:00:05     bt1sqkvg_PLG_18      RFC     R     0     USER_LECKIT     12     12     0     16
    11:00:05     bt1sqkve_PLG_18      RFC     R     4     USER_LECKIT     53     53     0     0
    11:00:06     bt1sqkvh_PLG_18      RFC     R     0     USER_LECKIT     76     76     0     0
    11:00:06     bt1sqk2t_PLG_18      RFC     R     0     USER_LECDIS     20     20     0     31
    11:00:06     bt1sqk2t_PLG_18      RFC     R     0     USER_LECKIT     12     12     0     0
    11:00:06     bt1sqkve_PLG_18      RFC     R     4     USER_LECKIT     13     13     0     0
    11:00:06     bt1sqkvf_PLG_18      RFC     R     4     USER_LECKIT     34     34     0     16
    11:00:07     bt1sqkvh_PLG_18      RFC     R     0     USER_LECDIS     15     15     0     0
    11:00:07     bt1sqkvg_PLG_18      RFC     R     0     USER_LECKIT     13     13     0     16
    11:00:07     bt1sqk2t_PLG_18      RFC     R     0     USER_LECKIT     19     19     0     0
    11:00:07     bt1fsaplpr02_PLG RFC     R     3     USER_LECKIT     23     13     10     0
    11:00:07     bt1sqkve_PLG_18      RFC     R     4     USER_LECDIS     38     38     0     0
    11:00:08     bt1sqkvf_PLG_18      RFC     R     4     USER_LECKIT     20     20     0     16
    11:00:09     bt1sqkvg_PLG_18      RFC     R     0     USER_LECDIS     9 495     9 495     0     16
    11:00:09     bt1sqk2t_PLG_18      RFC     R     0     USER_LECDIS     9 404     9 404     0     0
    11:00:09     bt1sqkvh_PLG_18      RFC     R     1     USER_LECKIT     9 181     9 181     0     0
    11:00:10     bt1fsaplpr02_PLG RFC     R     3     USER_LECDIS     23     23     0     0
    11:00:10     bt1sqkve_PLG_18      RFC     R     4     USER_LECKIT     8 465     8 465     0     16
    11:00:18     bt1sqkvh_PLG_18      RFC     R     0     USER_LECKIT     18     18     0     16
    11:00:18     bt1sqkvg_PLG_18      RFC     R     0     USER_LECKIT     89     89     0     0
    11:00:18     bt1sqk2t_PLG_18      RFC     R     0     USER_LECKIT     75     75     0     0
    11:00:18     bt1sqkvh_PLG_18      RFC     R     1     USER_LECDIS     43     43     0     0
    11:00:18     bt1sqk2t_PLG_18      RFC     R     1     USER_LECDIS     32     32     0     16
    11:00:18     bt1sqkvg_PLG_18      RFC     R     1     USER_LECDIS     15     15     0     16
    11:00:18     bt1sqkve_PLG_18      RFC     R     4     USER_LECDIS     13     13     0     0
    11:00:18     bt1sqkve_PLG_18      RFC     R     4     USER_LECDIS     14     14     0     0
    11:00:18     bt1sqkvf_PLG_18      RFC     R     4     USER_LECKIT     69     69     0     16
    11:00:18     bt1sqkvf_PLG_18     RFC     R     5     USER_LECDIS     49     49     0     16
    11:00:18     bt1sqkve_PLG_18     RFC     R     5     USER_LECKIT     19     19     0     16
    11:00:18     bt1sqkvf_PLG_18     RFC     R     5     USER_LECDIS     15     15     0     16
    The load at that time was very light with only a few jobs starting :
    11:00:08 bt1fsaplpr02_PLG RSCONN01                     B 31 USER_BATCH     39
    11:00:08 bt1fsaplpr02_PLG RSBTCRTE                     B 31 USER_BATCH     34
    11:00:08 bt1fsaplpr02_PLG /SDF/RSORAVSH                B 33 USER_BATCH     64
    11:00:08 bt1fsaplpr02_PLG RSBTCRTE                     B 33 USER_BATCH     43
    11:00:08 bt1fsaplpr02_PLG RSBTCRTE                     B 34 USER_BATCH     34
    11:00:08 bt1fsaplpr02_PLG RSBTCRTE                     B 35 USER_BATCH     37
    11:00:09 bt1fsaplpr02_PLG RVV50R10C                    B 34 USER_BATCH     60
    11:00:09 bt1fsaplpr02_PLG ZLM_HDS_IS_PURGE_RESERVATION B 35 USER_BATCH    206
    I'm thinking also now about the message server as there is load balancing for each RFC call ?
    Regards,
    Olivier

  • Getting RFC  response structure in XI

    All,
    I have a scanario like this,RFC>XI->file where i have to map RFC response to file.I have gone throungh some blogs for this.
    I am using RFC sender adapter.
    In my message mapping i have mapped RFC response to file structure and in my IM i have used RFC as sender interface.
    Is it fine?

    If your scenario is RFC - XI - File it is not the RFC responce but it is async RFC call.
    You call it RFC scenario when the scenario is
    send sys --- XI ----File
                      | |
                     RFC
    For a overview scenario of this scenario and structure creation have a look at my blog Impede Duplicate Files
    >>I am wonder how do we get RFC response from R3
    Both the Blogs that I replied has the sample ABAP code that is used to send the RFC message to XI.
    You can use the imported RFC in both the Message Mapping and the Interface Mapping
    Thanks
    SaNv...

  • JDBC to RFC.request and RFC.response to JDBC

    Hi all,
    I have the need of create this scenario: JDBC will pick some records from DB and send them to SAP into a RFC.request, after that, SAP will generate a response that will be sent to XI (via the RFC. response), these data has to be sent back to the DB.
    So I am clear in the first part: JDBC sender and sRFC receiver, so that, the response will be sent back to XI, BUT, is there a way to map these response data into a DT_Receiver_JDBC without using BPM????  If so, how?
    And, what about the initial loads of data???  Customer wants this kind of scenario to be used then. What do you think about that?
    I know XI is not the best approach for this purpose but...  And i think i would have to take into account the response time of SAP in synchronous RFC...
    Hope you guys may help me on this.
    Thanks in advance and best regards,
    David

    is there a way to map these response data into a DT_Receiver_JDBC without using BPM?
    No. U will have to use BPM.
    I have not used it personally with JDBC adapter but u may try this to avoid BPM. Hope it works
    http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/frameset.htm
    I know XI is not the best approach for this purpose but... And i think i would have to take into account the response time of SAP in synchronous RFC...
    For sync scenario, the response time should always be considered. However, using XI won't be that much of pain. It will surely relieve you when it comes to monitoring.
    Regards,
    Prateek

  • How to check which RFCs causing issues in the system and RFC response times

    Hi,
    We have an issue with the RFC response times in CRM and need investigstion. We need to know which Which RFCs causing issues and how we can solve the problems.
    Regards

    Hi,
    chek the below code
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_EXIST
    EXPORTING
    FILE = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    others = 5.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-* MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF W_RESULT IS INITIAL.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_EXIST
    EXPORTING
    DIRECTORY = W_FILENAME
    RECEIVING
    RESULT = W_RESULT
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    WRONG_PARAMETER = 3
    NOT_SUPPORTED_BY_GUI = 4
    OTHERS = 5.
    IF SY-SUBRC <> 0.
    ENDIF.
    ENDIF.
    IF W_RESULT = 'X'.
    RC = '1'.
    ELSE.
    RC = '0'.
    ENDIF.
    reward if helpful.
    Regards,
    nagaraj

  • Cant send msg to RFC Response

    Hi,
    I have RFC XI BPM Jdbc scenario, in which, I am raising an exception when database connection fails, and sending a message back to the RFC like "failed". But I am not getting any mapping error in the repository, but couldnot map at runtime....when I see in the Technical Workflow, I see "Mapping NOt found".
    Could you please help on this issue.
    Thanks,
    Raj.

    hi Raj,
    >>>>and sending a message back to the RFC like "failed".
    you need to map jdbc request to RFC.response
    in the <b>exception branch</b> to do the mapping correctly
    (this is the only way)
    remember to refresh the cache (SXI_CACHE)
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Slow response time HTTP= XI= RFC

    I have a HTTP call to XI BPM which makes a sync RFC call to another SAP system via SA bridge. The BPM is working fine. However, the time taken to process a transaction is about 6 seconds (not much data – about 2 lines).
    The party initiating HTTP call is not satisfied with this response time.
    Their current system (C program to SAP via API/RFCs) take about a second to respond.
    Here’s how my response time is distributed based on the WF analysis of the steps
    InfoLink_To_SAP_BPM urn:abc.com:InfoLink  Workflow started            4s
    Start Message: Receive XML from InfoLink              
    Initialize System Element
    Mapping      Step completed        0s
    Process control record read in XI            
      Send Message Synchronously  Step completed    1s
      Mapping      Step completed        0s
      Send Message Synchronously    Step completed     0s
        Mapping       Step completed    0s
    S/A Bridge: Response to Synchronous Request   1s
    It seems like the first step takes 4 sec.  Does it take this long for HTTP connect? Or is this to launch or initialize WF / BPM?
    In SAP, the RFC look .0027 secs to complete.
    Does anyone have any idea on how to improve my response time.
    Thanks!

    Hi,
    In a BPM with sych-asych bridge we did observe a 3 -4 sec processing time, its just initialization time on the workflow.
    when we approached SAP Workflow team, we were told that was the optimal time. Unless something has changed in the new SP packs!!
    cheers,
    naveen

Maybe you are looking for