Skip to Content
author's profile photo
Former Member

IDOC to SOAP scenario

Hi all,

Need inputs on a scenario to post an IDOC in a r/3 system to a webservice, using an IDOC as sender and SOAP as receiver. Also on the other way I have to use an HTTP as sender and Idoc as receiver.

Thanks in adavance,

Regards,

Nithiyanandam

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    author's profile photo
    Former Member
    Jan 29, 2008 at 07:01 AM

    HI

    for a start to receive an IDoc into Xi you need to have some basic setting;

    In XI

    SM59 - R3 connection pointing to R3

    IDX1 - define the port with the above dest.

    In R3

    SM59 - R3 connection pointing to XI

    WE21 - define the port with the above dest.

    WE20 - Partner profile type outbound

    try refering this IDoc to File scenario - /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

    All you need to do is to replace the file adapter by the SOAP recv. adapter.

    Check this links on how to configure receiver SOAP adapter.

    http://help.sap.com/saphelp_nw04s/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/frameset.htm

    Check this links on how to configure sender HTTP adapter.

    http://help.sap.com/saphelp_nw04s/helpdata/en/bf/27fd3b651f6a1ce10000000a11402f/frameset.htm

    and this link on how to process idocs using idoc adapter.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm

    some good How-To Guides:

    https://service.sap.com/netweaver

    Verzeichnis SAP NetWeaver --> SAP NetWeaver 2004 – Release Specific Information --> How-to-Guides --> Exchange Infrastructure

    You will find your requirements solved here.

    Thnaks

    Swarup

    Edited by: Swarup Sawant on Jan 29, 2008 8:01 AM

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jan 29, 2008 at 07:16 AM

    Hi,

    There is no weblog on IDOC to webservice. But u can have a look at blogs on RFC to webservice.

    Then using above given Steps + weblogs u can build ur scenario.

    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

    Thanks,

    Maheshwari.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jan 29, 2008 at 06:58 AM

    Hello,

    To send IDOC from R3 u need to do following steps.

    In R3 :

    1.Craete Logical system for R3 say SAPR3

    2.assign client to this LS.

    3.Create Logical system for XI say SAPXI

    4.create RFC pointing to XI say R3_To_XI

    5.Crate port of type Transactional RFC say PORT_To_XI.... give RFC created in step 4.

    5.Create Partner Profile of type LS.

    Give Partner no as SAPXI (LS of XI created in step 3)

    In outbound parameters add ur Message type

    Double click on message type & give Port PORT_TO_XI created in step 5.

    6.Create Distribution Model..... Transaction BD64

    In XI :

    1. Load the metadata IDX2 transaction

    In IR import the IDOC........ no need to create Data Type, message Type & Outbound Mesaage Interface.

    Thanks,

    Maheshwari

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      there is no direct blog avaialbel for IDOC to SOAP,

      but you could the above links for configuring the IDOC as sender and SOAP as receiver.

      You need to make sure that the wsdl file you will be using for SOAP is delpoyed on WebService End.

      Also verify if any security or firewalls used for that Webservice.

      Thanks

      Swarup