RPUTX5D0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Testing of HR Customizing activities for employment tax statements You made Customizing settings for B2A - employment tax data for employees...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 RPUTX5D0 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: PA_PERR = Log Errors Only
Title: Test Report to Check HR Customizing
Text Symbol: 040 = No Entry in Table P01T_AGS
Text Symbol: 041 = No Entry in IT0006
Text Symbol: 042 = Country has No ISO Code
Text Symbol: 043 = State could not be determined
Text Symbol: 044 = Undefined error determining state
Text Symbol: 045 = Typ
Text Symbol: 046 = PA
Text Symbol: 047 = PSA
Text Symbol: 048 = Text
Text Symbol: 049 = Pers. no.
Text Symbol: 050 = Start
Text Symbol: 051 = End
Text Symbol: 052 = Start date is before selected period
Text Symbol: 053 = Stats.
Text Symbol: 054 = All Personal Areas/Subareas
Text Symbol: 055 = All Employment Tax Places of Work
Text Symbol: 056 = Participating Employment Tax Places of Work
Text Symbol: 057 = of which with errors
Text Symbol: 058 = of which w/o errors
Text Symbol: 059 = All Selected Personnel Numbers
Text Symbol: 060 = Non-Relevant Personnel Numbers
Text Symbol: 061 = Checked Personnel nos
Text Symbol: 062 = of which with errors
Text Symbol: 063 = of which w/o errors
Text Symbol: 064 = Tax Number:
Text Symbol: 065 = State:
Text Symbol: 066 = Check no.:
Text Symbol: 067 = Incorrect Check Digit
Text Symbol: 068 = Check Digit Calculation Error
Text Symbol: B01 = Organizational Log
Text Symbol: B02 = Personal Log
Text Symbol: 039 = in Fld LAND1
Text Symbol: 001 = Start Date:
Text Symbol: 002 = Error Reading IT0001
Text Symbol: 003 = Payroll Office Assigned- Personnel Area:
Text Symbol: 004 = Personnel Subarea:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
PYDE_GET_STARTMONAT CALL FUNCTION 'PYDE_GET_STARTMONAT' EXPORTING i_pernr = p_pernr i_besch_ende = p_endda IMPORTING E_PERIOD = l_startdatum * E_DTXPP = EXCEPTIONS ERROR_IT0001 = 1 ERROR_DTXPP = 2 INVALID_VALUE_DTXPP = 3 OTHERS = 4.
HR_GET_REPORTING_COMPANY CALL FUNCTION 'HR_GET_REPORTING_COMPANY' EXPORTING p_molga = '01' p_appl = 'LSTB' p_werks = L_werks p_btrtl = l_btrtl p_struc = l_pme01 p_date = p_endda IMPORTING WERKS_SUM = l_werks_lohn BTRTL_SUM = l_btrtl_lohn EXCEPTIONS REP_COMP_NOT_FOUND = 1 OTHERS = 2.
HR_GET_REPORTING_COMPANY CALL FUNCTION 'HR_GET_REPORTING_COMPANY' EXPORTING p_molga = '01' p_appl = 'LSTD' p_werks = L_werks p_btrtl = l_btrtl p_struc = l_pme01 p_date = sy-datum IMPORTING WERKS_SUM = l_werks_rz BTRTL_SUM = l_btrtl_rz EXCEPTIONS REP_COMP_NOT_FOUND = 1 OTHERS = 2.
CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = l_ankey anart = 'CA' molga = '01' IMPORTING * ADDRESS = address_detail = l_address_detail EXCEPTIONS not_found = 1 OTHERS = 2.
HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = l_ankey anart = 'CA' molga = '01' IMPORTING * ADDRESS = address_detail = l_address_detail EXCEPTIONS not_found = 1 OTHERS = 2.
HR_GET_REPORTING_COMPANY_DATA CALL FUNCTION 'HR_GET_REPORTING_COMPANY_DATA' EXPORTING p_molga = '01' p_appl = 'LSTB' p_werks_sum = p_werks p_btrtl_sum = p_btrtl p_date = sy-datum p_anart = '/A' IMPORTING infodata = l_sachbearbeiter EXCEPTIONS rep_comp_not_found = 1 address_not_found = 2 sender_not_found = 3 clerk_not_found = 4 version_mismatch = 5 OTHERS = 6.
HR_DE_ST_CHECK_ADDRESS CALL FUNCTION 'HR_DE_ST_CHECK_ADDRESS' EXPORTING company_adress = l_address_detail clerk_adress = L_sachbearbeiter IMPORTING RC_ERROR = l_rc_error tables tab_error = lt_tab_error.
HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = l_ankey anart = 'CA' molga = '01' IMPORTING * ADDRESS = address_detail = l_address_detail EXCEPTIONS not_found = 1 OTHERS = 2.
HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = l_ankey anart = 'CA' molga = '01' IMPORTING * ADDRESS = address_detail = l_address_detail EXCEPTIONS not_found = 1 OTHERS = 2.
HR_GET_REPORTING_COMPANY_DATA CALL FUNCTION 'HR_GET_REPORTING_COMPANY_DATA' EXPORTING p_molga = '01' p_appl = 'LSTB' p_werks_sum = p_werks p_btrtl_sum = p_btrtl p_date = sy-datum p_anart = '/A' IMPORTING infodata = l_sachbearbeiter EXCEPTIONS rep_comp_not_found = 1 address_not_found = 2 sender_not_found = 3 clerk_not_found = 4 version_mismatch = 5 OTHERS = 6.
HR_DE_ST_CHECK_ADDRESS CALL FUNCTION 'HR_DE_ST_CHECK_ADDRESS' EXPORTING company_adress = l_address_detail clerk_adress = L_sachbearbeiter IMPORTING RC_ERROR = l_rc_error tables tab_error = lt_tab_error.
HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = l_ankey anart = 'CL' molga = '01' IMPORTING * ADDRESS = address_detail = l_address_detail EXCEPTIONS not_found = 1 OTHERS = 2.
HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = l_ankey anart = 'CL' molga = '01' IMPORTING * ADDRESS = address_detail = l_address_detail EXCEPTIONS not_found = 1 OTHERS = 2.
P01T_GET_STEUERNUMMER CALL FUNCTION 'P01T_GET_STEUERNUMMER' EXPORTING werks = p_werks btrtl = p_btrtl datum = p_datum "XXX IMPORTING stnag = l_agsnr bland = l_bland "QCM#951492 EXCEPTIONS wrong_char_in_taxnumber = 1 OTHERS = 2.
P01T_CHECK_STEUERNUMMER CALL FUNCTION 'P01T_CHECK_STEUERNUMMER' ">>>QCM#951492 EXPORTING BLAND = l_bland AGSNR = l_agsnr IMPORTING PRUEFZIFFER = l_pruefziffer RC = l_rc EXCEPTIONS ERROR_FORMAT = 1 ERROR_PRUEFZIFFER = 2 * OTHERS = 3. "YMLN1013133
COUNTRY_CODE_SAP_TO_ISO CALL FUNCTION 'COUNTRY_CODE_SAP_TO_ISO' EXPORTING sap_code = p0006-land1 IMPORTING ISO_CODE = l_iso_code EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
PYDE_GET_BUNDESLAND CALL FUNCTION 'PYDE_GET_BUNDESLAND' EXPORTING DATUM = p0001-endda IMPORTING BLAND = l_bland BULND = l_bulnd TABLES t0006 = p0006 EXCEPTIONS P01T_AGS_ENTRY_NOT_FOUND = 1 P0006_ENTRY_NOT_FOUND = 2 SAP_CODE_NOT_FOUND = 3 BULND_NOT_UNIQUE = 4 OTHERS = 5.
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 RPUTX5D0 or its description.