SAP Reports / Programs | Personnel Management | Personnel Management | Pension fund: General Parts(PA-PF-XX) SAP PA

MPACOF01 SAP ABAP INCLUDE - documentation and ABAP source code







MPACOF01 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 MPACOF01 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 MPACOF01. "Basic submit
SUBMIT MPACOF01 AND RETURN. "Return to original report after report execution complete
SUBMIT MPACOF01 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 MPACOF01

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:

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting * DDIC_STRUCTURE = ' ' retfield = 'ACVIE' * PVALKEY = ' ' dynpprog = gc_repid dynpnr = '1000' dynprofield = l_dynfd * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' tables value_tab = li_acvie_tab * FIELD_TAB = * RETURN_TAB = * DYNPFLD_MAPPING = exceptions parameter_error = 1 no_values_found = 2 others = 3.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = gc_repid dynumb = l_dynnr * TRANSLATE_TO_UPPER = ' ' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' * DETERMINE_LOOP_INDEX = ' ' tables dynpfields = li_dynrd.

F4IF_INT_TABLE_VALUE_REQUEST call function 'F4IF_INT_TABLE_VALUE_REQUEST' exporting * DDIC_STRUCTURE = ' ' retfield = 'KONNR' * PVALKEY = ' ' dynpprog = gc_repid dynpnr = l_dynnr dynprofield = l_dynfd * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' tables value_tab = li_konnr_tab * FIELD_TAB = return_tab = li_return * DYNPFLD_MAPPING = exceptions parameter_error = 1 no_values_found = 2 others = 3.

HR_CH_PK_CHECK_ACCNT_AUTHORITY call function 'HR_CH_PK_CHECK_ACCNT_AUTHORITY' exporting konnr = g_konnr importing authlevel = g_authlevel exceptions no_authority_defined = 1 internal_error = 2 others = 3.

HR_CH_PK_CHECK_ACCNT_AUTHORITY call function 'HR_CH_PK_CHECK_ACCNT_AUTHORITY' exporting konnr = g_konnr importing authlevel = g_authlevel exceptions no_authority_defined = 1 internal_error = 2 others = 3.

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.

DEQUEUE_EPT5CPK call function 'DEQUEUE_EPT5CPK' exporting mode_t5cpk = 'E' mandt = sy-mandt konnr = g_konnr.

POPUP_TO_DECIDE call function 'POPUP_TO_DECIDE' exporting defaultoption = '1' textline1 = 'Sollen die neuen Buchungen gesichert werden?'(f50) * TEXTLINE2 = ' ' * TEXTLINE3 = ' ' text_option1 = 'Ja'(f55) text_option2 = 'Nein'(f56) * ICON_TEXT_OPTION1 = ' ' * ICON_TEXT_OPTION2 = ' ' titel = 'Buchungen sichern?'(f60) * START_COLUMN = 25 * START_ROW = 6 cancel_display = 'X' importing answer = l_answer.

SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting percentage = p_perc text = p_text.

HR_CH_DISPLAY_MESSAGE_LIST call function 'HR_CH_DISPLAY_MESSAGE_LIST' exporting root_title = 'Fehler/Warnungen'(fa0) root_descr = 'Berechnungen für Buchungspflege'(fb0) tables errorlist = li_errlist.



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