Skip to Content
Former Member
May 28, 2004 at 01:25 PM

UDT / UDF: UserTable With Namescape?


hello all

If I create a UserTable With SDK, I can't use the partner Namescape "XYZ_" because SDK return the error 'The table name should consist at least 3 alphanumeric characters [OUTB]'

Else if I use BO, the Usertable is create

Why? (I use 6.50.52.sp20)

Dim SboUDT As SAPbobsCOM.UserTablesMD

Dim l As Long

Set SboUDT = SboCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)

SboUDT.TableName = "ISW_T1"

SboUDT.TableDescription = "Table1"

l = SboUDT.Add

If l <> 0 Then

ErrorShow Nothing

Add = False

Exit Function

End If