Symptom
While confirming Production Task through webservice ManageProductionLotsIn, the below error occurred.
Error: "An exception with the type CX_SY_MOVE_CAST_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause"
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to Application and User Management work center.
- Go to Service Explorer view.
- Search for the service: ManageProductionLotsIn.
- Select the service and download the WSDL file.
- Create a new project in the SoapUI.
- Execute the query using the request payload in SoapUI.
- The error appears in the response payload.
Error: "An exception with the type CX_SY_MOVE_CAST_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause"
Cause
The request payload includes data updating both Reporting Point and MaterialInput/MaterialOutput, which is not allowed in the same request.
Resolution
- While updating reporting point related fields, the request XML must contain only the details related to ‘ReportingPoint’ and ‘ProductionTask’.
- It should not include any additional details such as adding or updating input/output materials or resource/service utilization.
- Modify the payload that Reporting Point details are separated from MaterialInput/MaterialOutput details.
See Also
Keywords
production task, webservice error, production lot, material input, material output, reporting point, payload error, read-only fields, modification error, web service processing error, production task confirmation, identified stock, serial number, reporting point update, An exception with the type CX_SY_MOVE_CAST_ERROR occurred, but was neither handled locally, nor declared in a RAISING clause , KBA , AP-PE-TSK , Production Task , AP-PE , Production , Problem
SAP Knowledge Base Article - Public