Symptom
You are going to delete an org unit, but system shows error 'Org unit XYZ is used in Customer Return ID ABC'. But in the return, the org unit XYZ is not used as sales unit or seller party.
- ABC represents the ID of the customer return.
- XYZ represents the ID of the org unit.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Organizational Management work center.
- Go to the Org Structures work center view.
- Click Edit.
- Select the org unit XYZ.
- Click "Check selected and dependent org units". system shows the error.
Cause
In the return ABC, the account/payer/bill-to party is with the ID = XYZ.
Org unit XYZ is organization CATEGORY_CODE not person and it used in transactional documents as different role code categories (Payer, Bill to Party, account, Service recipient). Hence, the org validation check identifies the usage of documents and raising the message.
Resolution
Currently, this is the designed system behavior and it is working properly as per the logic.
Keywords
org unit validation check; cannot delete org unit; technical error; Org unit is used in Customer Return ID. , KBA , AP-RC-GEN-PAP , Party Processing , Problem