Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

xml to Internal table : Issue

Dear All,

I have written a program to bring the data from xml to internal table Below is the strucutre of my xml file .

- <Data>

- <MT Type="CR">

<MatType>FERT</MatType>

</MT>

- <OP Type="CR">

<MatNumber>9901040103-000115</MatNumber>

- <Activities Element="AT">

- <AT Type="CR">

<MaterialNumber>115</MaterialNumber>

<ActivityType>DEPR.</ActivityType>

</AT>

- <AT Type="CR">

<MaterialNumber>117</MaterialNumber>

<ActivityType>L.C.R</ActivityType>

</AT>

</Activities>

</OP>

</Data>

.However I am not able to handle the multiple entries which comes together . ie

- <AT Type="CR">

<MaterialNumber>115</MaterialNumber>

<ActivityType>DEPR.</ActivityType>

</AT>

- <AT Type="CR">

<MaterialNumber>117</MaterialNumber>

<ActivityType>L.C.R</ActivityType>

</AT>

Please let me know how to handle this . Thanks!

Regards,

Syed

Former Member
Not what you were looking for? View more on this topic or Ask a question