SAP Reports / Programs

RPUTA5D0 SAP ABAP Report - documentation and ABAP source code







RPUTA5D0 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 notification For the sending personnel area, the report checks whether a tax number is entered and whether the assignment of the tax office number to federal state is correct...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 RPUTA5D0 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 RPUTA5D0. "Basic submit
SUBMIT RPUTA5D0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUTA5D0 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: PA_WERKS = D .
Selection Text: PA_BTRTL = D .
Selection Text: PA_PERR = Display Errors Only
Selection Text: PA_DATUM = Date
Title: Test Report to Check Employment Tax Notification Customizing
Text Symbol: 028 = Assigned Data Center - Personnel Area:
Text Symbol: 029 = Personnel Subarea:
Text Symbol: 030 = Error Reading Data Providor Address
Text Symbol: 031 = No Entry for Address Type CA and
Text Symbol: 032 = Address Key PA
Text Symbol: 033 = PSA
Text Symbol: 034 = In Table T536C
Text Symbol: 035 = Data Providor Administrator Address Error
Text Symbol: 036 = No Entry for Address Type CA and
Text Symbol: 037 = Address Key PA
Text Symbol: 038 = PSA
Text Symbol: 039 = In Table T536C
Text Symbol: 040 = Error Reading Tax Office Address
Text Symbol: 041 = Tax Office Administrator Address Error
Text Symbol: 042 = Tax Number:
Text Symbol: 043 = State:
Text Symbol: 044 = Check no.:
Text Symbol: 047 = Check Digit Calculation Error
Text Symbol: 048 = Tax Number:
Text Symbol: 049 = State:
Text Symbol: 050 = Incorrect Check Digit
Text Symbol: 001 = Typ
Text Symbol: 002 = PA
Text Symbol: 003 = PSA
Text Symbol: 004 = Text
Text Symbol: 005 = Text
Text Symbol: 006 = No errors were found in Customizing.
Text Symbol: 007 = Payroll Office Assigned- Personnel Area:
Text Symbol: 008 = Personnel Subarea:
Text Symbol: 009 = State
Text Symbol: 010 = cannot be in personnel area for subapplication LSTR
Text Symbol: 011 = (Bremen Employee Association)
Text Symbol: 013 = cannot be in personnel area for subapplication LSTS





Text Symbol: 014 = (Saarland Employee Association)
Text Symbol: 015 = Table T5D0P: Tax Office
Text Symbol: 016 = is not in state
Text Symbol: 017 = Payroll Area
Text Symbol: 018 = notified in previous
Text Symbol: 019 = month of notification period
Text Symbol: 020 = notified in next
Text Symbol: 021 = : Return Value "
Text Symbol: 022 = " is not allowed in attribute DTXAP
Text Symbol: 023 = Employment Tax Place of Work Log
Text Symbol: 024 = Check for Attrib. DTXAP:
Text Symbol: 025 = Payroll Area
Text Symbol: 026 = All Payroll Areas
Text Symbol: 027 = are notified in the payroll period


INCLUDES used within this REPORT RPUTA5D0

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:

PYDE_GET_BUNDESLAND_AG call function 'PYDE_GET_BUNDESLAND_AG' exporting werks = p_werks btrtl = p_btrtl importing bulnd = l_bulnd exceptions others = 1.

HR_GET_REPORTING_COMPANY call function 'HR_GET_REPORTING_COMPANY' exporting p_molga = '01' p_appl = p_appl p_werks = p_werks p_btrtl = p_btrtl p_struc = l_pme01 p_date = p_datum importing werks_sum = l_werks_lohn btrtl_sum = l_btrtl_lohn exceptions rep_comp_not_found = 1 others = 2.

P01T_GET_STEUERNUMMER call function 'P01T_GET_STEUERNUMMER' exporting werks = l_werks_lohn btrtl = l_btrtl_lohn datum = p_datum importing stnag = l_agsnr bland = l_bland "QCM#951492 exceptions others = 4.

P01T_CHECK_STEUERNUMMER CALL FUNCTION 'P01T_CHECK_STEUERNUMMER' EXPORTING BLAND = l_bland AGSNR = l_agsnr IMPORTING PRUEFZIFFER = l_pruefziffer RC = l_rc EXCEPTIONS ERROR_FORMAT = 1 ERROR_PRUEFZIFFER = 2 * OTHERS = 3. "YMLN1013133

PYDE_GET_BUNDESLAND_AG call function 'PYDE_GET_BUNDESLAND_AG' exporting werks = l_werks_lohn btrtl = l_btrtl_lohn importing bulnd = l_bulnd exceptions others = 1.

HR_FEATURE_BACKFIELD call function 'HR_FEATURE_BACKFIELD' exporting feature = 'DTXAP' struc_content = pme02 kind_of_error = space importing back = l_back exceptions others = 7.

HR_GET_REPORTING_COMPANY call function 'HR_GET_REPORTING_COMPANY' exporting p_molga = '01' p_appl = 'LSTE' p_werks = l_werks p_btrtl = l_btrtl p_struc = l_pme01 p_date = p_datum importing werks_sum = l_werks_rz btrtl_sum = l_btrtl_rz exceptions rep_comp_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_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 = 'LSTE' p_werks_sum = p_werks p_btrtl_sum = p_btrtl p_date = p_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 = p_appl p_werks_sum = p_werks p_btrtl_sum = p_btrtl p_date = p_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.



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