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

MKEC6F02 SAP ABAP INCLUDE - Material stocks







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


Text pool values


Title: Material stocks


INCLUDES used within this REPORT MKEC6F02

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_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.

MARV_SINGLE_READ CALL FUNCTION 'MARV_SINGLE_READ' EXPORTING * KZRFB = ' ' bukrs = t_bukrs-bukrs IMPORTING wmarv = marv EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3 .

MARV_SINGLE_READ CALL FUNCTION 'MARV_SINGLE_READ' EXPORTING * KZRFB = ' ' bukrs = t_bukrs-bukrs IMPORTING wmarv = marv EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3 .

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_SELECT_SUBSCREEN CALL FUNCTION 'STC1_SELECT_SUBSCREEN' EXPORTING header = 'Buchungskreise'(021) tabname = 'PCA_BUMAT' display_only = ' ' * endless = * HANDLE = * DISPLAY_TOGGLE = SORT_FORBIDDEN = 'X' * modify_check = * INSERT_CHECK = * DELETE_CHECK = * MODIFY_DISP_FIELD = no_insert = 'X' no_delete = 'X' no_move = 'X' NO_UNDO = 'X' * NO_BUTTON = * ADDITIONAL_BUTTON = * ADD_BUTTON_CALL = * ADD_BUTTON_HEADER = IMPORTING dynproreport = g_program dynpronr = g_dynsub tabhandle = g_tc_100_handle TABLES * NAMETAB = lt_ntab table = t_bukrs fielddif = lt_fdif EXCEPTIONS no_more_tables = 1 too_many_fields = 2 nametab_not_valid = 3 handle_not_valid = 4 OTHERS = 5 .

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_100_handle TABLES table = t_bukrs modified_data = lt_modified_bukrs * DELETED_DATA = * NEW_DATA = * DIFFERENT_DATA = marked_data = lt_marked_bukrs EXCEPTIONS * TABLE_NOT_FOUND = 1 OTHERS = 2 .



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