cancel
Showing results for 
Search instead for 
Did you mean: 

Messages in RAP List Report

cg19821
Member
0 Kudos

Hi,

I have custom action in the List Report page, where the user can update large number of records.

In the end of the process, I want to give one message that says how many records where updated successfully and how many failed.

Using reported - the message is duplicating itself according to the number of records that were selected - also I only enter it once without tky - that is not good for me, since if I will have large number of records it will be confusing for the user.

I addition, after I close this message, I get another message that says that "The selected objects can't be processed".

I tried with and without tky, and with ISOLATED and CHANGE_SET.

Accepted Solutions (0)

Answers (1)

Answers (1)

AbhishekSharma
Active Contributor
0 Kudos

Hi cg1982

Please try using below property, but looks like you still need to put logic for combining all messages or there count...

%state_area property in your REPORTED-<ENTITYNAME> structure like below...

reported-<entity name> = VALUE #((
%tky = <record>-%tky

%state_area = 'VALIDATE_FIELD' "this can be any text just to identify state of field
%element-<fieldname to validate> = if_abap_behv=>mk-on

%msg = new_message ("update your error message").
)).

Hope this Helps...

Thanks-