Skip to Content
avatar image
Former Member

Is it possible to create a xml structure as given below?

Dear Experts,

Is it possible to create an xml structure as given below in SAP PI 7.5?

The xml is having an hierarchy like below and it has 3-4 different request one below the other.

<?xml version="1.0" encoding="UTF-8"?>

<XXXXXRequest ID="X" Version="XX.XX"> <ReferenceRequest CommonName="XXXXXXXXX"> <XXXXXXXXXXXXXXXXXRequest ID="123456789" Amount="100" Comment="Create structure comment" CRCode="XXX" Type="XXXXXXX" Name="ABCDEF" VXXXXX="XXXXXXXX" Validity="123344" XXXXXXType="X">

<Tag2><Rule XXXXX="A" AL="XXXXX"><Tag3>

<Tag4 XXXXXLimit="XXXX" MaxXXXX="" XXXXXX="X" CRType="X" CRCode="XXX"/><AmountRangeControl MaxAMT="XXX" XXXXX="false" MinAMT="0" CRType="X" CRCode="XXX"/><ValidityPeriod ValidFrom="Date&time" ValidTo="Date&Time"/></Tag3></Rule></Tag2> <T><TagX FieldName="Vendor Name" FieldValue="XXXX"/>

<TagX FieldName="XXXXX" FieldValue="XXXXX"/> <TagX FieldName="XXXXX" FieldValue="XXXXX"/> <TagX FieldName="XXXXX" FieldValue="XXXXX"/> <TagX FieldName="XXXXX" FieldValue="XXXXX"/> <TagX FieldName="XXXXX" FieldValue="XXXXX"/> </TagX></ReferenceRequest></XXXXXRequest>

Can you let me know how to reach this structure using graphical mapping?

BR
Vijendran S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 27, 2017 at 06:25 AM

    Hi Vijendran!

    Wouldn't you please explain what's the problem with this structure? I see one root element and multiple elements inside. Just create the same hierarchy using Data type editor.

    Regards, Evgeniy.

    Add comment
    10|10000 characters needed characters exceeded