SAP Reports / Programs | Payroll | Payroll: General Parts | Interface to External Payroll Systems(PY-XX-IE) SAP PY

RPCOTFX0 SAP ABAP INCLUDE - Forms Payroll Outsourcing International







RPCOTFX0 is a standard ABAP INCLUDE 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 RPCOTFX0 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 RPCOTFX0. "Basic submit
SUBMIT RPCOTFX0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCOTFX0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Forms Payroll Outsourcing International


INCLUDES used within this REPORT RPCOTFX0

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_BEN_READ_EE_BENEFIT_DATA CALL FUNCTION 'HR_BEN_READ_EE_BENEFIT_DATA' EXPORTING PERNR = EE_PERNR DATUM = EE_BEGDA REACTION = NO_MSG IMPORTING EE_BENEFIT_DATA = EE_BENEFIT_DATA SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_CURRENCY CALL FUNCTION 'HR_BEN_GET_CURRENCY' EXPORTING BAREA = P0168-BAREA DATUM = KEYDT REACTION = NO_MSG IMPORTING CURRENCY = Q0168-CURR1 SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_RULE_COVERAGE CALL FUNCTION 'HR_BEN_GET_RULE_COVERAGE' EXPORTING EE_BENEFIT_DATA = EE_BENEFIT_DATA COVERAGE_FORMULA = H74FB DATUM = KEYDT DESIRED_CURRE = Q0168-CURR1 REACTION = NO_MSG IMPORTING COVERAGE_RULE = H74FC SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_GET_PLAN_SALARY CALL FUNCTION 'HR_BEN_GET_PLAN_SALARY' EXPORTING EE_BEN_DATA = EE_BENEFIT_DATA BPLAN = P0168-BPLAN CUTOFF_MONTH = H74FB-BSALM CUTOFF_DAY = H74FB-BSALD CURRENCY = Q0168-CURR1 DATUM = KEYDT REACTION = NO_MSG IMPORTING BENEFIT_SALARY = Q0168-BENSL SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_CONVERT_CURRENCY CALL FUNCTION 'HR_BEN_CONVERT_CURRENCY' EXPORTING OLD_AMOUNT = P0168-SALOV OLD_CURRE = P0168-CURRE NEW_CURRE = Q0168-CURR1 DATUM = KEYDT REACTION = NO_MSG IMPORTING NEW_AMOUNT = BEN_SALARY SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_CALC_COVERAGE_AMOUNT CALL FUNCTION 'HR_BEN_CALC_COVERAGE_AMOUNT' EXPORTING COVERAGE_RULE = H74FC BENEFIT_SALARY = BEN_SALARY * additional_units = OUT_CURRE = Q0168-CURR1 DATUM = KEYDT REACTION = NO_MSG IMPORTING COVERAGE_AMOUNT = Q0168-BSCOV SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

HR_BEN_CALC_COVERAGE_AMOUNT CALL FUNCTION 'HR_BEN_CALC_COVERAGE_AMOUNT' EXPORTING COVERAGE_RULE = H74FC BENEFIT_SALARY = BEN_SALARY ADDITIONAL_UNITS = ADD_UNITS OUT_CURRE = Q0168-CURR1 DATUM = KEYDT REACTION = NO_MSG IMPORTING COVERAGE_AMOUNT = Q0168-COVAM SUBRC = SUBRC TABLES ERROR_TABLE = ERROR_TABLE.

RP_EVALUATE_INDIRECTLY_P0008 CALL FUNCTION 'RP_EVALUATE_INDIRECTLY_P0008' EXPORTING PPERNR = INT_VAR-PERNR PMOLGA = CALCMOLGA PBEGDA = W_BEGDA PP0001 = PX0001 PP0007 = PL0007 PP0008 = PL0008 * importing * pendda = int_var-peren TABLES PTBINDBW = TBINDBW EXCEPTIONS ERROR_AT_INDIRECT_EVALUATION = 1.



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