Quantcast
Channel: SCN: Message List - SAP Business ByDesign
Viewing all articles
Browse latest Browse all 5008

XML File Input for "Nodes" possible?

$
0
0

Hi Guys,

 

I've created a small BusinessObject with some elements and a List (node) with a string value:

 

 

businessobject PBO_UserNameObject {

  [AlternativeKey] element customerID : BusinessPartnerInternalID;

  element numberOfUsers : NumberValue;

 

        node UserNames {

            element userNameTest : LANGUAGEINDEPENDENT_LONG_Name;

        }

}

 

 

Now I've created an Integration Scenario (pid: UserNameFileImportInputRequest) for XML File Input.

Actually this works very well, but I wasn't able to create a XML file to upload more UserNames. This is my current try:

 

 

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

<ns1:UserNameFileImportInputRequest xmlns:ns1="http://00000000-one-off.sap.com/XYZ12345_">

       <MessageHeader>

            <CreationDateTime>2015-06-24T18:00:00Z</CreationDateTime>

       </MessageHeader>

 

     <List>

            <PBO_LicenseObject>

                 <customerID>CP100993</customerID>

                 <numberOfUsers>20</numberOfUsers>

               

                 <UserNames>

                      <userNameTest>test1</userNameTest>

                      <userNameTest>test2</userNameTest>

                      <userNameTest>test3</userNameTest>

                      <userNameTest>test4</userNameTest>

                      <userNameTest>test5</userNameTest>

                 </UserNames>

            </PBO_LicenseObject>

     </List>

</ns1:LicenseFileImportInputRequest>

 

 

The upload works fine, but in the "UserNames List" on the UI is only "test1" available. All other entries are ignored.

 

Anyone knows how to fix this?

 

Thanks and best regards,

Michael


Viewing all articles
Browse latest Browse all 5008

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>