RM07II33 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report generates a batch input session for freezing the book inventory balances of all items in the physical inventory document that have not yet been counted...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 RM07II33 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MI33 - Batch Input: Freeze Book Inv.Balance
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: XBLNI = Phys. Inventory Ref.
Selection Text: R_WERKS = Plant
Selection Text: R_MATKL = Material Group
Selection Text: R_LGPBE = Storage Bin
Selection Text: R_IBLNR = Physical Inventory Document
Selection Text: R_GJAHR = Fiscal Year
Selection Text: R_GIDAT = Planned Count Date
Selection Text: INVNU = Physical Inventory Number
Selection Text: GIDAT = Planned Count Date
Title: Batch input: Freeze book inv.balance for phys.inv.
Text Symbol: 060 = Grouping Criterion
Text Symbol: 050 = Selection Criteria
Text Symbol: 022 = Reset book inv. balances
Text Symbol: 021 = Freeze book inv. balances
Text Symbol: 013 = Select data and issue log
Text Symbol: 012 = Control
Text Symbol: 011 = Year|Doc. |Item| Message
Text Symbol: 010 = Messages
Text Symbol: 009 = Direct Posting
Text Symbol: 008 = For following phys. inv. docs, book inventory balances can be reset:
Text Symbol: 007 = For following phys. inv. docs, book inv. balances can be frozen:
Text Symbol: 006 = Phys.Inv.Doc.|Fiscal Year
Text Symbol: 005 = Changeable Data in Phys. Inv. Doc. Header
Text Symbol: 004 = Issue log
Text Symbol: 003 = Name of Session
Text Symbol: 002 = Generate batch input
Text Symbol: 001 = Batch Input Session
INCLUDE: MM07MABC,
RM07DATA,
RM07MSQL,
RM07MUSR,
RM07MEND,
RM07GRID,
RM07MBDC.
No SAP DATABASE tables are accessed within this REPORT code!
BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'MI02' TABLES DYNPROTAB = BDCDATA.
MB_PHYSICAL_INVENTORY call function 'MB_PHYSICAL_INVENTORY' EXPORTING s_iikpf = p_s_iikpf ctcod = l_tcode inv_action = l_action IMPORTING s_eikpf = l_s_eikpf TABLES t_iiseg = l_t_iiseg_dummy t_eiseg = l_t_eiseg EXCEPTIONS error_message = 1 others = 100.
MB_PHYSICAL_INVENTORY call function 'MB_PHYSICAL_INVENTORY' EXPORTING s_iikpf = p_s_iikpf ctcod = l_tcode inv_action = l_action IMPORTING s_eikpf = l_s_eikpf TABLES t_iiseg = l_t_iiseg_dummy t_eiseg = l_t_eiseg EXCEPTIONS error_message = 1 others = 100.
WRITE_MESSAGE_NEW call function 'WRITE_MESSAGE_NEW' EXPORTING msgid = p_s_balmi-msgid msgno = p_s_balmi-msgno msgty = p_s_balmi-msgty msgv1 = p_s_balmi-msgv1 msgv2 = p_s_balmi-msgv2 msgv3 = p_s_balmi-msgv3 msgv4 = p_s_balmi-msgv4 msgv5 = ' ' IMPORTING error = l_error messg = l_s_message
msgln = l_msgln EXCEPTIONS others = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM07II33 - Batch input: Freeze book inv.balance for phys.inv. RM07II33 - Batch input: Freeze book inv.balance for phys.inv. RM07II32 - Batch input: Block material for physical inventory RM07II32 - Batch input: Block material for physical inventory RM07II31 - Batch Input: Create Physical Inventory Documents for Normal Stock RM07II31 - Batch Input: Create Physical Inventory Documents for Normal Stock