SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

MKPU2I00 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

K_LOGSYSTEM_CHECK CALL FUNCTION 'K_LOGSYSTEM_CHECK' EXPORTING i_kokrs = rkpu2-kokrs.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = rkpu2-versn IMPORTING output = rkpu2-versn.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = f4_valuetab-fieldval IMPORTING OUTPUT = rkpu2-versn.

DYNP_GET_STEPL * CALL FUNCTION 'DYNP_GET_STEPL' * IMPORTING * POVSTEPL = LT_DYNPFIELDS-STEPL.

DYNP_VALUES_UPDATE * CALL FUNCTION 'DYNP_VALUES_UPDATE' * EXPORTING * DYNAME = 'SAPMKPU2' * DYNUMB = '0100' * TABLES * DYNPFIELDS = LT_DYNPFIELDS.

RWIN_CHECK CALL FUNCTION 'RWIN_CHECK' EXPORTING gjahr = rkpu2-gjahr process = 'K-PLAN1 ' event = 'FERTIG ' TABLES tkomp = tkomp_fertig.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'T823C' fieldname = 'UMWRT' SEARCHHELP = 'CO_UMWRT' SHLPPARAM = 'UMWRT' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 VALUE = ld_value * MULTIPLE_CHOICE = 'X' * DISPLAY = 'X' * SUPPRESS_RECORDLIST = ' ' callback_program = ld_callback_program callback_form = ld_callback_form TABLES return_tab = lt_f4_valuetab EXCEPTIONS others = 1.

HELP_VALUES_GET_WITH_TABLE_EXT * CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT' * EXPORTING * CUCOL = 0 * CUROW = 0 * DISPLAY = DISPLAY * FIELDNAME = SSL_FIELDNAME * TABNAME = SSL_TABNAME * IMPORTING * INDEX = F4_INDEX * TABLES * FIELDS = F4_VALUE * select_values = f4_vtab * VALUETAB = VALUE_TAB * HEADING_TABLE = HEADING_TABLE.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = gt_varid-report variant = gt_varid-variant IMPORTING r_c = rc EXCEPTIONS not_authorized = 01 no_report = 02 report_not_existent = 03 report_not_supplied = 04.

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = ld_line1 textline2 = ld_line2 titel = text-403 start_column = 25 start_row = 6 IMPORTING answer = answer EXCEPTIONS OTHERS = 1.

RS_CHANGE_CREATED_VARIANT CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT' EXPORTING curr_report = gt_varid-report curr_variant = gt_varid-variant vari_desc = gt_varid TABLES vari_contents = gt_rsparams vari_text = gt_varit EXCEPTIONS illegal_report_or_variant = 01 illegal_variantname = 02 not_authorized = 03 not_executed = 04 report_not_existent = 05 report_not_supplied = 06 variant_doesnt_exist = 07 variant_locked = 08 selections_no_match = 09.

RS_CREATE_VARIANT CALL FUNCTION 'RS_CREATE_VARIANT' EXPORTING curr_report = gt_varid-report curr_variant = gt_varid-variant vari_desc = gt_varid TABLES vari_contents = gt_rsparams vari_text = gt_varit EXCEPTIONS illegal_report_or_variant = 01 illegal_variantname = 02 not_authorized = 03 not_executed = 04 report_not_existent = 05 report_not_supplied = 06 variant_exists = 07 variant_locked = 08.

RS_VARIANT_TEXT CALL FUNCTION 'RS_VARIANT_TEXT' EXPORTING curr_report = gt_varid-report langu = sy-langu variant = varid-variant all_variants = true TABLES vartext = vartext EXCEPTIONS no_text = 1 OTHERS = 2.

HELP_VALUES_GET_WITH_TABLE_EXT CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT' EXPORTING display = space fieldname = 'VARIANT' " 'VARIANT ' tabname = 'VARID' " 'VARID ' IMPORTING index = i_tabix TABLES fields = i_help_value select_values = i_help_vtab valuetab = list_variant EXCEPTIONS others = 1.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = gt_dynpfields.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = gt_varid-report variant = varid-variant IMPORTING r_c = rc EXCEPTIONS not_authorized = 01 no_report = 02 report_not_existent = 03 report_not_supplied = 04.

RS_VARIANT_VALUES_TECH_DATA CALL FUNCTION 'RS_VARIANT_VALUES_TECH_DATA' EXPORTING report = gt_varid-report variant = varid-variant * SEL_TEXT = ' ' move_or_write = 'M' sorted = 'X' IMPORTING techn_data = gt_varid TABLES variant_values = gt_rsparams * variant_text = EXCEPTIONS variant_non_existent = 1 variant_obsolete = 2 OTHERS = 3.

RS_VARIANT_DELETE CALL FUNCTION 'RS_VARIANT_DELETE' EXPORTING report = gt_varid-report variant = varid-variant * importing * variant = EXCEPTIONS not_authorized = 1 not_executed = 2 no_report = 3 report_not_existent = 4 report_not_supplied = 5 variant_locked = 6 variant_not_existent = 7 variant_protected = 8 OTHERS = 9.



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