Skip to Content
0
Former Member
Sep 12, 2011 at 10:36 AM

Download XML file to internal table

16 Views

Hi All,

I have a requirement wherein I have to download an XML file from SAPIN directory into an internal table.

The XML file wouldhave the following format:

<?xml version="1.0" ?>

- <PositionMappings>

- <PositionMapping>

<PositionNumber>50010019</PositionNumber>

<PositionTitleKey>50010019</PositionTitleKey>

<EEOJobGroupKey>NO-06-N</EEOJobGroupKey>

<WorkLocationKey>373</WorkLocationKey>

<CompanyCode>0819</CompanyCode>

<OrgUnit>50104983</OrgUnit>

<PrimaryOrg>50078404</PrimaryOrg>

<BusinessSegment>50001751</BusinessSegment>

<Group>50104983</Group>

<Team>00000000</Team>

<SRU>90000276</SRU>

<SummaryRU>Global Downstream</SummaryRU>

<RRU>90000313</RRU>

<RollupRU>Downstream HR, VP & Staff</RollupRU>

<ERU>90001052</ERU>

<EmployeeRU>Oronite Human Resources</EmployeeRU>

<CostCenter>CCO0001573C001</CostCenter>

<PSGLow>21</PSGLow>

<PSGHigh>21</PSGHigh>

<AAP>AH</AAP>

<PSType>A</PSType>

<EmployeeGroup>1</EmployeeGroup>

<EmployeeSubGroup>01</EmployeeSubGroup>

<HiringManager>00110093</HiringManager>

<Status>0</Status>

</PositionMapping>

</PositionMappings>

Please let me know in case anybody is aware as to how to accomplish this.

Thanks and regards,

Aastha Mehrotra