Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)
Solved

Get binded fieldname

We have got a form with a lot of binded fields. When changing one of these fields we need to do some checks. These checks differ per changed field.


Is there a way to get the name of the SAP field that is binded to the field-value property? This way we can have a generic SAP method to which the changed SAP fieldname is passed.


Thanks in advance.


Thanks Andre,


I followed your lead and I am getting the binded fieldname that was changed using:


var fieldName = this.getBindingPath('value');


Thank you for the feedback,

Ricardo

Hi, Richardo.


How about scripting for the name of the field? 

oObject.getBindingInfo("propertyField"); 


Kind regards

André

Login or Signup to post a comment