PREAD_WORK_CENTER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Send Work Centers In
If you would like to execute this report or see the full code listing simply enter PREAD_WORK_CENTER into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PWKC - Create Work Center Capacity IDoc
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: PLAN_VER = Plant version
Selection Text: RECV_SYS = Target system
Selection Text: S_BEGDA = From-Date
Selection Text: S_ENDDA = To-Date
Selection Text: WC_OBJID = Work Center
Title: Transfer of Work Center Capacity (Crew Availability) to CSD
Text Symbol: 001 = Work Center Selection Criteria
Text Symbol: 002 = ALE target system
Text Symbol: 003 = Number of IDOC Created
Text Symbol: 004 = Date Selection Criteria
Text Symbol: 005 = IDoc not created
INCLUDE PREAD_WORK_CENTER_TOP.
INCLUDE PREAD_WORK_CENTER_IDOC.
INCLUDE PREAD_WORK_CENTER_FORMS.
No SAP DATABASE tables are accessed within this REPORT code!
P_SMPM_START_IDOC_CHECK CALL FUNCTION 'P_SMPM_START_IDOC_CHECK' EXPORTING TRANSAC_CODE = SY-TCODE "transaction code IMPORTING MSGNO = MSGNO "error message number EXCEPTIONS OTHERS = 1.
RH_READ_INFTY_1000 CALL FUNCTION 'RH_READ_INFTY_1000' TABLES I1000 = I1000 OBJECTS = OBJECTS EXCEPTIONS NOTHING_FOUND = 01 WRONG_CONDITION = 02 OTHERS = 03.
RH_READ_INFTY_1001 CALL FUNCTION 'RH_READ_INFTY_1001' TABLES I1001 = I1001 OBJECTS = OBJECTS EXCEPTIONS NOTHING_FOUND = 01 WRONG_CONDITION = 02 OTHERS = 03.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
PREAD_WORK_CENTER - Transfer of Work Center Capacity (Crew Availability) to CSD PREAD_WORK_CENTER - Transfer of Work Center Capacity (Crew Availability) to CSD PRD_FLOW_N - Program for object type PRD_FLOW_N : PRD_FLOW_N PRD_FLOW_N - Program for object type PRD_FLOW_N : PRD_FLOW_N PRD_3359_PRD_ALV_FORM_ROUTINES - Include PRD_3359_PRD_ALV_FORM_ROUTINES PRDPSTOP - Include PRDPSTOP