Symptom
You would like to cancel the marking allowance for one company code, and you get information message:
CK797 Company code XXXX: Release already carried out, cancellation not possible.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
Enter app Organizational Measure and cancel marking allowance.
Cause
As stated in the error message, if there is existing released cost estimate, the system can't cancel the marking allowance.
But if you have just issued the marking allowance and still didn't release any cost estimates, the message will still happen.
Resolution
You need to first release a cost estimate for any material in the company. Then you can reorganize the released cost estimate with app Reorganization of Cost Estimates.
Then you can go back to app Organizational Measure and cancel the marking allowance.
Keywords
CKR1, reorganize, CK22, marking allowance, cancel, issue, CK 797. , KBA , CO-PC-PCP-2CL , Product Cost Planning (Public Cloud) , Problem