Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Form binding with oData based on input values

Hi everyone ,

In sap.m , XML view i need to display a form , in which the field values should change dynamically,

in accordance with my input and button press.

my UI looks like the below

this is my "controller.js"  code:


press: function() {



var path= "/creditData1Set?$filter=Creditcontrolarea'+' '+'eq'+' '+"'"+input1+"'"+' '+'and'+'   '+'Customer'+''+'eq'+' '+"'"+input2+"'" " ;

var frm = this.getView().byId("form_id");




but its not working

is this right way to bind oData to a Form.

pls suggest if having any idea on this.



Not what you were looking for? View more on this topic or Ask a question