SAP Reports / Programs | Accounting - General | Accounting Interface(AC-INT) SAP AC

RGLE_ECS_TREND SAP ABAP Report - Calculate Trend for Last 6 Months (Total and Average ECS Items)







RGLE_ECS_TREND is a standard Executable ABAP Report 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 RGLE_ECS_TREND into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ACC_ECS_TREND - Trend for Past 6 Months


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


Text pool values


Selection Text: S_BUDAT = Posting Date (Max. 6 Months)
Selection Text: P_LAYOUT = D .
Selection Text: S_BUKRS = D .
Selection Text: S_COMERR = D .
Selection Text: S_SEVERI = D .
Selection Text: S_STATUS = D .
Title: Calculate Trend for Last 6 Months (Total and Average ECS Items)
Text Symbol: 013 = No. of
Text Symbol: 014 = Average
Text Symbol: S01 = ECS System Fields
Text Symbol: S02 = Aggregation Fields
Text Symbol: S03 = Layout of Result List


INCLUDES used within this REPORT RGLE_ECS_TREND

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:

GLE_ECS_DB_GET_CFIELD_AGGR CALL FUNCTION 'GLE_ECS_DB_GET_CFIELD_AGGR' IMPORTING e_tab_field_aggr = g_tab_cfield_aggr.

GLE_ECS_UI_SET_FS_BUTTON CALL FUNCTION 'GLE_ECS_UI_SET_FS_BUTTON' EXPORTING i_fsnum = p_fsnum CHANGING c_dyntxt = gs_dyntxt.

GLE_ECS_UI_FREE_SELECTION CALL FUNCTION 'GLE_ECS_UI_FREE_SELECTION' EXPORTING * I_TITLE = SY-TITLE it_tables = g_tab_tables it_fields_not_dis = g_tab_fields_not_dis CHANGING c_selid = g_selid c_fstype = p_fstype c_fsnum = p_fsnum.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = g_con_str_count all_types = 'X' TABLES dfies_tab = g_tab_dfies[] EXCEPTIONS not_found = 1 OTHERS = 2.

GLE_ECS_AL_MONTH_GRID CALL FUNCTION 'GLE_ECS_AL_MONTH_GRID' EXPORTING iv_begda = s_budat-low iv_endda = s_budat-high IMPORTING et_month = g_tab_month.

GLE_ECS_AL_ITEM_GET_ITEM_ORIG CALL FUNCTION 'GLE_ECS_AL_ITEM_GET_ITEM_ORIG' EXPORTING i_rng_compound_error = g_rng_compound_error[] i_rng_severity = g_rng_severity[] i_rng_status = g_rng_status[] i_rng_bukrs = g_rng_bukrs[] i_rng_budat = g_rng_budat[] it_trange = p_fstype-trange[] IMPORTING et_ecs_fi_item_all_data = g_tab_ecs_view[].

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = l_str_variant i_save = 'A' IMPORTING es_variant = l_str_variant EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' * EXPORTING * I_SAVE = ' ' CHANGING cs_variant = l_str_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.



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