Skip to Content
0
Oct 13, 2011 at 04:42 PM

Databind in User Table

36 Views

When using a user table in the "DataBind" does not come any records. Only in SAP's own tables. What do I do? Here my code.

odbDataSource = oForm.DataSources.DBDataSources.Add("@TB_USER");

oNewItem = oForm.Items.Add("txt_edit", SAPbouiCOM.BoFormItemTypes.it_EDIT);

oNewItem.Top = oItem.Top + 35;

oNewItem.Height = 17;

oNewItem.Width = 80;

oNewItem.Left = 25;

oNewItem.FromPane = 10;

oNewItem.ToPane = 10;

oEditItem = ((SAPbouiCOM.EditText)(oNewItem.Specific));

oEditItem.DataBind.SetBound(true, "@TB_USER", "column_user");