ideabosque / SAP-B1-RESTful

MIT License
53 stars 20 forks source link

Accessing User Define Tables with COM #5

Open LuisJIA opened 5 years ago

LuisJIA commented 5 years ago

is it possible to access the User Define Table interface to add data to a UDT?

I tried these declare but they do not work: self.comAdaptor.company.UserTable self.comAdaptor.UserTable

for C#:

SAPbobsCOM.UserTable UDT UDT=Company.UserTables.Item("TableName") UDT.Code ="newCode" UDT.Name ="newName" UDT.UserFields.Fields.Item("U_UDF").Value ="Value"

ErrCode=UDT.Add()