cancel
Showing results for 
Search instead for 
Did you mean: 

Display a message from Custom Entity / Query Implementation Class?

sebastian_wilhelm1
Participant
0 Kudos
533

Hi Experts!

In my application, I have a popup (abstract entity) with fields with value helps. the value help of field2 needs the value from field1. 

Is it possible to display a message (no exception message) like "Please maintain field xy first" when checking the import parameter in ther query class?

the only thing I could achive is raising an exception with a message message, which appears AFTER clicking the "Cancel" Button on the popup. The message should appear as a hint, without "An exception was raised" but most import, it should appear right after klicking the search help button and not after pressing the Cancel Button.

sebastian_wilhelm1_0-1708456500180.png

Every help is highly appreciated. 

Thanks, Sebastian

sebastian_wilhelm1
Participant
0 Kudos
Is there no solution for this important topic? Errors in Popups can occur and should be displayed!

Accepted Solutions (0)

Answers (1)

Answers (1)

AbhishekSharma
Active Contributor
0 Kudos

Hi @sebastian_wilhelm1 

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...

please visit answer I posted here :

https://community.sap.com/t5/technology-q-a/messages-in-rap-list-report/qaq-p/12816418/comment-id/48... 

 

Hope this helps...

Thanks-

sebastian_wilhelm1
Participant
0 Kudos

Hi!

Thanks for you comment but in the Query Class of a custom entity, I don't have a reported parameter. Or can I create one?

BR, Sebastian

sebastian_wilhelm1
Participant
0 Kudos
Does anyone has any idea?