‎2009 Apr 25 12:11 PM
Please use a more informative subject in future
hi Experts
In my module pool program i having a list box in a modeled dialog box . if the list box is left empty it will give an error message .after pressing the enter buttton the list box gets disable . in which i want enable after pressing enter . how can i achive it .
regards
chinnaiya
Edited by: Matt on Apr 27, 2009 10:27 AM
‎2009 Apr 25 12:27 PM
hi ,
after error message there is no processing of code...how can you do it after error message..
‎2009 Apr 25 12:31 PM
Use message:
MESSAGE 'XXXX' TYPE 'W' DISPLAY LIKE 'E'Regards,
Gurpreet
‎2009 Apr 26 8:50 AM
You can use this
MESSAGE E(000) <class name>.
leave list-processing. " This will again allow you to return and edit.Regards,
Lalit Mohan Gupta.
‎2009 Apr 26 9:16 AM
Hi,
In the message type you must be giving message type as 'E' that is why it is coming as Disabled.
Make it as type 'I'.
Hope it will work.
Regards,
Nitin.
‎2009 Apr 26 10:19 AM
If you want the field to be input enabled even if the error occurs then define that field in your PAI withing CHAIN... ENDCHAIN.
For example, if field1 is the field.
CHAIN.
DATA : FIELD1 TYPE C.
ENDCHAIN.
This will allow you to enter the value even if the error occurs.
‎2009 Apr 27 9:27 AM
‎2009 Apr 27 10:10 AM
HI,
Do the following to solve your problem.
In the screen flow logic after "process after input" write the following:
CHAIN.
FIELD fieldname MODULE chk-fieldname.
ENDCHAIN.
Now create a module chk-fieldname in F01 and write your code there.
So now even if there is an error also your field will not be disabled.
Hope this helps you.
Thanks,
Sri...