How to use attach application in SAP

I know the purpose of this. But How to use attach application in SAP. Any sample screenshots will help

Hi,

Attach application should have operation=contains and window title=title of sap application.

Thanks,
Anshu