Solution : https://service.sap.com/sap/support/notes/637950 (SAP Service marketplace login required)
Key words :
terms tstr_calc_timetstr_get_next_valid_time/sapapo/apo_scheduling reason, message class '/sapapo/sched', report /sapapo/sched_buffer_reset, transaction /sapapo/atplog, transaction /sapapo/atplog_dsp, endless loop occurs, function modules tstr_calc_time, global atp check, insufficient error handling, diagnosisan error occured
Related Notes :
791478 | Message /SAPAPO/SCHED 868 "Date/time in the past" |
382746 | Collective note: Delivery+transportation scheduling with APO |