on 04-07-2017 8:20 AM - last edited on 02-03-2024 10:40 PM by postmig_api_4
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
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.