SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Basic Functions(FI-SL-SL) SAP FI

MKGALGLE SAP ABAP INCLUDE - PBO: Text for fields







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

INCLUDE MKGALGLD.
INCLUDE MKGALGLG.
INCLUDE MKGALGLU.
INCLUDE MKGALGLI. "K11K68237
INCLUDE MKGALOLD.


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:

G_FIELD_SET CALL FUNCTION 'G_FIELD_SET' EXPORTING ftype = 'A' table = tab. "SKF ERP2005

G_FIELD_GET CALL FUNCTION 'G_FIELD_GET' IMPORTING field_attr = dfies subrc = h_subrc.

G_MAX_PERIOD_AND_OFFSET_GET CALL FUNCTION 'G_MAX_PERIOD_AND_OFFSET_GET' EXPORTING period = ffl_perio_from table = tab "SKF ERP2005 IMPORTING offset = h_offset rpmax = fr_rpmax.

G_MAX_PERIOD_AND_OFFSET_GET CALL FUNCTION 'G_MAX_PERIOD_AND_OFFSET_GET' EXPORTING period = ffl_perio_to table = tab "SKF ERP2005 IMPORTING offset = h_offset rpmax = to_rpmax.

G_TABLE_OPEN_CURSOR CALL FUNCTION 'G_TABLE_OPEN_CURSOR' EXPORTING i_tabname = dbtable-tab i_selection = t_selection i_fieldlist = field_list i_sortlist = order_list i_aggregation = ' ' i_with_hold = 'X' IMPORTING e_cursor = h_cursor.

G_TABLE_FETCH CALL FUNCTION 'G_TABLE_FETCH' EXPORTING i_cursor = h_cursor i_package_size = c_package_size CHANGING c_t_data = EXCEPTIONS no_more_data = 1.

G_TRANSFORM_TAB_TO_GLU1_GLU2 CALL FUNCTION 'G_TRANSFORM_TAB_TO_GLU1_GLU2' EXPORTING i_tab = dbtable-tab i_poper_fr = perio_from_sel i_poper_to = perio_to_sel TABLES t_table = t_glu1 = t_glu1 t_glu2 = t_glu2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

FAGL_STATKEYF_FOR_SELECTION4 CALL FUNCTION 'FAGL_STATKEYF_FOR_SELECTION4' EXPORTING it_selection = t_selection it_fieldlist = field_list TABLES et_glu1 = t_glu1 et_glu2 = t_glu2.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

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.

FAGL_CHECK_IF_LEDGER_IS_GLFLEX CALL FUNCTION 'FAGL_CHECK_IF_LEDGER_IS_GLFLEX' EXPORTING i_rldnr = s_t881-rldnr EXCEPTIONS not_found = 1 no_glflex_ledger = 2 glflex_rollup_ledger = 3 OTHERS = 4.

NUMBER_GET_INFO CALL FUNCTION 'NUMBER_GET_INFO' EXPORTING nr_range_nr = inri-nrrangenr object = inri-object subobject = inri-subobject toyear = inri-toyear IMPORTING interval = i_nriv EXCEPTIONS interval_not_found = 1 object_not_found = 2 OTHERS = 3.

FAGL_RW_NRRANGE_CREATE CALL FUNCTION 'FAGL_RW_NRRANGE_CREATE' EXPORTING i_object = inri-object i_subobject = inri-subobject i_nr_range_nr = inri-nrrangenr * i_toyear = inri-toyear i_with_get = ' ' EXCEPTIONS others = 01.

FAGL_GET_ACTIVE_TOT_FIELDS CALL FUNCTION 'FAGL_GET_ACTIVE_TOT_FIELDS' EXPORTING i_rldnr = s_t881-rldnr * I_CLIENT = SY-MANDT IMPORTING ET_FIELDS = lt_active_fields[].

FAGL_GET_NUMBER_RANGE_FOR_PN CALL FUNCTION 'FAGL_GET_NUMBER_RANGE_FOR_PN' EXPORTING I_RLDNR = s_t881-rldnr i_blart = rkga2u-docty * IMPORTING * ES_T003 = EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

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_POSTING_DATE_OF_PERIOD_GET





CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = itperiods-buper variant = variant year = jahr IMPORTING from_date = itperiods-datab.

G_POSTING_DATE_OF_PERIOD_GET CALL FUNCTION 'G_POSTING_DATE_OF_PERIOD_GET' EXPORTING period = itperiods-buper variant = variant year = jahr IMPORTING from_date = itperiods-datab to_date = itperiods-datbi.

KOKRS_GET_FROM_BUKRS * CALL FUNCTION 'KOKRS_GET_FROM_BUKRS' * EXPORTING * i_bukrs = * IMPORTING * e_kokrs = kokrs * EXCEPTIONS * no_kokrs_found = 1 * OTHERS = 2.

G_FIELDTAB_GET CALL FUNCTION 'G_FIELDTAB_GET' EXPORTING table = s_t800a-ntable TABLES t_fieldtab = t_fieldtab EXCEPTIONS not_found = 1 OTHERS = 2.

G_TOTALS_GLU1_LIST_DISPLAY CALL FUNCTION 'G_TOTALS_GLU1_LIST_DISPLAY' EXPORTING i_ledger = s_t881-rldnr i_totals = t_glu1 i_selection = t_selection i_drill_down = space i_ledgerfield = t_fields i_variant = variant i_prompt = space IMPORTING e_t_listcat = t_listcat e_t_selection_for_set = t_selection_for_set e_t_totals_per = t_totals_per e_t_fieldcat = t_fieldcat EXCEPTIONS internal_error = 1 OTHERS = 2.

RK_KOKRS_FIND CALL FUNCTION 'RK_KOKRS_FIND' EXPORTING bukrs = appl_fields-rbukrs IMPORTING kokrs = appl_fields-kokrs.

FAGL_SEGMENT_ALLOCATION CALL FUNCTION 'FAGL_SEGMENT_ALLOCATION' EXPORTING id_sr_type = id_sr_type CHANGING cs_glu1 = glu1.

RK_KOKRS_FIND CALL FUNCTION 'RK_KOKRS_FIND' EXPORTING bukrs = appl_fields-rbukrs IMPORTING kokrs = appl_fields-kokrs.

G_VSR_SUBSTITUTION_CALL CALL FUNCTION 'G_VSR_SUBSTITUTION_CALL' EXPORTING substitution = fssc_substid tabname = 'GLU1' tab_data1 = fssc_glu1 valuser = 'GA' callup_point = '0001' IMPORTING RESULT = b_result sub_data1 = fssc_glu1 EXCEPTIONS not_found = 01.

FI_ACCT_DET_CROSS_COMPANY CALL FUNCTION 'FI_ACCT_DET_CROSS_COMPANY' EXPORTING companycode_1 = companycode_1 companycode_2 = companycode_2 IMPORTING fields_cc1_debit = fields_cc1_debit fields_cc1_credit = fields_cc1_credit.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING object = inri-object subobject = inri-subobject nr_range_nr = inri-nrrangenr toyear = inri-toyear IMPORTING number = p_docnr returncode = inri-returncode EXCEPTIONS interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 00.

FAGL_RW_NRRANGE_CREATE CALL FUNCTION 'FAGL_RW_NRRANGE_CREATE' EXPORTING object = inri-object subobject = inri-subobject nr_range_nr = inri-nrrangenr * toyear = inri-toyear with_get = 'X' IMPORTING number = p_docnr returncode = inri-returncode EXCEPTIONS others = 01.

FAGL_AUTHORITY_LEDGER CALL FUNCTION 'FAGL_AUTHORITY_LEDGER' EXPORTING i_bukrs = gt_auth-rbukrs i_rldnr = s_t881-rldnr * I_LDGRP = i_actvt = '01' i_rrcty = gt_auth-rrcty i_rvers = gt_auth-rvers EXCEPTIONS no_authority = 1 OTHERS = 2.

G_FIELDTAB_GET CALL FUNCTION 'G_FIELDTAB_GET' EXPORTING table = OLDKEYS-ETAB text_flag = 'X' TABLES t_fieldtab = lt_fields.

G_FIELD_SET CALL FUNCTION 'G_FIELD_SET' EXPORTING ftype = 'A' table = 'FAGLSKF'. "SKF ERP2005

G_FIELD_GET CALL FUNCTION 'G_FIELD_GET' IMPORTING field_attr = dfies subrc = h_subrc.



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