RM07II37 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 (BI session) which, when processed, posts inventory differences...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 RM07II37 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
MI37 - Batch Input: Post Differences
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.
Batch input: post differences - log
Selection Text: XPROT = ?...(XPROT)
Selection Text: SWERT = ?...(SWERT)
Selection Text: MAPPE = ?...(MAPPE)
Selection Text: IN_WERKS = ?...(IN_WERKS)
Selection Text: IN_SELKB = ?...(IN_SELKB)
Selection Text: IN_LGORT = ?...(IN_LGORT)
Selection Text: IN_IBLNR = ?...(IN_IBLNR)
Selection Text: IN_GJAHR = ?...(IN_GJAHR)
Selection Text: IN_GIDAT = ?...(IN_GIDAT)
Selection Text: BATIN = ?...(BATIN)
Selection Text: R_MATKL = Material Group
Selection Text: R_LGPBE = Storage Bin
Selection Text: R_INVNU = Physical Inventory Number
Selection Text: GRUND_C = Reason for Inventory Diff.
Selection Text: BUDAT = Posting Date
Title: Batch Input: Post Differences
Text Symbol: B02 = for the following phys. inv. documents:
Text Symbol: B01 = The inventory difference can be posted for the desired posting dated
Text Symbol: A03 = lies differs from the period in the physical inventory document header:
Text Symbol: A02 = for the desired posting date as the period in which this posting date
Text Symbol: A01 = No difference can be posted for the following physical inventory documents
Text Symbol: 060 = Grouping Criterion
Text Symbol: 025 = Hold Processed Sessions
Text Symbol: 016 = Hdr
Text Symbol: 015 = Control
Text Symbol: 014 = Year|Document |Item |Mess.Class |No. |Message
Text Symbol: 013 = Error Log
Text Symbol: 012 = Direct Posting
Text Symbol: 011 = Reason f. Difference ;;
Text Symbol: 010 = Threshold Value ;;
Text Symbol: 009 = Phys.Inv.Doc.|Fiscal Year
Text Symbol: 008 = Period :
Text Symbol: 007 = Posting Date:
Text Symbol: 006 = PhysInvDoc.header
Text Symbol: 005 = Phys.Inv.Doc.|Fiscal Year |Period
Text Symbol: 004 = Issue Log
Text Symbol: 003 = Name of Session ;;
INCLUDE: MM07MABC,
RM07DATA,
RM07MSQL,
RM07MUSR,
RM07GRID,
RM07MEND.
INCLUDE: RM07MBDC.
No SAP DATABASE tables are accessed within this REPORT code!
FI_PERIOD_DETERMINE call function 'FI_PERIOD_DETERMINE' exporting i_budat = budat i_bukrs = t001-bukrs importing e_gjahr = akt_buper-gjahr e_monat = akt_buper-monat.
BDC_INSERT call function 'BDC_INSERT' exporting tcode = 'MI07' tables dynprotab = bdcdata.
CURRENCY_AMOUNT_BAPI_TO_SAP call function 'CURRENCY_AMOUNT_BAPI_TO_SAP' "n989600 exporting "n989600 currency = tab-waers "n989600 bapi_amount = swert_in "n989600 importing "n989600 sap_amount = swert_con "n989600 exceptions "n989600 bapi_amount_incorrect = 1. "n996140
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 = p_t_iiseg 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 = p_t_iiseg 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.
RM07II37 - Batch Input: Post Differences RM07II37 - Batch Input: Post Differences RM07II35 - Batch Input: Post Zero Count for Uncounted Materials RM07II35 - Batch Input: Post Zero Count for Uncounted Materials RM07II34 - Batch input: Enter count with reference to document RM07II34 - Batch input: Enter count with reference to document