SAP Reports / Programs

RPUTPR00 SAP ABAP Report - Revaluate Daily Work Schedules







RPUTPR00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report revaluates daily work schedules...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 RPUTPR00 into the relevant SAP transactions such as SE38 or SE80


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 RPUTPR00. "Basic submit
SUBMIT RPUTPR00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUTPR00 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: MOTPR = PS grouping for daily WS
Selection Text: PAMOD = Work break schedule
Selection Text: TPROG = Daily work schedule
Selection Text: UPDATE = Save changes
Selection Text: VARIA = Daily work schedule variant
Title: Revaluate Daily Work Schedules
Text Symbol: 001 = Update incorrect for daily work schedule
Text Symbol: FR2 = Processing parameters
Text Symbol: S01 = Plnd hrs old
Text Symbol: S02 = Plnd hrs new
001 Daily WS Break Plnd working hrs Start date End date
002 Schedule New Old


INCLUDES used within this REPORT RPUTPR00

No INCLUDES are used within this REPORT code!


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:

HR_DWS_RE550 CALL FUNCTION 'HR_DWS_RE550' EXPORTING MOTPR = T550A-MOTPR TPROG = T550A-TPROG VARIA = T550A-VARIA DATE = T550A-BEGDA * BREAK_OVERTIME = IMPORTING * DAYGEN = BEGUZ = BEGUZ ENDUZ = ENDUZ * BEGDA = * ENDDA = * SUBRC = TABLES DAYINT = BREAKS EXCEPTIONS ERROR_OCCURED = 1 OTHERS = 2.

HR_HOURS_MINUS_BREAKS CALL FUNCTION 'HR_HOURS_MINUS_BREAKS' EXPORTING INTVL_BEGUZ = BEGUZ INTVL_ENDUZ = ENDUZ * BREAK_IN_INTVL = '1' IMPORTING STDAZ = STDAZ TABLES BREAKS = BREAKS.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING I_MSGID = 'BL' I_MSGTY = 'E' I_MSGNO = '001' I_MSGV1 = text-001 I_MSGV2 = log_motpr I_MSGV3 = log_tprog I_MSGV4 = log_varia EXCEPTIONS OTHERS = 0.

HR_GET_ERROR_LIST call function 'HR_GET_ERROR_LIST' tables error = lt_error exceptions no_errors = 1 others = 2 .

HR_PAL_GENRL_MSG_ADD call function 'HR_PAL_GENRL_MSG_ADD' exporting i_msgid = wa_error-arbgb i_msgty = wa_error-msgty i_msgno = wa_error-msgno i_msgv1 = wa_error-msgv1 i_msgv2 = wa_error-msgv2 i_msgv3 = wa_error-msgv3 i_msgv4 = wa_error-msgv4 exceptions others = 0.

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

HR_PAL_LOG_AND_ALV_DISPLAY call function 'HR_PAL_LOG_AND_ALV_DISPLAY' exporting i_s_display_profile = l_s_display_profile i_s_flat_profile = l_s_flat_profile i_callback_program = l_callback_program i_grid_title = sy-title IT_FIELDCAT = lt_fcat is_layout = ls_layout tables t_outtab = g_outtab EXCEPTIONS OTHERS = 1 .

HELP_VALUES_GET_WITH_DD_TABLE *** CALL FUNCTION 'HELP_VALUES_GET_WITH_DD_TABLE' *** EXPORTING *** FIELDNAME = 'T550A' *** FIELDTABNAME = TABNAME *** SELECTFIELD = SELECTFIELD *** SHFIELDS = SHFIELDS *** TABNAME = TABNAME *** IMPORTING *** SELECTVALUE = VALUE *** EXCEPTIONS *** FIELD_NOT_IN_DDIC = 1 *** MORE_THEN_ONE_SELECTFIELD = 2 *** NO_SELECTFIELD = 3 *** TABLE_NOT_IN_DDIC = 4 *** DATABASE_ERROR = 5 *** OTHERS = 6.



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 RPUTPR00 or its description.