Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3458

create operation odata format sap ui5

$
0
0

Trying to send a complex xml in odata as a request to SMP for create operation .. createOrder to be specific.

 

For single line item in order something like below is working. But I am looking for a way to send multiple line items.. i.e., array of data

 

var orderEntry = {

   

    CreateOrder :{

       

    ShipmentReqDTO:

        {

         CdmShipmentId : "ShipDTO1",

        PurchaseOrderNumber:"1234567",

        ShipmentReferenceKey:"MOBILE0003_1",

           

        Requests: {

        ConfirmationNumber: "MOBILE0003",

        CorrelationId:"228d0",

        SoldToNumber:"000001189",

        },

        Detail: {

        PupNumber:"",

        TrailerNumber:"",

        TruckNumber:""

        }

        }

    }

};


Faster responses would be highly appreciated.


Viewing all articles
Browse latest Browse all 3458

Trending Articles



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