SAP Reports / Programs | Payroll | Malaysia(PY-MY) SAP PY

RPCTEAL3 SAP ABAP INCLUDE - Routines for the EA report







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


Text pool values


Title: Routines for the EA report


INCLUDES used within this REPORT RPCTEAL3

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:

OPEN_FORM CALL FUNCTION 'OPEN_FORM' "RAPL9CK010017 EXPORTING APPLICATION = 'TX' * ARCHIVE_INDEX = ' ' * ARCHIVE_PARAMS = ' ' DEVICE = 'PRINTER' DIALOG = dialog * form = $formname LANGUAGE = LANGU OPTIONS = options EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING EXIT_NAME = 'HRPAYMY_EAFORM' * FLT_VAL = IMPORTING IS_IMPLEMENTED = CHECK_IMPL * TABLES * ACTIVE_IMPS = CHANGING INSTANCE = CUST_EXIT.

HR_GET_BUSINESS_ADD_IN CALL FUNCTION 'HR_GET_BUSINESS_ADD_IN' EXPORTING EXIT_NAME = 'HRPAYMY_ECFORM' * FLT_VAL = IMPORTING IS_IMPLEMENTED = CHECK_IMPL1 * TABLES * ACTIVE_IMPS = CHANGING INSTANCE = CUST_EXIT1.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = PERCENTAGE TEXT = DISPLAY_TEXT EXCEPTIONS OTHERS = 1.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING BASIC_LIST_TITLE = title1 FILE_NAME = ' ' HEAD_LINE1 = line1 * HEAD_LINE2 = ' ' * FOOT_NOTE1 = ' ' * FOOT_NOTE2 = ' ' * FOOT_NOTE3 = ' ' LAY_OUT = 0 DYN_PUSHBUTTON_TEXT1 = text1 DYN_PUSHBUTTON_TEXT2 = text2 DYN_PUSHBUTTON_TEXT3 = text3 DYN_PUSHBUTTON_TEXT4 = text4 DYN_PUSHBUTTON_TEXT5 = text5 DYN_PUSHBUTTON_TEXT6 = text6 "VKG1024850 * DATA_STRUCTURE = ' ' * HEAD_LINE3 = ' ' * HEAD_LINE4 = ' ' * CURRENT_REPORT = * LIST_LEVEL = ' ' ADDITIONAL_OPTIONS = ' ' * WORD_DOCUMENT = IMPORTING RETURN_CODE = RET_CD TABLES DATA_TAB = DISPLAY_BODY FIELDNAME_TAB = FLD_NAM * select_tab = * error_tab = hr_error EXCEPTIONS DOWNLOAD_PROBLEM = 1 NO_DATA_TAB_ENTRIES = 2 TABLE_MISMATCH = 3 PRINT_PROBLEMS = 4 OTHERS = 5.

RP_GET_EMP_REF CALL FUNCTION 'RP_GET_EMP_REF' EXPORTING ST001 = P0001 TYPE = 'T' BEG_DATE = PN-BEGDA END_DATE = PN-ENDDA TX_OFF_CODE = P0198-TXOFF IMPORTING EMP_REF_NO = CTNOER * PAY_KEY = * PAYEE_TEXT = EXCEPTIONS TABLE_ENTRY_NOT_FOUND = 1 TYPE_ERROR = 2 OTHERS = 3 .

RP_GET_EPF_RATES_MY CALL FUNCTION 'RP_GET_EPF_RATES_MY' EXPORTING ST0001 = P0001 BEGDA = F_BEG " In period begda ENDDA = F_END " In period endda EE_AGE = age CLPGM = 'P' IMPORTING EMP_STAT_RATE = EMP_STAT_RATE EMPR_STAT_RATE = EMPER_STAT_RATE EMP_COMP_RATE = EMP_COMP_RATE EMPR_COMP_RATE = EMPER_COMP_RATE EXCEPTIONS TABLE_ENTRY_NOT_FOUND = 1 OTHERS = 2.

CLOSE_FORM call function 'CLOSE_FORM'.

CLOSE_FORM call function 'CLOSE_FORM' tables otfdata = otf_table.

RP_FLY_INFO_FOR_TAX_MY * CALL FUNCTION 'RP_FLY_INFO_FOR_TAX_MY' * EXPORTING * I_P0198 = P0198 * I_P0001 = P0001 ** I_P0002 = ** CALL_TYP = * PNBEGDA = P_BEGDA * PNENDDA = P_ENDDA * IMPORTING * E_MARST = MRALW_FLAG * E_NUMCH = TAX_DPNDNTS * E_SEMPS = WFWST_FLAG ** TABLES ** CHILD_DETAIL = * EXCEPTIONS * TABLE_ENTRY_NOT_FOUND = 1 * ERROR_GETTING_TAX_CATEGORY = 2 * OTHERS = 3.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING id = name values = list.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' "RAPL9CK010017 EXPORTING APPLICATION = 'TX' * ARCHIVE_INDEX = ' ' * ARCHIVE_PARAMS = ' ' DEVICE = 'PRINTER' DIALOG = dialog * form = $formname LANGUAGE = LANGU OPTIONS = options EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING COMPANYCODE = $BUKRS LANGUAGE = SY-LANGU IMPORTING COMP_NAME = COMP_NAME * CITY * COUNTRY * CURRENCY * LANGU * CHRT_ACCTS * FY_VARIANT * FI_MANAGEMENTAREA * JURISDICTION * VALUE(RATE_DEVIATION) LIKE HRCA_COMPANY-RATE_DEVIAT ADDRESS = ADRNR EXCEPTIONS NOT_FOUND.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = SELECTION ADDRESS_GROUP = 'CA01' "to read SADR for unchanged IMPORTING "data ADDRESS_VALUE = ADDRESS_VALUE "both structures filled SADR = SADR "choose one of them EXCEPTIONS ADDRESS_NOT_EXIST = 1 OTHERS = 2. "SADR40A

ADDR_GET_COMPLETE CALL FUNCTION 'ADDR_GET_COMPLETE' EXPORTING ADDRNUMBER = ADRNR * ADDRHANDLE = * ARCHIVE_HANDLE = IMPORTING ADDR1_COMPLETE = ADSMTP1.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING basic_list_title = p_title1 file_name = ' ' head_line1 = p_line1 lay_out = 0 dyn_pushbutton_text1 = p_text1 dyn_pushbutton_text2 = p_text2 dyn_pushbutton_text4 = p_text4 dyn_pushbutton_text5 = p_text5 dyn_pushbutton_text6 = p_text6 additional_options = ' ' IMPORTING return_code = p_ret_cd TABLES data_tab = p_display_body fieldname_tab = p_fld_nam EXCEPTIONS download_problem = 1 no_data_tab_entries = 2 table_mismatch = 3 print_problems = 4 OTHERS = 5.



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