AFAIK, they introduced SAP elsewhere in the company, and it became difficult/too expensive to manage the communication between the old system and the SAP system. I can imagine too well how the conversation between the SAP people and the company went because I also took part in similar conversations with clients in a previous job a long time ago: client asks you if software X can do thing Y. Both you
and the person representing the client have only superficial domain expertise on Y. "Oh, you mean enter data into a form? Of course software X can do that, it was designed
exactly for that purpose!"
The complexity of the task is eventually discovered in production.