SAP Reports / Programs

RM07II33 SAP ABAP Report - Batch input: Freeze book inv.balance for phys.inv.







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

MI33 - Batch Input: Freeze Book Inv.Balance


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 RM07II33. "Basic submit
SUBMIT RM07II33 AND RETURN. "Return to original report after report execution complete
SUBMIT RM07II33 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: 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


INCLUDES used within this REPORT RM07II33

INCLUDE: MM07MABC,
RM07DATA,
RM07MSQL,
RM07MUSR,
RM07MEND,
RM07GRID,
RM07MBDC.


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:

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.



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