Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Module Pool - Error message on a Modal Dialog screen with input

smita_sapte
Member
0 Kudos

Hello All,

I have a modal dialog screen which is called on F4 help of a input field. This dialog screen has radio buttons on it to select. On selection, we check if the user is authorized to that option. If not, raise and error message with command MESSAGE msgid.....

When the error message pops-up and when clicked ok on it, the radio buttons on the modal dialog screen gets disabled. I want to have the modal dialog box to be able to accept the new radio button as input.

Can anyone please suggest.

Thanks,

Smita

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

Put all of your Radio buttons in the CHAIN ... ENDCHAIN with one module.


 CHAIN. 
    FIELD rb1. 
    FIELD rb2.
    FIELD rb3.
    MODULE check_chain ON CHAIN-REQUEST.   "<< implement logic in check_Chain
  ENDCHAIN. 

If you want, you can even disable the options before displaying the screen. Do all necessary checks in the PBO and based on that disable the options.

Regards,

Naimesh Patel

Former Member
0 Kudos

Is it legal to have an error message for a help button?

Rob

surajarafath
Contributor
0 Kudos

you can do in this way...

make your message as 'S' type..


          MESSAGE S398(00) WITH '&' DISPLAY LIKE 'E'.
          RETURN.