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

How to keep fields open for input with Error Message

Former Member
0 Likes
522

Hi

How can i keep the input fields on the screen open for input even after an error message is displayed ?

I don't have to take care of this is in Reports , but in Module pools(Dialogue Programming) i want the fields to be open .

Thanks

Ajitabh Pradhan

3 REPLIES 3
Read only

Former Member
0 Likes
469

Ajitabh,

This is exactly where you CHAIN .. END CHAING commands come into picture. Put all the fields that you want to validate beteween this and whichever field has an error will be open for edidting.

Regards,

Ravi

Note : Please reward the posts that help you.

Read only

Former Member
0 Likes
469

In the PAI, you:


  CHAIN.
    FIELD zzerd_vendor_data-lifnr.
    FIELD zzerd_vendor_data-pernr.
    MODULE check_vendor_pernr_exist.
  ENDCHAIN.

  FIELD  zzerd_vendor_data-lifnr
    MODULE validate_lifnr ON REQUEST.
  FIELD  zzerd_vendor_data-pernr
    MODULE validate_pernr.

In the first (chain a number of fields), if either field fails validation, both are open for input. In the second (one field), if the validation fails only that fiels is open for input.

Rob

Read only

0 Likes
469

If your question is answered, please close the thread.

Rob