Skip to Content
0
Apr 24, 2019 at 02:14 PM

B1If add UDO register using Service Layer

671 Views

Hi

I´m using an UDO called B1IF_CONTROL, that uses a UDT with same name.

First I tried insert data into this UDO using B1Service. This worked for while, but started giving the exception "com.sap.smb.sbo.wrapper.com.ComFailException: Invoke of: GetDataInterfaceFromXMLString Source: SapBobsCom.GeneralService.90.0 Description: Unknown error -1005 ! -The di call #1 did fail.". The same error occurs when using serviceid="GeneralService(B1IF_CONTROL)" or serviceid="GeneralService,B1IF_CONTROL".

Next I tried to insert data into this UDO using SLObject, and I got the exception "{ "error" : { "code" : -3000, "message" : { "lang" : "en-us", "value" : "The logged-on user does not have permission to use this object." } } }". All other SLObject in package are working fine (BusinessPartners, Orders, Down Payments, Invoices, Incoming Payments) and only the operation with this UDO is giving this exception...

Any idea about this exception "The logged-on user does not have permission to use this object." when calling Service Layer for this UDO? The user B1i has full authorization definied in SAP B1...