on 08-25-2015 3:00 PM
Hi,
I have need to submit some values to SAP backend from sapui5 fronend side
here is my url that I want to submit:
/sap/opu/odata/sap/ZVACTKT_apr_SRV/ApplyRequestDecision?Comment='Enjoy'&Decision='APPROVE'&RequestNum='0000000051'
how to do that please?
var params = {};
params["Comment"] = "'Enjoy'";
params["Decision"] = "'APPROVE'";
params["RequestNum"] = "'0000000051'";
oModel.callFunction("addhoc_approval", {
urlParameters: params,
async: true,
method : "GET",
success: function (data) {
},
error: function (oError) {
}
}
);
where oModel is your Odatamodel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.