Symptom
You are trying to approve a Sales Order which contains one or more Sales Kit line items, however, when clicking the Approve button, the system displays a '500 Internal Error'.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Manage My Area work center.
- Open the Approvals view.
- Search for Sales Order ABC (Where ABC Represents the ID of the affected Sales Order).
- Click the Approve button
The system will display a '500 Internal Error' after a few seconds.
Cause
This error can happen when the value of the Ship-From is not present in the Sub Items of a Sales Kit. You can check this as follows:
- Go to the Sales Orders work center.
- Open the Sales Orders view.
- Find Sales Order ABC.
- Edit the document and click on View All.
- Navigate to the Items tab.
- Highlight the line item containing the Sales Kit Header Item.
You will see that the Ship-From information is present.
- Now, highlight any line item containing the Sales Kit Sub Items.
You will see that the Ship-From information is empty.
Resolution
In order to correct this scenario, you need to withdraw the Sales Order from approval and then perform a dummy change on the Sales Kit Header Item. The steps are as follows:
- Go to the Sales Orders work center.
- Open the Sales Orders view.
- Find Sales Order ABC.
- Edit the document and click on View All.
- Navigate to the Items tab.
- Highlight the line item containing the Sales Kit Header Item.
- Change/Remove the Ship-From (Or the Fulfillment).
- Press ENTER.
- Revert the value of the Ship From or Fulfillment back to what it was before the change on step #7.
- Press ENTER.
The system will then update the Ship-From on all the Sales Kit Sub Items and allow the document to be approved.
Keywords
Approval, Sales Order, 500, Error, Dump, Crash, Message, Internal, Sales Kit, Header, Item, Sub, Ship-From, Fulfillment , KBA , AP-SLO-SO , Sales Order , How To