Showing results for 
Search instead for 
Did you mean: 

Problem in finding a data while using mandatory

Former Member
0 Kudos


I have a problem while finding a data while using mandatory. For example if i have 4 fields in the header form i set all the 4 fields as mandatory it will check while we press the add button. For finding the record browse by itemcode means i ll give the itemcode in find mode and press the find button but other 3 fields are null so its passing the mandatory validation message for other fields. How to solve this problem.


Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Madhavi,

Please put one filter of the form mode.Check the form mode if it is add then put your validation logic.


If GOD_Application.Forms.ActiveForm.Mode=SAPbouiCOM.BoFormMode.fm_ADD_MODE then
'Your Code Of the Validation of the Mandatory Fields.
End If

Hope this will help you..



Answers (0)