RMDRD001F01 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 RMDRD001F01 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!
ENQUEUE_E_MDRD CALL FUNCTION 'ENQUEUE_E_MDRD' EXPORTING mode_mdrd = 'E' mandt = sy-mandt resdb =
-berid _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.
ENQUEUE_E_MDRD_EXTWG * CALL FUNCTION 'ENQUEUE_E_MDRD_EXTWG' * EXPORTING * extwg = 'E' * mandt = sy-mandt * resdb =
-berid * _wait = 'X' * EXCEPTIONS * foreign_lock = 1 * system_failure = 2 * OTHERS = 99.
ENQUEUE_E_MDRD_EXTWG CALL FUNCTION 'ENQUEUE_E_MDRD_EXTWG' EXPORTING mode_mdrd_extwg = 'E' mandt = sy-mandt resdb =
-berid _wait = 'X' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.
MAHDC_READ_CUSTOMIZING CALL FUNCTION 'MAHDC_READ_CUSTOMIZING' EXPORTING i_dismm = l_dismm IMPORTING e_s_twahd = l_s_twahd EXCEPTIONS wrong_input_parameter = 1 no_ahd_customizing = 2 wrong_berty = 3 OTHERS = 99.
MDRDC_READ_CUSTOMIZING CALL FUNCTION 'MDRDC_READ_CUSTOMIZING' EXPORTING i_drdprf = l_s_twahd-drdprf i_read_doctp = 'X' IMPORTING e_s_tmdrd = l_s_tmdrd CHANGING ch_t_tmdrd_doctp = l_t_tmdrd_doctp_temp EXCEPTIONS no_drd_customizing = 1 no_short_text = 2 OTHERS = 99.
MAHD_GET_WERKS_OF_BERID CALL FUNCTION 'MAHD_GET_WERKS_OF_BERID' EXPORTING i_berid =
-berid i_berty = -berty IMPORTING e_werks = l_werks * E_BERTY = EXCEPTIONS wrong_berty = 1 OTHERS = 99.
T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' t001w_werks = l_werks IMPORTING wt001w = wa_t001w EXCEPTIONS not_found = 1 OTHERS = 99.
MAHD_SELECT_MARC_MDMA CALL FUNCTION 'MAHD_SELECT_MARC_MDMA' EXPORTING i_berid =
-berid i_werks = l_werks i_berty = -berty it_mara = l_t_mara_all i_perkz = p_mdrdt_s_load_scr_data-param_perkz i_periv = p_mdrdt_s_load_scr_data-param_periv it_maabc = p_mdrdt_s_load_scr_data-range_maabc[] it_dismm = p_t_s_dismm[] CHANGING ct_marc = l_t_marc cs_mdma = l_s_mdma EXCEPTIONS error = 1 OTHERS = 99.
MDRD_PACKET_LOAD CALL FUNCTION 'MDRD_PACKET_LOAD' EXPORTING i_control_packet_load = g_control_packet_load i_header_packet_load = l_header_packet_load i_t_marc_m = l_t_marc_m IMPORTING e_header_packet_load = l_header_packet_load CHANGING ch_t_drd_couples = l_t_drd_couples ch_t_tmdrd_doctp = l_t_tmdrd_doctp ch_t_minutes = l_t_minutes EXCEPTIONS no_drd_data = 1 OTHERS = 99.
MAHD_GET_WERKS_OF_BERID CALL FUNCTION 'MAHD_GET_WERKS_OF_BERID' EXPORTING i_berid =
-berid i_berty = -berty IMPORTING e_werks = l_werks * E_BERTY = EXCEPTIONS wrong_berty = 1 OTHERS = 99.
T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' t001w_werks = l_werks IMPORTING wt001w = wa_t001w EXCEPTIONS not_found = 1 OTHERS = 99.
MAHD_SELECT_MARC_MDMA CALL FUNCTION 'MAHD_SELECT_MARC_MDMA' EXPORTING i_berid =
-berid i_werks = l_werks i_berty = -berty it_mara = l_t_mara_all i_perkz = p_mdrdt_s_load_scr_data-param_perkz i_periv = p_mdrdt_s_load_scr_data-param_periv it_maabc = p_mdrdt_s_load_scr_data-range_maabc[] it_dismm = p_t_s_dismm[] CHANGING ct_marc = l_t_marc cs_mdma = l_s_mdma EXCEPTIONS error = 1 OTHERS = 99.
MAHD_GET_WERKS_OF_BERID CALL FUNCTION 'MAHD_GET_WERKS_OF_BERID' EXPORTING i_berid =
-berid i_berty = -berty IMPORTING e_werks = l_werks * E_BERTY = EXCEPTIONS wrong_berty = 1 OTHERS = 99.
T001W_SINGLE_READ CALL FUNCTION 'T001W_SINGLE_READ' EXPORTING * KZRFB = ' ' t001w_werks = l_werks IMPORTING wt001w = wa_t001w EXCEPTIONS not_found = 1 OTHERS = 99.
MDRD_PACKET_LOAD CALL FUNCTION 'MDRD_PACKET_LOAD' STARTING NEW TASK l_task_number DESTINATION IN GROUP p_mdrdt_s_load_scr_data-param_server_group PERFORMING end_of_task ON END OF TASK EXPORTING i_control_packet_load = g_control_packet_load i_header_packet_load = l_header_packet_load CHANGING ch_t_drd_couples = l_t_drd_couples_packet ch_t_tmdrd_doctp = l_t_tmdrd_doctp ch_t_minutes = l_t_minutes "#EC ENHOK EXCEPTIONS communication_failure = 1 system_failure = 2 resource_failure = 3 no_drd_data = 4 OTHERS = 99.
SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = i_svrgrp IMPORTING free_pbt_wps = e_tasks EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 cant_init_different_pbt_groups = 6 error_message = 98 OTHERS = 99.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 99.
BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = l_s_msg EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 99.
BAL_DSP_PROFILE_SINGLE_LOG_GET
CALL FUNCTION 'BAL_DSP_PROFILE_SINGLE_LOG_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 99.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile i_t_log_handle = l_t_log_handle_oh EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 99.
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 RMDRD001F01 or its description.
RMDRD001F01 - documentation and ABAP source code RMDRD001EVT - documentation and ABAP source code RMDRD001 - Determine Delivery Relationship RMDRD001 - Determine Delivery Relationship RMDPFK01 - Display individual customer planning file entires RMDPFK01 - Display individual customer planning file entires