Hi all,
Does anyone know why the code is not executing the TRY correctly???
The code below:
SBO_Application.MetadataAutoRefresh = True
Dim ret As Integer
'adding user table
Try
objectUserTablesMD =objectCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)--> FROM HERE TE CODE GOES TO EXCEPTION!!!!, it´s not executing the 3 lines below
objectUserTablesMD.TableName = "USERTABLENAME"
objectUserTablesMD.TableDescription = "USERTABLEDESCRIPTION"
objectUserTablesMD.TableType = SAPbobsCOM.BoUTBTableType.bott_NoObject
ret = oUserTablesMD.Add
Thank you in advanced
lorenzo