Hi Ricky,
There are two type of what we call as Device in IS-U, one is actual Equipment maintained via IQ01/IQ02/IQ03 and the other is Device Info Record maintained via EG44/EG41/EG43.
For actual Equipment, use the below logic:
A) From your Equipment Number EQUNR go to table EGERH and specify in EQUNR and get the Logical Device number LOGIKNR, use right time-slice
B) Then from LOGIKNR go to table EASTL to get the linked Installation (ANLAGE) using the right time-slice
C) Then from this Installation if it has live Contract get them from table EVER using right move-in/move-out dates.
For Device Info Record:
A) From your Equipment Number EQUNR go to table EGERR and specify in EQUNR and get the Logical Device number LOGIKNR, use right time-slice
B) Then from LOGIKNR go to table EASTL to get the linked Installation (ANLAGE) using the right time-slice
C) Then from this Installation if it has live Contract get them from table EVER using right move-in/move-out dates.
LOGIKNR is the internal number generated by SAP and its used to uniquely identify a Device in an Installation in a client. Its like a link between Installation and Device connected to it. Its main functionality is that, if you re-use the same Device and install in other Installation then LOGIKNR will be unique and used to identify the relationship with right time-slice.
If you really want FM then try using ISU_S_DEVICEMOD_PROVIDE.
Hope this helps.
Thanks,
Srini