none
Sending IDOC to SAP RRS feed

  • Question

  • Hi Guys,

    I am new mySAP Adapter. I am trying to send an IDOC to SAP system. When I send an IDOC I get a response back with no message parts. But I cannot see the IDOC in SAP system's incoming IDOCs list. I have tried various combinations for the EDIDC header information. But somehow i am not able to send the IDOC through.

    Any help would be appreciated.

    Thanks.
    Tuesday, May 5, 2009 6:55 AM

All replies

  • Which version of the adapter are you using ?

    Is is Microsoft Biztalk Adapter 2.0  or  the WCF-Custom  sap adapter ? 
    Tuesday, May 5, 2009 8:38 AM
  • I am using Biztalk 2006 R2 and Mysap adapter 3.0 which is WCF-Custom adapter.

    Wednesday, May 6, 2009 8:19 AM
  • Do you get some exception on Biztak or SAP side ?

    Can you enable tracing  for  SAP adapter and check if any warnings  or errors are traced by the adapter ?
    Wednesday, May 6, 2009 12:14 PM

  • Can you share more details on your control record(EDIDC information) and what your configuration in SOAP Action header under the Binding tab in Send port.

    - SHR
    Monday, May 11, 2009 8:52 PM
  • Binding is all default except for autoConfirmSentIdocs="true"

    The EDI_DC40 looks like this

     <EDI_DC40 xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/ACC_DOCUMENT02//640">
      <TABNAM xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">EDI_DC40</TABNAM>
      <MANDT xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">200</MANDT>
      <DOCNUM xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <DOCREL xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <STATUS xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <DIRECT xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">1</DIRECT>
      <OUTMOD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">2</OUTMOD>
      <EXPRSS xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <TEST xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <IDOCTYP xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">ACC_DOCUMENT02</IDOCTYP>
      <CIMTYP xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <MESTYP xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">ACC_DOCUMENT</MESTYP>
      <MESCOD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <MESFCT xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <STD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <STDVRS xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <STDMES xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <SNDPOR xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <SNDPRT xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">LS</SNDPRT>
      <SNDPFC xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <SNDPRN xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">BZTHRPDEV</SNDPRN>
      <SNDSAD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <SNDLAD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <RCVPOR xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <RCVPRT xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">LS</RCVPRT>
      <RCVPFC xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <RCVPRN xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/">ARDCLNT200</RCVPRN>
      <RCVSAD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <RCVLAD xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <CREDAT xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <CRETIM xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <REFINT xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <REFGRP xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <REFMES xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <ARCKEY xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      <SERIAL xmlns="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" />
      </EDI_DC40>
    Wednesday, May 13, 2009 9:17 AM
  • BizTalk receives a response message with the GUID. But I am not able to see the IDOC in SAP. I also enabled tracing. But there are only information events... no warnings or errors.
    Wednesday, May 13, 2009 2:09 PM

  •  Check couple of thing, pass SNDPOR and RCVPOR in the IDOC. If you are using SEND operation of the IDOC then in Send port under General tab->SOAP action header should have YourIDOCschemanamespace/Send ex:- http://Microsoft.LobServices.Sap/2007/03/Idoc/3/ACC_DOCUMENT02//700/Send. If you are using SendIDOC operation then its different. If you are not setting the operation value or binding in not set to correct IDOCformat ex:- typed, string or RFC or the message body is not set correctly you wont see the data in SAP but will get a GUID response as success. Because your not passing any data to SAP but just making the call. Let me know.

    -SHR

     

    • Proposed as answer by edhickey Friday, May 22, 2009 8:55 PM
    Thursday, May 14, 2009 1:05 AM