MGIR_SSTN_DETAILS_REPORT 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 MGIR_SSTN_DETAILS_REPORT into the relevant SAP transactions such as SE38 or SE80
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.
Title: Material Sustainability Details
Text Symbol: 010 = Deletion Flag
INCLUDE MGIR_SSTN_DETAILS_REPORTTOP . " GLOBAL DATA
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = g_callback_user_command *I_CALLBACK_HTML_END_OF_LIST = 'END_OF_LIST_HTML' i_grid_title = lt_title it_fieldcat = lt_fieldcat[] it_sort = lt_sort[] i_save = 'A' TABLES t_outtab = lfs_sstn_mgir_tab EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = g_struc_name CHANGING ct_fieldcat = cht_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
MM_SET_COMPANY_CODE CALL FUNCTION 'MM_SET_COMPANY_CODE' EXPORTING i_ekorg = wa_mgir_sstn-ekorg i_werks = wa_mgir_sstn-werks IMPORTING e_bukrs = t001-bukrs EXCEPTIONS OTHERS = 1.
MM_SET_COMPANY_CODE CALL FUNCTION 'MM_SET_COMPANY_CODE' EXPORTING i_ekorg = wa_mgir_sstn-ekorg i_werks = wa_mgir_sstn-werks IMPORTING e_bukrs = t001-bukrs EXCEPTIONS OTHERS = 1.
WDY_EXECUTE_IN_BROWSER CALL FUNCTION 'WDY_EXECUTE_IN_BROWSER' EXPORTING application = 'MGIR_SSTN_APPL' parameters = lt_tihttpnvp EXCEPTIONS invalid_application = 1 browser_not_started = 2 action_cancelled = 3 OTHERS = 4.
UNIT_CONVERSION_SIMPLE CALL FUNCTION 'UNIT_CONVERSION_SIMPLE' EXPORTING input = value * NO_TYPE_CHECK = 'X' * ROUND_SIGN = ' ' unit_in = input_unit unit_out = output_unit IMPORTING output = value EXCEPTIONS conversion_not_found = 1 division_by_zero = 2 input_invalid = 3 output_invalid = 4 overflow = 5 type_invalid = 6 units_missing = 7 unit_in_not_found = 8 unit_out_not_found = 9 OTHERS = 10.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.