Skip to Content
0
Former Member
Aug 29, 2014 at 02:32 PM

Checking If a Radio Button is Set in Item Master form

32 Views

I am trying to check if the User has set an item to Inactive in the UI and I've got the following code:

10002050 is the ID for the Active radio button. I don't have a lot of experience with the UI API, but anyways, this code gave mean error converting to IOptionButton, which I'm assuming is an interface being implemented by that control. However when I search the SDK Help for IOptionBtn I don't find anything, and I can't seem to find anything in google either. I'm sure checking a radio button in SAP is simpler than this. Where in the documentation should I be looking for how to check the value of a radio button (or option button?)

If CStr(oForm.Items.Item("10002050").Specific) = "" Then ClearChannelMaxAnalysisFieldsForItem(boItem) DeleteSKUFromChannelMax(currentSku) UpdateRequiresOutputFile = True

End If