SAP Reports / Programs

RPUWSH00 SAP ABAP Report - Revaluation of the Planned Working Time Infotype (0007)







RPUWSH00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report to revaluate the Planned Working Time infotype (RPUWSH00) determines which Planned Working Time records (infotype 0007) feature a work schedule rule, employment percentage and working hours fields which do not correspond to the definition of the work schedule rule, and allows you to compare the data and adjust it if necessary...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 RPUWSH00 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 RPUWSH00. "Basic submit
SUBMIT RPUWSH00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUWSH00 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: TEST = Test run without generation
Selection Text: S_ZEITY = ES grouping
Selection Text: S_SCHKZ = Work schedule rule
Selection Text: S_MOSID = PS grouping
Selection Text: S_MOFID = Holiday calendar
Selection Text: MAP_NAME = Name of generated BI session
Title: Revaluation of the Planned Working Time Infotype (0007)
Text Symbol: SOR = Additional output fields
Text Symbol: SEL = Selections for work schedule rule
Text Symbol: ORG = Organizational units
Text Symbol: OLD = Current data
Text Symbol: NEW = New data
Text Symbol: GT3 = Display direct processing and only errors
Text Symbol: GT2 = Do not display direct processing and screens
Text Symbol: GT1 = Display direct processing and screens
Text Symbol: GEN = Generation type/parameter
Text Symbol: FRA = Other parameters
Text Symbol: FN3 = Number of infotype recs to be inserted : &
Text Symbol: FN2 = Number of rejected personnel numbers : &
Text Symbol: FN1 = Number of selected personnel numbers : &
Text Symbol: ER2 = Error in function module 'RP OPTIONS TO STRING'
Text Symbol: ER1 = Problems with DDIC structure PS0001
Text Symbol: DIF = Name of batch input session has changed :
Text Symbol: CHO = Selected
Text Symbol: CH1 = Not selected
Text Symbol: BI2 = Batch input session
Text Symbol: BI1 = No batch input session
Text Symbol: BAT = Start batch input
Text Symbol: ACT = (Active)
Text Symbol: 005 = Records to be inserted
Text Symbol: 004 = Original data
Text Symbol: 003 = Update planned working time


INCLUDES used within this REPORT RPUWSH00

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_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = map_name reportname = rep_name IMPORTING mapname = map_name.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'PS0001' langu = sy-langu all_types = 'X' group_names = 'X' TABLES dfies_tab = ps0001_nametab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

NAMETAB_GET * call function 'NAMETAB_GET' * exporting * langu = sy-langu * tabname = 'PS0001' * tables * nametab = ps0001_nametab * exceptions * internal_error = 1 ** table_has_no_fields = 2 ** table_not_activ = 3 ** no_texts_found = 4 * others = 5.

RP_OPTIONS_INTO_STRING CALL FUNCTION 'RP_OPTIONS_INTO_STRING' EXPORTING max_chosen_number = max_sort delimiter_sign = delimiter_sign text_title = text-org text_left = text-org text_right = text-cho status = 'ORDER' TABLES text_symbol_relation_tab = sel_tab CHANGING string_value = sel_org EXCEPTIONS OTHERS = 03.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_display_more text = text-org info = text-cho IMPORTING RESULT = text_org.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_enter_more text = text-org info = text-ch1 IMPORTING RESULT = text_org.

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = map_name reportname = rep_name IMPORTING mapname = map_name.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = map_name user = sy-uname.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING linesize = 80 TABLES error = error_tab.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING basic_list_title = text-003 * file_name = sy-repid "AHRK029046 file_name = file_name "AHRK029046 head_line1 = text-004 foot_note1 = per-text foot_note2 = rej-text foot_note3 = gen-text lay_out = 0 dyn_pushbutton_text2 = text_new dyn_pushbutton_text3 = text_bat current_report = rep_name "XAYALRK047300 no_alv_grid = 'X' "XAYAHRK046476 IMPORTING return_code = retcd TABLES data_tab = fieldname_tab = fieldnames error_tab = error_tab.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING basic_list_title = text-003 * file_name = sy-repid "AHRK029046 file_name = file_name "AHRK029046 head_line1 = text-005 foot_note1 = per-text foot_note2 = rej-text foot_note3 = gen-text lay_out = 0 dyn_pushbutton_text1 = text_old dyn_pushbutton_text3 = text_bat current_report = rep_name "XAYALRK047300 no_alv_grid = 'X' "XAYAHRK046476 IMPORTING return_code = retcd TABLES data_tab = fieldname_tab = fieldnames error_tab = error_tab.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 1.

HELP_VALUES_SHOW * CALL FUNCTION 'HELP_VALUES_SHOW' * EXPORTING * FIELDINFO = help_info * SHRINK_FLAG = 'X' * NUMBER_OF_F4_CALL = number_of_call * IMPORTING * SELECT_VALUE = help_info-fldvalue * NEXT_CALL = next_call * TABLES * DYNPSELECT = dynpselect * DYNPVALUETAB = dynpvaluetab * EXCEPTIONS * OTHERS = 4.

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = help_info * PROPERTY_BAG = IMPORTING * SELECTION = select_value = help_info-fldvalue * RSMDY_RET = TABLES dynpselect = dynpselect dynpvaluetab = dynpvaluetab.



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