SAP Reports / Programs | Payroll | Austria(PY-AT) SAP PY

RPCBETA1 SAP ABAP Report - Payroll for Local Tax Office







RPCBETA1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report assists you in carrying out payroll activities with the local tax office...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 RPCBETA1 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_M03_CBET - Tax Local Tax Office 03


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 RPCBETA1. "Basic submit
SUBMIT RPCBETA1 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCBETA1 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_LIMIT = Apply Exemption Limit
Selection Text: PA_ZUFLA = Recalculation for All Periods
Selection Text: PA_ZUFLB = Total Inflow
Selection Text: PA_ZUFLC = Pers.No.-Specific Infow
Selection Text: PX_LFORM = Form Name
Selection Text: PX_LFVAR = Form Variant
Title: Payroll for Local Tax Office
Text Symbol: 011 = TaxOffice
Text Symbol: 071 = Sequential File Created:
Text Symbol: 072 = Posting Run Created:
Text Symbol: AN1 = Industrial/Worker
Text Symbol: AN2 = Salaried Employee
Text Symbol: AN3 = Civil Servant
Text Symbol: AN9 = Others
Text Symbol: BEL = Creating document...
Text Symbol: I01 = : Exemption was applied
Text Symbol: PRT = Print Official Form
Text Symbol: T01 = Internal Check List: Payroll - Local Tax Office
Text Symbol: W01 = No Payroll Results


INCLUDES used within this REPORT RPCBETA1

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:

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

HR_REFRESH_STAT_LIST CALL FUNCTION 'HR_REFRESH_STAT_LIST'.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING exit_name = c_badi_hrpayat_rpc_get_rslt * FLT_VAL = IMPORTING is_implemented = g_badi1_is_implemented * TABLES * ACTIVE_IMPS = CHANGING instance = g_ref_hrpayat_rpc_get_rslt.

HR_AT_GET_PART_APPL CALL FUNCTION 'HR_AT_GET_PART_APPL' EXPORTING reportname = sy-cprog IMPORTING appl = g_bet EXCEPTIONS OTHERS = 4.

HR_GET_PAYROLL_RESULTS * CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' "VCX01320789+ * EXPORTING " ! * PERNR = PERNR-PERNR " ! * PERMO = PN-PERMO " ! * PABRJ = PN-PABRJ " ! * PABRP = PN-PABRP " ! * WAERS = PA_WAERS " ! * TABLES " ! * RESULT_TAB = I_PAYROLL_RESULT " ! * EXCEPTIONS " ! * NO_RESULTS = 4 " ! * OTHERS = 8. "VCX01320789+

HR_APPEND_STAT_LIST CALL FUNCTION 'HR_APPEND_STAT_LIST' EXPORTING selected = g_select processed = g_proces rejected = g_reject EXCEPTIONS OTHERS = 4.

HRPY_PROCESS_SET_ALL_PERNR_ST CALL FUNCTION 'HRPY_PROCESS_SET_ALL_PERNR_ST' "YRAM565864 EXPORTING imp_parcel = pyparaid imp_set_suc = 'X' TABLES pernr_index = pnpindex EXCEPTIONS OTHERS = 0.

HR_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'HR_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING current_report = 'RPCBETA1' data_structure_header = 'RPCBETA1S' data_structure = 'RPCBETA1L' list_title = text-t01 hr_display_error_list = l_display_eolist hr_display_stat_list = l_display_eolist variant = pa_varia expand_fieldname = 'XPAND' callback_button1 = l_callback_button1 "ACC text_button1 = l_text_button1 "ACC * CALLBACK_BUTTON1 = 'PRINT_SAPSCRIPT' "LIMM002811384! "ACC * TEXT_BUTTON1 = 'amtl.Formular drucken'(PRT) " ! "ACC

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = rpmsela0-molga i_fogroup = rpmsela0-fogroup i_folname = rpmsela0-folname i_fovariant = px_lfvar OPTIONS = l_itcpo EXCEPTIONS OTHERS = 99.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = rpmsela0-molga i_fogroup = rpmsela0-fogroup i_folname = rpmsela0-folname i_fovariant = px_lfvar i_data_struc = i_form_head_tab[] "HEGM002176286 EXCEPTIONS OTHERS = 99.

H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.

HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' EXPORTING org_in = l_org_in IMPORTING bukrs = l_bukrs "VCXM0829630 lohnb_data = t5a0a btrtl_data = t5a0p "VCXM0829630 addresse = l_adrs address_detail = l_sadr EXCEPTIONS OTHERS = 4.

HR_CONDITIONAL_ROUND CALL FUNCTION 'HR_CONDITIONAL_ROUND' " ! EXPORTING " ! progn = 'RPCBETA1' " ! lfdnr = '1' " ! datum = pn-endda " ! i_amt = p_betr1 " ! IMPORTING " ! o_amt = p_betr2 " ! EXCEPTIONS " ! * no_entry_in_t599e = 1 " ! OTHERS = 2. "XTNM003740303

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' "LIMM000334119 EXPORTING " exit_name = c_badi_hrpayat_fico_values " IMPORTING " is_implemented = l_badi_is_implemented " CHANGING " instance = g_ref_hrpayat_fico_values. "LIMM000334119

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING pernr = pernr-pernr arbgb = p_msgid msgty = p_msgty msgno = p_msgno msgv1 = p_msgv1 msgv2 = p_msgv2 msgv3 = p_msgv3 msgv4 = p_msgv4.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = p_bukrs IMPORTING comp_name = p_butxt EXCEPTIONS OTHERS = 4.

HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' EXPORTING org_in = ls_org_in IMPORTING lohnb_data = ls_lohnb_data EXCEPTIONS OTHERS = 4.

HR_AT_GET_LOHNB_DATA





CALL FUNCTION 'HR_AT_GET_LOHNB_DATA' " EXPORTING " lohnb = ls_lohnb_data-lohnb " endda = p_wpbp-endda " IMPORTING " lohnb_data = ls_lohnb_data " EXCEPTIONS " t5a0a_data_not_found = 0. "LS_LOHNB_DATA bl"

HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' EXPORTING org_in = ls_org_in IMPORTING lohnb_data = ls_lohnb_data EXCEPTIONS OTHERS = 4.

HR_AT_GET_LOHNB_DATA CALL FUNCTION 'HR_AT_GET_LOHNB_DATA' EXPORTING lohnb = ls_lohnb_data-lohnb endda = p_wpbp-endda IMPORTING lohnb_data = ls_lohnb_data EXCEPTIONS t5a0a_data_not_found = 0.

HR_PRINT_SAPSCRIPT CALL FUNCTION 'HR_PRINT_SAPSCRIPT' EXPORTING data_structure = 'RPCBETA1S' current_report = 'RPCBETA1' sapscript_form = pa_form sapscript_printer = pa_prntr TABLES data_tab = i_form_head_tab EXCEPTIONS program_error = 1 OTHERS = 2.



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