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:Ā 
Read only

Get EQUNR from ANLAGE

ricky_shaw
Contributor
0 Likes
3,280

Hi, I need to fetch the Equipment# from Installation(Anlage) to find out the equipment type(EQTYP). I see that i need to query 4 or 5 tables like EANLH,EASTL,EGERH & EQUI. Can any one suggest me an FM or a BAPI  to get this ? Thanks Rick

1 ACCEPTED SOLUTION
Read only

1,847

Please check if this helps:

ISU_DET_DEVICE_FROM_INST

View solution in original post

5 REPLIES 5
Read only

1,848

Please check if this helps:

ISU_DET_DEVICE_FROM_INST

Read only

0 Likes
1,847

OOPs, I want the other way round.

I have equipment and I want to find out the Installation or Contracts from EQUNR.

Can some suggest plss...

Thanks

Read only

0 Likes
1,847

Hi Ricky,

Pass the equipment no in EGERH table and get Logical device no (LOGIKNR).

Pass this logical device no in the FM "ISU_GET_OBJECTS" device field.

You will get contract and installation

Regards,

Chandandeep.

Read only

0 Likes
1,847

Hello Experts,

Using this FM: ISU_DET_DEVICE_FROM_INST I am able to get the active devices. But in case of device removal this FM is NOT show the devices associated to the installation.

Is there any similar FM or what is the other way to get the removed devices?

Pls suggest.

Read only

0 Likes
1,847

Hi Ricky,

Not sure about the availability of the FM, but you can achieve this using the tables EASTL and EGERH and EQUI. First select will be on EASTL where you pass the installation no and get the logical device no and ab and bis fields . Pass this data to EGERH to get the removed Equipment no.

then pass this equipment no in EQUI to get the device no.

Regards,

Chandandeep.