Suppose you would like to compare one method of class in different systems without using UDO tool, you can use the built-in remote comparison functionality embedded in ABAP editor:

Click “Remote comparison” button:
Specify RFC destination of corresponding remote system where the source code is needed to compare:
and you can get result, it is more efficient than UDO: