Skip to content

Commit 1df86a4

Browse files
authored
Update model.md
1 parent ed3c2d4 commit 1df86a4

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

docs/development/model/model.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,3 @@ ENDCLASS.
6666
::: tip **Data in Public Attributes**
6767
When using One-Way or Two-Way binding, ensure your data is stored in the public attributes of your class. This allows the framework to access it from outside. This is similar to the PBO/PAI logic, where data had to be stored in global variables.
6868
:::
69-
70-
#### Path Parameter
71-
Both `_bind` and `_bind_edit` accept an optional parameter `path = abap_true`. By default, these methods return the full binding expression (e.g. `{/XX/NAME}`). With `path = abap_true`, only the raw model path is returned (e.g. `/XX/NAME`), which is useful when you need to embed it in complex binding expressions like UI5 types or expression binding:
72-
```abap
73-
"default - returns full binding expression: {/XX/QUANTITY}
74-
client->_bind( quantity )
75-
76-
"with path - returns only the model path: /XX/QUANTITY
77-
client->_bind( val = quantity path = abap_true )
78-
```

0 commit comments

Comments
 (0)