Application Development and Automation 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: 
Read only

Module pool help needed

Former Member
0 Likes
700

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

7 REPLIES 7
Read only

former_member203501
Active Contributor
0 Likes
680

hi ,

after error message there is no processing of code...how can you do it after error message..

Read only

Former Member
0 Likes
680

Use message:

MESSAGE 'XXXX' TYPE 'W' DISPLAY LIKE 'E'

Regards,

Gurpreet

Read only

0 Likes
680

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.

Read only

0 Likes
680

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.

Read only

Former Member
0 Likes
680

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.

Read only

matt
Active Contributor
0 Likes
680

Please use a more informative subject in future

Read only

sridhar_meesala
Active Contributor
0 Likes
680

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