cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I have created a custom value list and made it as mandatory field. But when saving document, it does not give required field message if the value list is having None value.

Please help me resolve this issue.

Thanks,

Saloni

0 Likes
View Entire Topic
Former Member
0 Likes

Hi Saloni,

For a check can you please remove the obligatory check on the field?

The list should contain a blank option , but there should not be any option as "None". If "None" appears then there is problem with population of list.

You can still manage to have a mandatory check as:

1) remove obligatory check for the field.

2) add a check in PAI module to check if there is some value, if not give error message.

module check_value.

  if lv_list_value is initial.

    message e001(00) with 'Enter a value'.

  endif.

endmodule.

Hope this helps!!!

Former Member
0 Likes

Hi,

What is PAI module?

Thanks,

Saloni

0 Likes

Hi Saloni,

I've never seen this behavior before, so not sure what to suggest. Try restarting the app, may be if it's some sort of caching issue. Have you checked the logs? From the screenshot it looks like it's 5.x release. Can you tell us the exact release you are on?

Regarding PAI module that Rahul is referring to, it is not relevant to Sourcing tool.

Regards,

Vikram