on 2024 Aug 22 9:45 AM
Hello community,
I used the ABAP code exit feature as described e.g. here. I add the following two lines to my cds view:
@ObjectModel.virtualElementCalculatedBy: 'ABAP:My_Class'
cast( '' as abap.char( 256 )) as ExitResults
This works fine. However, the result is restricted to 256 characters. Is it somehow possible to get rid of this limitation and have a unlimited length for the result calculated?
Thanks for your suggestions.
Using a calculated field has slightly changed (see here).
The field can be defined with:
@ObjectModel.virtualElementCalculatedBy: 'ABAP:Z_MY_CALC_CLASS'
virtual fieldString: z_my_data_element,
The element z_my_data_element can then be of tye string
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.