SAP Reports / Programs

FAGL_PROT_EXAMPLE SAP ABAP Report - Program FAGL_PROT_EXAMPLE







FAGL_PROT_EXAMPLE 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 FAGL_PROT_EXAMPLE 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

FAGL_PROT_EXAMPLE - Log Storage


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 FAGL_PROT_EXAMPLE. "Basic submit
SUBMIT FAGL_PROT_EXAMPLE AND RETURN. "Return to original report after report execution complete
SUBMIT FAGL_PROT_EXAMPLE 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: P_LOG_D = D .
Selection Text: P_LOG_R = D .
Selection Text: P_LOG_S = D .
Selection Text: P_LOG_T = D .
Selection Text: P_TEST = D .
Title: Program FAGL_PROT_EXAMPLE
Text Symbol: 001 = Dynamic Selections
Text Symbol: 002 = Accruals/Deferrals
Text Symbol: 003 = First Accrual Active
Text Symbol: 004 = &1 accruals active
Text Symbol: F50 = Log Output
Text Symbol: P01 = Log List
Text Symbol: P02 = Display List of Logs Saved Previously


INCLUDES used within this REPORT FAGL_PROT_EXAMPLE

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_history text = text-p01 info = text-p02 IMPORTING result = logs EXCEPTIONS OTHERS = 0.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'FAGL_PROT_LOG_LIST_RESTRICT' all_types = 'X' IMPORTING dfies_wa = ls_dfies.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = sy-repid TABLES selection_table = gt_params.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_user_command = 'CB_USER_COMMAND' i_structure_name = 'T001' TABLES t_outtab = gt_t001.

FB_SELECTIONS_DISPLAY CALL FUNCTION 'FB_SELECTIONS_DISPLAY' EXPORTING ed_program = sy-repid et_dynamic_selections = psx_frsl-trange.

FB_SELECTIONS_DISPLAY CALL FUNCTION 'FB_SELECTIONS_DISPLAY' EXPORTING ed_program = sy-repid et_selections = gt_params et_dynamic_selections = psx_frsl-trange ed_mode = '1'.

FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING field_ranges_int = csx_free_sel-trange IMPORTING selection_id = ld_selection_id where_clauses = csx_free_sel-clauses expressions = csx_free_sel-texpr field_ranges = csx_free_sel-trange number_of_active_fields = cd_free_sel_number TABLES tables_tab = lt_tables fields_tab = lt_fields fields_not_selected = lt_fields_not tabfields_not_display = lt_excluded_fields EXCEPTIONS OTHERS = 1.

FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING selection_id = ld_selection_id title = text-001 "Free Selections IMPORTING where_clauses = csx_free_sel-clauses expressions = csx_free_sel-texpr field_ranges = csx_free_sel-trange number_of_active_fields = cd_free_sel_number TABLES fields_tab = lt_fields fields_not_selected = lt_fields_not EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_fencing text = ls_text-icon_text info = ls_text-icon_text add_stdinf = ' ' IMPORTING result = cd_icon_text.



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