Skip to Content
Former Member
Nov 10, 2006 at 09:05 PM

XI Business content for MDM - Syntax error in IDOC adapter


Hi mates,

I'm trying out the Master Data Harmonization scenario for Vendor data with R/3 as the client system. I'm using SAP delivered XI Business content for MDM. The mapping program is generating ADRMAS and CREMAS IDocs but the IDOC adapter reports that there is a syntax error in ADRMAS IDOC. Find below the details.



<SAP:P1>Segment 'E1BPAD1VL', segmentnumber '000001' not correct in structure ADRMAS02</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Error: Segment 'E1BPAD1VL', segmentnumber '000001' not correct in structure ADRMAS02</SAP:Stack>


Generated ADRMAS IDOC is

<i> <?xml version="1.0" encoding="utf 8" ?>



<EDI_DC40 SEGMENT="1" />








<NAME>Swift Transportation</NAME>
















Strangely, the control record is blank. I looked at the XSLT program, it is coded that way. I do not understand the reason. Is the error pointing to the control record?

Look at the code sample from XSLT mapping program

  <xsl:for-each select="IDOC/*/E1ADRMAS">
  	<IDOC BEGIN="1">
  	<!-- The header data of each single ADRMAS-IDoc needs to be there but does not require specific data -->
  		<EDI_DC40 SEGMENT="1"/>
  		<xsl:apply-templates select="."/>

How can an IDOC w/o control record be posted?

Did anyone come across this error? Whats wrong/missing?

I appreciate ur inputs.

thx in adv