‎2007 Feb 28 8:13 AM
Please let me know if any Function Modules available to list all workcenters for a particular plant.
‎2007 Feb 28 8:19 AM
Pass the plant to WERKS of the table CRHD to get the ARBPL(Workcenters).
select ARBPL
from CRHD
into table it_crhd
where werks = p_werks.
REgards,
Ravi
‎2007 Feb 28 8:20 AM
Check out this thread ..
https://forums.sdn.sap.com/click.jspa?searchID=1381387&messageID=2756552
and also
FM RM_GET_CSTG_VERSION
Regards,
Santosh
‎2007 Feb 28 8:22 AM
I feel this information might help u .just check out these things once
Function Module Name.....................Short text for function module
<b>CR_WORKSTATION_CHECK.....Check existence of the work center
LXVASP_LOGON_VALIDATE.... List of Values (Warehouse, Work Center, Device)
QRKS_MATERIAL_WORK_CENTER........ Control chart for
Z_LIST_PROD_ORD_WITH_PRO_WC....... List Of Production Orders with proposed Work Center</b>
‎2007 Feb 28 8:26 AM
you can get the Work Centres from CRHD table - Work Center Header based on plant
You can use this FM : CR_WORKSTATION_READ_ROUTING to check the existence of Work Centre maintained for a plant.
Regards
Gopi
‎2007 Feb 28 8:31 AM
I didn't find the function module for aour request. You search best in se37 using the string "workcent*" for the name of the module. But I don't see anything in the list, which matches your requirements, sorry.
/ISDFPS/GET_WORK_CENT_OF_FORCE - gets work center for given structure element
COI2_PERSON_OF_WORKCENTER -
Finds Persons that beloong to Logistics Work Centers
COI2_WORKCENTER_HR_ASSIGNMENT -
Determine the HR object(s) assigned to a Logistic WorkCentre
COI2_WORKCENTER_OF_PERSON -
Finds Workcenters / Capacitie to which a person belongs
COI2_WORKCENTER_OF_WORKCENTER -
Workcenters to Workcenters using HR relationships.