SAP Reports / Programs | Personnel Management | Personnel Administration(PA-PA) SAP PA

RPUMAJ00 SAP ABAP Report - MiniApp Anniversary List







RPUMAJ00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Anniversary List This list contains all employees who have an anniversary based on their length of service during the selected time period...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 RPUMAJ00 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 RPUMAJ00. "Basic submit
SUBMIT RPUMAJ00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUMAJ00 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: P_AFTER = Days in the future
Selection Text: P_BEFORE = Days in the past
Selection Text: P_DEPTH = Reporting Depth
Selection Text: P_VARI = Layout
Selection Text: P_WEGID = Evaluation path
Selection Text: SO_JAHRE = Length of service in years
Title: MiniApp Anniversary List
Text Symbol: 001 = Selection period
Text Symbol: 002 = Display results
Text Symbol: 003 = Select anniversaries
Text Symbol: 004 = Select employees


INCLUDES used within this REPORT RPUMAJ00

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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = G_SAVE CHANGING CS_VARIANT = GX_VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_STRUCTURE_NAME = 'RPUMAJ00L' I_GRID_TITLE = gt_titel I_SAVE = G_SAVE IS_VARIANT = G_VARIANT TABLES T_OUTTAB = GT_jubilee.

HR_GETEMPLOYEEDATA_FROMUSER CALL FUNCTION 'HR_GETEMPLOYEEDATA_FROMUSER' EXPORTING USERNAME = sy-uname IMPORTING EMPLOYEENUMBER = benutzer_pernr EXCEPTIONS OTHERS = 1.

RH_GET_ASSIGNED_OBJECTS CALL FUNCTION 'RH_GET_ASSIGNED_OBJECTS' EXPORTING OTYPE = 'P' objid = benutzer_pernr WEGID = wegid tables assigned_objects = act_assigned_objects.

RH_GET_ASSIGNED_OBJECTS CALL FUNCTION 'RH_GET_ASSIGNED_OBJECTS' EXPORTING OTYPE = 'P' objid = benutzer_pernr WEGID = 'ORGEH' TDEPTH = depth tables ROOT_OBJECTS = act_root_objects assigned_objects = act_assigned_objects.

RH_GET_ASSIGNED_OBJECTS CALL FUNCTION 'RH_GET_ASSIGNED_OBJECTS' EXPORTING OTYPE = 'P' objid = benutzer_pernr WEGID = 'OSP' tables ROOT_OBJECTS = act_root_objects assigned_objects = act_assigned_objects.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = wa_pernr-pernr INFTY = '0000' BEGDA = begda ENDDA = endda IMPORTING SUBRC = HR_READ_SUBRC TABLES INFTY_TAB = I0000 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = wa_data-pernr IMPORTING entrydate = wa_data-endat TABLES entry_dates = entry_date_tab EXCEPTIONS entry_date_not_found = 14 pernr_not_assigned = 2 OTHERS = 13.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = wa_data-pernr INFTY = '0001' BEGDA = begda ENDDA = endda IMPORTING SUBRC = HR_READ_SUBRC TABLES INFTY_TAB = I0001 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = G_VARIANT I_SAVE = G_SAVE I_DISPLAY_VIA_GRID = 'X' IMPORTING E_EXIT = G_EXIT ES_VARIANT = GX_VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = G_SAVE CHANGING CS_VARIANT = GX_VARIANT.



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