SAP Reports / Programs

RPLVADH0 SAP ABAP Report - Monthly declaration v2 - Private declaration







RPLVADH0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for PROGRAM (RPLVADH0) The documentation contains user information required for generating the individuals' data supply forms ,,0608M, 0608-03 - 0608-11, ,,06082M, 06082-03 - 06082-11, ,,06084M, 06184-03 - 06084-11, ,,0708M, 0708-04 - 0708-14, ,,0808M, 0808-04 - 0808-14 according to the APEH regulations related to the monthly tax and contribution return started from 04...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 RPLVADH0 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_RPLVADH0 - Monthly Ret.V2 Individual Tax Return
PC00_M21_RPLVADH0SIM - Monthly Ret.V2 Ind. Tax Return Test


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 RPLVADH0. "Basic submit
SUBMIT RPLVADH0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPLVADH0 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_BEOLV = Start of merging in IT0041
Selection Text: P_CSAKQ = Create Q only
Selection Text: P_ELES = Productive
Selection Text: P_OLV = Reading stored
Selection Text: P_P0057 = Pr.pens.fund basedOn 0057 only
Selection Text: P_PARHT = Parallel prod.run prohibited
Selection Text: P_PASSZ = Use of passive code 97
Selection Text: P_SZIM = Simulation
Selection Text: P_TV_FML = Absence form (T512E)
Selection Text: P_URLAP = Prepare form
Selection Text: S_FELM = Release absences
Selection Text: S_PERSG = D Employee group
Selection Text: S_PERSK = D EmplSubgroup
Selection Text: S_STRNR = D Private person's tax number
Title: Monthly declaration v2 - Private declaration
Text Symbol: H22 = Conversion error
Text Symbol: H21 = PrPensF memb.fee corr.for 2006
Text Symbol: H20 = Due to negative wage type /6, check data posted in 0441
Text Symbol: H19 = Employment quality is '00'
Text Symbol: H18 = Corr.declaration prepared
Text Symbol: H17 = No /M31 wage type for release
Text Symbol: H16 = Write cluster error(extern.correction)
Text Symbol: H15 = Write cluster error (int.data)
Text Symbol: H14 = Negative value in declaration. Mark for complete correction.
Text Symbol: H13 = Pr.person's tax number cannot be determined
Text Symbol: H12 = Company's tax number cannot be defined
Text Symbol: H11 = Company's name cannot be determined
Text Symbol: H10 = There is no IT0001
Text Symbol: H09 = Pr.person's name cannot be determined
Text Symbol: H08 = There is no IT0175
Text Symbol: H07 = There is no IT0002
Text Symbol: H23 = Subsequent pensioning. Mark for complete correction
Text Symbol: H24 = Reason for non-deduction cannot be: "8: for deduction of solidarity tax advance..."
Text Symbol: MOD = Run way
Text Symbol: NF1 = There are no warnings
Text Symbol: NH1 = Th.is no error
Text Symbol: NV1 = Th.is no setting err.
Text Symbol: PAR = Additional parameters





Text Symbol: R01 = Barcodes of declar.below are not regist.,therefore f.per.
Text Symbol: R02 = Company
Text Symbol: R03 = In-per. For-per.
Text Symbol: R04 = ->
Text Symbol: R06 = test run is possible only (table T5HV4)
Text Symbol: R11 = Barcodes of declarations below have already been registered,
Text Symbol: R12 = period is only in test run possible
Text Symbol: R21 = Declarations below are not contained in barcode registr.table (T3HV4), therefore test run only
Text Symbol: VIS = Forced H
Text Symbol: F03 = Error while defining entry date
Text Symbol: F02 = Entry date code is not in table T5H4E.
Text Symbol: F01 = Entry date cannot be determined.
Text Symbol: E16 = Corrected due to data from external declaration
Text Symbol: E15 = In case of single reservation, the declaration goes back to previous month. Select it for the entire place
Text Symbol: E14 = Correction due to IT0441
Text Symbol: E13 = Subseq. retirement
Text Symbol: E12 = Form does not exist:
Text Symbol: E11 = Pupils of vocational tr.schools cannot select incomes w/ EKHO
Text Symbol: E10 = Suppl.Business org. cannot demand START allowance
Text Symbol: E09 = Marked for complete correction
Text Symbol: E08 = Variable<>value
Text Symbol: E07 = Already complete correct.f.prev.month
Text Symbol: E06 = Sheet no. diff.
Text Symbol: E05 = No sheet
Text Symbol: E04 = Negative val.
Text Symbol: E03 = Contr. paid by E/r base(1) < CoBase(2) + CoBase(3)
Text Symbol: E02 = Base = 0 and tax/contr. <> 0
Text Symbol: E01 = Gross(D) <> Revenue(B) - Costs(C)
Text Symbol: E00 = Master data correct. only
Text Symbol: ASZ = Other selection
Text Symbol: ALK = Select persons off the payroll
Text Symbol: 001 = No declaration prepared f.tax no.
Text Symbol: F04 = Entry date is false in 0041
Text Symbol: H06 = Pr.person mother's name cannot be determined
Text Symbol: H05 = Pr.person's birth name cannot be determined
Text Symbol: H04 = Pr.person's place of birth cannot be determined
Text Symbol: H03 = Pr.person's birth date cannot be determined
Text Symbol: H02 = Pr.person's citizenship cannot be determined
Text Symbol: H01 = Pr.person's gender cannot be determined





Text Symbol: FTT = More main pers.nos.specified
Text Symbol: FTN = No main pers.no. selected
Text Symbol: FT1 = Main pers.no.:
Text Symbol: FT0 = Main PersNo error
Text Symbol: FH3 = Errors in settings
Text Symbol: FH2 = Errors
Text Symbol: FH1 = Other warnings
Text Symbol: F14 = Social contr. tax (&1) diff. > 10 HUF,tax recalculated
Text Symbol: F13 = Social contr.tax basis 0 -> recalc.from tax
Text Symbol: F12 = Soc. contrib. tax <= +-1, base 0 -> tax deleted
Text Symbol: F11 = Soc. contrib. tax 0, base deleted (base: &1)
Text Symbol: F10 = Employee does not have SI no., no sheet 9 is made
Text Symbol: F09 = Wage type of EDIF not found in RT
Text Symbol: F08 = For skill.work. pupils, FEOR code cannot have value
Text Symbol: F07 = In a relationship with entrepreneurship char. no unpaid leave (child care) can be lost time
Text Symbol: F06 = In commission relationship, time lost cannot be uncertified absence cannot be uncertified
Text Symbol: F05 = Entry date is false in 0041


INCLUDES used within this REPORT RPLVADH0

RPC2RX00,
RPC2RHH0,
RPC2CD00,
RPPPXD00.
RPCLPC00,
RPCFPCH0.
INCLUDE RPPPXD10.
RPPPXM00,
RPUMKC00.
INCLUDE: RPLVADH0_HIBA, "C5066700
RPLVADH0_T5H2B,
RPLVADH0_CLSTR,
RPLVADH0_LAPOK,
RPLVADH0_LAPOK_1308M,
RPLVADH0_LAPOK_1208M,
RPLVADH0_LAPOK_1108M,
RPLVADH0_LAPOK_1008M,
RPLVADH0_LAPOK_0908M,
RPLVADH0_LAPOK_0808M,
RPLVADH0_LAPOK_0708M,
RPLVADH0_LAPOK_06084M,
RPLVADH0_LAPOK_06082M,



RPLVADH0_LAPOK_06081KM,
RPLVADH0_LAPOK_0608M.


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_HU_GET_PERNR_BY_STRNR CALL FUNCTION 'HR_HU_GET_PERNR_BY_STRNR' EXPORTING strnr = pd_strnr inper = ld_inper * IMPORTING * KEY_PERNR = TABLES t_pernr = lt_pernr_fv.

HR_HU_DELETE_HAVI_KEY CALL FUNCTION 'HR_HU_DELETE_HAVI_KEY' * EXPORTING * KEY = IMPORTING rc = ld_rc TABLES t_key = lt_key.

HR_HU_IMPORT_HAVI CALL FUNCTION 'HR_HU_IMPORT_HAVI' EXPORTING key = lt_bevall-key i_convert_mnyp = gv_convert_mnyp IMPORTING rc = ld_rc version = lt_bevall-version alap = lt_bevall-alap TABLES fej = lt_bevall-fej adatn = lt_bevall-adatn adatt = lt_bevall-adatt.

HR_HU_DELETE_HAVI_KEY CALL FUNCTION 'HR_HU_DELETE_HAVI_KEY' * EXPORTING * KEY = IMPORTING rc = ld_rc TABLES t_key = lt_key.

HR_HU_EXPORT_HAVI CALL FUNCTION 'HR_HU_EXPORT_HAVI' EXPORTING key = lt_bevall-key nyomt = lt_bevall-version-nyomt forml = lt_bevall-version-forml vall = lt_bevall-alap-vall vall_ado = lt_bevall-alap-vall_ado ename = lt_bevall-alap-ename adosz = lt_bevall-alap-adosz overwrite = 'X' TABLES fej = lt_bevall-fej adatn = lt_bevall-adatn adatt = lt_bevall-adatt EXCEPTIONS existing_record_incluster = 1 other_cluster_write_error = 2 OTHERS = 3.

HR_HU_IMPORT_HAVI CALL FUNCTION 'HR_HU_IMPORT_HAVI' EXPORTING key = lt_bevall-key i_convert_mnyp = gv_convert_mnyp IMPORTING rc = ld_rc version = lt_bevall-version alap = lt_bevall-alap TABLES fej = lt_bevall-fej adatn = lt_bevall-adatn adatt = lt_bevall-adatt.

HR_HU_EXPORT_HAVI CALL FUNCTION 'HR_HU_EXPORT_HAVI' EXPORTING key = lt_bevall-key nyomt = lt_bevall-version-nyomt forml = lt_bevall-version-forml vall = lt_bevall-alap-vall vall_ado = lt_bevall-alap-vall_ado ename = lt_bevall-alap-ename adosz = lt_bevall-alap-adosz overwrite = space TABLES fej = lt_bevall-fej adatn = lt_bevall-adatn adatt = lt_bevall-adatt EXCEPTIONS existing_record_incluster = 1 other_cluster_write_error = 2 OTHERS = 3.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = '18000101' "ld_kezd end = pn-endda * IMPORTING * FIRE_DATE = * HIRE_DATE = TABLES pphifi = lt_hifi pp0000 = ps_pernr-p0000 pp0001 = ps_pernr-p0001.

HR_HU_GET_DATUMTIPUS_KOD CALL FUNCTION 'HR_HU_GET_DATUMTIPUS_KOD' EXPORTING iv_kotyp = 'BV' IMPORTING ev_kodfs = sv_jogviszony_vege.

HR_HU_UTOLSO_BELEPES CALL FUNCTION 'HR_HU_UTOLSO_BELEPES' EXPORTING per_nr = ps_pernr-pernr ref_date = lt_belepes-endda IMPORTING last_hire = lt_belepes-begda ev_munkabalepes = lv_munkabalepes * P0000_HIRE = * MASSN = * MASSG = EXCEPTIONS not_found = 1 t5h4e_error = 2 p0041_begda = 3 p0041_future = 4 p0041_sequence = 5 OTHERS = 6.

HR_HU_GET_DATUMTIPUS CALL FUNCTION 'HR_HU_GET_DATUMTIPUS' EXPORTING is_0041 = ls_p0041 iv_datar = p_beolv IMPORTING ev_date = lv_beolvadas.

HR_HU_GET_DATUMTIPUS CALL FUNCTION 'HR_HU_GET_DATUMTIPUS' EXPORTING is_0041 = ls_p0041 iv_datar = sv_jogviszony_vege IMPORTING ev_date = lv_jogviszony_vege.

HR_HU_EMFSL_TO_MNYP CALL FUNCTION 'HR_HU_EMFSL_TO_MNYP' EXPORTING iv_emfsl = -emfsl iv_begda = -begda iv_endda = -endda IMPORTING ev_mnypk = lv_mnyp EXCEPTIONS no_mnyp_found = 1 OTHERS = 2.

HR_HU_UTOLSO_BELEPES CALL FUNCTION 'HR_HU_UTOLSO_BELEPES' EXPORTING per_nr = ps_pernr-pernr ref_date = pn-endda IMPORTING last_hire = lv_utolso_belepes EXCEPTIONS not_found = 1 t5h4e_error = 2 p0041_begda = 3 p0041_future = 4 p0041_sequence = 5 OTHERS = 6.

HR_HU_GET_SZEMNAP * CALL FUNCTION 'HR_HU_GET_SZEMNAP' * EXPORTING * iv_pernr = ps_pernr-pernr ** iv_period = ** iv_t5h4x = * TABLES * ev_pcl1_pc = ps_pernr-ncale.

HR_HU_CREATE_512P_FORML_CLUST CALL FUNCTION 'HR_HU_CREATE_512P_FORML_CLUST' EXPORTING nyomt = pt_bevall-version-nyomt datum = gt_honap-vege input_lap = ls_fej-lap input_lapszam = ls_fej-lapszam alap = pt_bevall-alap TABLES fej = pt_bevall-fej adatn = pt_bevall-adatn adatt = pt_bevall-adatt linda = lt_linda EXCEPTIONS no_urlap_page_found = 1 no_head_line_found = 2 OTHERS = 3.

HR_HU_BUILD_512P_FORM CALL FUNCTION 'HR_HU_BUILD_512P_FORM' EXPORTING nyomt = pd_nyomt datum = pd_datum TABLES t_urlap_strukt = pt_t512p_urlap.

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 = 'T5H2B' varkey = varkey EXCEPTIONS foreign_lock = 1 system_failure = 2.

DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING tabname = 'T5H2B' varkey = varkey.

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.



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