‎2007 Jul 09 12:41 PM
Dear all,
On the selection screen a have field functional location. I need to get all the sub-functional locations and equipments under a functional location entered on the selection screen.
Please let me know if there is any function module to get all the functional locations and equipment numbers.
Thanks in advance.
Regards,
Janardhan
‎2007 Jul 09 1:58 PM
You can have look at these FMs
CCM09_FLOC_FIND_SUBEQUI
CCM09_FLOC_FIND_SUBFLOC
CCM09_FLOC_FIND_SUBHOLE
CCM09_FLOC_FIND_TOPOBJECT
CCM09_FLOC_READ
Regards,
Manju
‎2007 Jul 09 1:58 PM
You can have look at these FMs
CCM09_FLOC_FIND_SUBEQUI
CCM09_FLOC_FIND_SUBFLOC
CCM09_FLOC_FIND_SUBHOLE
CCM09_FLOC_FIND_TOPOBJECT
CCM09_FLOC_READ
Regards,
Manju
‎2007 Jul 09 2:07 PM
Hi,
inside R/3 you could use the function 'PM_HIERARCHY_CALL'
(or the PM_HIERARCHY_CALL_IFLO / PM_HIERARCHY_CALL_EQUI) to get these relations.
But i fear, there is no BAPI and no RFC - at least in plain R/3. Maybe in industry solutions there is a better chance.
If you need a function to call via RFC, i fear you have to write a wrapper around these functions PM_HIERARCHY_CALL*
<b>Reward points</b>
Regards