Symptom
When the Create Warehouse Request button is clicked for an outbound delivery proposal, the system crashes and a dialog appears with a 500 internal error.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Outbound Logistics Work Center.
- Navigate to Delivery Proposals View.
- Search for the outbound delivery proposal and select the line.
- Choose Create Warehouse Request, then system would dump.
Cause
The "Autonomic Inspection" feature is enabled for the Inspection Process in the logistics model with warehouse task. This means that the system will attempt to create an Inspection when creating the warehouse request.
However, there is a limitation in the code where the sample size in the Inspection Plan is assigned to an integer variable. This variable can only store a maximum value of 2,147,483,647. If the sample size exceeds this maximum value, it will cause an overflow and result in a system dump.
Resolution
Typically, having a sample size above this maximum limit is not realistic in daily business.
To ensure that the sample size does not exceed the maximum limit, it is necessary to adjust the inspection scope in the inspection plan.
Keywords
Create Warehouse Request, Inspection, Dump, Crash. , KBA , AP-ODP-ODR , Outbound Delivery Request , Problem