2011 Jul 19 7:11 PM
ji,
how do we get register code and group based on device category?
2011 Jul 19 10:15 PM
Use the below FM to fetch the equipment number
ISU_DET_DEVICE_FROM_DEVLOC
X_DEVLOC = device location
X_KEYDATE = sy-datum
Then call the below function to get euipment details
ISU_DB_EZWG_SELECT_METER
X_EQUNR = equnr
X_AB = sy-datum
Alternately
Pass device location in table Egerh & fetch the equipment and register group. Then pass equnr in table ETDZ to fetch register code.
Edited by: vikrant guptarya on Jul 20, 2011 2:46 AM
2011 Jul 19 7:26 PM
2011 Jul 19 9:18 PM
2011 Jul 19 9:33 PM
2011 Jul 19 9:43 PM
2011 Jul 19 9:45 PM
2011 Jul 19 10:15 PM
Use the below FM to fetch the equipment number
ISU_DET_DEVICE_FROM_DEVLOC
X_DEVLOC = device location
X_KEYDATE = sy-datum
Then call the below function to get euipment details
ISU_DB_EZWG_SELECT_METER
X_EQUNR = equnr
X_AB = sy-datum
Alternately
Pass device location in table Egerh & fetch the equipment and register group. Then pass equnr in table ETDZ to fetch register code.
Edited by: vikrant guptarya on Jul 20, 2011 2:46 AM
2011 Jul 19 10:33 PM
Hi Pradeep,
From device category, you can go to table ETYP and fetch register group (ZWGRUPPE). From table EZWG after passing register group, you will get necessary details.
Regards,
Avinash
2011 Jul 19 11:09 PM
2011 Jul 19 11:32 PM
Oops... Guess i misunderstood even a simple question...
Cheers Avinash...