on 04-24-2019 3:14 PM
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...
For error: Unknown error -1005 !
a. If you are using 9.1 PL10 or below,UDO Code and the UDO Name of the UDO should be the same.
b. UDO names including spaces and brackets cannot be handled. You will receive an error "Unknown error -1005 !65171". (This applies to all SAP Business One Versions)
For error: The logged-on user does not have permission to use this object.
This issue has been fixed in SAP Business One Version 9.3H PL08 for Service Layer. Refer to SAP Note 2718049 for the same.
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankit, how are you?
You're the boss! Thanks so much!
- error using GeneralService for UDO: perfect, solved after change UDO Name = UDO Unique ID
- error using ServiceLayer for UDO: we are using SAP B1 9.3H PL07... so, we need to wait an update at environment to solve this.
Kind regards
Rafael Hernandes Ogeda
B1If developer - Brazil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.