SAP Reports / Programs | Controlling | Profitability Analysis(CO-PA) SAP CO

MKEPSF02 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RKE_CHARACTERISTICS_GET * call function 'RKE_CHARACTERISTICS_GET' * exporting * criteria = selektierte_eig * table = ' ' * tabname = eigtab_name0 * importing * subrc = subrc * tables * characteristics = auspraege * range_characteristics = bereich * exceptions * forkey_error = 01.

RKE_CHARACTERISTICS_GET_2 CALL FUNCTION 'RKE_CHARACTERISTICS_GET_2' EXPORTING " FIELDTAB_ENTRY = WITH_TEXT = 'X' ERKRS = EKREIS CRITERIA = SELEKTIERTE_EIG IMPORTING SUBRC = SUBRC TABLES CHARACTERISTICS = AUSPRAEGE RANGE_CHARACTERISTICS = BEREICH EXCEPTIONS CHECK_FIELD_ERROR = 01.

ENQUEUE_EKTKEPSS * CALL FUNCTION 'ENQUEUE_EKTKEPSS' * EXPORTING * ERKRS = EKREIS ** ID = ' ' * MANDT = SY-MANDT * PSTRUKT = TKEPSS-PSTRUKT * X_ERKRS = ' ' * X_ID = ' ' * X_PSTRUKT = ' ' * _SCOPE = '2' * _WAIT = ' ' * EXCEPTIONS * FOREIGN_LOCK = 01 * SYSTEM_FAILURE = 02.

ENQUEUE_EKCEPBV CALL FUNCTION 'ENQUEUE_EKCEPBV' EXPORTING MANDT = SY-MANDT APPLCLASS = APPLCLASS SUBCLASS = SUBCLASS TABNAME = L_V_TABNAME PSTRUKT = TKEPSS-PSTRUKT VERSI = ' ' KNOTEN = ' ' X_APPLCLASS = ' ' X_SUBCLASS = ' ' X_TABNAME = ' ' X_PSTRUKT = ' ' X_VERSI = ' ' X_KNOTEN = ' ' _SCOPE = '2' _WAIT = ' ' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

RKE_SHORT_TEXT CALL FUNCTION 'RKE_SHORT_TEXT' EXPORTING CHARACTERISTIC = WERTE-VAL(32) CRITERIA = TKEPSS-FIELDNAME * DATE = '00000000' * DATE_TO = '00000000' LANGUAGE_KEY = SY-LANGU MODE = '*' TABLE = ' ' IMPORTING CHARACTERISTIC_TEXT = TEXT * TEXT_FLAG = EXCEPTIONS KEY_NOT_FOUND = 01.

RKE_CHARACTERISTICS_GET * call function 'RKE_CHARACTERISTICS_GET' * exporting * criteria = eig * table = ' ' * tabname = eigtab_name0 * S001 ist der Ergebnisbereich - was ist CE7? * importing * subrc = subrc * tables * characteristics = auspraege * range_characteristics = bereich * exceptions * forkey_error = 01.

RKE_CHARACTERISTICS_GET_2 CALL FUNCTION 'RKE_CHARACTERISTICS_GET_2' EXPORTING " FIELDTAB_ENTRY = WITH_TEXT = 'X' ERKRS = EKREIS CRITERIA = EIG IMPORTING SUBRC = SUBRC TABLES CHARACTERISTICS = AUSPRAEGE RANGE_CHARACTERISTICS = BEREICH EXCEPTIONS CHECK_FIELD_ERROR = 01.

GRAPH_SET_CUA_STATUS CALL FUNCTION 'GRAPH_SET_CUA_STATUS' EXPORTING PROGRAM = PROGRAM STATUS = D100CHNG TABLES EXCLUDING = EX_TAB EXCEPTIONS NOT_FOUND_PROGRAM = 01 NOT_FOUND_STATUS = 02 RECURSIVE_MENUES = 03.

GRAPH_SET_CUA_STATUS CALL FUNCTION 'GRAPH_SET_CUA_STATUS' EXPORTING PROGRAM = PROGRAM STATUS = D100DISP TABLES EXCLUDING = EX_TAB EXCEPTIONS NOT_FOUND_PROGRAM = 01 NOT_FOUND_STATUS = 02 RECURSIVE_MENUES = 03.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING TITEL = 'COPA Planstrukturdefinition'(032) TXT1 = TEXT1 TXT2 = TEXT2 TXT3 = TEXT3.

CNET_MAKE_BOXES CALL FUNCTION 'CNET_MAKE_BOXES' TABLES BOXES = BOXES BVALS = BVALS.



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