cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAPUI5 callFunction not executed

jakob_steen-petersen
Contributor
4,316

Hi

I have an oData model with an Import Function to check an order. I use this code to call it:

        var oModel = this.getView().getModel();
        oModel.callFunction("/CheckOrder", { "Aufnr" : Order },        
        function(oData, response) { return response;  }, 
                  
        function(oError){} );   

But the function os not called? When i check trace i don´t se any calls - not even erronous calls?

What is wrong?

View Entire Topic
junwu
SAP Champion
SAP Champion

did you check the api how the call should be?

don't write code by imagination.....

jakob_steen-petersen
Contributor
0 Likes

Could you please elaborate your comment?

jakob_steen-petersen
Contributor
0 Likes

It is quite funny to check your profile: allmost all your answers is just stupid comments that do not help anybody... I really cannot understand why you are spending your own and all of ours time?

junwu
SAP Champion
SAP Champion
0 Likes

check api, is it that hard to under standard?

if you are a abaper, when you call rfc/bapi whatever, how you know what parameter you need to put.... how you do? check api, right?????