SAP Reports / Programs

RPLM30HC SAP ABAP Report - Tax final settlement







RPLM30HC 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 RPLM30HC 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 RPLM30HC. "Basic submit
SUBMIT RPLM30HC AND RETURN. "Return to original report after report execution complete
SUBMIT RPLM30HC 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: TESTMODE = Test mode
Selection Text: SZK = Empl. subgroup off the payroll
Selection Text: SZCS = Employee group off the payroll
Selection Text: PERSNR = Personnel number
Selection Text: NYJEL = Form code
Selection Text: NEMITT = List of not relevant pers.nos.
Selection Text: M30_N_OA = M30 for self-assessors too
Selection Text: FORML_F = Form code (format (T512P))
Selection Text: FORML_1 = Form code (M29/1)
Selection Text: FORML = Form code (settings (T5H2B))
Selection Text: FILE2 = UNIX file to M29/A or K30A
Selection Text: FILE1 = UNIX file name
Selection Text: DIR = Directory name(ends w '/')
Title: Tax final settlement
Text Symbol: CK2 = Amount:
Text Symbol: CK3 = Where:
Text Symbol: CKA = Did NOT request family allowance split, but entitled to
Text Symbol: CKB = entitled to benefit, which cannot be validated (see line 104)!!
Text Symbol: ER1 = No error occurred.
Text Symbol: 014 = has no infotype 163.
Text Symbol: 013 = has no infotype 307.
Text Symbol: 012 = has no infotype 175.
Text Symbol: 011 = has no infotype 6 (subtype 1 or 2).
Text Symbol: 010 = has no infotype 1.
Text Symbol: 009 = hasn't got infotype 176.
Text Symbol: 008 = Incomplete data
Text Symbol: 007 = RUN RESULTS
Text Symbol: 006 = Following variables cannot be checked (NO ERROR).
Text Symbol: 005 = Too high tax allowance value:
Text Symbol: 004 = Non-definable variables (based on table T5H2B).
Text Symbol: 003 = -
Text Symbol: 002 = Pers. no.:
Text Symbol: 001 = Incomplete data
Text Symbol: 035 = Employee passport number not entered (infotype 175)
Text Symbol: 034 = Given /4CE (Spouse not val. family allow.) on 307,
Text Symbol: 033 = Spouse's tax code not entered (infotype 021)
Text Symbol: 032 = Pers. no. not employee's main pers. no. (infotype 121)
Text Symbol: 031 = No entry in table $, for argument $





Text Symbol: 030 = Employee home address incomplete (infotype 006)
Text Symbol: 029 = Employee place of birth not entered (infotype 002)
Text Symbol: 028 = Employee date of birth not entered (infotype 002)
Text Symbol: 027 = Employee maiden name not entered (infotype 175)
Text Symbol: CK1 = Cover list for child benefit claims
Text Symbol: 040 = Pers. no.:
Text Symbol: 037 = Spouse name missing (infotype 021)
Text Symbol: 036 = But family allowance split not requested (/4CJ on 307)
Text Symbol: FRU = Form code:
Text Symbol: FRS = Form code selection
Text Symbol: FRM = FormName
Text Symbol: FRK = Additional parameters
Text Symbol: FRF = File parameters
Text Symbol: FRC = M29/3
Text Symbol: FRB = M29/3
Text Symbol: FRA = Supplementary forms M29 (format)
Text Symbol: FR5 = M29/4
Text Symbol: FR1 = M29/1
Text Symbol: FR0 = Form selection
Text Symbol: FNV = File name
Text Symbol: FNA = File name (M29/3)
Text Symbol: FKS = Select persons off the payroll
Text Symbol: FCP = codepage number 852
Text Symbol: ERH = No error occurred. See also: SETTINGS button!
Text Symbol: 016 = Employee name not entered (infotype 001)
Text Symbol: 015 = has no infotype 2.
Text Symbol: 041 = -
Text Symbol: 100 = Nr. of records,
Text Symbol: 101 = form:
Text Symbol: 102 = Number of records in file
Text Symbol: 200 = File deletion failed.
Text Symbol: 201 = Before restarting the program in live mode, you must manually
Text Symbol: 202 = delete the data supply and technical files!
Text Symbol: G17 = Dependant's address is not entered (infotype 006 or table T5H2X)
Text Symbol: G16 = Dependant's nationality is not entered (infotype 021)
Text Symbol: G15 = Dependant's mother name is not entered (infotype 286 or table T5H2X)
Text Symbol: G14 = Dependant's date of birth is not entered (infotype 021)
Text Symbol: G13 = Dependant's place of birth is not entered (infotype 021)
Text Symbol: G12 = Dependant's tax number or his/her above natural IDs should be entered mandatorily!





Text Symbol: G11 = Dependant's name not entered (infotype 021 or table T5H2X)
Text Symbol: G10 = Dependant's code number not entered (infotype 021)
Text Symbol: G01 = Incomplete data among dependants included in tax settlement.
Text Symbol: FSC = Starting nr. (M29/3)
Text Symbol: FSB = Starting nr.
Text Symbol: FRX = M29/2
Text Symbol: NYU = Form code selection
Text Symbol: NYJ = Form code
Text Symbol: NYC = Form selection
Text Symbol: NY8 = Determine 15% HIP of primary producer
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: NRF = Ignore reference pers.nr.s
Text Symbol: NOA = M30 for not self-assessors too
Text Symbol: NIT = List of pers. nos to other forms
Text Symbol: MK4 = !
Text Symbol: MK3 = variable's value lowr than
Text Symbol: MK2 = The
Text Symbol: MK1 = You must check the value of these variables (rows)!!
Text Symbol: GEA = Dependant's subtype (infotype 021):
Text Symbol: 026 = Employee mother's name not entered (infotype 175)
Text Symbol: 022 = cannot be checked.
Text Symbol: 021 = cannot be defined.
Text Symbol: 020 = Variable
Text Symbol: 019 = Employee tax number not entered (infotype 163)
Text Symbol: 018 = Employee nationality not entered (infotype 002)
Text Symbol: 017 = Employee personal number not entered (infotype 175)
Text Symbol: WR2 = Per.no. Self-ass? Left? Left this year? On the payroll?
Text Symbol: WR1 = Nme
Text Symbol: WR0 = Form should not contain data for personnel numbers below:
Text Symbol: WK2 = The private pension fund membership code is wrong (not 1, 2 or 3).
Text Symbol: WK1 = Name Personnel no.
Text Symbol: WK0 = Wrong foundation code for employees below (not 1, 2, 3 or 4).
Text Symbol: WF1 = Name Personnel no.
Text Symbol: WF0 = Cannot change data in the file(s).
Text Symbol: WAH = Warning: no



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: VKH = No error in variable coding.
Text Symbol: TUM = Test mode
Text Symbol: OA1 = Name Personnel no.
Text Symbol: OA0 = Following persons are not self-assessors,thus not included in list M30
Text Symbol: Z01 = Employees below do not have income data, thus not processed.
Text Symbol: WR3 = Entry Leaving
Text Symbol: KNV = Directory name(ends w '/')
Text Symbol: HIB = Error list on incomplete data
Text Symbol: GES = Seq. no. (infotype 021):


INCLUDES used within this REPORT RPLM30HC

INCLUDE: RPLM30H5, " KONVERZIÓK
RPC2RHH0,
RPC2RX00,
RPPPXD00,
RPPPXD10,
RPC2CD00.
INCLUDE: RPPPXM00,
RPCMGR00.


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.

ROUND CALL FUNCTION 'ROUND' " felfelé kerekítve adódik a lapok száma EXPORTING DECIMALS = 0 INPUT = TEMP_2 SIGN = '+' IMPORTING OUTPUT = PAGES.

ROUND CALL FUNCTION 'ROUND' " felfelé kerekítve adódik a lapok száma EXPORTING DECIMALS = 0 INPUT = TEMP_2 SIGN = '+' IMPORTING OUTPUT = PAGES_B.

ROUND CALL FUNCTION 'ROUND' " felfelé kerekítve adódik a lapok száma EXPORTING DECIMALS = 0 INPUT = TEMP_2 SIGN = '+' IMPORTING OUTPUT = PAGES_C.

WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING * CODEPAGE = 'ASC' * FILENAME = FILE3 * FILETYPE = 'ASC' * MODE = 'A' * TABLES * DATA_TAB = PROCESSED * EXCEPTIONS * FILE_OPEN-ERROR = 1 * OTHERS = 2.

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.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING DEFAULTOPTION = '1' TEXTLINE1 = 'Azok is szerepeljenek a' TEXTLINE2 = 'listában, akiknek nincs' TEXTLINE3 = 'adóhátralékuk?' TEXT_OPTION1 = 'Igen' TEXT_OPTION2 = 'Nem' TITEL = 'Figyelmeztetés' IMPORTING ANSWER = ONLY_NN.

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.



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