on 02-06-2024 2:18 PM
Team,
System: S4 1909 FPS02
I am not able to get the derived types in saver methods.
Ideally the type should be something like Entity\\child but instead i am getting type data.
I have no issues with behavior handler methods
Regards,
Vishnu
Hi Vishnu,
I've just seen that you are on release 1909. In this release the derived types for saver methods are implicit, see here: https://help.sap.com/docs/abap-cloud/abap-rap/implicit-response-parameters
You'll need dynamic programing to fill the response parameters: https://github.com/SAP-samples/abap-cheat-sheets/blob/main/06_Dynamic_Programming.md
Hope this helps.
Regards,
Jessie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jessie,
Yeah i assumed the same have filled it via Dynamic programming something like below.
I saw the parent cl_abap_behavior_saver and properties were generic type and continued mapping to type data. It just confused me while referring to few tutorials. Especially in cloud version i could see derived types.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.