cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory in MOC

former_member583823
Participant
0 Kudos

Hi Experts,

I have requirement to make few custom and standard field as mandatory in MOC Screen. I wrote code in GET_DATA with mandatory reference.

After that code, system is giving mandatory sign near to field. But error message is not coming when user save without entering.

Pls tel me how to do the same in MOC screen.

Regards.

Reny Richard

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Reny,

The code should be placed in the GET_DATA method of the feeder class for your component.

You will need to check the Mandatory attribute against the general properties in the component configuration of your view.

Regards

Hassan

Former Member
0 Kudos

Hi Reny,

I am having the same issue with making some fields mandatory, I am hoping  if you can throw some light on the same if you were able to find a solution. Any help will be helpful !!!

I tried putting some code on both the ADAPT_FIELDS and ADAPT_FIELD_PROPERTIES on the FBI View Exit class but nothing was helpful....

former_member583823
Participant
0 Kudos

Hi Anuj,

Check this class - /MOC/CL_UIXI_ISSUE_ROOT .. you will get some idea.. I wrote it here and made it as mandatory...

Regards,

Reny Richard