Skip to Content
0
Feb 23, 2013 at 08:31 AM

Problem DataBind with EditText in sap b1?

364 Views

Hi Experts,

I am not getting what is the Problem in it

Try

oOrderForm.DataSources.DBDataSources.Add("OPQT")

oItem = oOrderForm.Items.Add("Advance", SAPbouiCOM.BoFormItemTypes.it_EDIT)

oItem.Top = oItem1.Top + oItem1.Height

oItem.Left = oItem1.Left

oItem.Height = oItem1.Height

oItem.Width = oItem1.Width

oItem.FromPane = 0

oItem.ToPane = 0

Dim oEditText As SAPbouiCOM.EditText = oItem.Specific

SBO_Application.MessageBox("Hi"

oEditText.DataBind.SetBound(True, "OPQT", "U_Adavance")

On this line throughout Exception.

Catch ex As Exception

MsgBox(oCompany.GetLastErrorDescription)

SBO_Application.StatusBar.SetText(ex.Message.ToString(), SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)

End Try

Please Help me out!!!!

Regards,

Mayank Shah