Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Deep Insert in SAPUI5 Frontend

$
0
0

Hi,

 

I am trying deep insert form UI5 application, but I am getting XML parser error.

In the backend abap system I am able to do deep via payload.

 

 

var oDataModel = new sap.ui.model.odata.ODataModel(metadataUrl, true);

  var deep = {

  Pernr : "10000765",

         Vorna : "Vikram",

         Nachn : "Surya",

         Natio : "IN",

//        Gbdat : ,

         ZarEmpAddr : {      

          Pernr : "10000765",

             City1 : "Mumbai",

             City2 : "MUMBAI",

             Street : "LBS ROAD",

             HouseNum1 : "12",

             County : "INDIA"

         }

  };

  oDataModel.create("/zarEmp_Set",deep,null,null,

  function(data,request){

  ......

  },function(error){

.......

  })

 

Regards,

Arun


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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