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

RPLHBMH0 SAP ABAP Report - Year-end (tax) certificates. Forms M29, M30, T29,...







RPLHBMH0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RPLHBMH0 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M21_RPLHBMH0 - Fam. serv. file listing and download


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 RPLHBMH0. "Basic submit
SUBMIT RPLHBMH0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLHBMH0 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: C_ERRLST = Error list of incomplete data
Selection Text: FILE1 = UNIX file name
Selection Text: FILE2 = UNIX file to M29/A or K30A
Selection Text: FORML = Form code (settings (T5H2B))
Selection Text: FORML_1 = Form code (M29/1)
Selection Text: NYJEL = Form's ID
Selection Text: PERSNR = Personnel number
Selection Text: SZCS = Employee group Off the payroll
Selection Text: SZK = Empl.subgroup Off the payroll
Selection Text: TESTMODE = Test mode
Selection Text: FORML_A = Form code (M29/A)
Selection Text: FORML_B = Form code (M29/B)
Selection Text: FORML_C = Form code (M29/C)
Selection Text: FORML_F = Form code (format (T512P))
Selection Text: NEMITT = List of not relevant pers.nos.
Title: Year-end (tax) certificates. Forms M29, M30, T29,...
Text Symbol: 018 = Employee's nationality not entered (infotype 002)
Text Symbol: 017 = Employee's personal no. not entered (infotype 175)
Text Symbol: 005 = W A R N I N G - Too high tax allowance value:
Text Symbol: 004 = E R R O R L I S T - Non-definable variables.
Text Symbol: 003 = -
Text Symbol: 002 = Pers.no.:
Text Symbol: 001 = E R R O R L I S T -Incomplete data
Text Symbol: 011 = has no infotype 6 (subtype 1 or 2).
Text Symbol: 031 = There is no entry to table $ argum. $
Text Symbol: 035 = employee's passport no. not entered (infotype 175)
Text Symbol: 040 = Pers.no.:
Text Symbol: 041 = -
Text Symbol: FKS = Select persons off the payroll
Text Symbol: 010 = has no infotype 1.
Text Symbol: 008 = W A R N I N G - missing data:
Text Symbol: 007 = RUN RESULTS
Text Symbol: 006 = W A R N I N G - Following variables cannot be checked:
Text Symbol: FNA = File name (M29/C)
Text Symbol: 026 = Employee's mother's name not entered (infotype 175)
Text Symbol: 027 = Employee's maiden name not entered (infotype 175)
Text Symbol: 028 = Employee's date of birth not entered (infotype 002)
Text Symbol: 029 = Employee's place of birth not entered (infotype 002)





Text Symbol: 030 = Incomplete home address (infotype 006)
Text Symbol: FRB = M29/B
Text Symbol: FRC = M29/C
Text Symbol: FRF = File parameters
Text Symbol: FRK = Additional parameters
Text Symbol: FRM = FormName
Text Symbol: 022 = cannot be checked.
Text Symbol: FRA = Supplementary forms M29 (format)
Text Symbol: FR1 = M29/1
Text Symbol: FR0 = Form selection
Text Symbol: FNV = File name
Text Symbol: 019 = Employee's tax number not entered (infotype 163)
Text Symbol: OA1 = Name Personnel no.
Text Symbol: OA0 = Following persons are self-assessors, not included in list M30
Text Symbol: NYU = Form code selection
Text Symbol: NYJ = Form's ID
Text Symbol: NYC = Form selection
Text Symbol: WK0 = Incorrect foundation code for employees below (no 1 or 2):
Text Symbol: WA2 = 29/A 29/B
Text Symbol: WA1 = Name Personnel number
Text Symbol: WA0 = There are too many M29/A or M29/B sheets,cannot be saved in file
Text Symbol: TUM = Test mode
Text Symbol: NOA = M30 for not self-assessors too
Text Symbol: NIT = List of pers.nos to other forms
Text Symbol: HIB = Error list on incomplete data
Text Symbol: FRX = M29/A
Text Symbol: FRU = Form code:
Text Symbol: NY5 = Information on vacation checks
Text Symbol: NY4 = Information on tax arrears
Text Symbol: NY3 = Data on employees' annual income
Text Symbol: NY2 = Define personal income tax
Text Symbol: NY1 = Income confirm.
Text Symbol: WK1 = Name Personnel no.
Text Symbol: WR3 = Leaving Joining
Text Symbol: WR2 = Per.no. Self-ass? Left? Left this year? Off the payroll?
Text Symbol: WR1 = Nme
Text Symbol: WR0 = Form should not contain data for personnel numbers below:
Text Symbol: FRS = Form code selection
Text Symbol: 016 = Employee's name not entered (infotype 001)





Text Symbol: 015 = has no infotype 2.
Text Symbol: 014 = has no infotype 163.
Text Symbol: 013 = has no infotype 307.
Text Symbol: 012 = has no infotype 175.
Text Symbol: 021 = cannot be defined.
Text Symbol: 020 = Variable


INCLUDES used within this REPORT RPLHBMH0

INCLUDE: RPLHBMH1, " KONVERZIÓK
RPC2RHH0,
RPC2RX00,
RPPPXD00,
RPPPXD10,
RPC2CD00.
INCLUDE: RPPPXM00,
RPCMGR00,
RPCLPC00,
RPCFPCH0.


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:

STRING_CONCATENATE call function 'STRING_CONCATENATE' exporting string1 = row string2 = relevantpernr-pernr importing string = row.

STRING_CONCATENATE call function 'STRING_CONCATENATE' exporting string1 = row string2 = '/' importing string = row.

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = 'Most futtatja először a programot' textline2 = '"éles"-ben (adatok mágneses adat-' textline3 = 'hordozóra mentésével együtt)?' text_option1 = 'Igen' text_option2 = 'Nem' titel = 'Fájl megnyitása sikertelen' importing answer = answer.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' exporting beg = pn-begda end = pn-endda importing hire_date = cdatum fire_date = edatum tables pp0000 = p0000 "in pp0001 = p0001 "in pphifi = phifi. "out

ENQUEUE_E_TABLE call function 'ENQUEUE_E_TABLE' exporting tabname = 'T5H2B' varkey = varkey exceptions foreign_lock = 1 system_failure = 2.

DEQUEUE_E_TABLE call function 'DEQUEUE_E_TABLE' exporting tabname = 'T5H2B' varkey = varkey.

HRCA_COMPANYCODE_GETDETAIL call function 'HRCA_COMPANYCODE_GETDETAIL' exporting companycode = p0001-bukrs importing address = addr-addrnumber exceptions not_found = 1 others = 2.

ADDR_GET call function 'ADDR_GET' exporting address_selection = addr importing sadr = sadr1 exceptions parameter_error = 1 address_not_exist = 2 version_not_exist = 3 internal_error = 4 others = 5.

HELP_VALUES_GET_NO_DD_NAME call function 'HELP_VALUES_GET_NO_DD_NAME' exporting * cucol = cucol * curow = curow * display = ' ' selectfield = fieldname titel = text-nyc reduced_status_only = 'X' * no_pers_help_select = 'X' * title_in_values_list = ' ' * use_user_selections = ' ' * show_all_values_at_first_time = 'X' * write_selectfield_in_colours = 'X' importing ind = ind tables fields = fields full_table = nyomtatv heading_table = heading_table exceptions full_table_empty = 01 no_tablestructure_given = 02 no_tablefields_in_dictionary = 03 more_then_one_selectfield = 04 no_selectfield = 05.

HELP_VALUES_GET_NO_DD_NAME call function 'HELP_VALUES_GET_NO_DD_NAME' exporting * cucol = cucol * curow = curow * display = ' ' selectfield = fieldname titel = text-nyu reduced_status_only = 'X' * no_pers_help_select = 'X' * title_in_values_list = ' ' * use_user_selections = ' ' * show_all_values_at_first_time = 'X' * write_selectfield_in_colours = 'X' importing ind = ind tables fields = fields full_table = p_popuptab heading_table = heading_table exceptions full_table_empty = 01 no_tablestructure_given = 02 no_tablefields_in_dictionary = 03 more_then_one_selectfield = 04 no_selectfield = 05.

HR_DISPLAY_BASIC_LIST



call function 'HR_DISPLAY_BASIC_LIST' exporting lay_out = 1 head_line1 = header1 head_line2 = header2 basic_list_title = sy-title file_name = 'Törzsszámlista' foot_note1 = footnote1 * foot_note2 = footnote2 * foot_note3 = footnote3 current_report = sy-repid list_level = list_level importing return_code = return_code tables data_tab = show_table fieldname_tab = fieldnames error_tab = errortab exceptions print_problems = 5 others = 1.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' exporting titel = 'Hiba T5H2M mentésekor' txt1 = 'Az adadatszolgáltatási és technikai' txt2 = 'fájlok törlése után az éles futtatást' txt3 = 'meg kell ismételni!'.

CU_READ_RGDIR call function 'CU_READ_RGDIR' exporting persnr = relevantpernr-pernr tables in_rgdir = rgdir exceptions no_record_found = 1 others = 2.

CU_READ_RGDIR call function 'CU_READ_RGDIR' exporting persnr = $pernr tables in_rgdir = rgdir exceptions no_record_found = 1 others = 2.

RP_HIRE_FIRE call function 'RP_HIRE_FIRE' exporting beg = l_begda end = l_endda importing hire_date = cdatum fire_date = edatum tables pp0000 = p0000 "in pp0001 = p0001 "in pphifi = phifi. "out

HR_HU_MOVE_STRUC1_TO_STRUC2 CALL FUNCTION 'HR_HU_MOVE_STRUC1_TO_STRUC2' EXPORTING p_struct1 = ncale IMPORTING p_struct2 = pcalh.

ENQUEUE_E_TABLE call function 'ENQUEUE_E_TABLE' exporting tabname = 'T5HS1' varkey = g_varkey exceptions foreign_lock = 1 system_failure = 2.

DEQUEUE_E_TABLE call function 'DEQUEUE_E_TABLE' exporting tabname = 'T5HS1' varkey = g_varkey.



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