2009 Jul 22 10:10 AM
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
2009 Jul 22 10:18 AM
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
2009 Jul 22 10:18 AM
Hi,
Try with this FM PLM_GET_SUBORDINATE_EQUIPMENTS
Regards
Bala Krishna
2009 Jul 22 10:39 AM