OMI Steps do to open | close incident on SM

Hello Dears , 

i 'm troblshoting some issues regarding intgeration between SM and OMi , for that i'd like to understand what the exact steps that OMi do on SM to open or close an incident , what the tables OMi uses or lookup in . what are the steps , 

could any body help me ,