Hi,
I have tried using a sample in the SDK documentation to create a user defined table with DI API. It is not working however. Any ideas what is wrong? Return code is -1120
Dim oUserTablesMD As SAPbobsCOM.UserTablesMD Dim oUserTablesMD As SAPbobsCOM.UserTablesMD Dim l_ret As Integer oUserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables) oUserTablesMD.TableName = "BE_USER1" oUserTablesMD.TableDescription = "A simple user table" l_ret = oUserTablesMD.Add()
Thanks,
Martin