Symptom
- "In Unicode programs, the '&' character cannot appear" error occurs while creating Parameters for Product Costing.
- "ABAP Runtime error" occurs when saving in "Create Production Order" APP, which could be also caused by the above error.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
For Symptom 1: error occurs while creating Parameters for Product Costing
- Go to IMG
- Navigate to Manufacturing
- Select General Manufacturing Settings
- Attempt to Define Parameters
For Symptom 2: "ABAP Runtime error" occurs when saving in "Create Production Order" APP caused by this error.
- Create production order.
- Work center is set with customizing value key which contains special characteristic.
Cause
The special character '&' used in one of the Formula Parameters as the root cause of the problem. This parameter in system has to be substituted by a new one without special characters.
Resolution
- Check the parameters for special characters like "&". If found, seek assistance to delete the parameter with the special character.
- If TR with initial configuration of the parameters with the special character "&" lies in the system and the records with parameter names including ‘&’ are transported, then all functionalities related to work center formulas would not work. It's able to use the app Export Customizing Transports to delete the TR.
See Also
Help Portal - Export Customizing Transports.
Keywords
Special Character, Parameters, Product Costing, Error, "In Unicode programs, the "&" character cannot appear", RCR05GEN, work center, ABAP Runtime error ,value key , KBA , PP-BD-WKC-2CL , Work Center (Public Cloud) , Problem
SAP Knowledge Base Article - Public