SAP data ownership setup causing issues during shipping of packed picklists in Produmex WMS

  • Updated

 

Automatic shipping is configured for the shipping type specified in the Sales Order. Sales Order has a dedicated owner, coming from Business Partner Master data setup. Data ownership is configured for Business Partner by SAP Business One standard configuration: Administration -> System Initialization -> General settings -> BP Tab : Enable data ownership -> Manage Data Ownership by : Business Partner Only, Allow BP Without an Owner

blobid1.png

Terminal users using Produmex WMS Mobile Client are configured in SAP Business One as non-superuser users, with SAP Business One Indirect Access User license assigned to them. 

 

These terminal users are also assigned to Human Resources -> Employee Master Data Records.

blobid2.png

They are not configured for Data Ownership authorizations.

blobid3.png

 

During the Produmex WMS Sales -> Shipping shipping flow you are getting the error on the Mobile Client, and cannot create SAP Delivery Note. You are presented this error message

blobid4.png

In the logs you can find similar references for permission and object reference errors.

 

2021-11-17 13:08:31,382 [WorkflowScript] ERROR Produmex.Sbo.Logex.WorkflowScripts.WorkflowScript_ShippingScript [(null)] -

ProdumexError 41008: Unknown error when getting BO 'Produmex.Sbo.Logex.Data.BusinessObjects.PmxSalesOrder' using key '32' in SBO. The exception 'System.Runtime.InteropServices.COMException (0xFFFFF448): The logged-on user does not have permission to use this object

 

2021-11-17 14:14:26,009 [WorkflowScript] ERROR Produmex.Sbo.Logex.WorkflowScripts.WorkflowScript_ShippingScript [(null)] -

System.NullReferenceException: Object reference not set to an instance of an object.

at Produmex.Sbo.Logex.Data.Providers.PmxSalesDeliveryNoteProvider.FillSBOAddressInfo(List`1 delNoteLines, List`1 delNoteAddresses) in D:\Projects\PNG\branches\V2021_09_WMS\Src\Logex\Produmex.Sbo.Logex.Data\Providers\PmxSalesDeliveryNoteProvider.cs:line 699

 

Option 1:

If you are using Data Ownership define the correct Data Ownership authorization for the terminal user:

blobid5.png

And configure the right level of standard Authorization to SAP Business One business objects, Business Partner, Sales Order , Delivery Note etc.

 

Option 2:
Set the terminal user as Superuser in the Users – Setup:

blobid6.png

After the setup made in SAP Business One make sure you restart Produmex WMS Mobile Client, and re-login with the terminal user.

Note: Superuser provides full authorization to SAP Business One but since the terminal user is working with SAP Business One Indirect Access User, this authorization does not have any negative effect.

If you are working with other type of licenses for users using the Mobile Client, make sure you assign the correct level of authorization to those users, otherwise it will create error message if you want to initiate shipping:

2021-11-17 14:19:17,268 [WorkflowScript] ERROR Produmex.Foundation.Data.Sbo.Providers.Generics.SboBusinessPartnerProvider`1 [(null)] - Error 41008: Unknown error when getting BO 'Produmex.Sbo.Logex.Data.BusinessObjects.PmxBusinessPartner' using key 'C10000' in SBO. The exception 'System.Runtime.InteropServices.COMException (0xFFFFF448): The logged-on user does not have permission to use this object

   at SAPbobsCOM.CompanyClass.GetBusinessObject(BoObjectTypes Object)

 

Error messages for the Mobile Clients are logged and can be found:

C:\Produmex\Log

Produmex.Sbo.Logex.Execute.FatClient.exe.<username>.Console.log

 

 

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.