1. Go to SE38 and key in the program name.
2. Click Utilities - Versions - Version Management
3. Click REMOTE comparison button.
4. Key in target system (e.g. ECP). Click the tick button.
5. Click the REMOTE comparion button.
6. The screen will show the difference if there's any.
With Much Love,
The Rookie ABAPer