Quantcast
Channel: SCN : Discussion List - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3131

Issues in Posting Data

$
0
0

Hi all,

 

  I tried this code for  posting data but its not working i'm getting error like Method 'POSTADVERTSET_CREATE_ENTITY' not implemented in data provider class. Any other code i missed here. please correct it.. Thanks in advance.

 

 

CODE:

 

Posdata: function(evt){

 

          var oModel = this.getView().getModel();         

 

 

          var vProperties = {};         

 

        

        

           vProperties.Offid="0000366";

 

 

          vProperties.Rcins="00000043";

 

 

          vProperties.Pbdat="2015-07-30T00:00:00";

        

          vProperties.Vldat="2015-07-30T00:00:00";

        

          vProperties.Pcost="300";

        

          vProperties.Idtxt="ODATA TEST";

 

 

          vProperties.Curry="USD";

 

 

               //vProperties.Id = 0;

 

 

               oModel.createEntry("PostAdvertSet", vProperties);

 

 

       

          oModel.submitChanges(this._fnSuccess, this._fnError);        

 

 

          oModel.refresh();

 

   

},


Viewing all articles
Browse latest Browse all 3131

Trending Articles



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