cancel
Showing results for 
Search instead for 
Did you mean: 

Combobox not loading UDO Series

Former Member
0 Kudos

Hi All,

I have created UDO from source and it works fine with my test db ( loads proper series and next docnum) but same code when i execute on my Live DB is not loading any Series.

Below is my code :

oItem = this.UIAPIRawForm.Items.Item("cmbSeries");

oItem.DisplayDesc = true;

oComboBox = (SAPbouiCOM.ComboBox)(oItem.Specific); oComboBox.ValidValues.LoadSeries("PriceList", SAPbouiCOM.BoSeriesMode.sf_Add); oComboBox.Select("Primary", SAPbouiCOM.BoSearchKey.psk_ByDescription);

oItem = this.UIAPIRawForm.Items.Item("txtDocNum"); oItem.SetAutoManagedAttribute(SAPbouiCOM.BoAutoManagedAttr.ama_Editable, 3, SAPbouiCOM.BoModeVisualBehavior.mvb_False);

oEdit = (SAPbouiCOM.EditText)(oItem.Specific);

int temp = this.UIAPIRawForm.BusinessObject.GetNextSerialNumber(oComboBox.Selected.Value, "PriceList");

oEdit.Value = temp.ToString();

version is : SAP 9.2 PL03

pls help me what is wrong in my code

Thanks in Advance

Shraddha

Accepted Solutions (0)

Answers (0)