German IT provider SAP has apologised for the data leak.