Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8533

Re: How to Find Alies Data Source In sap B1 SDK

$
0
0

hi

Data Source - Alies Not Found

 

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..


Viewing all articles
Browse latest Browse all 8533

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>