RMMM0001 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to activate changed MRP profiles and changed forecast profiles in material master records...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 RMMM0001 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.
Selection Text: GROUP = D .
Selection Text: PACKAGE = No. of Materials per Process
Selection Text: NEW_LOGI = Parallel Processing
Selection Text: MAX_JOBS = Maximum Processes Used
Selection Text: KZ_AEND = Create Change Documents
Title: Adapt Materials to Changes in MRP Profile/Forecast Profile
Text Symbol: T03 = Status
Text Symbol: T02 = Message
Text Symbol: T01 = Counter
Text Symbol: 019 = New execution required for all processed profiles
Text Symbol: 018 = At least 1 parallel process cancelled, check job log for more details
Text Symbol: 017 = Local Processing
Text Symbol: 016 = Parallel Proc.
Text Symbol: 015 = No Errors Occurred
Text Symbol: 014 = does not contain a field flagged as "not overwritable"
Text Symbol: 012 = Total number of transaction calls:
Text Symbol: 011 = Program rescheduled ->
Text Symbol: 010 = Incorrect materials
Text Symbol: 006 = End of processing.....:
Text Symbol: 005 = Start of processing...:
Text Symbol: 004 = (Delete)
Text Symbol: 003 = forecast profile
Text Symbol: 002 = MRP profile
Text Symbol: 001 = Adaptation of materials to changes in
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = group IMPORTING free_pbt_wps = wp_available 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 OTHERS = 7.
MATERIAL_MAINTAIN_DARK CALL FUNCTION 'MATERIAL_MAINTAIN_DARK' EXPORTING flag_muss_pruefen = 'X' p_kz_no_warn = 'N' kz_prf = space kz_verw = 'X' kz_aend = 'X' kz_dispo = 'X' * kz_mdip = flag_mdip " //br300697 zu 4.0
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT * CALL FUNCTION 'DB_COMMIT'. " AHE: 10.04.97
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
MATERIAL_MAINTAIN_DARK_DB CALL FUNCTION 'MATERIAL_MAINTAIN_DARK_DB' EXPORTING p_kz_no_warn = 'N' kz_prf = space kz_verw = 'X' kz_aend = 'X' kz_dispo = 'X' call_mode = call_mode kz_test = space TABLES amara_ueb = tmara_ueb amarc_ueb = tmarc_ueb amdma_ueb = tmdma_ueb adpop_ueb = tdpop_ueb amerrdat = amerrdat EXCEPTIONS kstatus_empty = 1 tkstatus_empty = 2 internal_error = 3 too_many_errors = 4 update_error = 5 OTHERS = 6.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
MD_MRP_CHECK_DB_CLIENT CALL FUNCTION 'MD_MRP_CHECK_DB_CLIENT' IMPORTING e_disfg = flag_disfg * E_UDBVM = EXCEPTIONS dibr_not_active = 1 OTHERS = 2.
MATERIAL_MAINTAIN_DARK_PR CALL FUNCTION 'MATERIAL_MAINTAIN_DARK_PR' STARTING NEW TASK taskname DESTINATION IN GROUP group PERFORMING return_info ON END OF TASK EXPORTING tranc_start = tran_counter kz_aend = kz_aend TABLES work_data = h_work_data EXCEPTIONS resource_failure = 1 system_failure = 2 MESSAGE LV_MSG "note 874068 communication_failure = 3 MESSAGE LV_MSG. "note 874068
MATERIAL_MAINTAIN_DARK_PR CALL FUNCTION 'MATERIAL_MAINTAIN_DARK_PR' EXPORTING tranc_start = tran_counter kz_aend = kz_aend TABLES work_data = h_work_data work_data_error = h_work_data_error amerrdat = h_amerrdat EXCEPTIONS OTHERS = 1.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_eventtab is_print = ls_print it_sort = lt_sorts TABLES t_outtab = gt_output_alv EXCEPTIONS program_error = 1 OTHERS = 2 .
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = gc_list_type_0 IMPORTING et_events = xt_eventtab.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_eventtab is_print = ls_print TABLES t_outtab = gt_output_alv_1 EXCEPTIONS program_error = 1 OTHERS = 2 .
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = gs_output_alv-icon IMPORTING RESULT = gs_output_alv-icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RMMM0001 - Adapt Materials to Changes in MRP Profile/Forecast Profile RMMM0001 - Adapt Materials to Changes in MRP Profile/Forecast Profile RMMLCLST - Display of Class Hierarchy with Services RMMLCLST - Display of Class Hierarchy with Services RMMKOV01 - Header Materials Without Plant Data RMMKOV01 - Header Materials Without Plant Data