Symptom
Trying to reject items in a sales order but the error "Document change not allowed as retention is over; please contact your data privacy officer" occurs.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Sales Order Work center.
- Navigate to the Sales Orders view.
- Filter for "All orders".
- Search for the Sales Order ABC (where ABC represents for sales order ID).
- Navigate to Items tab.
- Select the line item XX (XX Represents the line item number).
- Maintain the Reason in the field "Reason for Rejection" and Observe the following error.
Error: "Document change not allowed as retention is over; please contact your data privacy officer"
Cause
Pre-Requisite : In Sales Order ABC, observe the Posting date (Posting Date: 29.06.2022 for example).
Maintained the Retention Period for business document in Business Configuration.
- Go to the Business Configuration Work center.
- Navigate to the Implementation Projects View.
- Filter for All Projects and select the required project.
- Select open Activity List.
- Search and open "Business Document Deletion – Retention Periods for Business Documents" activity.
- Select Group Description Early Lifecycle Data.
For the Company in sales order, Residence Period is 2 Month, Retention Period is 3 Month as example.
The Posting date of Sales Order ABC is older than the Retention Period set in Business Configuration.
Resolution
To change the Retention Period in Business Configuration or create a Deletion Run to delete all the irrelevant retention period over documents.
To change the Retention Period:
- Go to Business Configuration work center.
- Select Overview view.
- Search for activity Business Document Deletion – Retention Periods for Business Documents.
- Open the activity.
- Select Group Description Early Lifecycle Data.
- Change the Retention Period to include the date and cross check for the company in sales order.
- Select Save and Close.
To create the Deletion Run:
- Go to Information Lifecycle Management work center.
- Select Deletion Runs view.
- Select New.
- Fulfill all the relevant information.
- Select Save.
- Select Set to Active.
- Schedule the created run.
Note, it may take some time (hours), because after a change in Business Configuration the whole system has been analyzed.
See Also
Information can be found here: Lifecycle Analysis Runs Quick Guide
Help Document: Configuration: Retention Periods for Business Documents
Keywords
Sales Order; Retention; Document change; Document change not allowed as retention is over; Life cycle run; Retention data; Rejected sales order item , KBA , AP-SLO-SO , Sales Order , Problem
SAP Knowledge Base Article - Public