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

Dialog Programming one required field affects another required field

Former Member
0 Likes
753

I have two input/output filed whose dropdown is set as listbox. Both fields are required fields.

The problem is;

When I select an input from the listbox 1, an error occures that says listbox 2 is also required and must be filled.

How can I prevent the program to check listbox 2 is required, at the time I select an input from listbox 1 ?

1 ACCEPTED SOLUTION
Read only

former_member219762
Contributor
0 Likes
721

Hi,

Did you assign function code to list box? is that your requirement? if not remove the function code.

Regards,

Sreenivas.

5 REPLIES 5
Read only

former_member219762
Contributor
0 Likes
722

Hi,

Did you assign function code to list box? is that your requirement? if not remove the function code.

Regards,

Sreenivas.

Read only

0 Likes
721

Yeah right that works

Read only

Former Member
0 Likes
721

Hi,

if the two list boxes are  required fields, obviously user has to enter two list boxes.

if you want to do it rogramatically, remove the required option from screen attributes, validate at PAI between chanin endchain.

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
721

Dont keep them obligator in attribute validate stuff in PAI

Read only

Former Member
0 Likes
721

Hi,

The issue maybe because you assigned a function code the list boxes that has been created. The function code will be put in the OK code (which gets created automatically for a screen) when the user selects an entry and as a result validation error appears.

Hope this helps,

~Athreya