RWAHD002EVT 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 RWAHD002EVT into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
WAHDC_CHECK_AHD_ACTIVE CALL FUNCTION 'WAHDC_CHECK_AHD_ACTIVE' EXPORTING i_werks = p_werks i_matnr = p_matnr IMPORTING e_ahd_activ = g_ahd_active EXCEPTIONS wrong_input_parameter = 1 OTHERS = 99.
ENQUEUE_E_WAHD CALL FUNCTION 'ENQUEUE_E_WAHD' EXPORTING mode_wahd = 'E' mandt = sy-mandt werks = p_werks matnr = p_matnr _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.
WAHD_DISPLAY_CHANGE CALL FUNCTION 'WAHD_DISPLAY_CHANGE' EXPORTING i_matnr = p_matnr i_werks = p_werks i_meins = p_meins i_datef = p_datef i_datet = p_datet i_scohi = g_scohi i_scofo = g_scofo i_show_smth = l_smth 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 = ' '.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RWAHD002EVT - documentation and ABAP source code RWAHD002 - Change/Display Alternative Historical Data (AHD) RWAHD002 - Change/Display Alternative Historical Data (AHD) RWAHD001TOP - documentation and ABAP source code RWAHD001LAY - documentation and ABAP source code RWAHD001F01 - documentation and ABAP source code