SOAP to RFC sync scenario

Hello members:
we have a business scenario: SOAP to RFC sync
an external system (ABC) sends documentrequest thru XI SOAP adapter and makes an RFC call to a BAPI and gets back the resposne to the ABC system.we are handling 4 mappings. 1. request msg to a common msg 2. common msg to BAPI request3.bapi response to common msg 4. common msg to response msg(which is same as the req msg)
i have the request msg and common msg as external definitions. I did the following steps and wanted to
know if i am right.
1. there are no data type & msg type needed for this
2.  4 msg interfaces
i)  document o/b sysnc
ii) document i/b sync
iii)common o/b sync
iiii) common i/b sync
3) 4 mappings
i) document to common
ii) common to bapi req
iii) bapi resp to common
iiii) common to req/response
4) 3 intf mappings
source intf**********               target intf
i)document o/b               common o/b uses mapping #1
ii)request :common i/b         bapi i/b  uses mapping #2
   resposne:bapi i/b           common i/b uses mapping #3
iii) common i/b             document i/b uses mapping # 4
pls provide your inputs if my approach is rite? do i need to have 4 msg intefaces?has any made mappings where 4 mappings are involved ( without BPM)
Thanks in advance

Hi,
I think you will have only 2 interfaces.
1. Sync Outbound interface (SOAP Structure)
    Two message types Req and Res
2. Sync Inbound interface (RFC Structure)
    Two message types Req and Res
Then two message mapping
1. SOAP Request  to RFC Request
2. RFC Response to SOAP Response
and finally one Interface mapping.
Thanks,
Prakash

Similar Messages

  • SOAP to RFC - Sync Scenario. How to find where the response is going to?

    Hello All
    I have a SOAP to RFC sync scenario.
    In SXMB_MONI,  i see that both the initial message and the response message are successfully processed.
    But, the SOAP sender is not receiving the response message.
    How can i trouble shoot this scenario? How can i findout what is going wrong?
    Most importantly, How can i find out the web address of the SOAP sender? I do not see it anywhere.
    Thanks

    Hi Chandra,
    Please check this blog.
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    You can by pass your message through a TCPIP gateway , this will help you to see the message contnet and the SOAP header information.
    TCPIPGW application is availabel in one of the SAP notes for Monitoring SOAP adapter. and 2 SAP SDN PI  blogs are also there on how to use this application...
    Regards
    Sunil.

  • Xml validation in File to RFC Sync Scenario with Validation fails message

    Hi All,
    We are using PI 7.4 (Dual Stack) the Requirement is File to RFC Sync Scenario(File <---> RFC).and need to do XML validation against XSD Schema. if any Validations fails Response message should send back to sender.RequestResponseBean standard module is using for File to RFC Sync scenario but how to send the response message to sender if any validation fails. adapter level XML validation is not helpful for this requirement. please help out me how to achieve the requirement with graphical mapping.
    Thanks in advance.

    to validate schema you cannot solve it with graphical mapping but validating the schema in the AAE or the integration engine.
    y recomend you to use the AAE validation at sender side, coz the sender system will be notified in case of schema errors.
    The response will be validated at Integration Server level.
    you can search in the forum, you will get many document about how to configure it.
    take a look to my blog: PI 7.3  - XML Validation

  • How to implement Exception Handling for soap to RFC sync interface...

    Dear Experts,
    we have an interface like soap to Rfc sync, already develepment is done and moved to production. but we are getting some quatitity is greater than item then it is throwing an error below. i want to handle that exception in XI level.
    please guide i am not found any document for this type of interface.
    Please suggest what can i do for this. Please share me the screen shot for this.
    Error Log:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_DEPOT_DISPATCH.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    <rfc:Z_DEPOT_DISPATCH.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>Delivery quantity is greater than target quantity 10.000 MT</Text><Message><ID>VL</ID><Number>363</Number></Message><Attributes><V1>10.000</V1><V2>MT</V2></Attributes></rfc:Z_DEPOT_DISPATCH.Exception>
    Regards,
    Kiran Polani

    Dear All,
    This is clearly soap to rfc interface and we are using currently PI 7.0. This is a validation of BAPI, BAPI is not accepting the field of "Quantity is some value". The quatity is greater than the amount BAPI is throwing an error like "APPLICATION_ERROR". Is it possbile to validate in XI Level.
    Soap --> XI--> BAPI(Request)
    BAPI--> XI-->Soap(Response)( in this step what ever message return by bapi those error message not getting 3 rd party application).
    here by catching that error and i should throw to 3rd party application.
    is it possible to handle this or not.?
    If it is possible in Fault Mapping/Fault message type please give me the steps or document for me.
    I am new for fault mapping?
    Please help me on this.
    Regards,
    Kiran Polani

  • Soap to proxy : sync scenario

    Hi
    Have a new PI 7.1 system , wanted to do a soap to proxy sync scenario
    Do i need to create business system for proxies or if I just create 2 business services: one for sender and other for reciever ,it would suffice?
    Is there any advantage / dsiadvantage if I use Business service instead of Business systems?
    In SLD if I just create a product /swcv : it should be good if I want to use Business service mechanism instead of Business syste, ? or is creating Technical system and Business system mandatory even if I have to configure scnearios using Business service
    Thnx

    Business Systems require technical systems/software components and products, from an organisational perspective in PI it might be a good idea to define these things for an external entity (Business System). As far as Im aware business Services do not have that same requirment.
    I tend to limit business service usage to one off or simple interaction B2B, as soon as you have more than one adapter interacting with the same external entity a business system with all of "their" adapters will help keep things clear to other people configuring integration scenario's. Whilst smart naming standard will get you around this most of the time, it makes more sense to put them together under the one system.
    Hope this helps.

  • Soap to RFC  synchronous scenario

    Dear experts,
    i am doing a SOAP to RFC(BAPI_INTERNALORDER_GETDETAIL) sync scenario and the rfc returns a structure with the records as well as the BAPIRET2 records . 
    Do i need to use fault message types here ?
    If yes what would be its purpose in this scenario ?
    Ravi

    Hi,
    if you have BAPIRET2 then all the errors will be over there
    so I guess there is no need to use a fault message
    Regards,
    Michal Krawczyk

  • SOAP to RFC synchronous scenario with File

    Hi,
    My scenario is 
    Java application is sending SOAP message to PI and PI should route that message (after converting SOAP message to XI message) to RFC.
    2) After receiving the response from RFC PI should send the response to java application. Now here comes the little tweak, we need to map RFC response to File as well apart from sending SOAP response message (which is generated after mapping RFC response message to Java application response structure) back to Java application.
    Is it possible without BPM?

    Without BPM you can try below approach, but i would recommend you to use BPM.
        Develop    SOAP---->PI(rfc look up) -
    > SOAP/JAVA application
    map RFC loop up response to SOAP receiver and JAVA application/.
    Regards,
    Raj

  • Fiel to RFC sync Scenario

    Hi Experts,
    My Scenario: EDI to RFC Synchronous scenario.(Order Status Inquiry interface-- 869/870)
    Guys could you suggest whether do i need to use BPM to achieve the output file.
    1. we have EDI struture imported from stylus studio and used two mappings as follows
    Mesage Mappings:
    EDI input request xml file (869 EDI xml File) -
    RFC request structure
    RFC response Structure -
    EDI output xml file (870 EDI XML file)
    Interface Mappings:
    one interface mapping
    My doubt was i have seen some scenarios in SDN that we can achieve sync scenarios without using BPM with the help of module configurations in the file
    adapter.
    Else do we need to go for the BPM to achieve such scenarios.
    Thanks,
    --Sai.

    Such scenarios can be easily achieved using standard SAP module Request Response bean (without using BPM)
    Chk this:
    http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
    http://wiki.sdn.sap.com/wiki/display/XI/UsingRequestResponseBeanModuleinFILE+Adapter
    Thanks
    Amit

  • File RFC sync scenario error: MsgId alredy exists in the system

    Hi,
    I am working on File RFC sysnc scenario.
    The first message that I tried to processed gave a error
    com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date ' ' has a wrong format at field REQ_DATE_H: Unparseable date: " "
    When I retried correcting the data, it started giving strange error
    Message ID 62D07CA0D3EE11DCCD36DA01C52F0606 for pipeline CENTRAL, version already exists in system.
    How to rectify this?
    XI version is PI 7.0 SP10

    Nisar,
    Which program to re-run? Are you talking about activating the channel again? If so, then I have done it many times changing the file name.
    I got below error in Communication Channel Monitoring:
    2008-02-06 02:27:39 Error Received XI System Error. ErrorCode: MSGGUID_EXISTING ErrorText:   ErrorStack: Message ID 83F8B0B0D48311DCA544DA01C52F0606 for pipeline CENTRAL, version  already exists in system
    2008-02-06 02:27:39 Error Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
    2008-02-06 02:27:39 Error Transmitting the message using connection http://xibox:8000/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
    2008-02-06 02:27:39 Error The message status set to FAIL.
    2008-02-06 02:27:39 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
    2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
    2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

  • SOAP-XI-RFC sync without BPM scenario: How to catch timeout exception in PI

    Hi all
    I made a scenario where a Webservice request was placed via XI to RFC in CRM.
    This is all done without BPM.
    Now the request came up that I have to handle undhandled exceptions from RFC such as Fatal Error, Dump in CRM etc in PI so that customer can get the idea of what happend in the Backend rather PI failing in the monitoring. I did that in CRM by catching all the exception and sending a common error message to PI.
    But another requirement is to handle Message Timeout of the RFC in PI for e.g. If the request goes to the RFC and due to the volume of the data, it gets Timed Out then neither PI nor CRM can handle this and it results in PI failing to catch this excpetion.
    I tried Fault message type but that does not help either.
    Can I get some expert advice.
    Regards
    Naina

    Include your Send_to_RFC step inside a Block...have a deadline branch for this and an Exception Branch....in deadline branch have control step (thro Exception)....in Exception Branch have a Mapping and a Send Step....this mapping will produce a message (define separate DT for this) having constant values (like timeout occured message)
    If you are fine with alert message...then instead of Mapping and Send step in Exception include a Control Step (thro alert)....alert message can be "timeout occured in receiving RFC response"
    Regards,
    Abhishek.

  • Soap(sync) to RFC(Sync Scenario ,error in response

    Dear all,
    For Sender,I created 2 message types
    request
    record
    getdetail                        1..1
    Response
    Details
    Records                       0..1
    items                             1-- unbounded
    1                                    0-1
    2                                     0--1
    3                                     0--1
    4                                     0--1
    The Rfc is imported in to Imported objects which has similar structure as source i.e same occurrences and higher levels.
    I took 2 message mappings
    1)MT request to RFC Request
    2)MT Response tp RFC Response
    Operation mapping
    req_out(MT req,MT_res)---- RFC(MT)
    The problem is while testing in operation mapping ,I am getting error in Response.
    in Message mapping as an individual mapping it is working fine(tested in mm test tab).
    I did not configure the ID,Is it required to get the response.
    if not pls provide me pointers on the same.
    We are using PI7.3,are there any changes in generating and publishing the WSDL.
    Can I use Integrated configaration for this scenario.
    If I use it where to pudlish wsdl as there will be no sender agreement to publish in SR.
    Thanks
    Pi

    Hi,
    >>>The problem is while testing in operation mapping ,I am getting error in Response.
    COnfiguration objects need to be created & test as full scenario.
    B'cos, it need to hit RFC of ECC & provide back the response.
    >>>in Message mapping as an individual mapping it is working fine(tested in mm test tab).
    so, the mapping part is working fine.
    >>>I did not configure the ID,Is it required to get the response.
    if not pls provide me pointers on the same.
    Yes. configure the ID objects.
    >>>We are using PI7.3,are there any changes in generating and publishing the WSDL.
    Not sure, but, it should be same. Create all the objects & generate the WSDL.
    >>>Can I use Integrated configaration for this scenario.
    Yes. it can be used.
    >>>If I use it where to pudlish wsdl as there will be no sender agreement to publish in SR.
    why NO SA. it should be created in this scenario.
    -santosh.

  • ABAP.INTERFACE_REGISTRATION_ERROR while run SOAP - PI - RFC - R3 scenario.

    Hi all,
    My scenario is a third party send a request (through SOAP message) to PI, then PI will made RFC call to R3 system to retrieve data.  (call BAPI_CUSTOMER_DISPLAY).
    At IR i've created.
    Namespace: http://send
    1.  Data type: DT_request (which include customer number )
         Data type: DT_response
    2.  Message type for 2 data types above.
    3.  Message Mapping for request: MT_request  => BAPI_CUSTOMER_DISPLAY and for response: BAPI_CUSTOMER_DISPLAY.response => MT_response.
    4. Service Interface: SI_BAPI_CUSTOMER_DISPLAY_REQUEST: Outbound, stateless and synchronous.
        Operator Mapping: which mapping SI_BAPI_CUSTOMER_DISPLAY_REQUEST and SI_CUSTOMER_DISPLAY_RESPONSE (please see 6).
    At business system B (on R3 WS ABAP).
    Namespace: http://rec
    5. Importing BAPI_CUSTOMER_DISPLAY rfc.
    6. Inbound Service Interface: SI_BAPI_CUSTOMER_DISPAY_RESPONSE: Inbout, statelss and synchronous (corresponding to  4.)
    And then, at ID I've created:
    7. SOAP communication channel (cc) for business system A. This cc is sender.
    8. RFC communication channel for business system B. This cc is receiver.
    9. Sender agreement, receiver determination...
    10. Generate WSDL and got the ws url is: http://sapsrv:50100/sap/xi/engine?type=entry&version=3.0&Sender.Service=BVI&Interface=http%3A%2F%2Fsend%5ESI_BAPI_CUSTOMER_DISPLAY_REQUEST
    Then,  I tried to test with XML spy but get this error:
    <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context/>
                             <code>ABAP.INTERFACE_REGISTRATION_ERROR</code>
                             <text>No implementing class registered for the interface (ABAP interface, request message SI_BAPI_CUSTOMER_DISPLAY_REQUEST, request message, namespace http://send)</text>
    PS: - I've generated all proxy at r3 system. (via tcode Sproxy)
             - And Sxmb_adm I've set Business System is Application System.
    Please help me to fix this error.
    Many thanks.

    >>ABAP.INTERFACE_REGISTRATION_ERROR
    You did not complete proxy objects coding yet.

  • SOAP to RFC synchronous scenario with File without BPM

    Hi Folks,
    I have a requirement that has to be done with out BPM!!!
    Requirement:
    Soap will trigger the request to SAP(RFC) and SAP sends the response to a file and then after SOAP has to recieve the ACK from PI.
    1) Can we do this by without using BPM
    2)Can we use without BPM module entries for SOAP Sender
    Please suggest and help me out in this
    Thanks in advance,
    Regards
    vivek

    Hi Vivek,
      Why not have the SOAP interface defined as synchronous?
    You can avoid using BPM that way.
    Best Regards,
    Ravi

  • IDOC to Soap  Webservice (Async/Sync scenario)

    is any can provide somesteps please

    Refer this thread
    Synchronous IDoc -> SOAP scenario
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • JDBC Sync - RFC Sync Scenario without BPM

    Hi Experts,
    I am using JDBC - RFC - JDBC Scnario. The concept is
    JDBC is reading data from tables and send data to RFC, after updating RFC is giving response to JDBC to update its tables.
    JDBC - RFC - JDBC.
    Is it possible to do this scnario without using BPM?
    Experts pls advise me.
    Regards
    Bala

    Hello Bala,
    These links are useful to you..
    JDBC Sender/Receiver adapter
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC&
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Thanks,
    Satya

Maybe you are looking for

  • HP Smart Web Printing (print is to small)

    How can I make the font / text size bigger? When I print a web page it's so small I can't read it. I have a HP Photosmart C8180   all-in-one printer. Help Please  :-(

  • Png not printing right

    Hi, what could be the reason that a .png is not printing as previewed in the printing-dialog ? Regards, Frank

  • 2nd Monitor ICC profile in Acrobat 9

    Hi, I have problem with iMac24" dual monitor setup and Acrobat 9 Pro. I can't get the second monitor ICC profile applied to the pdf document when dragged to the the second monitor. Had the same problem with PhotoShop CS4. I spent several day to figur

  • Using your old BT home hub phones with the home hu...

    If you want to use your old BT Home Hub phones with the new Home Hub 3. Here is a diagram showing how to do it. Using your BT Hub Phones with your Home Hub 3 It may help people to utilise their old phones. There are some useful help pages here, for B

  • Links in iWeb....

    Hi, I have explored iWeb for a while now and have a question. When you add a page it creates a "link" button which is grouped together with all the other links for your web page. (Home/Photos/Blogs...ect) Is it possible to move an individual link so