I don't know about SAP in particular, but ERP solutions frequently use SQL on the backend. I work with Microsoft Dynamics and it's just a SQL database with a special front-end for constructing workflows. I suspect Oracle ERP would be similar and have Oracle on the backend as well.