SAP TCode /SAPAPO/RET_CLEAN_DB – Clean Up Restriction Database

/SAPAPO/RET_CLEAN_DB is a standard SAP tcode used to perform Clean Up Restriction Database task in SAP ERP (or) S/4HANA system.This blog post provides key technical details about SAP TCode /SAPAPO/RET_CLEAN_DB, including its availability across SAP S/4HANA versions and related tcodes.

Program /SAPAPO/RET_CLEAN_DB
Package Restriction Management for Model Mix & Reservation Planning (/SAPAPO/RESTRICTIONS)
Technical Component Model Mix Planning (SCM-APO-PPS-MMP)

Availability

The SAP tcode /SAPAPO/RET_CLEAN_DB is available within SAP ECC, SAP S/4HANA On-premise and SAP S/4HANA Private Cloud systems depending on the version and release level.

SAP S/4HANA Version Available?
1909 Yes
2020 Yes
2021 Yes
2022 Yes
2023 Yes

The following is the list of SAP transaction codes related to /SAPAPO/RET_CLEAN_DB.

SAP TCode SAP TCode Description
/SAPAPO/RET1 Restriction Maintenance – Display
/SAPAPO/RET2 Restrictions Maint.- Create & Change
/SAPAPO/RET_CHECK Check Restrictions Used
/SAPAPO/RET_CU01 Object Characteristic for Restrictns
/SAPAPO/RET_REFRESH Refresh all Restriction DB Tables
/SAPAPO/RET_RP Restrictions & Reservation Planning
/SAPAPO/RET_VIEW DB tables joint in view in ret