SAP Reports / Programs | Payroll | Spain(PY-ES) SAP PY

RPCS96E0 SAP ABAP Report - Calculation of contribution bases and Social Insurance contributions







RPCS96E0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program calculates Spanish social insurance contributions and contribution bases...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 RPCS96E0 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 RPCS96E0. "Basic submit
SUBMIT RPCS96E0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCS96E0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Calculation of contribution bases and Social Insurance contributions
Text Symbol: 009 = Error when cumulating bases due to results split
Text Symbol: B01 = Entry missing in table $ for key $ date $
Text Symbol: DIV = Division by zero
Text Symbol: L01 = Fatal error: Contact your support centre
Text Symbol: T01 = Rounding_correction form: illness basis without days
Text Symbol: T03 = Rounding_correction form: total TI days and part. do not agree


INCLUDES used within this REPORT RPCS96E0

INCLUDE RPCS9PE0.
INCLUDE RPCS9DE0.
INCLUDE RPCS9AE0.
INCLUDE RPCS9ME0.
INCLUDE RPCS9RE0.


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_ES_READ_TPCCC_EMPL call function 'HR_ES_READ_TPCCC_EMPL' exporting p_begda = -begda p_endda = -endda p_pernr = -pernr importing p_tpccc = -tpccc p_grcot = -grcot.

HR_ES_READ_TPCCC_EMPL CALL FUNCTION 'HR_ES_READ_TPCCC_EMPL' EXPORTING p_begda = in-begda p_endda = in-endda p_pernr = in-pernr IMPORTING p_tpccc = l_tpccc p_grcot = l_grcot.

HR_ES_GET_CUSTOMER_DECISION call function 'HR_ES_GET_CUSTOMER_DECISION' exporting p_swnam = 'SNTRM' p_date = in-begda importing p_customer_wins = f_tra_cmaxi exceptions error = 1 multiple_options = 2 others = 3.

HR_ES_GET_CUSTOMER_DECISION call function 'HR_ES_GET_CUSTOMER_DECISION' exporting p_swnam = 'SNTRM' p_date = in-begda importing p_customer_wins = f_tra_cmaxi exceptions error = 1 multiple_options = 2 others = 3.

HR_ES_READ_TPCCC_EMPL CALL FUNCTION 'HR_ES_READ_TPCCC_EMPL' EXPORTING p_begda = in-begda p_endda = in-endda p_pernr = in-pernr IMPORTING p_tpccc = in-tpccc p_grcot = in-grcot.

HR_ES_GET_CUSTOMER_DECISION call function 'HR_ES_GET_CUSTOMER_DECISION' exporting p_swnam = 'SITIM' p_date = in-pn_begda importing p_customer_wins = l_no_precision exceptions multiple_options = 1 others = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = l_in_ant-pernr infty = '0061' begda = l_in_ant-pn_begda endda = l_in_ant-pn_begda TABLES infty_tab = l_tab_0061 EXCEPTIONS infty_not_found = 1 OTHERS = 2.

HR_ES_GET_CUSTOMER_DECISION call function 'HR_ES_GET_CUSTOMER_DECISION' exporting p_swnam = 'SITIM' p_date = in-pn_begda importing p_customer_wins = l_no_precision exceptions multiple_options = 1 others = 2.

HR_ES_GET_TIPO_IT_IMS CALL FUNCTION 'HR_ES_GET_TIPO_IT_IMS' EXPORTING P_CNAEC = p_in-cnaec P_OCUPA = p_in-ocupa P_DATE = p_in-pn_begda P_IS_ERE = p_in-is_ere IMPORTING P_ILTPC = p_iltpc_07 P_IMSPC = p_imspc_07 EXCEPTIONS ERROR = 1 ENTRY_NOT_PERMITED = 2 OTHERS = 3.

HR_ES_READ_OCUPA_DATA CALL FUNCTION 'HR_ES_READ_OCUPA_DATA' EXPORTING P_OCUPA = pess0_ocupa_C P_DATE = p_in-pn_begda IMPORTING P_OCUPA_DATA = l_ocupa_data EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

HR_E_GET_PART_TIME_COEF CALL FUNCTION 'HR_E_GET_PART_TIME_COEF' EXPORTING p_pernr = ps_in-pernr p_hocon = ps_in-hocon p_dicon = ps_in-dicon p_werks = ps_in-werks p_btrtl = ps_in-btrtl p_persg = ps_in-persg p_persk = ps_in-persk p_date = ps_in-begda IMPORTING p_coeficiente = lv_part_time_coef EXCEPTIONS error = 1 coetp_exceeded = 2.

HR_ES_GET_CUSTOMER_DECISION CALL FUNCTION 'HR_ES_GET_CUSTOMER_DECISION' EXPORTING p_swnam = 'SDHCP' p_date = ps_in-begda IMPORTING p_customer_choice = lv_t5eu3_sdhcp EXCEPTIONS error = 1 multiple_options = 2 OTHERS = 3.



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