Symptom
- The quantity in the Service Entry Sheet (SES) cannot be altered after the ERS invoice and credit memo have been posted.
- The error message M7021 appears when attempting to change the Service Entry Sheet.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a Purchase Order (PO) and Time Entry Sheet.
- Schedule a Supplier Invoice Job (ERS) which automatically generates an ERS invoice.
- Attempt to change the hours in the Time Entry Sheet after issuing the ERS invoice.
Cause
The ERS invoice document is not reversed and the 'RevGR dep. IR' flag is not set in the configuration.
Resolution
To ensure that the invoice creation/deletion is only done by ERS, the correct process is:
- Set the 'RevGR dep. IR' flag for movement 102 in SSCUI 106043: "Allow Reversal of GR Despite Invoices".
- Go to app "Manage Service Entry Sheets - Lean Services", enter the service entry sheet number and revoke the same, which in turn will post the material document cancellation in the backend (102 movement type GR will be posted).
Note: While revoking this SES, the system may raise warning message 11 388 "Invoice Already exists for this SES", you can press enter to continue with the processing.
- Schedule ERS job for this service PO, which in turn will post the credit memo (cancellation document for the invoice posted).
Keywords
SAP S/4HANA Cloud Public Edition, Service Entry Sheet, SES, revoke, Invoice, Credit Memo, Error M7021, M8414, Service Purchasing and Recording, ERS, RevGR dep. IR, SSCUI 106043. , KBA , MM-PUR-SVC-SES , Service Entry Sheet for Service Procurement , Problem