Symptom
When using API_PRODUCTION_ROUTING to delete Routing Header, below real error occurred:
CPCL 017: Plan can only be changed with a change number
Environment
SAP S/4HANA Cloud Public Edition
Cause
The routing has already been changed with a change number, which sets the change number indicator. Due to this history requirement, delete Routing Header without change number is not applicable for such cases.
Resolution
Refer to "Example With Change Number" as mentioned in Delete Production Routing Header (Version 2) , It is necessary to select POST method instead of DELETE method.
See Also
Keywords
routing deletion, CPCL017, Plan can only be changed with a change number, change number, API_PRODUCTION_ROUTING, history requirement, POST , KBA , PP-BD-RTG-2CL , Routing (Public Cloud) , Problem
SAP Knowledge Base Article - Public