SAP Note 531623 - KS133 unjustified when deleting a cost center

Component : Master Data -

Solution : https://service.sap.com/sap/support/notes/531623 (SAP Service marketplace login required)

Summary :
When deleting a cost center in SAP, error KS133 may appear if transactions from other periods exist. This is caused by a year-dependent fiscal year variant, where only the last maintained fiscal year is recognized during deletion checks. Enhanced function modules including K_DAYS_TO_YEARS_CONVERT and K_MASTERDATA_DELETE_CHECKS with a new BOOLEAN parameter 'FOR_DEL' are recommended. The system then processes deletion referring to the correct fiscal year, thereby avoiding irrelevant period data issues. Implement given corrections or adjust the deletion period as outlined in the solution, ensuring the fiscal year variant setup checks with Transaction OB29.

Key words :
pass val short text for_del type boolean, exception short text not_found fiscal year, system issues error message ks133 stating, year-dependent fiscal year variant, error message gu505 stating, fiscal year variant reason, reference type boolean, short text, fiscal year variant, fiscal year belonging

Related Notes :

1178736GU 505 unjustified when deleting cost element
918103CP04: Deleting the hierarchy assignment Part 2
672255Shortened fiscal year/changing fiscal periods
364557Cost center and fiscal year (error GU505)