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

Re: Attachment Upload in SAPUI5 application through Gateway

$
0
0

var file = jQuery.sap.domById("__loader0-fu").files[0];

 

 

jQuery.ajax({

                                        type: 'POST',

                                        url: "/sap/opu/odata/sap/Z.../Files",

                                        headers: oHeaders,

 

                                        cache: false,

                                        contentType: "application/json",

                                        dataType: "json",

                                        processData: false,

                                        data: file,

                                        success: function(

                                            data) {},

                                        error: function(){}

});


Viewing all articles
Browse latest Browse all 8065

Trending Articles



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