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

RM07ICN1_LIST SAP ABAP Report - RM07ICN1LIST







RM07ICN1_LIST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Batch Input: Create Physical Inventory Documents for Cycle Counting This report enables you to generate 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 RM07ICN1_LIST into the relevant SAP transactions such as SE38 or SE80


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 RM07ICN1_LIST. "Basic submit
SUBMIT RM07ICN1_LIST AND RETURN. "Return to original report after report execution complete
SUBMIT RM07ICN1_LIST 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: XDUV = Distribute Difference
Selection Text: XBLNI = Phys. Inventory Ref.
Selection Text: R_WERKS = Plant
Selection Text: R_MTART = Material Type
Selection Text: R_MATNR = Material
Selection Text: R_MATKL = Material Group
Selection Text: R_LGPBE = Storage Bin Description
Selection Text: R_LGORT = Storage Location
Selection Text: R_CHARG = Batch
Selection Text: INVNU = Physical Inventory Number
Text Symbol: 041 = Blocked
Text Symbol: 050 = Enter grouping criterion in document header
Text Symbol: 051 = Distribute Phys. Inv. Diffs
Text Symbol: 052 = Selection Criteria
Text Symbol: 053 = *BLR-
Text Symbol: A01 = For stock mgmt unit(s), a phys. inv. doc. can be generated:
Text Symbol: B01 = No entry could be created for the planned count date
Text Symbol: B02 = for the following plants (the fiscal year for this
Text Symbol: B03 = planned date comes after the current fiscal year in
Text Symbol: B04 = material control record) :
Text Symbol: C01 = For stock mgmt unit(s), no document generated:
Text Symbol: D01 = For stock mgmt unit(s), physical inventory must be completed:
Text Symbol: F01 = Plnt|SLoc|Material |Batch |Valuation |Comment
Text Symbol: FT1 = Accounting View Missing ;;
Text Symbol: FT2 = WM Storage Location ;;
Text Symbol: FT3 = Material Type Unknown;;
Text Symbol: FT4 = Marked for Deletion ;;
Text Symbol: FT5 = No Quantity Update ;;
Text Symbol: FT6 = Value-Based Inventory Mgmt;;
Text Symbol: FT7 = Error in V.-O. Mat. Determ.;;
Text Symbol: L01 = Plnnd Date|Ph.In.Date|I|Plnt|SLoc|Material |Batch |S|Stor. Bin |Mat. Group
Text Symbol: L02 = Plnnd Date|I|Plnt|SLoc|Material |Batch |S|Stor. Bin |Mat. Group
Text Symbol: 040 = Qual. inspection
Text Symbol: 001 = Data in Phys. Inv. Doc. Header ------------------------------------------------
Text Symbol: 002 = Stock Types ------------------ Continuous Inventory ---------------------------
Text Symbol: 003 = Unrestricted
Text Symbol: 004 = Incl. Matls Subj. to Phys. Inv.
Text Symbol: 005 = To qual. inspection





Text Symbol: 006 = Incl. Btchs Subj. to PhysInv
Text Symbol: 007 = Batch Input Session -----------------------------------------------------------
Text Symbol: 008 = Sort by -----------------------------------------------------------------------
Text Symbol: 009 = Storage Bin Descript.
Text Symbol: 010 = Matl Group
Text Symbol: 011 = Generate Batch Input
Text Symbol: 012 = Issue Log
Text Symbol: 013 = Name of sessn
Text Symbol: 014 = Max. No. Items
Text Symbol: 015 = Plnt|Fiscal Year |Planned Count Date
Text Symbol: 016 = New document created when group changed for sorting purposes;;
Text Symbol: 018 = Blocked
Text Symbol: 019 = Planned Count Date From ;;
Text Symbol: 020 = To ;;
Text Symbol: 021 = Materials Marked for Deletion
Text Symbol: 022 = Set Posting Block
Text Symbol: 024 = Freeze Book Inv.Bal.
Text Symbol: 030 = Threshold Value for Stock
Text Symbol: 031 = Only Materials with Zero Stock
Text Symbol: 032 = Value-Only Mats
Text Symbol: 033 = Phys. Inv. Ref.
Text Symbol: 034 = Stock Level ------------------------------------------------------------------------
Text Symbol: 035 = Only Materials W/o Zero Stock
Text Symbol: 036 = Only Materials with Negative Stock
Text Symbol: 037 = Exclude fr. Selection
Text Symbol: 038 = Stock Types ----------------------------------------------------------------------
Text Symbol: 039 = Whse


INCLUDES used within this REPORT RM07ICN1_LIST

INCLUDE: RM07IBDC.


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 CORRECT_OPTION = '+' * &001 begin: Anpassung an Zeitzonen * DATE = SY-DATUM DATE = SY-DATLO * &001 end FACTORY_CALENDAR_ID = XWEBU-FABKL IMPORTING FACTORYDATE = XWEBU-ACTUD EXCEPTIONS CALENDAR_BUFFER_NOT_LOADABLE = 02 DATE_AFTER_RANGE = 04 DATE_BEFORE_RANGE = 06 DATE_INVALID = 08 FACTORY_CALENDAR_NOT_FOUND = 10.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '+' DATE = GIDAT FACTORY_CALENDAR_ID = XWEBU-FABKL IMPORTING FACTORYDATE = XWEBU-FRSTD WORKINGDAY_INDICATOR = WORKDAY EXCEPTIONS CALENDAR_BUFFER_NOT_LOADABLE = 02 DATE_AFTER_RANGE = 04 DATE_BEFORE_RANGE = 06 DATE_INVALID = 08 FACTORY_CALENDAR_NOT_FOUND = 10.

FACTORYDATE_CONVERT_TO_DATE CALL FUNCTION 'FACTORYDATE_CONVERT_TO_DATE' EXPORTING FACTORYDATE = XWEBU-FRSTD FACTORY_CALENDAR_ID = XWEBU-FABKL IMPORTING DATE = GIDAT EXCEPTIONS CALENDAR_BUFFER_NOT_LOADABLE = 02 FACTORYDATE_AFTER_RANGE = 04 FACTORYDATE_BEFORE_RANGE = 06 FACTORYDATE_INVALID = 08 FACTORY_CALENDAR_ID_MISSING = 10 FACTORY_CALENDAR_NOT_FOUND = 12.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '+' DATE = GBDAT FACTORY_CALENDAR_ID = XWEBU-FABKL IMPORTING FACTORYDATE = XWEBU-LASTD EXCEPTIONS CALENDAR_BUFFER_NOT_LOADABLE = 02 DATE_AFTER_RANGE = 04 DATE_BEFORE_RANGE = 06 DATE_INVALID = 08 FACTORY_CALENDAR_NOT_FOUND = 10.

MARV_SINGLE_READ





CALL FUNCTION 'MARV_SINGLE_READ' EXPORTING bukrs = XWEBU-BUKRS IMPORTING wmarv = marv EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3.

PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING I_GJAHR = MARV-LFGJA I_MONAT = MARV-LFMON I_PERIV = XWEBU-PERIV IMPORTING E_FDAY = XWEBU-FDYEA EXCEPTIONS ERROR_PERIOD = 01 ERROR_PERIOD_VERSION = 02 FIRSTDAY_NOT_DEFINED = 03 PERIOD_NOT_DEFINED = 04.

PERIOD_DAY_DETERMINE CALL FUNCTION 'PERIOD_DAY_DETERMINE' EXPORTING I_GJAHR = MARV-LFGJA I_MONAT = MARV-LFMON I_PERIV = XWEBU-PERIV IMPORTING E_FDAY = DATUM_INT EXCEPTIONS ERROR_PERIOD = 01 ERROR_PERIOD_VERSION = 02 FIRSTDAY_NOT_DEFINED = 03 PERIOD_NOT_DEFINED = 04.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '-' DATE = DATUM_INT FACTORY_CALENDAR_ID = XWEBU-FABKL IMPORTING FACTORYDATE = XWEBU-LDYEA EXCEPTIONS CALENDAR_BUFFER_NOT_LOADABLE = 02 DATE_AFTER_RANGE = 04 DATE_BEFORE_RANGE = 06 DATE_INVALID = 08 FACTORY_CALENDAR_NOT_FOUND = 10.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '+' DATE = M_DLINL FACTORY_CALENDAR_ID = XWEBU-FABKL IMPORTING FACTORYDATE = ABS_DLINL EXCEPTIONS CALENDAR_BUFFER_NOT_LOADABLE = 02 DATE_AFTER_RANGE = 04 DATE_BEFORE_RANGE = 06 DATE_INVALID = 08 FACTORY_CALENDAR_NOT_FOUND = 10.

FACTORYDATE_CONVERT_TO_DATE CALL FUNCTION 'FACTORYDATE_CONVERT_TO_DATE' EXPORTING FACTORYDATE = ABS_DLINL FACTORY_CALENDAR_ID = XWEBU-FABKL IMPORTING DATE = TAB-GPDAT EXCEPTIONS CALENDAR_BUFFER_NOT_LOADABLE = 02 FACTORYDATE_AFTER_RANGE = 04 FACTORYDATE_BEFORE_RANGE = 06 FACTORYDATE_INVALID = 08 FACTORY_CALENDAR_ID_MISSING = 10 FACTORY_CALENDAR_NOT_FOUND = 12.



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