cancel
Showing results for 
Search instead for 
Did you mean: 

How to find SuperEquip. for an equipment?

Former Member
0 Kudos

Hi all,

Is there any function module or BAPI which returns SuperEquip. of an equipment. Could you plz suggest any other alternative to find SuperEquip (Technically).

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You can find super equipment from table ITOB, field HEQUI.

Sample code -

Data: w_hequi type ITOB-HEQUI.

select single hequi

into w_hequi

from ITOB

where equnr = p_equipment

w_hequi will contain super equipment for that particular equipment.

Regards,

Aparna Gaikwad

Former Member
0 Kudos

But i wants the top most Superior equipment.For example, Engine Equipment A has Superior Equipment B and this Equipment B has Superior Equipment as C while Equipment C has No further superior equipment. In this example, C is the top most Superior Equipment for A. Is there any function module which returns top most Superior equipment(in this eg C) if equi is passing( in dis eg : A). plz help

Former Member
0 Kudos

Then in that case, you need to fetch superior equipment from table ITOB till sy-subrc <> 0.

Regards,

Aparna Gaikwad