SAP Reports / Programs | Materials Management | Inventory Management | Balance Sheet Valuation Procedures(MM-IM-VP) SAP MM

MRYF_COMMON_ROUTINES_ALV SAP ABAP INCLUDE - MRYFCOMMONROUTINESALV







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


INCLUDES used within this REPORT MRYF_COMMON_ROUTINES_ALV

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:

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = iv_tabname CHANGING ct_fieldcat = xt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

UMM1_MM_VALU_ALV_GRID CALL FUNCTION 'UMM1_MM_VALU_ALV_GRID' EXPORTING I_CALLBACK_PROGRAM = lv_repid IT_FIELDCAT = it_fldcat IT_EVENTS = it_events TABLES T_OUTTAB = it_outtab.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = is_layout it_fieldcat = it_fldcat it_sort = it_sort it_events = it_events is_print = ls_print TABLES t_outtab = it_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = lv_repid i_callback_user_command = gc_user_cmd is_layout = is_layout it_fieldcat = it_fldcat it_sort = it_sort it_events = it_events is_print = ls_print TABLES t_outtab = it_outtab EXCEPTIONS program_error = 1 OTHERS = 2.

MESSAGE_PREPARE CALL FUNCTION 'MESSAGE_PREPARE' EXPORTING LANGUAGE = sy-langu MSG_ID = ls_arbgb MSG_NO = ls_msgno MSG_VAR1 = s_msg-msgv1 MSG_VAR2 = s_msg-msgv2 MSG_VAR3 = s_msg-msgv3 MSG_VAR4 = s_msg-msgv4 IMPORTING MSG_TEXT = message_text EXCEPTIONS OTHERS = 99 .

RS_VARIANT_TEXT CALL FUNCTION 'RS_VARIANT_TEXT' EXPORTING curr_report = mysta-repid "#EC DOM_EQUAL langu = sy-langu variant = mysta-slset "#EC DOM_EQUAL IMPORTING v_text = vartext EXCEPTIONS OTHERS = 0. "wg.SLIN

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = lv_repid is_layout = is_layo it_fieldcat = it_fcat it_sort = it_sort it_events = it_evts i_tabname_header = iv_hdrtab i_tabname_item = iv_itmtab is_keyinfo = is_key TABLES t_outtab_header = it_header t_outtab_item = it_item 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 MRYF_COMMON_ROUTINES_ALV or its description.