on 2024 Mar 18 2:43 PM
I am trying to update item table duriog action in RAP application. Basically it updates the item table with internal table data. I am getting very generic error as below.
Below is the statement I am using
MODIFY ENTITIES OF Root_entity IN LOCAL MODE ENTITY Root_entity
CREATE BY \_item
FROM VALUE #( (
Root_Key = '1'
Root_Key2 = '2'
%is_draft = if_abap_behv=>mk-on
%target = VALUE #( FOR
ls_item IN lt_item INDEX INTO
idx ( %cid = idx
%is_draft = if_abap_behv=>mk-on
item_key1 = 'value1'
%control-item_key1 = if_abap_behv=>mk-on
item_data_field = 'value2'
%control-item_data_field = if_abap_behv=>mk-on
) ) ) )
MAPPED mapped
REPORTED reported
FAILED failed.
Request clarification before answering.
Issue Resolved. It was because of below statement incompatibility
%is_draft = if_abap_behv=>mk-on
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.