As others mentioned, you need to find to which SAP product you’re migrating exactly.
SAP works very well with EDI, actually. You will still need some EDI translator / middleware. Your experience with EDI will be quite valuable for the migration project. Some books to consider on this subject: