SAP Reports / Programs | Payroll | Taiwan(PY-TW) SAP PY

PCMP0TW3_ALV SAP ABAP INCLUDE - Subroutines for multiple payments







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


INCLUDES used within this REPORT PCMP0TW3_ALV

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:

RP_HIRE_FIRE * call function 'RP_HIRE_FIRE' * exporting * beg = '18000101' * end = '99991231' * IMPORTING * FIRE_DATE = * HIRE_DATE = * tables * pphifi = phifi "output * pp0000 = p0000 "input * pp0001 = p0001. "input

HR_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST' EXCEPTIONS OTHERS = 1.

HR_APPEND_ERROR_LIST * CALL FUNCTION 'HR_APPEND_ERROR_LIST' * EXPORTING * pernr = $pernr * arbgb = $arbgb * msgty = $type * msgno = $msgno * msgv1 = $msgv1 * msgv2 = $msgv2 * msgv3 = $msgv3 * msgv4 = $msgv4 * EXCEPTIONS * OTHERS = 1.

HR_PAL_PERNR_MSG_ADD CALL FUNCTION 'HR_PAL_PERNR_MSG_ADD' EXPORTING i_pernr = lv_pernr i_msgid = lv_msgid i_msgty = lv_msgty i_msgno = lv_msgno i_msgv1 = lv_msgv1 i_msgv2 = lv_msgv2 i_msgv3 = lv_msgv3 i_msgv4 = lv_msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING basic_list_title = text-030 head_line1 = head1 head_line2 = head2 head_line3 = head3 file_name = rep_name dyn_pushbutton_text1 = 'Create Batch'(103) IMPORTING return_code = returncode TABLES * data_tab = disp_lst data_tab = protocol select_tab = seltab fieldname_tab = fieldnames EXCEPTIONS download_problem = 1 no_data_tab_entries = 2 table_mismatch = 3 print_problems = 4 OTHERS = 5.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = prog_text EXCEPTIONS OTHERS = 1.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space no_img = space linesize = sy-linsz * tables * error = EXCEPTIONS invalid_linesize = 1 OTHERS = 2.

RP_CHECK_PAY_PERIOD CALL FUNCTION 'RP_CHECK_PAY_PERIOD' EXPORTING abkrs = pme61-abkrs abrpr = pn-paper zanzl = p0014-zanzl zdate = p0014-zdate zeitx = p0014-zeinz zfper = p0014-zfper model = p0014-model IMPORTING rcode = returncode TABLES tabelle = idates EXCEPTIONS * no_model_found = 1.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = $molga IMPORTING waers = calc_currency EXCEPTIONS molga_not_in_t001p = 01 no_entry_found_in_table_t001 = 02 no_entry_found_in_table_t500p = 05.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = pn-begda foreign_amount = amount foreign_currency = foreign_currency local_currency = local_currency IMPORTING local_amount = result EXCEPTIONS no_rate_found = 01 overflow = 02.

RP_FILL_WAGE_TYPE_TABLE_EXT CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE_EXT' EXPORTING appli = 'P' pernr = pernr-pernr infty = pinfty subty = psubty objps = pobjps * WAERS = SY-WAERS begda = pbegda endda = pendda seqnr = seqnr TABLES pp0001 = p0001 "input pp0007 = p0007 "input pp0008 = p0008 "input ppbwla = ppbwla "output * PP0230 = P0230 "input EXCEPTIONS error_at_indirect_evaluation = 1.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING group = map_name user = sy-uname.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING mapname = $map_name reportname = rep_name IMPORTING mapname = $map_name.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = fnam tabname = tnam titel = title IMPORTING select_value = chd_value TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = rep_name dynumb = dynumb TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.

RP_FILL_WAGE_TYPE_TABLE_EXT CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE_EXT' EXPORTING appli = 'M' begda = pn-begda endda = pn-endda infty = '0014' objps = space pernr = pernr-pernr seqnr = space subty = space TABLES ppbwla = pbwla pp0001 = p0001 pp0007 = p0007 pp0008 = p0008 EXCEPTIONS error_at_indirect_evaluation = 1 OTHERS = 2.

HR_PAL_STATS_MSG_ADD





CALL FUNCTION 'HR_PAL_STATS_MSG_ADD' EXPORTING i_stcnt = lv_count i_msgid = gc_aplg_msgid i_msgty = 'I' i_msgno = gc_aplg_msgno i_msgv1 = ls_msg-msgv1 i_msgv2 = ls_msg-msgv2 i_msgv3 = ls_msg-msgv3 i_msgv4 = ls_msg-msgv4 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS program_error = 1 no_logs = 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 PCMP0TW3_ALV or its description.