SAP ECC (ERP Central Component) is application suite that runs on third party database like Oracle, MS SQL etc. It is also called as on premise business suite. While S4HANA is Cloud version which runs on SAP in-memory database, which means lower IT cost, better performance, better stability and less disruption.