on 06-20-2019 11:48 AM
Hi all,
I have successfully created a CDS view with annotations and made it BOPF proof.
I selected only a few records out of my Z_TABLE and added writeActivePersistence to this Table.
When I now SAVE my edited data it clears all the other fields that are not selected by the CDS.
Is there any option to just SAVE the data that has been changed? LIke you can do within a Determination.
io_modify->update(
EXPORTING
iv_node = is_ctx-node_key
iv_key = <ls_cust>-key
iv_root_key = <ls_cust>-root_key
is_data = REF #( <ls_cust>-node_data )
it_changed_fields = VALUE #(
( FIELD1 )
( FIELD2 )
( ... )
)
).
A second option is to select all the fields within my 2 CDS ( I and Consuming CDS), but what if a new field is added to the Z-table and a developer forgets to add it within the CDS aswell, then this field is always cleared by the fiori app.
Is there an option to select all ( * ) using the annotations? "@Search.defaultSearchElement: true
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.