SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

how do we get register code and group ?

Former Member
0 Kudos

ji,

how do we get register code and group based on device category?

1 ACCEPTED SOLUTION

vikrant_guptarya
Participant
0 Kudos

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

View solution in original post

9 REPLIES 9

Former Member
0 Kudos

.

0 Kudos

.

0 Kudos

.

0 Kudos

.

0 Kudos

.

vikrant_guptarya
Participant
0 Kudos

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

0 Kudos

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

0 Kudos

Thanks Avinash.

You are Wonderful and Amazing !!!!!

0 Kudos

Oops... Guess i misunderstood even a simple question...

Cheers Avinash...