Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get Sub-Equipment

Former Member
0 Likes
1,612

Hello friends,

is there any FM or Bapi to get an equipment's sub-equipment. Like standard transaction IE03 menu, STRUCTURE -> Sub-equip

Thanks

Hello friends,

is there any FM or Bapi to get an equipment's sub-equipment. Like standard transaction IE03 menu, STRUCTURE -> Sub-equip

Thanks

3 REPLIES 3
Read only

Former Member
0 Likes
1,048

You can fetch through a simple logic.

DATA : BEGIN OF S_EQUZ OCCURS 0,

EQUNR LIKE EQUZ-EQUNR,

DATBI LIKE EQUZ-DATBI,

SUBMT LIKE EQUZ-SUBMT,

HEQUI LIKE EQUZ-HEQUI,

END OF S_EQUZ.

SELECT EQUNR DATBI SUBMT HEQUI

FROM EQUZ

INTO CORRESPONDING FIELDS OF TABLE S_EQUZ

FOR ALL ENTRIES IN T_MAIN

WHERE EQUNR = T_MAIN-EQUNR

AND DATBI = '99991231'.

EQUZ table comtains the equipment as well as higher equipment.

EQUZ-HEQUI is the higher equipment.

Check its validity and fetch the record accordingly.

Regds,

Anil

Read only

former_member585060
Active Contributor
1,048

Hi,

Try with this FM PLM_GET_SUBORDINATE_EQUIPMENTS

Regards

Bala Krishna

Read only

Former Member
0 Likes
1,048

Thanks guys. Solved