You need a Identity Management solution.
SAP has a different user store, PHP will have its won. Its difficult to use SAP use store to achieve single sign on to any application.
Ususally, its windwos domain login, integrated to SAP and PHP can use windows domain login.
Otherwise, only way to...