cancel
Showing results for 
Search instead for 
Did you mean: 

2 error messages for one select-option which is made mandatory

Former Member
0 Kudos

Hi Experts,

I have 3 fields in selection screen

1. PO - mandatory

2. Vendor - mandatory

3. Personnel Number

I have a submit button. If PO and Vendor are initial, system will give the mandatory data missing error message, but the problem here is for field PO the error message is repeating twice.

Error message - "Enter Selection in field Purchasing document" is being issued twice.

What could be the problem ?

Any clue is greately appreciated. Thanks.

Ajay

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

if you are using the code on submit button in any other place ,

suppose if you are writing it on WDMODIFYVIEW .

this hook method trigers for each and every user interaction on the view.

So check if you have called the method in WDMODIFYVIEW also.

Priya

Former Member
0 Kudos

are you throwing error messages in submit methid or anywhere else....

is this the standard one or are you throwing it explictily.

Former Member
0 Kudos

standard error message which system itself returns if i make select options mandatory

Former Member
0 Kudos

hi,

Check out the code you have written in Submit button. It must be because of this.

Former Member
0 Kudos

Is this select option being used inthe MODIFYVIEW method of view....