cancel
Showing results for 
Search instead for 
Did you mean: 

XSD & IDOC

Former Member
0 Kudos

Hello all,

I need to create an ORDRSP.ORDERS05 IDOC List. I exported the XSD from the ORDRSP.ORDERS05 IDOC and I am trying to modify this but without any success.

To my opion I need to create a new root element which is called ORDRSP05_LIST and change the occurences for <xsd:element name="ORDERS05"> to unbounded. But this doesn't work because that element is a compley type, so now I am stuck. I hope some in here knows what to do.

Best regards,

Guido

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I did not clearly understand your problem. But see this link:

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Is this wat you were looking for?

Regards,

Divija.

Former Member
0 Kudos

That's almost what I want, but that's the idea, what I want to do is:

Create a new Root element ORDRSP_ORDERS05_LIST and change the existing occurences for the ORDERS05 to unbounded, so basicly do this:

<xsd:element name="ORDRSP_ORDERS05_LIST ">

......

<xsd:element name="ORDERS05" minOccurs="0" maxOccurs="99999">

<xsd:complexType>

<xsd:sequence>

<xsd:element name="IDOC" type="ORDRSP.ORDERS05"></xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

.......

But in this way i get errors that I cannot do it because ORDERS05 is a complex type...

Former Member
0 Kudos

Got it fixed, thnx for the help!

Answers (0)