Hi All,
Somehow, disabling "Define New" call status in service call with the following code isn't working...
i read the thread disable-'define-new'-option-in-a-drop-down-box
If pVal.FormType = FormTypeEnum.Service_Call
If pVal.ItemUID = "38" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT Then
Dim ocb As SAPbouiCOM.ComboBox
ocb = oForm.Items.Item("38").Specific
If ocb.Selected.Description = "Define New" Then
BubbleEvent = False
ShowErrorMsg("Create new status option disabled")
Exit Sub
End If
End If
End If
any ideas?
thanks and best regards, laks