To resolve this issue, check the factory calendar settings in SAP to ensure it's correctly configured with all necessary holidays and working days.