MP51SF00 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter MP51SF00 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Module Pool for Work Schedule Generation
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_DWS_RE550 CALL FUNCTION 'HR_DWS_RE550' EXPORTING MOTPR = T508A-MOTPR TPROG = MSOL_TPROG_NEW VARIA = MSOL_VARIA_NEW DATE = MSOL_DATE IMPORTING DAYGEN = DAYGEN SUBRC = SUBRC EXCEPTIONS ERROR_OCCURED = 1.
HR_DWS_RE550 CALL FUNCTION 'HR_DWS_RE550' EXPORTING MOTPR = T508A-MOTPR TPROG = MSOL_TPROG_NEW VARIA = MSOL_VARIA_NEW DATE = MSOL_DATE IMPORTING DAYGEN = DAYGEN EXCEPTIONS ERROR_OCCURED = 1.
RP_DAYPROGRAM * CALL FUNCTION 'RP_DAYPROGRAM' * EXPORTING INPUT = PTPRG * IMPORTING OUTPUT = PTPRG * TABLES I550AN = I550AN * I550AO = I550AO * I550PN = I550PN * I550PO = I550PO * PP0001 = M0001 * PP0002 = M0002 * PP0007 = M0007 * PP2001 = M2001 * PP2002 = M2002 * PP2003 = M2003.
RP_ZRETCD * CALL FUNCTION 'RP_ZRETCD' * EXPORTING * MSGTY = 'E' * PTPRG = PTPRG.
RP_DAYPROGRAM * CALL FUNCTION 'RP_DAYPROGRAM' * EXPORTING INPUT = PTPRG * IMPORTING OUTPUT = PTPRG * TABLES I550AN = I550AN * I550AO = I550AO * I550PN = I550PN * I550PO = I550PO * PP0001 = M0001 * PP0002 = M0002 * PP0007 = M0007 * PP2001 = M2001 * PP2002 = M2002 * PP2003 = M2003.
RP_DAYPROGRAM CALL FUNCTION 'RP_DAYPROGRAM' EXPORTING INPUT = PTPRG IMPORTING OUTPUT = PTPRG TABLES I550AN = I550AN I550AO = I550AO I550PN = I550PN I550PO = I550PO PP0001 = M0001 PP0002 = M0002 PP0007 = M0007 PP2001 = M2001 PP2002 = M2002 PP2003 = M2003.
RP_ZRETCD CALL FUNCTION 'RP_ZRETCD' EXPORTING MSGTY = 'E' PTPRG = PTPRG.
HR_DWS_RE550 CALL FUNCTION 'HR_DWS_RE550' EXPORTING MOTPR = T508A-MOTPR TPROG = <552ATPROG> VARIA = <552AVARIA> DATE = FTHP_DATE IMPORTING DAYGEN = DAYGEN BEGDA = BEGDA ENDDA = ENDDA SUBRC = SUBRC.
HR_DWS_RE550 CALL FUNCTION 'HR_DWS_RE550' EXPORTING MOTPR = T508A-MOTPR TPROG = <552ATPROG> VARIA = <552AVARIA> DATE = FTHP_DATE IMPORTING DAYGEN = DAYGEN BEGDA = BEGDA ENDDA = ENDDA.
VIEW_MARK_WRITE CALL FUNCTION 'VIEW_MARK_WRITE' "XHRK001517 EXPORTING "XHRK001517 OBJNAME = 'PT01' "XHRK001517 BEGIN = 'X'. "XHRK001517
VIEW_MARK_WRITE CALL FUNCTION 'VIEW_MARK_WRITE' "XHRK001517 EXPORTING "XHRK001517 OBJNAME = 'PT01' "XHRK001517 BEGIN = 'X'. "XHRK001517
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' * EXPORTING TABNAME = 'ATAB' "QCSK11K062016 EXPORTING TABNAME = ENQ_ARG "QCSK11K062016 * VARKEY = ENQ_ARG "QCSK11K062016 VARKEY = ENQ_MANDT "QCSK11K062016 EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' * EXPORTING TABNAME = 'ATAB' "QCSK11K062016 EXPORTING TABNAME = DEQ_ARG "QCSK11K062016 * VARKEY = DEQ_ARG. "QCSK11K062016
HOLIDAY_CHECK_AND_GET_INFO CALL FUNCTION 'HOLIDAY_CHECK_AND_GET_INFO' EXPORTING DATE = SCAL-DATE HOLIDAY_CALENDAR_ID = SCAL-HCALID WITH_HOLIDAY_ATTRIBUTES = 'X' IMPORTING HOLIDAY_FOUND = SCAL-INDICATOR TABLES HOLIDAY_ATTRIBUTES = ITHOL EXCEPTIONS DATE_AFTER_RANGE = 1 DATE_BEFORE_RANGE = 2 DATE_INVALID = 3 HOLIDAY_CALENDAR_ID_MISSING = 4 CALENDAR_BUFFER_NOT_LOADABLE = 6 "XLX0K112631 HOLIDAY_CALENDAR_NOT_FOUND = 5.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING TITEL = TEXT-007 TEXTLINE1 = TEXT-001 TEXTLINE2 = TEXT-002 IMPORTING ANSWER = PTC_ANSWER.
VIEW_MAINTENANCE_CALL CALL FUNCTION 'VIEW_MAINTENANCE_CALL' "XDEK11K109281 EXPORTING "XDEK11K109281 ACTION = VIEW_ACTION "XDEK11K109281 * corr_number = ' ' "XDEK11K109281 * show_selection_popup = ' ' "XDEK11K109281 VIEW_NAME = VIEW_NAME "XDEK11K109281 TABLES "XDEK11K109281 DBA_SELLIST = RANGETAB "XDEK11K109281 EXCL_CUA_FUNCT = EXCLTAB. "XDEK11K109281
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'Y' TITEL = PTCS_TITEL TEXTLINE1 = TEXT-001 TEXTLINE2 = TEXT-002 IMPORTING ANSWER = PTCS_ANSWER.
TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' * IMPORTING * WE_ORDER = * WE_TASK = TABLES WT_KO200 = KO200_TAB WT_E071K = E071K_TAB EXCEPTIONS OTHERS = 01.
CALL FUNCTION 'TR_OBJECTS_INSERT' * EXPORTING * WI_ORDER = ' ' * IMPORTING * WE_ORDER = * WE_TASK = TABLES WT_KO200 = KO200_TAB WT_E071K = E071K_TAB EXCEPTIONS OTHERS = 01.
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 MP51SF00 or its description.