SAP Reports / Programs

PREAD_WORK_CENTER SAP ABAP Report - Transfer of Work Center Capacity (Crew Availability) to CSD







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 see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PWKC - Create Work Center Capacity IDoc


ABAP code to call this SAP report using the submit statement

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.






SUBMIT PREAD_WORK_CENTER. "Basic submit
SUBMIT PREAD_WORK_CENTER AND RETURN. "Return to original report after report execution complete
SUBMIT PREAD_WORK_CENTER VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT PREAD_WORK_CENTER

INCLUDE PREAD_WORK_CENTER_TOP.
INCLUDE PREAD_WORK_CENTER_IDOC.
INCLUDE PREAD_WORK_CENTER_FORMS.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name PREAD_WORK_CENTER or its description.