none
WCF-SAP Unreleased Segments RRS feed

  • Question

  • The adapter "WCF-SAP" raised an error message. Details "Microsoft.ServiceModel.Channels.Common.XmlReaderGenerationException: The segment or group definition E2IDB02003 was not found in the IDoc metadata. The UniqueId of the IDoc type is: IDOCTYP/3/PEXR2002//740. For Receive operations, the SAP adapter does not support unreleased segments.

    This is the error I get when the 2 segments below are in the SAP IDOC sent to BizTalk

    Here is the Generated schema that I receive from SAP when I use the wizard.


    Whenever I remove the segment from the SAP export the file processes successfully. I have been toying with this adapter a little over a week. When I remove the segment the message comes in as Typed XML and resolves to the proper schema.  

    When I change ReceiveIDocFormat to string and used xpath I get an error :

    Reason: Object reference not set to an instance of an object. 

    How can I modify the schema so that it matches what SAP is exporting? Every configuration I try has some type of error unless I remove the segments. Unfortunately the segments are important and cannot be removed from the final version. What are my options?

     


    • Edited by JordanJ08 Monday, January 26, 2015 11:46 PM
    Monday, January 26, 2015 11:45 PM

Answers

All replies