MPACEF01 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 MPACEF01 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include MPACEF01
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_CH_PK_READ_FROM_ACCOUNT CALL FUNCTION 'HR_CH_PK_READ_FROM_ACCOUNT' EXPORTING konnr = g_konnr begda = g_begda endda = g_endda valty = space IMPORTING waers = g_waers TABLES i5cpb = i5cpb EXCEPTIONS invalid_account = 1 permission_denied = 2 OTHERS = 3.
HR_CH_PK_WRITE_ENTRY_POPUP_KNR CALL FUNCTION 'HR_CH_PK_WRITE_ENTRY_POPUP_KNR' EXPORTING pernr = g_pernr konnr = g_konnr rdate = sy-datum budat = budat vadat = vadat * VALTY = * VALUE = abkrs = g_abkrs evflag = 'X' xpflag = 'X' upflag = ' ' olrep_flag = 'X' TABLES new_entries = new_entries EXCEPTIONS aborted = 1 error_at_creation = 2 no_plan_found = 3 invalid_account = 4 no_payroll_period_found = 5 missing_authority = 6 OTHERS = 7.
HR_CH_VAL_CONV_V2S CALL FUNCTION 'HR_CH_VAL_CONV_V2S' EXPORTING valty = new_entry-i5cpb_wa-valty value = new_entry-i5cpb_wa-value IMPORTING string = new_entry-i5cpb_wa-value EXCEPTIONS unknown_valty = 1 OTHERS = 2.
HR_CH_PK_PROCESS_DEP_ENTRIES CALL FUNCTION 'HR_CH_PK_PROCESS_DEP_ENTRIES' EXPORTING dep_only = 'X' upflag = ' ' orgin = %man_orgin prn_header = prn_header IMPORTING rc = rc TABLES dep_entries = new_entries EXCEPTIONS no_entries = 1 OTHERS = 2.
DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = 'P02K_ACCTY' value = domval * LANGU = ' ' * BYPASS_BUFFER = ' ' IMPORTING dd07v_wa = dd07v_wa rc = rc EXCEPTIONS OTHERS = 1.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * CUCOL = 0 * CUROW = 0 * DISPLAY = ' ' fieldname = fnam tabname = tnam * NO_MARKING_OF_CHECKVALUE = ' ' * TITLE_IN_VALUES_LIST = ' ' titel = 'Konto auswählen'(010) * SHOW_ALL_VALUES_AT_FIRST_TIME = ' ' IMPORTING select_value = g_konnr TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 OTHERS = 4.
ENQUEUE_EPT5CPK CALL FUNCTION 'ENQUEUE_EPT5CPK' EXPORTING mode_t5cpk = 'E' mandt = sy-mandt konnr = g_konnr * X_KONNR = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
HR_CH_PK_VS_INTERP_INIT ** CALL FUNCTION 'HR_CH_PK_VS_INTERP_INIT' * CALL FUNCTION $$funcname *----- CHBL9CK043015: Internationalisierung PK ----------------------<<< * EXPORTING * rdate = sy-datum ** BEGDA = '18000101' ** ENDDA = '99991231' * kasse = t5cpk-kasse * EXCEPTIONS * OTHERS = 1.
HR_CH_PROC_CTRL_INIT * CALL FUNCTION 'HR_CH_PROC_CTRL_INIT' "MBBL9CK043015 * EXPORTING * molga = %act_molga "MBBL9CK000060 * appli = %act_appli "MBBL9CK000060 * EXCEPTIONS * no_valtypes = 1 * OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = g_pernr infty = '0001' begda = sy-datum endda = '99991231' IMPORTING subrc = subrc TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_CH_VALTYPE_CHECK_PROPERTY CALL FUNCTION 'HR_CH_VALTYPE_CHECK_PROPERTY' EXPORTING pplan = g_pplan valty = i5cpb_kon-valty vprop = filter-vprop IMPORTING property_set = vprop_flag EXCEPTIONS OTHERS = 1.
HR_CH_VALS_ADD CALL FUNCTION 'HR_CH_VALS_ADD' EXPORTING valty1 = i5cpb_kon-valty valty2 = i5cpb_kon-valty svalty = i5cpb_kon-valty value1 = i5cpb_dyn-value value2 = i5cpb_kon-value IMPORTING sum = i5cpb_dyn-value EXCEPTIONS unknown_valty = 1 incompatible_types = 2 OTHERS = 3.
HR_CH_VALS_ADD_LONG CALL FUNCTION 'HR_CH_VALS_ADD_LONG' EXPORTING valty1 = i5cpb_dyn-valty valty2 = '_020' svalty = '_020' value1 = summand_l value2 = sum_value IMPORTING sum = sum_value EXCEPTIONS unknown_valty = 1 incompatible_types = 2 OTHERS = 3.
HR_CH_VAL_CONV_V2S CALL FUNCTION 'HR_CH_VAL_CONV_V2S' EXPORTING valty = i5cpb_dyn-valty value = i5cpb_dyn-value IMPORTING string = i5cpb_dyn-value EXCEPTIONS unknown_valty = 1 OTHERS = 2.
HR_CH_VAL_CONV_V2S_LONG CALL FUNCTION 'HR_CH_VAL_CONV_V2S_LONG' EXPORTING valty = '_020' value = sum_value IMPORTING string = sum_value EXCEPTIONS unknown_valty = 1 OTHERS = 2.
HR_CH_SORT_POPUP CALL FUNCTION 'HR_CH_SORT_POPUP' EXPORTING sortfields = sortfields CHANGING idxlist = idxlist EXCEPTIONS aborted = 1 OTHERS = 2.
HR_CH_PK_REVERSE_ENTRY CALL FUNCTION 'HR_CH_PK_REVERSE_ENTRY' EXPORTING pernr = g_pernr konnr = g_konnr budat = i5cpb_dyn-budat seqnr = i5cpb_dyn-seqnr pabrp = pabrp pabrj = pabrj evflag = 'X' expflag = expfl upflag = ' ' IMPORTING t5cpb_wa = i5cpb_wa.
HR_CH_PROC_CTRL_INIT CALL FUNCTION 'HR_CH_PROC_CTRL_INIT' "MBBL9CK043015 EXPORTING molga = %act_molga "MBBL9CK000060 appli = %act_appli "MBBL9CK000060 EXCEPTIONS no_valtypes = 1 OTHERS = 2.
HR_CH_PK_CHECK_ACCNT_AUTHORITY
CALL FUNCTION 'HR_CH_PK_CHECK_ACCNT_AUTHORITY' EXPORTING konnr = g_konnr IMPORTING authlevel = authlevel.
DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = 'P02K_ACCTY' value = domval * LANGU = ' ' * BYPASS_BUFFER = ' ' IMPORTING dd07v_wa = dd07v_wa rc = rc EXCEPTIONS OTHERS = 1.
HR_CH_PK_WRITE_TO_ACCOUNT CALL FUNCTION 'HR_CH_PK_WRITE_TO_ACCOUNT' EXPORTING pernr = g_pernr konnr = g_konnr budat = i5cpb_kon-budat valty = i5cpb_kon-valty value = i5cpb_kon-value * waers = vadat = i5cpb_kon-vadat pabrp = i5cpb_kon-pabrp pabrj = i5cpb_kon-pabrj expfl = 'X' orgin = i5cpb_kon-orgin evflag = evflag IMPORTING t5cpb_wa = i5cpb_wa EXCEPTIONS invalid_account = 1 permission_denied = 2 invalid_valty = 3 invalid_budat = 4 write_failed = 5 too_many_entries = 6 account_locked = 7 OTHERS = 8.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = 'Sie haben Buchungen angelegt.'(b01)
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = 'Daten werden verlorengehen.'(b04)
DEQUEUE_EPT5CPK CALL FUNCTION 'DEQUEUE_EPT5CPK' EXPORTING mode_t5cpk = 'E' mandt = sy-mandt konnr = g_konnr * X_KONNR = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' EXCEPTIONS OTHERS = 1.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING * CUCOL = 0 * CUROW = 0 * DISPLAY = ' ' fieldname = fnam tabname = tnam * NO_MARKING_OF_CHECKVALUE = ' ' * TITLE_IN_VALUES_LIST = ' ' titel = 'Wertarteigenschaften'(210) show_all_values_at_first_time = 'X' IMPORTING select_value = selected_vprop TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 OTHERS = 4.
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = entries-top_line * ENTRY_FROM = 1 entry_to = entries-lines last_page_full = ' ' loops = looplines ok_code = $fcode * OVERLAPPING = ' ' * PAGE_ACT = 0 * PAGE_GO = 0 IMPORTING * ENTRIES_SUM = entry_new = entries-top_line * PAGES_SUM = * PAGE_NEW = EXCEPTIONS no_entry_or_page_act = 1 no_entry_to = 2 no_ok_code_or_page_go = 3 OTHERS = 4.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = t5cpz-pernr infty = '0001' begda = sy-datum * ENDDA = '99991231' IMPORTING subrc = subrc TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING tclas = 'A' pernr = g_pernr infty = '0001' begda = sy-datum * ENDDA = '99991231' IMPORTING subrc = subrc TABLES infty_tab = p0001 EXCEPTIONS infty_not_found = 1 OTHERS = 2.
GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING langu = sy-langu * ONLY = ' ' tabname = 'T5CPB' withtext = 'X' * IMPORTING * HEADER = * RC = TABLES fieldtab = dfies EXCEPTIONS internal_error = 1 no_texts_found = 2 table_has_no_fields = 3 table_not_activ = 4 OTHERS = 5.
GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING langu = sy-langu * ONLY = ' ' tabname = 'T5CA3' withtext = 'X' * IMPORTING * HEADER = * RC = TABLES fieldtab = t_dfies EXCEPTIONS internal_error = 1 no_texts_found = 2 table_has_no_fields = 3 table_not_activ = 4 OTHERS = 5.
HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING cucol = 0 * CUROW = 0 * DISPLAY = ' ' fieldname = fnam tabname = tnam * NO_MARKING_OF_CHECKVALUE = ' ' * TITLE_IN_VALUES_LIST = ' ' titel = 'Wertarten'(220) show_all_values_at_first_time = 'X' * NO_CONVERSION = ' ' IMPORTING select_value = $valty TABLES fields = fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 1 more_then_one_selectfield = 2 no_selectfield = 3 OTHERS = 4.
HR_CH_VTY_HELP CALL FUNCTION 'HR_CH_VTY_HELP' EXPORTING molga = %act_molga appli = %act_appli valty = i5cpb_wa-valty program = sy-cprog dynnr = '2000' dtel = 'P02_VALTY' EXCEPTIONS text_not_found = 1 OTHERS = 2.
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 MPACEF01 or its description.