on 2025 Feb 16 8:07 PM
Hi Team,
I have a instance action where I am doing postings and collecting the error logs which are read only in the Fiori. I am trying to update the status of instances using RAP EML update and inserting the logs into custom table using normal MODIFY statement. When I use both the statements, only RAP EML update statement is working and normal ABAP MODIFY DB from internal table is not working.
ABAP EML
MODIFY ENTITIES OF zwbs_prc IN LOCAL MODE
ENTITY wbs_stg
UPDATE
FIELDS ( wbselemstatus )
WITH VALUE #( FOR ls_wbs IN rt_wbs_stg_db
( %tky = VALUE #( %key = VALUE #( prckey = ls_wbs-prc_key
zwbsuuid = ls_wbs-zwbs_uuid
)
%is_draft = if_abap_behv=>mk-off
)
wbselemstatus = ls_wbs-status
) )
REPORTED DATA(update_stg_reported).
Normal ABAP Modify
MODIFY zwbs_err FROM TABLE lt_errors.
Can anyone help me here?
Request clarification before answering.
The MODIFY table statement is not allowed during RAP interaction phase, including action handlers. Use unmanaged save and implement the MODIFY statement in save_modified method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
8 | |
6 | |
6 | |
5 | |
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.