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

MKGA2F30 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

ENQUEUE_EKACTVE CALL FUNCTION 'ENQUEUE_EKACTVE' EXPORTING kokrs = group activity = activity * _scope = 3 _scope = 1 EXCEPTIONS foreign_lock = 4.

G_ALL_GET_ORGANIZATIONAL_INFO CALL FUNCTION 'G_ALL_GET_ORGANIZATIONAL_INFO' IMPORTING e_s_t800a = s_t800a e_s_t881 = s_t881 e_dim_orgunit = dim_orgunit e_dim_kokrs = dim_kokrs e_kokrs = h_kokrs TABLES i_t_t811c = it811c e_t_t001 = t_t001 e_t_t880 = t_t880 e_t_glx_org_info = t_glx_org_info.

G_ALL_ENQ_EXC CALL FUNCTION 'G_ALL_ENQ_EXC' EXPORTING i_ipknz = act-ipknz i_rldnr = s_t881-rldnr TABLES t_glx_org_info = t_glx_org_info EXCEPTIONS foreign_lock = 4.

ENQUEUE_EKACTVE CALL FUNCTION 'ENQUEUE_EKACTVE' EXPORTING kokrs = group activity = activity * _scope = 3 _scope = 1 EXCEPTIONS foreign_lock = 4.

ENQUEUE_EKACTVE CALL FUNCTION 'ENQUEUE_EKACTVE' "K060543 EXPORTING "K060543 kokrs = group "K060543 activity = activity "K060543 * _scope = 3 "K060543 _scope = 1 "K060543 EXCEPTIONS "K060543 foreign_lock = 4. "K060543

ENQUEUE_EKACTVE CALL FUNCTION 'ENQUEUE_EKACTVE' EXPORTING kokrs = group activity = activity * _scope = 3 _scope = 1 EXCEPTIONS foreign_lock = 4.

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING * actvt = md-exec actvt = actvt kokrs = group vrgng = rkga2u-activity vrgng_text = .

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING * actvt = md-exec actvt = actvt kokrs = group vrgng = rkga2u-activity vrgng_text = .

K_VRGNG_AUTHORITY_CHECK CALL FUNCTION 'K_VRGNG_AUTHORITY_CHECK' EXPORTING * actvt = md-exec actvt = actvt kokrs = group vrgng = rkga2u-activity vrgng_text = .

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING gjahr = rkga2u-gjahr kokrs = tka01-kokrs IMPORTING e_tka00 = tka00 e_tka01 = tka01.

G_CHECK_POOL_TABLE CALL FUNCTION 'G_CHECK_POOL_TABLE' EXPORTING i_tab = t881-tab.

FAGL_CHECK_IF_LEDGER_IS_GLFLEX CALL FUNCTION 'FAGL_CHECK_IF_LEDGER_IS_GLFLEX' EXPORTING i_rldnr = t881-rldnr EXCEPTIONS NOT_FOUND = 2 NO_GLFLEX_LEDGER = 1 GLFLEX_ROLLUP_LEDGER = 0 WRONG_APPLICATION = 2 GLFLEX_DEPENDENT_LEDGER = 0 OTHERS = 2.

FI_DOCUMENT_TYPE_CHECK CALL FUNCTION 'FI_DOCUMENT_TYPE_CHECK' EXPORTING i_blart = rkga2u-docty.

FAGL_PLANNING_GET_NUMBER_RANGE CALL FUNCTION 'FAGL_PLANNING_GET_NUMBER_RANGE' EXPORTING i_docty = rkga2u-docty IMPORTING e_norng = inri-nrrangenr EXCEPTIONS not_found = 1 OTHERS = 2.

K_DATABASE_ENQUEUE CALL FUNCTION 'K_DATABASE_ENQUEUE' EXPORTING _scope = '3' TABLES comb = comb2 EXCEPTIONS foreign_lock = 1.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING display = ' ' selectfield = 'DOCTY ' no_pers_help_select = ' ' title_in_values_list = ' ' show_all_values_at_first_time = ' ' use_user_selections = ' ' write_selectfield_in_colours = 'X' IMPORTING ind = i TABLES fields = t_help_value full_table = t_docty user_sel_fields = t_user_fields EXCEPTIONS full_table_empty = 1.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING called_for_tab = 'T889' called_for_field = 'DOCTY'.

HELP_OBJECT_SHOW_FOR_FIELD CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING called_for_tab = 'T003' called_for_field = 'BLART'.

HELP_OBJECT_SHOW_FOR_FIELD





CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD' EXPORTING called_for_tab = 'FAGL_T889A' called_for_field = 'DOCTY'.

F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'FAGL_GLU1_FIX_FIELDS' fieldname = 'RLDNR' searchhelp = ld_shlpname * SHLPPARAM = ' ' dynpprog = 'SAPMKGA2' dynpnr = '0102' dynprofield = 'RKGA2-RLDNR' * STEPL = 0 * VALUE = ' ' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * SUPPRESS_RECORDLIST = ' ' * callback_program = ' ' * callback_form = ' ' * SELECTION_SCREEN = ' ' * TABLES * RETURN_TAB = EXCEPTIONS field_not_found = 1 no_help_for_field = 2 inconsistent_help = 3 no_values_found = 4 OTHERS = 5.

FAGL_CHECK_LEDGER_IS_REPRESENT CALL FUNCTION 'FAGL_CHECK_LEDGER_IS_REPRESENT' EXPORTING id_ldgrp = it811c-gl_ldgrp id_rldnr = rkga2-rldnr EXCEPTIONS ledgergroup_does_not_exist = 1 no_ledger_in_group = 2 no_glflex_ledger = 3 ledger_not_represent_in_group = 4 ledger_not_in_group = 5 error_in_ledgergroup = 6 OTHERS = 7.



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