Symptom
An internal server error (system crash / error 500) happens when you simulate the valuation of a new cost estimate for a material.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Inventory Valuation work center.
- Under Common Tasks, click New Cost Estimate.
- Give the material, business residence and dates.
- Click Simulate.
System crashes as below,
Try resuming your work. If you still encounter issues, report a case using Built-In Support.
Details
ClassName
sap.b.controller.event.PostRequest
MethodName
post
Cause
There is a loop in the transport lanes for the material, which leads to loop in the valuation and consequently a memory issue.
The transport lanes can be checked as follows:
- Go to Supply Chain Design Master Data work center.
- Go to Transport Lanes view.
- Open the advanced search and use the Product ID as a search parameter.
In the resulting selection for this product, it can be seen that there are loops in the transport lanes. For example:
Transport Lane 1 has Ship-From site A and Ship-To Site B
Transport Lane 2 has Ship-From site B and Ship-To Site A
Resolution
To resolve the issue, verify whether any lanes within the loop are obsolete and can be removed. If both lanes are active, temporarily blocking one lane may allow the cost estimate run to complete successfully.
If the issue persists, check whether the variable duration is maintained, if not update it as required.
See Also
Keywords
Transport lane, Inventory Valuation, Material Cost Estimate, Dump, Timeout, CL_FIA_COSTING_SERVICE=> SET_LEVELS_IN_SUBTREE, MaterialCostEstimateCreateSingleQAFEnhancedController_QAF , KBA , SRD-FIN-COR , Cost & Revenue , SRD-FIN-INV , Inventory , How To
SAP Knowledge Base Article - Public