SAP Knowledge Base Article - Public

3267284 - You Cannot Reject Items in Sales Order Due to Error about Retention Periods

Symptom

You are 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

  1. Open Sales Order ABC (where ABC represents for sales order ID )
  2. Navigate to Items tab
  3. Select Item 10
  4. Maintain the field "Reason for Rejection"
  5. Error "Document change not allowed as retention is over; please contact your data privacy officer" occurs

Cause

You have maintained the Retention Period for business document in Business Configuration.

  1. Open Sales Order ABC , you can see Posting Date: 29.06.2022 for example. (ABC represents the ID of the sales order)
  2. Open "Business Document Deletion – Retention Periods for Business Documents" activity in Business Configuration Work Center.
  3. Select Group Description Early Lifecycle Data.

You can see for the Company in sales order, Residence Period is 2 Month, Retention Period is 3 Month.

The Posting date of Sales Order ABC is older than the Retention Period set in Business Configuration.

Resolution

You can 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:

  1. Go to Business Configuration work center.
  2. Select Overview view.
  3. Search for activity Business Document Deletion – Retention Periods for Business Documents.
  4. Open the activity.
  5. Select Group Description Early Lifecycle Data
  6. Change the Retention Period to include the date of Lead 956
  7. Click Save and Close.

To create the Deletion Run:

  1. Go to Information Lifecycle Management work center.
  2. Select Deletion Runs view.
  3. Select New.
  4. Fulfill all the relevant information.
  5. Click Save.
  6. Click Set to Active.
  7. Schedule the created run.

Note, it may take some time (hours), because after a change in Business Configuration the whole system has be analysed, no delta possible (like for the very first)

You need to run a  "Lifecycle Analysis Run" for the system after making the change to the document date.

If you haven't done this, please do. Information can be found here: Lifecycle Analysis Runs Quick Guide

See Also

Help Document:

Configuration: Retention Periods for Business Documents

Keywords

Sales Order; Retention; Document change; Document change not allowed as retention is over. , KBA , AP-SLO-SO , Sales Order , Problem

Product

SAP Business ByDesign all versions