Skip to Content
0

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

Jul 27, 2017 at 03:12 AM

64

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Evgeniy Kolmakov Jul 27, 2017 at 06:25 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded