RFGMWHEREUSED is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report displays all Grant Management (GM) assignment entries stored in the GM Derivation Tool according to the selection criteria specified...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 RFGMWHEREUSED into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
GMWHEREUSED - Where-Used GM Assignments
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.
Selection Text: P_FNAM4 = D Field Name
Selection Text: P_GEBE = Where-Used Fund
Selection Text: P_GRAN = Where-Used Grant
Selection Text: P_KOKR = D Controlling Area
Selection Text: P_KOST = Where-Used Cost Center
Selection Text: P_KSTA = Where-Used Cost Element
Selection Text: P_MEAS = Where-Used Funded Program
Selection Text: P_PFCT = Where-Used Profit Center
Selection Text: P_POSI = Where-Used WBS Element
Selection Text: P_PROG = Where-Used Sponsored Program
Selection Text: P_SAKN = Where-Used G/L Account
Selection Text: P_VALF1 = Field Value from
Selection Text: P_VALF2 = Field Value from
Selection Text: P_VALF3 = Field Value from
Selection Text: P_VALF4 = Field Value from
Selection Text: P_VALT1 = Field Value to
Selection Text: P_VALT2 = Field Value to
Selection Text: P_VALT3 = Field Value to
Selection Text: P_VALT4 = Field Value to
Selection Text: SO_ANL1 = D Asset
Selection Text: SO_ANL2 = D Sub-number
Selection Text: SO_AUFN = D Order
Selection Text: SO_CLAS = D Sponsored Class
Selection Text: SO_FIPE = D Commitment item
Selection Text: SO_FIST = D Funds Center
Selection Text: SO_FKBE = D Functional Area
Selection Text: SO_GEBE = D Fund
Selection Text: SO_GRAN = D Grant
Selection Text: SO_KOST = D Cost Center
Selection Text: SO_KSTA = D Cost Element
Selection Text: SO_MEAS = D Funded Program
Selection Text: SO_PFCT = D Profit Center
Selection Text: SO_POSI = D WBS element
Selection Text: SO_PROG = D Sponsored Program
Selection Text: SO_SAKN = D G/L account no.
Selection Text: P_FNAM3 = D Field Name
Selection Text: P_ANL1 = Where-Used Asset
Selection Text: P_ANL2 = Where-Used Sub-Asset
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = l_dynpfields.
CALL FUNCTION 'TRINT_TRANSLATE_TO_UPPER' CHANGING cv_string = l_fieldname.
F4IF_FIELD_VALUE_REQUEST CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = l_tabname fieldname = l_fieldname TABLES return_tab = l_t_values_tab.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = l_dynpfields.
HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' "#EC * EXPORTING selectfield = 'FIELDNAME' display = ' ' no_pers_help_select = 'X' no_display_of_pers_values = 'X' IMPORTING ind = index TABLES fields = tab_help_fields full_table = tab_help_values EXCEPTIONS FULL_TABLE_EMPTY = 1 NO_TABLESTRUCTURE_GIVEN = 2 NO_TABLEFIELDS_IN_DICTIONARY = 3 MORE_THEN_ONE_SELECTFIELD = 4 NO_SELECTFIELD = 5.
DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-cprog dynumb = sy-dynnr TABLES dynpfields = l_dynpfields.
ABADR_STRATEGY_SOURCES_GET CALL FUNCTION 'ABADR_STRATEGY_SOURCES_GET' EXPORTING i_appl = con_strat_appl i_subclass = con_strat_subclass i_strategy_id = con_strategy_id i_env = p_env I_EXCLUDE_EXITS = space IMPORTING E_TAB_NAMES = c_TAB_names.
ABADR_STRATEGY_TARGETS_GET CALL FUNCTION 'ABADR_STRATEGY_TARGETS_GET' EXPORTING i_appl = con_strat_appl i_subclass = con_strat_subclass i_strategy_id = con_strategy_id i_env = p_env I_EXCLUDE_EXITS = space IMPORTING E_TAB_NAMES = c_Tab_names.
GM_AUTH_CHECK_DERIVE_ENTRIES CALL FUNCTION 'GM_AUTH_CHECK_DERIVE_ENTRIES' EXPORTING i_activity = l_actvt i_environment = p_env.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = p_bukr IMPORTING E_t001 = g_t001.
K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = p_kokr IMPORTING E_tka00 = g_tka00.
FM_FIKRS_READ CALL FUNCTION 'FM_FIKRS_READ' EXPORTING I_FIKRS = p_fikr IMPORTING E_F_FM01 = g_fm01.
FM_SHOW_WHERE_USED_DERIVATIONS CALL FUNCTION 'FM_SHOW_WHERE_USED_DERIVATIONS' EXPORTING i_appl = con_strat_appl i_subclass = con_strat_subclass i_strategy_id = con_strategy_id i_env = p_env TABLES t_fmwhereusedfields = g_t_fmwhereusedfields.
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 RFGMWHEREUSED or its description.
RFGMWHEREUSED - Where-Used Lists: Object Assignment to GM Derivation Tool RFGMWHEREUSED - Where-Used Lists: Object Assignment to GM Derivation Tool RFGMSPL1 - Master Data Index for Sponsored Programs RFGMSPL1 - Master Data Index for Sponsored Programs RFGMSCL1 - Master Data Index for Sponsored Classes RFGMSCL1 - Master Data Index for Sponsored Classes