SAP Reports / Programs | Enterprise Controlling | Executive Information System | Data Collection(EC-EIS-DCM) SAP EC

MKCPL2I01 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RKC_ASPET_INFO CALL FUNCTION 'RKC_ASPET_INFO' EXPORTING aspet = cfparmp-aspect IMPORTING atype = atype EXCEPTIONS not_exist = 1 not_in_client = 2 not_in_state = 3 OTHERS = 4.

RKC_ASPET_INFO CALL FUNCTION 'RKC_ASPET_INFO' EXPORTING ASPET = CFPARMP-ASPECT IMPORTING ATYPE = ATYPE EXCEPTIONS NOT_EXIST = 1 NOT_IN_CLIENT = 2 NOT_IN_STATE = 3 OTHERS = 4.

KCD_SENDERSTRUCTURE_CHECK CALL FUNCTION 'KCD_SENDERSTRUCTURE_CHECK' EXPORTING repid = cfparmp-sender * MANDT = SY-MANDT * I_INIT = ' ' * IMPORTING * PROGN = * ESTRC = * GRPID = * ANWDG = * VALID = * MAVAL = * DKEY = * TEXT = EXCEPTIONS send_struc_not_found = 1 OTHERS = 2.

KCD_RULES_EXISTS CALL FUNCTION 'KCD_RULES_EXISTS' EXPORTING repid = cfparmp-sender EXCEPTIONS no_rules = 1 OTHERS = 2.

KCD_RULES_EXISTS CALL FUNCTION 'KCD_RULES_EXISTS' EXPORTING repid = cfparmp-sender EXCEPTIONS no_rules = 1 OTHERS = 2.

EIS_TR_SENDER_STRUCTURE_MAINTA CALL FUNCTION 'EIS_TR_SENDER_STRUCTURE_MAINTA' EXPORTING repid = cfparmp-sender i_with_dialog = ' ' i_aspet = cfparmp-aspect ddic_structure = asp_struc "IFNNN TABLES send_struct = data_tab_fields * DEFRL = EXCEPTIONS exit_wanted = 1 not_saved = 2 OTHERS = 3.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'DE' * DOKLANGU = SY-LANGU dokname = 'CFCOMPUTE' TABLES links = tline EXCEPTIONS object_not_found = 1 sapscript_error = 2 OTHERS = 3.

RKE_ACCESS_KEY_CHECK CALL FUNCTION 'RKE_ACCESS_KEY_CHECK' EXPORTING i_applclass = 'KC ' i_subclass = '06' i_tabname = aspekt i_type = '1' i_plsz = cfparmp-spread_plsz * IMPORTING * E_TEXT = EXCEPTIONS invalid_value = 1 OTHERS = 2.

RKE_ACCESS_KEY_CHECK CALL FUNCTION 'RKE_ACCESS_KEY_CHECK' EXPORTING i_applclass = 'KC ' i_subclass = '06' i_tabname = aspekt i_type = '3' i_plsz = cfparmp-reval_plsz * IMPORTING * E_TEXT = EXCEPTIONS invalid_value = 1 OTHERS = 2.

RKE_ACCESS_KEY_CHECK CALL FUNCTION 'RKE_ACCESS_KEY_CHECK' EXPORTING i_applclass = 'KC ' i_subclass = '06' i_tabname = aspekt i_type = '2' i_plsz = cfparmp-prognose_plsz * IMPORTING * E_TEXT = EXCEPTIONS invalid_value = 1 OTHERS = 2.

RKD_SHORT_TEXT_ALL CALL FUNCTION 'RKD_SHORT_TEXT_ALL' EXPORTING applclass = 'KC' criteria = 'YEARB' i_rkb1x = l_rkb1x TABLES character_table = chartab EXCEPTIONS criteria_not_found = 1 key_not_found = 2 table_not_found = 3 tkebf_entry_not_found = 4 empty_applclass = 5 wrong_mode = 6 OTHERS = 7.

RKD_SHORT_TEXT_ALL CALL FUNCTION 'RKD_SHORT_TEXT_ALL' EXPORTING applclass = 'KC' criteria = 'PERDE' i_rkb1x = l_rkb1x TABLES character_table = chartab EXCEPTIONS criteria_not_found = 1 key_not_found = 2 table_not_found = 3 tkebf_entry_not_found = 4 empty_applclass = 5 wrong_mode = 6 OTHERS = 7.

RKE_GET_PERIOD_DELTA CALL FUNCTION 'RKE_GET_PERIOD_DELTA' EXPORTING perflag = '1' perio1 = cfparmp-period_from perio2 = cfparmp-period_to periv = l_rkb1x-periv2 IMPORTING delta = delta1 EXCEPTIONS delta_overflow = 1 i_error = 2 i_perflag_invalid = 3 i_periv_notfound = 4 OTHERS = 5.

RKE_GET_PERIOD_DELTA CALL FUNCTION 'RKE_GET_PERIOD_DELTA' EXPORTING perflag = '1' perio1 = cfparmp-ref_period_from perio2 = cfparmp-ref_period_to periv = l_rkb1x-periv2 IMPORTING delta = delta2 EXCEPTIONS delta_overflow = 1 i_error = 2 i_perflag_invalid = 3 i_periv_notfound = 4 OTHERS = 5.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'REVAL' value_org = 'S' TABLES value_tab = i_tkepc field_tab = help_field_tab return_tab = l_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'SPRED' value_org = 'S' TABLES value_tab = i_t821t field_tab = help_field_tab return_tab = l_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PRPFL' value_org = 'S' TABLES value_tab = i_t440p field_tab = help_field_tab return_tab = l_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PLSZ' value_org = 'S' TABLES value_tab = l_tkepszkt field_tab = help_field_tab return_tab = l_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST





CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PLSZ' value_org = 'S' TABLES value_tab = l_tkepszkt field_tab = help_field_tab return_tab = l_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'PLSZ' value_org = 'S' TABLES value_tab = l_tkepszkt field_tab = help_field_tab return_tab = l_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

HELP_KEY_RATIO_REQUEST CALL FUNCTION 'HELP_KEY_RATIO_REQUEST' EXPORTING applc = 'KC' aspet = aspekt1 tabnm = aspet basfl = 'X' IMPORTING keyra = keyra EXCEPTIONS aspet_not_found = 2 no_keyras = 4.

RKD_HELP_VALUES_GET CALL FUNCTION 'RKD_HELP_VALUES_GET' EXPORTING applclass = 'KC' * DISPLAY = ' ' field = loop4_tab-fienm mc_object = f4a_object * RKB1X = * SELSTR = ' ' table = aspektnummer * VARTYP = 1 * HIENM = IMPORTING keyid = loop4_tab-von_feld * TABLES * DEPENDANCY_TAB = * I_FIELD_TAB = EXCEPTIONS OTHERS = 0.

RKD_HELP_VALUES_GET CALL FUNCTION 'RKD_HELP_VALUES_GET' EXPORTING applclass = 'KC' * DISPLAY = ' ' field = loop4_tab-fienm mc_object = f4a_object * RKB1X = table = aspektnummer IMPORTING keyid = loop4_tab-bis_feld * TABLES * DEPENDANCY_TAB = * I_FIELD_TAB = EXCEPTIONS OTHERS = 0.

RKE_ACCESS_KEY_CHECK CALL FUNCTION 'RKE_ACCESS_KEY_CHECK' EXPORTING i_applclass = 'KC ' i_subclass = '06' i_tabname = aspekt i_type = '1' i_plsz = cfparmp-spread_plsz * IMPORTING * E_TEXT = EXCEPTIONS invalid_value = 1 OTHERS = 2.

RKE_ACCESS_KEY_CHECK CALL FUNCTION 'RKE_ACCESS_KEY_CHECK' EXPORTING i_applclass = 'KC ' i_subclass = '06' i_tabname = aspekt i_type = '3' i_plsz = cfparmp-reval_plsz * IMPORTING * E_TEXT = EXCEPTIONS invalid_value = 1 OTHERS = 2.

RKE_ACCESS_KEY_CHECK CALL FUNCTION 'RKE_ACCESS_KEY_CHECK' EXPORTING i_applclass = 'KC ' i_subclass = '06' i_tabname = aspekt i_type = '2' i_plsz = cfparmp-prognose_plsz * IMPORTING * E_TEXT = EXCEPTIONS invalid_value = 1 OTHERS = 2.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = 'VARIANT' tabname = 'TKCMPVT' display = display IMPORTING select_value = keyid TABLES fields = value_tab_fields valuetab = value_tab.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = 'SAPMKCPL2' dynumb = '0100' tables dynpfields = dynpfields * EXCEPTIONS * INVALID_ABAPWORKAREA = 1 * INVALID_DYNPROFIELD = 2 * INVALID_DYNPRONAME = 3 * INVALID_DYNPRONUMMER = 4 * INVALID_REQUEST = 5 * NO_FIELDDESCRIPTION = 6 * UNDEFIND_ERROR = 7 * OTHERS = 8 .

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = 'SAPMKCPL2' dynumb = '0200' translate_to_upper = 'X' * REQUEST = ' ' * PERFORM_CONVERSION_EXITS = ' ' TABLES dynpfields = dynpfields EXCEPTIONS OTHERS = 9.

KCD_SENDERSTRUCTURE_WITH_RULES CALL FUNCTION 'KCD_SENDERSTRUCTURE_WITH_RULES' EXPORTING * ANWDG = '1' estrc = asp IMPORTING sel_repid = cfparmp-sender EXCEPTIONS OTHERS = 1.

RKC_ASPET_POPUP CALL FUNCTION 'RKC_ASPET_POPUP' EXPORTING disp = space status = 'A' IMPORTING aspet = cfparmp-aspect * atext = cfparmp-atext * tabnm = cfparmp- * CHANGING * ATYPE = '*' EXCEPTIONS OTHERS = 1.

RKC_ASPET_POPUP CALL FUNCTION 'RKC_ASPET_POPUP' EXPORTING disp = space status = 'A' IMPORTING aspet = cfparmp-ref_aspect * atext = cfparmp-atext * tabnm = cfparmp- * CHANGING * ATYPE = '*' EXCEPTIONS OTHERS = 1.



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