SAP Reports / Programs | Cross-Application Components | Global Batch Traceability(CA-GBT) SAP CA

/GBT/R_ERP_EVENT_FILTER_APPLY SAP ABAP Report - Specify Filter for Events on ERP







/GBT/R_ERP_EVENT_FILTER_APPLY is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Register plants as GBT-relevant, for which goods movements are transferred as GBT events...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter /GBT/R_ERP_EVENT_FILTER_APPLY 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

/GBT/FILTER_APPLY - Apply Filter for ERP Events


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 /GBT/R_ERP_EVENT_FILTER_APPLY. "Basic submit
SUBMIT /GBT/R_ERP_EVENT_FILTER_APPLY AND RETURN. "Return to original report after report execution complete
SUBMIT /GBT/R_ERP_EVENT_FILTER_APPLY 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: PA_LSYS = D .
Title: Specify Filter for Events on ERP
Text Symbol: 001 = Yes
Text Symbol: 002 = No
Text Symbol: 003 = Continue
Text Symbol: 010 = Unsaved data will be lost. Do you want to save?
Text Symbol: 011 = Do you want to save the changed filter definition for the plant?
Text Symbol: 100 = Plants of Logical System &


INCLUDES used within this REPORT /GBT/R_ERP_EVENT_FILTER_APPLY

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:

RFC_READ_TABLE CALL FUNCTION 'RFC_READ_TABLE' DESTINATION gv_rfcdest EXPORTING query_table = iv_tabname TABLES options = lt_options fields = it_rfc_db_fld data = et_tab512 EXCEPTIONS table_not_available = 1 table_without_data = 2 option_not_valid = 3 field_not_valid = 4 not_authorized = 5 data_buffer_exceeded = 6 OTHERS = 7.

/GBTINT/RFC_CNF_EVENT_FILTER CALL FUNCTION '/GBTINT/RFC_CNF_EVENT_FILTER' DESTINATION gv_rfcdest EXPORTING iv_action = iv_action "P+, P-, iv_keys = lv_xstring IMPORTING ev_keys = lv_xstring EXCEPTIONS OTHERS = 1.

/GBTINT/RFC_CNF_EVENT_FILTER CALL FUNCTION '/GBTINT/RFC_CNF_EVENT_FILTER' DESTINATION gv_rfcdest EXPORTING iv_action = lv_action IMPORTING ev_keys = lv_xstring EXCEPTIONS OTHERS = 1.

GET_GLOBALS_FROM_SLVC_FULLSCR CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' IMPORTING e_grid = lo_gui_alv_grid.

DSYS_SHOW_FOR_F1HELP CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP' EXPORTING dokclass = 'RE' dokname = '/GBT/R_ERP_EVENT_FILTER_APPLY' EXCEPTIONS OTHERS = 1. "#EC *

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = 'Unsaved data will be lost. Do you want to save?'(010)

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = iv_tabname TABLES dfies_tab = lt_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_standard_header.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = 'TOP_OF_PAGE' it_fieldcat = gt_plant_fieldcat is_layout = gs_layout * IT_EXCLUDING = GT_EXCLUDE TABLES t_outtab = gt_plant_filter_new EXCEPTIONS program_error = 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 /GBT/R_ERP_EVENT_FILTER_APPLY or its description.