SAP Reports / Programs | Materials Management | Inventory Management(MM-IM) SAP MM

RM07RVER SAP ABAP Report - Manage Reservations







RM07RVER is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use this program to manage reservations...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 RM07RVER 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

MBVR - Management Program: Reservations


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 RM07RVER. "Basic submit
SUBMIT RM07RVER AND RETURN. "Return to original report after report execution complete
SUBMIT RM07RVER 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: XWAOK = Allow Goods Movement
Selection Text: XTEST = Test Run
Selection Text: XPROT = Issue Log
Selection Text: XLOEK = Set Deletion Indicator/Delete
Selection Text: XKONT = Without Account Assignment
Selection Text: XFERT = Closed Items Only
Selection Text: UMWRK = Receiving Plant
Selection Text: UMLGO = Receiving Storage Location
Selection Text: RSNUM = Reservation
Selection Text: RSDAT = Base Date
Selection Text: P_VARI = Layout
Selection Text: PROJN = Project
Selection Text: NPLNR = Network
Selection Text: KOSTL = Cost Center
Selection Text: KDAUF = Sales Order
Selection Text: AUFNR = Order
Selection Text: ANLN1 = Asset
Title: Manage Reservations
Text Symbol: 112 = Following reservations could not be blocked:
Text Symbol: 111 = Following reservation items have been changed:
Text Symbol: 110 = Following reservations have been deleted:
Text Symbol: 105 = Reservation
Text Symbol: 061 = To Delete
Text Symbol: 044 = DelNe
Text Symbol: 043 = DelOl
Text Symbol: 042 = MvtNew
Text Symbol: 041 = MvtOld
Text Symbol: 030 = Lock Mode
Text Symbol: 026 = Display Options
Text Symbol: 020 = Actions to be Performed
Text Symbol: 015 = Database Selections
Text Symbol: 014 = Do Not Block Reservations
Text Symbol: 013 = Block Reservns Individually
Text Symbol: 012 = Block Table of Reservations
Text Symbol: 010 = Account Assignment
Text Symbol: 007 = A Reservation Number
Text Symbol: 006 = No
Text Symbol: 005 = Test Run





Text Symbol: 004 = Issue Log
Text Symbol: 003 = Closed Items Only
Text Symbol: 002 = Set Goods Movement to Allowed
Text Symbol: 001 = Delete/Set Deletion Indicator


INCLUDES used within this REPORT RM07RVER

INCLUDE: RM07RVED, " REPORTSPEZIFISCHE DATENDEFINITIONEN
MM07MABC, " VARIABLEN ZUM ZEICHENSATZ
MDVMRESE,
RM07MUSR, " TASTENBELEGUNGEN UND TRANSKATIONEN
RM07MEND, " ANFORDERUNGSBILD UND ENDEROUTINE
RM07MAUT, " BERECHTIGUNGSPRÜFUNG


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:

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING FACTORY_CALENDAR_ID = KALENDER-FABKL DATE = YRESB-BDTER IMPORTING FACTORYDATE = FDAYF1 EXCEPTIONS DATE_AFTER_RANGE = 01 DATE_BEFORE_RANGE = 02 DATE_INVALID = 03 FACTORY_CALENDAR_NOT_FOUND = 04 CORRECT_OPTION_INVALID = 05 CALENDAR_BUFFER_NOT_LOADABLE = 06.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING FACTORY_CALENDAR_ID = KALENDER-FABKL DATE = C_RSDAT IMPORTING FACTORYDATE = FDAYF2 EXCEPTIONS DATE_AFTER_RANGE = 01 DATE_BEFORE_RANGE = 02 DATE_INVALID = 03 FACTORY_CALENDAR_NOT_FOUND = 04 CORRECT_OPTION_INVALID = 05 CALENDAR_BUFFER_NOT_LOADABLE = 06.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING FACTORY_CALENDAR_ID = KALENDER-FABKL DATE = C_RSDAT IMPORTING FACTORYDATE = FDAYF2 EXCEPTIONS DATE_AFTER_RANGE = 01 DATE_BEFORE_RANGE = 02 DATE_INVALID = 03 FACTORY_CALENDAR_NOT_FOUND = 04 CORRECT_OPTION_INVALID = 05 CALENDAR_BUFFER_NOT_LOADABLE = 06.

ENQUEUE_EMRKPF CALL FUNCTION 'ENQUEUE_EMRKPF' EXPORTING RSNUM = DRKPF-RSNUM EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.

ENQUEUE_EMRKPF CALL FUNCTION 'ENQUEUE_EMRKPF' EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

ENQUEUE_EMRKPF CALL FUNCTION 'ENQUEUE_EMRKPF' EXPORTING RSNUM = XRESB-RSNUM EXCEPTIONS FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3.

MATERIAL_PRE_READ_MBERE CALL FUNCTION 'MATERIAL_PRE_READ_MBERE' EXPORTING KZSPR = SPACE TABLES IPRE02 = PREFETCH02.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MBERE TABLES SEQMAT01 = DUMMY.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING SCHLUESSEL = MTCOM IMPORTING MATDATEN = MBERE TABLES SEQMAT01 = DUMMY.

MB_DELETE_RESERVATION_ARRAY CALL FUNCTION 'MB_DELETE_RESERVATION_ARRAY' IN UPDATE TASK TABLES DRKPF = DRKPF DRESB = DRESB DREUL = DREUL.

MB_CREATE_MRPRECORD CALL FUNCTION 'MB_CREATE_MRPRECORD' IN UPDATE TASK TABLES DIS = DISP.

PK_REPLENISHMENT_REVERSAL CALL FUNCTION 'PK_REPLENISHMENT_REVERSAL' EXPORTING POST_ON_COMMIT = 'X' RSNUM = -RSNUM EXCEPTIONS NO_KANBAN = 1 SEE_MESSAGE = 2 OTHERS = 3.

MB_CHANGE_RESERVATION_ARRAY CALL FUNCTION 'MB_CHANGE_RESERVATION_ARRAY' IN UPDATE TASK TABLES DIS = DIS XRESB = XRESB ZRESB = YRESB_HELP. "621291

PK_REPLENISHMENT_REVERSAL





CALL FUNCTION 'PK_REPLENISHMENT_REVERSAL' EXPORTING POST_ON_COMMIT = 'X' RSNUM = -RSNUM EXCEPTIONS NO_KANBAN = 1 SEE_MESSAGE = 2 OTHERS = 3.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = VARIANTE I_SAVE = VARIANT_SAVE * it_default_fieldcat = IMPORTING E_EXIT = VARIANT_EXIT ES_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = VARIANT_SAVE CHANGING CS_VARIANT = DEF_VARIANTE EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = REPID I_CALLBACK_PF_STATUS_SET = 'STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_STRUCTURE_NAME = IS_LAYOUT = LAYOUT IT_FIELDCAT = FIELDCAT[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = VARIANTE * IT_EVENTS = * IT_EVENT_EXIT = IS_PRINT = PRINT * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = BELEGE.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING I_SAVE = VARIANT_SAVE CHANGING CS_VARIANT = DEF_VARIANTE.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = REPID I_CALLBACK_PF_STATUS_SET = 'OVERVIEW' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_STRUCTURE_NAME = IS_LAYOUT = LAYOUT IT_FIELDCAT = FIELDCAT[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = VARIANTE * IT_EVENTS = * IT_EVENT_EXIT = IS_PRINT = PRINT * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = DETAIL.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = REPID I_CALLBACK_PF_STATUS_SET = 'POSITION' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_STRUCTURE_NAME = IS_LAYOUT = LAYOUT IT_FIELDCAT = FIELDCAT_P[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = VARIANTE * IT_EVENTS = * IT_EVENT_EXIT = IS_PRINT = PRINT * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = POSITION.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = REPID I_CALLBACK_PF_STATUS_SET = 'OVERVIEW' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_STRUCTURE_NAME = IS_LAYOUT = LAYOUT IT_FIELDCAT = FIELDCAT_P[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = I_DEFAULT = 'X' I_SAVE = 'A' IS_VARIANT = VARIANTE * IT_EVENTS = * IT_EVENT_EXIT = IS_PRINT = PRINT * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = DETAIL.



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