on 10-13-2011 5:42 PM
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");
Hi,
If You are Using UDT Then you can insert data through coding by using the Insert statement
If You are Using UDO Then Sap Will Handle The Add functionality if ur fields is bind to udo
Thanks
Shafi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try with this change in your code
oEditItem.DataBind.SetBound(true, "@TB_USER", "U_column_user");
Regards
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.