FAB's primary container for the field values are stored in the Fields area of the application definition. For every Bound Field, this assignment should be reflected in the Fields area. FAB provides an automated way of creating the Field Name when it is assigned to the Bound Field of the element.
The Fields can be accessed in Javascript using the FAB delivered functions:
getField("fieldName")
setField("fieldName", value)
Additionally the Fields are passed to the ABAP methods in a form of [Field Name / Field Value] pair. The sample below shows the Field "BUKRS" having a value of "1000" in the method ENHANCE_DATA_BEFORE_SAVE. The rest of the fields are System fields provided by FAB.
Related articles
Add Comment