SAP Reports / Programs

REHS_MP_COUNT_MJIDS SAP ABAP Report - List Statistics for Measurements







REHS_MP_COUNT_MJIDS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With this report program you can evaluate the number of samples in a defined period for work areas included in measurement projects...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 REHS_MP_COUNT_MJIDS into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CBIHMR07 - EHS: Statistics for Measurements


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


Text pool values


Title: List Statistics for Measurements
Text Symbol: F01 = Restrictions
Text Symbol: F02 = Source:
Text Symbol: F03 = Output Date:
Text Symbol: H01 = No. of Objects Measured
Text Symbol: H02 = Of Those, No. Short-Term Samples
Text Symbol: H03 = Samples per Sampling Type
Text Symbol: P01 = From Date
Text Symbol: P02 = To Date
Text Symbol: P03 = Key Date
Text Symbol: P05 = Samples
Text Symbol: P06 = Short-Term Samples
Text Symbol: P07 = Sampling Type
Text Symbol: P08 = Number
Text Symbol: P09 = Type of Statistics
Text Symbol: P10 = Object
Text Symbol: S01 = Evaluation Period


INCLUDES used within this REPORT REHS_MP_COUNT_MJIDS

INCLUDE CBBA01.
INCLUDE CBUI03.
INCLUDE CBIH60.


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:

CBIH_LB63_GET_MPLEVELTXT CALL FUNCTION 'CBIH_LB63_GET_MPLEVELTXT' EXPORTING i_level = ic_mph_level * I_LANGU = SY-LANGU IMPORTING e_leveltxt = l_mph_leveltxt EXCEPTIONS entry_not_found = 1 OTHERS = 2.

CBIH_LB63_GET_MJCATNAM CALL FUNCTION 'CBIH_LB63_GET_MJCATNAM' EXPORTING i_mjcat = l_mjcat i_langu = sy-langu IMPORTING e_mjcatnam = l_mjcatnam EXCEPTIONS entry_not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = l_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' i_structure_name = 'lg_statistic_tab' * I_BACKGROUND_ID = ' ' i_grid_title = l_grid_title * I_GRID_SETTINGS = is_layout = l_layout it_fieldcat = l_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = l_sort_tab[] * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = 'A' * IS_VARIANT = l_variant it_events = l_event[] * IT_EVENT_EXIT = is_print = l_print * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * I_HTML_HEIGHT_TOP = * I_HTML_HEIGHT_END = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = i_statistic_tab EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = '1' IMPORTING et_events = e_event EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lg_top_of_page.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lg_end_of_list i_end_of_list_grid = esp1_true.



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