Skip to Content
0
Former Member
Jun 23, 2017 at 01:17 PM

How to get ComboBox selected value text from SAP B1 form

5436 Views

How do I get a combobox selected value ?

In the attached screen shot , Payment Terms drop down list i have chosen "30 Days EOM" value .

Using c# code, how can get ComboBox(dropdown) selected value.

This is my sample code for getting text box values, same way how to get drop down selected text.

Thanks.

SAPbouiCOM.EditText oEdit = null;
 SAPbouiCOM.Item oItem = null;
oItem = oForm.Items.Item("234000013");
                oEdit = ((SAPbouiCOM.EditText)(oItem.Specific));
                primaryPartyCode = (oEdit.String);

Attachments