Skip to content

Commit 08d9d17

Browse files
authored
Update srtti.md
1 parent b89b5e5 commit 08d9d17

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/advanced/technical/srtti.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ outline: [2, 4]
55

66
In abap2UI5, you don’t necessarily need to define your data model at design time. Instead, you can work with generic data references and apply typing dynamically at runtime based on your program logic. This is particularly useful for scenarios like tables, where different columns and table types may be displayed depending on user input.
77

8-
abap2UI5 serializes app instances to ensure stateless behavior in client communication. However, SAP’s standard transformation features are limited and do not support data references with local types created at runtime. To overcome this limitation, the project [S-RTTI](https://github.com/sandraros/S-RTTI) is integrated into abap2UI5 under the `z2ui5` namespace.
8+
abap2UI5 serializes app instances to ensure stateless behavior in client communication. However, SAP’s standard transformation features are limited and do not support data references with local types created at runtime.
9+
10+
To overcome this limitation, the project [S-RTTI](https://github.com/sandraros/S-RTTI) is integrated into abap2UI5 under the `z2ui5` namespace.
911

1012

1113
#### Standard Transformation
@@ -87,5 +89,5 @@ With generic types, the standard transformation throws an error. abap2UI5 resolv
8789
- The data is stored in a separate table.
8890
- The variable is initialized, and the standard SAP transformation is called again.
8991
- On the way back, the object is recreated, and the table content is deserialized back into the attributes.
90-
-
92+
9193
This approach ensures compatibility with dynamic types while maintaining a robust transformation process. This process works in the background and independently of the two app implementations above.

0 commit comments

Comments
 (0)