SAP APO (Advanced Planning and Optimization) is a module in SAP SCM. It controls the spare part plan…