hi
i seen this post..
In "OPOR table U_CMNT this filed should be exists other wise this data source alias not found.. is comming..
you said i am creating at the time of form loading..
i never seen any code in your c# project ... creating fields..
oItem = oForm.Items.Item("3");
oNewItem = oForm.Items.Add("edtxt", SAPbouiCOM.BoFormItemTypes.it_EXTEDIT);
oNewItem.Left = oItem.Left - 110;
oNewItem.Width = 1000;
oNewItem.Top = oItem.Top+20;
oNewItem.Height = 200;
oNewItem.FromPane = 32;
oNewItem.ToPane = 32;
oEdtxt = (SAPbouiCOM.EditText)oNewItem.Specific;
oEdtxt.DataBind.SetBound(true, "OPOR", "U_CMNT");
oNewItem.Enabled = true;
the above code is doing only data bidning ok not data filed creation..
first create field in opor table and then run it..
//if(( pVal.FormType == 139 & pVal.EventType!=SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD)&(pVal.Before_Action==true))
//{
// oForm = ClsSBOAddOn.SBOApplication.Forms.GetForm(pVal.FormTypeEx, pVal.FormTypeCount);
// if( (pVal.EventType==SAPbouiCOM.BoEventTypes.et_FORM_LOAD )& (pVal.Before_Action==true) )
the above code is currect..
i dont know why u comment it..