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

RPUMAB00 SAP ABAP Report - MiniApp Birthday List







RPUMAB00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Birthday List The list contains all employees who have a birthday 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 RPUMAB00 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 RPUMAB00. "Basic submit
SUBMIT RPUMAB00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUMAB00 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
Title: MiniApp Birthday List
Text Symbol: 001 = Selection period
Text Symbol: 002 = Display results
Text Symbol: 003 = Select birthdays
Text Symbol: 004 = Select employees


INCLUDES used within this REPORT RPUMAB00

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 = 'RPUMAB00L' I_GRID_TITLE = gt_titel I_SAVE = G_SAVE IS_VARIANT = G_VARIANT TABLES T_OUTTAB = GT_birthday.

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_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = wa_data-pernr INFTY = '0002' BEGDA = begda ENDDA = endda IMPORTING SUBRC = HR_READ_SUBRC TABLES INFTY_TAB = I0002 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

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.

SUSR_USER_DEFAULTS_GET CALL FUNCTION 'SUSR_USER_DEFAULTS_GET' EXPORTING USER_NAME = SY-UNAME IMPORTING USER_DEFAULTS = USDEFAULTS EXCEPTIONS OTHERS = 1.



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