SAP Reports / Programs

RPSELEFI SAP ABAP Report - Run payroll and export data







RPSELEFI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Initiation of the payroll and exportation of the data This program is used to initialize the settings of the selection screens for the following screens: the payroll calculator (RPCALCF0) the export program (RPIF00FI)...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 RPSELEFI 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 RPSELEFI. "Basic submit
SUBMIT RPSELEFI AND RETURN. "Return to original report after report execution complete
SUBMIT RPSELEFI 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: DISP_LOG = Display log
Selection Text: INTFNAME = Name of interface
Selection Text: PERNUM = Personnel no.
Selection Text: PNPABKRS = Payroll Accounting Area
Selection Text: PNPMCIDE = Matchcode
Selection Text: REPEAT = Repeat
Selection Text: RETRO_DT = Forced retro.accounting as of
Selection Text: S_ORIG = Unique original periods
Selection Text: S_PROT = Display log
Selection Text: TST_ON = Test run (no update)
Selection Text: UPDATE = Update
Title: Run payroll and export data
Text Symbol: 001 = Selection
Text Symbol: 002 = Program control
Text Symbol: 004 = Export
Text Symbol: 009 = Payroll schema
Text Symbol: 019 = Export file
Text Symbol: 032 = Payroll program execution (RPCALCF0)
Text Symbol: P01 = Select payroll areas to be processed:
Text Symbol: P02 = AREAS FREED FOR PAYROLL RUN:


INCLUDES used within this REPORT RPSELEFI

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_P06I_GET_INTERFACE_VERSION CALL FUNCTION 'HR_P06I_GET_INTERFACE_VERSION' EXPORTING secondary_pac = pac master_pac = pacmait IMPORTING intf_version = g_version EXCEPTIONS pacs_initial = 1 wrong_master_pac = 2 tedc_error = 3 OTHERS = 4.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'BATCH' report = 'RPSELEFI' IMPORTING out_parameters = params valid = valid EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING mode = 'BATCH' report = 'RPSELEFI' IMPORTING out_parameters = params valid = valid EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

PA03_PERIODDATES_GET CALL FUNCTION 'PA03_PERIODDATES_GET' EXPORTING f_abkrs = pnpabkrs-low IMPORTING f_current_endda = endda f_current_begda = begda EXCEPTIONS pcr_does_not_exist = 1 abkrs_does_not_exist = 2 period_does_not_exist = 3 OTHERS = 4.

PA03_PCR_READ CALL FUNCTION 'PA03_PCR_READ' EXPORTING f_abkrs = payroll_area IMPORTING f_state = w_abkrs_status f_abkrs_text = w_abkrs_text.

HR_99S_POPUP_TO_DECIDE_LIST CALL FUNCTION 'HR_99S_POPUP_TO_DECIDE_LIST' EXPORTING * CURSORLINE = 1 mark_flag = 'X' mark_max = wa_nb_abkrs * START_COL = 0 ( will be centered ) * START_ROW = 0 ( " ) textline1 = wa_text_line * TEXTLINE2 = ' ' * TEXTLINE3 = ' ' titel = wa_text_title * DISPLAY_ONLY = ' ' answer_max = wa_nb_abkrs IMPORTING answer = wa_answer TABLES t_spopli = spoplist EXCEPTIONS not_enough_answers = 1 * TOO_MUCH_ANSWERS = 2 * TOO_MUCH_MARKS = 3 OTHERS = 4.



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