SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

MGIR_SSTN_DETAILS_REPORT SAP ABAP Report - Material Sustainability Details







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


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 MGIR_SSTN_DETAILS_REPORT. "Basic submit
SUBMIT MGIR_SSTN_DETAILS_REPORT AND RETURN. "Return to original report after report execution complete
SUBMIT MGIR_SSTN_DETAILS_REPORT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Material Sustainability Details
Text Symbol: 010 = Deletion Flag


INCLUDES used within this REPORT MGIR_SSTN_DETAILS_REPORT

INCLUDE MGIR_SSTN_DETAILS_REPORTTOP . " GLOBAL DATA


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:

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.



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