cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190293
Active Contributor
0 Kudos

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.