SAP Knowledge Base Article - Public

3729706 - Unable to Confirm Production Task Through Webservice

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

  1. Go to Application and User Management work center.
  2. Go to Service Explorer view.
  3. Search for the service: ManageProductionLotsIn.
  4. Select the service and download the WSDL file.
  5. Create a new project in the SoapUI.
  6. Execute the query using the request payload in SoapUI.
  7. 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

ManageProductionLotsIn - Documentation

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

Product

SAP Business ByDesign all versions