SAP Reports / Programs | Production Planning and Control | Material Requirements Planning | Master Data(PP-MRP-BD) SAP PP

RMDBVM00 SAP ABAP Report - Conversion of planning file entries MDVM/MDVL into DBVM/DBVL







RMDBVM00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for All planning file entries in the current client will be converted...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 RMDBVM00 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

OM0F - Convert MDVM/MDVL for MRP Areas


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


Text pool values


Selection Text: DBVMU = D .
Title: Conversion of planning file entries MDVM/MDVL into DBVM/DBVL
Text Symbol: 001 = Conversion of planning file entries for MRP areas
Text Symbol: 002 = Report has to be started before the MRP areas are activated
Text Symbol: 003 = The following tables are converted: MDVM/MDVL into DBVM/DBVL
Text Symbol: 004 = During the conversion, a plant MRP area is created for every plant
Text Symbol: 005 = After the conversion the contents of MDVM/MDVL and KDVM/KDVL are deleted
Text Symbol: 006 = After the conversion, an indicator is set at client level to show that
Text Symbol: 007 = the planning file entries for MRP areas have been converted
Text Symbol: 009 = All planning file entries of the current client will be converted
Text Symbol: 010 = (T) Test, (X) Conv.
Text Symbol: 011 = KDVM/KDVL into KBVM/KBVL.
Text Symbol: 100 = Plant MRP areas created:
Text Symbol: 103 = Number of converted planning file entries in DBVM:
Text Symbol: 104 = Number of converted planning file entries in DBVL:
Text Symbol: 105 = Number of converted planning file entries in KBVM:
Text Symbol: 106 = Number of converted planning file entries in KBVL:
Text Symbol: 203 = Number of planning file entries in MDVM to be converted:
Text Symbol: 204 = Number of planning file entries in MDVL to be converted:
Text Symbol: 205 = Number of planning file entries in KDVM to be converted:
Text Symbol: 206 = Number of planning file entries in KDVL to be converted:


INCLUDES used within this REPORT RMDBVM00

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:

MD_MRP_GENERATE_DB_PLANT CALL FUNCTION 'MD_MRP_GENERATE_DB_PLANT' EXPORTING iwerks = t001w-werks idbvmu = dbvmu IMPORTING eberid = l_berid.

MDVMKEY_AUFLOESEN CALL FUNCTION 'MDVMKEY_AUFLOESEN' EXPORTING mafid = mdvmx-mafid mdvmkey = mdvmx-mdkey IMPORTING disst = dbvmx-disst matnr = dbvmx-matnr werks = l_werks.

MDVMKEY_AUFLOESEN CALL FUNCTION 'MDVMKEY_AUFLOESEN' EXPORTING mafid = mdvlx-mafid mdvmkey = mdvlx-mdkey IMPORTING disst = dbvlx-disst matnr = dbvlx-matnr werks = l_werks.

MDVMKEY_AUFLOESEN CALL FUNCTION 'MDVMKEY_AUFLOESEN' EXPORTING mafid = kdvmx-mafid mdvmkey = kdvmx-mdkey IMPORTING disst = kbvmx-disst matnr = kbvmx-matnr werks = l_werks.

MDVMKEY_AUFLOESEN CALL FUNCTION 'MDVMKEY_AUFLOESEN' EXPORTING mafid = kdvlx-mafid mdvmkey = kdvlx-mdkey IMPORTING disst = kbvlx-disst matnr = kbvlx-matnr werks = l_werks.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid * I_INTERNAL_TABNAME = i_structure_name = gc_mdlw i_client_never_display = lv_client_never_display * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3 .

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

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_list_commentary * I_LOGO = * I_END_OF_LIST_GRID = * I_ALV_FORM = .

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = g_repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = gt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = gc_save is_variant = gs_variant it_events = gt_event[] * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = it_outtab[] EXCEPTIONS program_error = 1 OTHERS = 2 .



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