on 2024 Jan 01 12:49 PM
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.
Request clarification before answering.
I solved the problem by using the parameter %global of the reported structure.
But I notice that this parameter is not available in all versions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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-
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
49 | |
6 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.