MGIR_SSTN_REPORT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to display data for sustainability info...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 MGIR_SSTN_REPORT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MES11 - Sustainability Info Records
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: I_EKORG = Purchasing Organization
Selection Text: I_ENRATE = Overall Environment Rating
Selection Text: I_E_UNIT = Unit of Energy
Selection Text: I_LIFNR = Vendor
Selection Text: I_MAT = Material
Selection Text: I_M_UNIT = Unit of Mass
Selection Text: I_PLANT = Plant
Selection Text: I_PR_ID = Certificate
Selection Text: I_PR_RAT = Certificate Rating
Selection Text: I_V_UNIT = Unit of Volume
Selection Text: MAX_HIT = Maximum No. of Hits
Selection Text: P_E_DATE = Validity End Date
Selection Text: P_S_DATE = Validity Start Date
Title: Sustainability Info Records
Text Symbol: 010 = Deletion Flag
Text Symbol: CER = Certificates
INCLUDE MGIR_SSTN_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_grid_title = lt_title it_fieldcat = lt_fieldcat[] it_sort = lt_sort[] i_save = 'A' TABLES t_outtab = et_sstn_mgir_alv 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.
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 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.
UNITS_GET_FOR_DIMENSION CALL FUNCTION 'UNITS_GET_FOR_DIMENSION' EXPORTING dimension = p_dimid language = sy-langu TABLES units_of_measurement = lt_meins EXCEPTIONS dimension_not_found = 1 OTHERS = 2.
F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'MSEH3' pvalkey = 'MM_MEINS' value_org = 'S' display = ' ' TABLES value_tab = lt_meins_visible "lt_meins return_tab = lt_sel1 EXCEPTIONS OTHERS = 1.
DIMENSIONCHECK_MASS CALL FUNCTION 'DIMENSIONCHECK_MASS' EXPORTING gewei = p_m_unit EXCEPTIONS dimension_not_mass = 1 t006d_entry_missing = 2 t006_entry_missing = 3 OTHERS = 4.
DIMENSIONCHECK_VOLUME CALL FUNCTION 'DIMENSIONCHECK_VOLUME' EXPORTING voleh = p_v_unit EXCEPTIONS dimension_not_volume = 1 t006d_entry_missing = 2 t006_entry_missing = 3 OTHERS = 4.
DIMENSION_GET_FOR_UNIT CALL FUNCTION 'DIMENSION_GET_FOR_UNIT' EXPORTING language = sy-langu unit = p_e_unit IMPORTING dimension = lv_energy_unit EXCEPTIONS unit_not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MGIR_SSTN_REPORT - Sustainability Info Records MGIR_SSTN_REPORT - Sustainability Info Records MGIR_SSTN_MASS_UPLOADTOP - Include MGIR_SSTN_MASS_UPLOADTOP MGIR_SSTN_MASS_UPLOAD - Mass Upload of Material Info Record Sustainability Parameters MGIR_SSTN_MASS_UPLOAD - Mass Upload of Material Info Record Sustainability Parameters MGIR_SSTN_DETAILS_REPORTTOP - Include MGIR_SSTN_DETAILS_REPORTTOP