SAP Reports / Programs | Materials Management | Consumption-Based Planning (See Also PP-MRP)(MM-CBP) SAP MM

RMAHD002EVT SAP ABAP INCLUDE - documentation and ABAP source code







RMAHD002EVT 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 RMAHD002EVT 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 RMAHD002EVT. "Basic submit
SUBMIT RMAHD002EVT AND RETURN. "Return to original report after report execution complete
SUBMIT RMAHD002EVT 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 RMAHD002EVT

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:

GDRDC_CHECK_MRP_AREA CALL FUNCTION 'GDRDC_CHECK_MRP_AREA' IMPORTING e_disfg = g_disfg.

SUBTRACT_TIME_FROM_DATE CALL FUNCTION 'SUBTRACT_TIME_FROM_DATE' EXPORTING i_idate = sy-datum i_time = 2 i_iprkz = '3' IMPORTING o_idate = p_datef EXCEPTIONS invalid_period = 1 invalid_round_up_rule = 2 internal_error = 3 OTHERS = 99.

MAHDC_CHECK_AHD_ACTIVE CALL FUNCTION 'MAHDC_CHECK_AHD_ACTIVE' EXPORTING i_berid = p_berid i_matnr = p_matnr IMPORTING e_ahd_activ = g_ahd_active EXCEPTIONS wrong_input_parameter = 1 OTHERS = 99.

ENQUEUE_E_MAHD CALL FUNCTION 'ENQUEUE_E_MAHD' EXPORTING mode_mahd = 'E' mandt = sy-mandt berid = p_berid matnr = p_matnr _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.

MAHD_DISPLAY_CHANGE CALL FUNCTION 'MAHD_DISPLAY_CHANGE' EXPORTING i_matnr = p_matnr i_berid = p_berid i_meins = p_meins i_datef = p_datef i_datet = p_datet i_scohi = g_scohi i_scofo = g_scofo i_call_from = g_call_prog i_fill_gaps = l_filgap i_ahd_active = g_ahd_active EXCEPTIONS error = 1 OTHERS = 99.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' EXPORTING _synchron = ' '.



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