Connecting wm 6.5 SAP Adapter to SAP 4.6c system

Has anyone successfully connected a wm 6.5 Adapter to SAP 4.6C system? We are having problems determining what goes in the program ID field. I’m pretty sure it has to match the program ID field in SM59 in SAP. How do I register this program in SAP?

Thanks,

Carl Kennedy
Colgate-Palmolive