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

RPLNHRU0_CE SAP ABAP Report - New Hire Reporting for Concurrent Employment







RPLNHRU0_CE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The Personal Responsibility and Work Opportunity Act of 1996, commonly known as the Welfare Reform Act, requires employers to report newly hired employees in all states...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 RPLNHRU0_CE 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 RPLNHRU0_CE. "Basic submit
SUBMIT RPLNHRU0_CE AND RETURN. "Return to original report after report execution complete
SUBMIT RPLNHRU0_CE 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: TRANSMIT = Transmitter
Selection Text: STATE = State
Selection Text: RPSTATE = Report to state
Selection Text: RAD2 = Magnetic media
Selection Text: RAD1 = Paper
Selection Text: PERSON1 = Contact person
Selection Text: HDATE = New employees in period
Selection Text: FILENAME = Download file name
Selection Text: EVENT = Hire/rehire event type
Selection Text: COMPANY = Tax company
Title: New Hire Reporting for Concurrent Employment
Text Symbol: 075 = MD Newhire Record
Text Symbol: 076 = Internal error during calculation of Salary for the following new hires.
Text Symbol: 077 = Undefined salary for following new hires. Maintain Infotype 0008.
Text Symbol: 078 = Include
Text Symbol: 079 = Exclude
Text Symbol: 080 = SALARY:
Text Symbol: 081 = MEDICAL INSURANCE:
Text Symbol: 082 = YES
Text Symbol: 083 = NO
Text Symbol: 084 = PAY FREQUENCY:
Text Symbol: 085 = CURRENCY:
Text Symbol: 086 = USD
Text Symbol: 074 = IN Newhire Record
Text Symbol: 073 = Specify File type for Magnetic Media
Text Symbol: 072 = File Name
Text Symbol: 071 = Unix File
Text Symbol: 070 = PC File
Text Symbol: 069 = AZ Newhire Record
Text Symbol: 068 = AR Newhire Record
Text Symbol: 067 = Please specify download path and filename.
Text Symbol: 066 = Please specify the state to file report.
Text Symbol: 065 = SEIN:
Text Symbol: 064 = State of Hire:
Text Symbol: 063 = |SSN |Name |Street |City |State |ZIP |Date of Hire|
Text Symbol: 062 = FEIN:
Text Symbol: E01 = You do not have write permission into file
Text Symbol: 111 = Inform the transmitter.





Text Symbol: 110 = Undefined Dependent Indicator for health plans for following new hires. Check T74HS and T5UBA tables..
Text Symbol: 109 = It was not possible to verify eligibility for Health Plans for following new hires. Check benefit data.
Text Symbol: 108 = It was not possible to find Health Plans for Benefit Area for following new hires. Check T5UB1 and T5UBA tables.
Text Symbol: 106 = WY Newhire Record
Text Symbol: 105 = WV Newhire Record
Text Symbol: 104 = MN Newhire Record
Text Symbol: 103 = NM Newhire Record
Text Symbol: 102 = filing by diskette or EFT.
Text Symbol: 101 = filing by magnetic tape or cartridge.
Text Symbol: 100 = in the default work directory
Text Symbol: 099 = The file is created with name
Text Symbol: 098 = According to Kansas state DOL file name should be
Text Symbol: 097 = the file name should be 'FEIN No'.DAT,
Text Symbol: 096 = According to the Kansas state legal requirement
Text Symbol: 095 = FL Newhire Record
Text Symbol: 094 = DC Newhire Record
Text Symbol: 093 = Undefined Address for the following new hires. Maintain subtype 1 or 3 or 5 in IT0006
Text Symbol: 092 = has been changed recently
Text Symbol: 091 = Select the check box if employer address
Text Symbol: 090 = Has employer address changed recently ?(For state of Montana)
Text Symbol: 089 = VA Newhire Record
Text Symbol: 088 = Undefined Benefits Information for the following new hires. Maintain Infotype 0171.
Text Symbol: 087 = HEALTH BENEFITS ELIGIBILITY:
Text Symbol: 030 = Selection criteria
Text Symbol: 029 = SIGNATURE:
Text Symbol: 028 = DATE W-4 signed:
Text Symbol: 027 = HEALTH CARE:
Text Symbol: 026 = Full-time
Text Symbol: 025 = Part-time
Text Symbol: 024 = WORK STATUS:
Text Symbol: 023 = DATE OF BIRTH:
Text Symbol: 022 = DATE OF HIRE/REHIRE:
Text Symbol: 021 = EMPLOYEE ADDRESS:
Text Symbol: 020 = SOCIAL SECURITY NUMBER:
Text Symbol: 019 = EMPLOYEE NAME:
Text Symbol: 018 = Employee information
Text Symbol: 017 = STATE UI NUMBER:
Text Symbol: 016 = EMPLOYER ID NUMBER:
Text Symbol: 015 = ZIP:





Text Symbol: 014 = STATE:
Text Symbol: 013 = CITY:
Text Symbol: 012 = EMPLOYER ADDRESS:
Text Symbol: 011 = EMPLOYER NAME:
Text Symbol: 010 = Employer information:
Text Symbol: 009 = State
Text Symbol: 008 = DATE:
Text Symbol: 007 = Not a valid state.
Text Symbol: 006 = Not a valid tax company.
Text Symbol: 005 = Following new hires have no UI state or an unclear one. Maintain Infotype 0209.
Text Symbol: 004 = Total number of new hires reported:
Text Symbol: 003 = Summary for New Hire Reporting
Text Symbol: 002 = The reports in these states are voluntary and are not yet supported.
Text Symbol: 001 = Report-specific selections
Text Symbol: 031 = Tax company
Text Symbol: 061 = Reporting Period:
Text Symbol: 060 = City/State/Zip:
Text Symbol: 059 = Transmittal State:
Text Symbol: 058 = Street:
Text Symbol: 057 = Transmittal Date:
Text Symbol: 056 = Name:
Text Symbol: 055 = is not supported yet; please use paper format.
Text Symbol: 054 = The magnetic media format for state
Text Symbol: 053 = Output
Text Symbol: 052 = EMPLOYER PHONE NUMBER:
Text Symbol: 051 = Exclude pattern
Text Symbol: 050 = Pattern
Text Symbol: 049 = Less than
Text Symbol: 048 = Less or equal
Text Symbol: 047 = Greater than
Text Symbol: 046 = Greater or equal
Text Symbol: 045 = Not equal to
Text Symbol: 044 = Outside range
Text Symbol: 043 = to
Text Symbol: 042 = Range
Text Symbol: 041 = Single value
Text Symbol: 040 = Name
Text Symbol: 039 = Hire/rehire date
Text Symbol: 038 = PerNo



Text Symbol: 037 = No. of new hires
Text Symbol: 036 = Text
Text Symbol: 035 = Company
Text Symbol: 034 = New hires reported
Text Symbol: 033 = Hire/rehire event type
Text Symbol: 032 = New employees in period


INCLUDES used within this REPORT RPLNHRU0_CE

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:

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' "#EC * EXPORTING * beg = pn-begda "RAPL6BK000221 * end = pn-endda "RAPL6BK000221 beg = l_begda "RAPL6BK000221 end = l_endda "RAPL6BK000221 IMPORTING * FIRE_DATE = hire_date = hiredate TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001 EXCEPTIONS OTHERS = 1.

HRUS_GET_UNEMPLOYMENT_STATE CALL FUNCTION 'HRUS_GET_UNEMPLOYMENT_STATE' EXPORTING pernr = p0001-pernr date = hiredate IMPORTING taxau = uistate EXCEPTIONS no_record_found = 1 cannot_determine_ui_state = 2 OTHERS = 3.

HRUS_GET_WORK_STATE CALL FUNCTION 'HRUS_GET_WORK_STATE' "Note 1309473 EXPORTING pernr = p0001-pernr date = hiredate IMPORTING TAXAU = wkstate.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = gc_structure1 CHANGING ct_fieldcat = gt_fieldcat1 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_pf_status i_callback_user_command = gc_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat1 it_events = gt_events is_print = gs_print "note-941253 TABLES t_outtab = gt_empyee EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_end_of_page.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page1.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_commentary.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' * EXPORTING * it_list_commentary = gt_list_end_of_page * i_end_of_list_grid = gc_flag_x.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = gv_repid i_structure_name = iv_structure CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid i_callback_pf_status_set = gc_pf_status i_callback_user_command = gc_user_command is_layout = gs_layout it_fieldcat = gt_fieldcat it_events = gt_events TABLES t_outtab = EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_end_of_page i_end_of_list_grid = gc_flag_x.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' ""note-941253 * EXPORTING * it_list_commentary = gt_list_top_of_page1 * i_end_of_list_grid = gc_flag_x.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' "note-941253 * EXPORTING * it_list_commentary = gt_commentary.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = 60 linewidth = 134 startline = 1 TABLES lines = gt_tline EXCEPTIONS OTHERS = 0.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' "note-941253 * EXPORTING * it_list_commentary = gt_commentary.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' "note-941253 * EXPORTING * it_list_commentary = gt_commentary.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' "note-941253 * EXPORTING * it_list_commentary = gt_commentary.

REUSE_ALV_COMMENTARY_WRITE * CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' "note-941253 * EXPORTING * it_list_commentary = gt_commentary.



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