ADFS and SAP Integration

In a recent project I was working on ADFS with multiple applications and customer also had SAP to be integrated with ADFS. Its quite simple, you have to just import SAP metadata into relying party trust and then map Name ID on the SAP side to the SamAccountName on the ADFS side and it works.