Skip to Content
0

Create User Table with DI API Not Working

Jan 10 at 11:04 AM

25

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Danilo Kasparian Jan 10 at 02:20 PM
0

This is related to other objects that need to be released from the memory

What are you doing before calling this function?

check below

https://archive.sap.com/discussions/thread/1413206

Share
10 |10000 characters needed characters left characters exceeded