Skip to Content
avatar image
Former Member

Target XSD having Recursive Node

HI All,

We are provided with Target XSD from external system and the scenario is IDoc (ORDERS05) to XML. The issue is when we import the XSD observed that the complex type of both OrderItem(Lineitem) and its OrderItem(SublineItem) is same as a result in message mapping the expansion is not happening.

i.e; OrderItem (Subline item)is Recursive node.

This is a deep nested structure, for time we have changed the subline item type to Item and continued with mapping, but the external system says the changed XSD doesn't reflect the PO Schema. If the external system cannot change their subline item type can you please let me know how to proceed in this case as the message mapping wont work(expansion for subline item is not present).

PFA, let me know if the requirement is not clear.

Regards,

Prasad K

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 03, 2014 at 06:09 AM

    Hi Prasad

    If you change the XSD in PI, then same change needs to be done for your external system as well.

    Please ask the external team to make the change and then u used it in PI. It has to be fixed from there side.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Prasad,

      If the answer is "NO"  there is not problem if you dont use a schema validation. The question is that you couldn't use the classical message mapping and you will need a XSL or JavaMapping transformation.

      Regards.

  • Jan 03, 2014 at 07:40 AM

    Hi Prasad,

    As i can see the occurrence for OrderItem is 0 to unbounded ,what you can do is disable the subline item in mapping & proceed with your mapping .

    Regards

    Gagan

    Add comment
    10|10000 characters needed characters exceeded