SAP Reports / Programs | Enterprise Controlling | Profit Center Accounting(EC-PCA) SAP EC

MKEC6F01 SAP ABAP INCLUDE - general







MKEC6F01 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 MKEC6F01 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 MKEC6F01. "Basic submit
SUBMIT MKEC6F01 AND RETURN. "Return to original report after report execution complete
SUBMIT MKEC6F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: general


INCLUDES used within this REPORT MKEC6F01

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:

COPCA_APPL_LOG_READ * CALL FUNCTION 'COPCA_APPL_LOG_READ' * EXPORTING * SUBOBJECT = SUBOBJECT * ALTCODE = ALTCODE * ALPROG = ALPROG * ALTEXT = ALTEXT * IMPORTING * NUMBER = NUMBER * TABLES * LOG = LOG.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-016 textline2 = text titel = text-009 start_column = 25 start_row = 6 IMPORTING answer = answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-016 textline2 = text titel = text-009 start_column = 25 start_row = 6 IMPORTING answer = answer.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = tka01-kokrs popup = '1' IMPORTING e_kokrs = tka01-kokrs.

K_KOKRS_SET CALL FUNCTION 'K_KOKRS_SET' EXPORTING display = ' ' * I_KOKRS = ' ' popup = '1' IMPORTING e_kokrs = tka01-kokrs.

RK_BUKRS_OF_KOKRS CALL FUNCTION 'RK_BUKRS_OF_KOKRS' EXPORTING kokrs = tka01-kokrs TABLES t_bukrs = t_bukrs EXCEPTIONS others = 1.

COPCA_POPUP_PERIODE_GJAHR CALL FUNCTION 'COPCA_POPUP_PERIODE_GJAHR' EXPORTING max_gjahr = max_gjahr max_perio = max_perio IMPORTING gjahr = bis_gjahr perio = bis_perio EXCEPTIONS abbruch = 01.

COPCA_APPL_LOG_READ CALL FUNCTION 'COPCA_APPL_LOG_READ' EXPORTING subobject = subobject altcode = altcode alprog = alprog altext = altext IMPORTING number = number TABLES log = log.

APPL_LOG_DELETE_WITH_LOGNUMBER CALL FUNCTION 'APPL_LOG_DELETE_WITH_LOGNUMBER' IMPORTING number_of_deleted_logs = delnumber TABLES lognumber = lognumber.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING * GJAHR = '0000' kokrs = tka01-kokrs IMPORTING * E_TKA00 = e_tka01 = tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3 .

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = sy-datum * I_MONMIT = 00 i_periv = tka01-lmona IMPORTING e_buper = l_perio e_gjahr = max_gjahr EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4 .

COPCA_APPL_LOG_READ * CALL FUNCTION 'COPCA_APPL_LOG_READ' * EXPORTING * subobject = subobject * altcode = altcode * alprog = alprog * altext = altext * IMPORTING * number = number * TABLES * log = log.

K_BATCH_REQUEST * CALL FUNCTION 'K_BATCH_REQUEST' * EXPORTING * PAR_AMAIL = ' ' * PAR_DIALG = 'X' * PAR_JNAME = JOBNAME * PAR_LTDAY = CON_NODAY * PAR_LTTME = CON_NOTME * PAR_NONOW = ' ' * PAR_NSM37 = ' ' * PAR_NSP01 = ' ' * PAR_PNAKZ = ' ' * PAR_PNAME = GENREP * PAR_PRINT = ' ' * PAR_PRIPA = ' ' * PAR_RNAME = REPORT * PAR_SDMSG = ' ' * PAR_SMAIL = ' ' * PAR_STDAY = CON_NODAY * PAR_STNOW = ' ' * PAR_STTME = CON_NOTME * PAR_SWAIT = ' ' * PAR_WTIME = CON_NOTME * TABLES * TAB_SELPA = SELTAB * EXCEPTIONS * DELETE_REPORT_INCORRECT = 01 * EDLIN_TOO_LONG = 02 * GENERATE_REPORT_INCORRECT = 03 * INSERT_REPORT_INCORRECT = 04 * JNAME_MISSING = 05 * JOB_CLOSE_INCORRECT = 06 * JOB_NOT_RELEASED = 07 * JOB_OPEN_INCORRECT = 08 * LOCK_REPORT_IMPOSSIBLE = 09 * OPTION_WRONG = 10 * PNAME_MISSING = 11 * READ_REPORT_INCORRECT = 12 * REPORT_IN_TRDIR_MISSING = 13 * RNAME_MISSING = 14 * SIGN_WRONG = 15 * START_DATE_IMPOSSIBLE = 16 * START_DATE_MISSING = 17 * SUBMIT_INCORRECT = 18.

COPCA_APPL_LOG_READ * CALL FUNCTION 'COPCA_APPL_LOG_READ' * EXPORTING * SUBOBJECT = SUBOBJECT * ALTCODE = ALTCODE * ALPROG = ALPROG * ALTEXT = ALTEXT * IMPORTING * NUMBER = NUMBER * TABLES * LOG = LOG.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-016 textline2 = text titel = text-019 start_column = 25 start_row = 6 IMPORTING answer = answer.

K_PCA_CHECK_BALANCE_ACTIVE CALL FUNCTION 'K_PCA_CHECK_BALANCE_ACTIVE' EXPORTING I_KOKRS = tka01-kokrs.

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING * GJAHR = '0000' kokrs = tka01-kokrs IMPORTING * E_TKA00 = e_tka01 = l_tka01 EXCEPTIONS not_found = 1 * NOT_FOUND_GJAHR = 2 OTHERS = 3 .

GET_PERIOD_VERSION CALL FUNCTION 'GET_PERIOD_VERSION' EXPORTING i_periv = l_tka01-lmona * I_XTEXTS = ' ' * I_SPRAS = SY-LANGU IMPORTING e_t009 = l_t009 * E_T009T = EXCEPTIONS OTHERS = 1 .

K_BATCH_REQUEST





CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING * PAR_AMAIL = ' ' par_dialg = 'X' par_jname = jobname * PAR_LTDAY = CON_NODAY * PAR_LTTME = CON_NOTME * PAR_NONOW = ' ' * PAR_NSM37 = ' ' * PAR_NSP01 = ' ' * PAR_PNAKZ = ' ' * par_pname = genrep par_print = 'X' * PAR_PRIPA = ' ' par_rname = report * PAR_SDMSG = ' ' * PAR_SMAIL = ' ' * PAR_STDAY = CON_NODAY * PAR_STNOW = ' ' * PAR_STTME = CON_NOTME * PAR_SWAIT = ' ' * PAR_WTIME = CON_NOTME TABLES tab_selpa = lt_bukrs EXCEPTIONS delete_report_incorrect = 1 edlin_too_long = 2 generate_report_incorrect = 3 insert_report_incorrect = 4 jname_missing = 5 job_close_incorrect = 6 job_not_released = 7 job_open_incorrect = 8 lock_report_impossible = 9 option_wrong = 10 read_report_incorrect = 11 report_in_trdir_missing = 12 rname_missing = 13 sign_wrong = 14 start_date_impossible = 15 start_date_missing = 16 submit_incorrect = 17 server_group_missing = 18 target_system_missing = 19 report_variant_missing = 20 pname_missing = 21 OTHERS = 22.

STC1_SET_COMMAND CALL FUNCTION 'STC1_SET_COMMAND' EXPORTING command = save_ok_code * IMPORTING * PICKED_LINE = * PICKED_HANDLE = * EXCEPTIONS * INVALID_CURSORPOSITION = 1 * OTHERS = 2 .

STC1_GET_DATA CALL FUNCTION 'STC1_GET_DATA' EXPORTING tab_handle = g_tc_400_handle TABLES table = t_bufod * MODIFIED_DATA = * DELETED_DATA = * NEW_DATA = * DIFFERENT_DATA = marked_data = lt_marked_bufod EXCEPTIONS * TABLE_NOT_FOUND = 1 OTHERS = 2 .

STC1_SELECT_SUBSCREEN CALL FUNCTION 'STC1_SELECT_SUBSCREEN' EXPORTING header = 'Buchungskreise'(021) tabname = 'PCA_BUFOD' display_only = 'X' * endless = * HANDLE = * DISPLAY_TOGGLE = SORT_FORBIDDEN = 'X' * MODIFY_CHECK = * INSERT_CHECK = * DELETE_CHECK = * MODIFY_DISP_FIELD = * NO_INSERT = * NO_DELETE = * NO_MOVE = * NO_UNDO = * NO_BUTTON = * ADDITIONAL_BUTTON = * ADD_BUTTON_CALL = * ADD_BUTTON_HEADER = IMPORTING dynproreport = g_program dynpronr = g_dynsub tabhandle = g_tc_400_handle TABLES * NAMETAB = lt_ntab table = t_bufod fielddif = lt_fdif EXCEPTIONS no_more_tables = 1 too_many_fields = 2 nametab_not_valid = 3 handle_not_valid = 4 OTHERS = 5 .

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING PAR_DIALG = 'X' PAR_JNAME = 'RCOPCA49/1KEK' PAR_PRINT = 'X' PAR_RNAME = 'RCOPCA49' * IMPORTING TABLES TAB_SELPA = lt_selpa * CHANGING * PAR_KABA01 = EXCEPTIONS OTHERS = 51 .



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