Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

[DI Server] How to insert data into user defined table ?

Hi all,

I can insert data to user defined table with the DI API :

        Dim table As SAPbobsCOM.UserTable = oCompany.UserTables.Item("BSS_GNET_LOGS")
        table.Code = "1"
        table.Name = "1"
        table.UserFields.Fields.Item("U_Action").Value = "Test"
        lRetCode = table.Add()

        If lRetCode <> 0 Then
            oCompany.GetLastError(lErrCode, sErrMsg)
            MsgBox(sErrMsg)
        End If

How to do that with DI Server ? Which SOAP message do I must send ?

Former Member
replied

Hi David,

You can use the DI API in a web application (it's just a COM object) but it is very resource hungry so would be unsuitable for any development that required more than a small number of concurrent connections to SBO.

Kind Regards,

Owen

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question