MMREO020 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this program to archive and delete the following stock records: Batch stock records Consignment stock records Other special stock records You have the following options: Archiving special stocks for existing materials Archiving special stocks for a material number that has already been deleted You enter your selection criteria for
If you would like to execute this report or see the full code listing simply enter MMREO020 into the relevant SAP transactions such as SE38 or SE80
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: WERKS2 = D Plant
Selection Text: WERKS = D Plant
Selection Text: T_REST = Check expiration date
Selection Text: TEST_ON = Test mode
Selection Text: S_BATCH = Delete only stock recs w/o stk
Selection Text: SP_STOCK = Special stocks
Selection Text: P_TEXT = Comment
Selection Text: MILL_RTI = D Retention time for orig. batch
Selection Text: MATNR2 = D Material
Selection Text: MATNR = D Material
Selection Text: D_CONSI = Ignore consignment del. flag
Selection Text: D_BATCH = Ignore batch deletion flag
Selection Text: CONSIGN = Consignment
Selection Text: CHARG = Batch Number
Selection Text: BATCHES = Batches
Title: Archive Batch, Consignment, and Special Stock Records
Text Symbol: 521 = Delete only stock records without stock
Text Symbol: 519 = Restrictions
Text Symbol: 518 = Special stocks of a deleted material
Text Symbol: 517 = Technical settings
Text Symbol: 516 = Special stocks of existing materials
Text Symbol: 515 = - Name of the archiving object...........:
Text Symbol: 514 = - Archiving key..........................:
Text Symbol: 513 = - Archive management information.........:
Text Symbol: 512 = - System.................................:
Text Symbol: 511 = - Release................................:
Text Symbol: 510 = - Date of the archiving session..........:
Text Symbol: 509 = Archive data:
Text Symbol: 501 = Unused
Text Symbol: 500 = Unused
Text Symbol: 027 = Retention period orig. batch
Text Symbol: 026 = Check expiration date
Text Symbol: 025 = Batch Number
Text Symbol: 024 = Other special stocks
Text Symbol: 023 = Consider consignment recs w/o deletion flag
Text Symbol: 022 = Consignment
Text Symbol: 021 = Consider batch records without deletion flag
Text Symbol: 020 = Batches
INCLUDE MMREO028.
INCLUDE MMREO02T.
INCLUDE MMREO029N.
No SAP DATABASE tables are accessed within this REPORT code!
No SAP FUNCTION MODULES are executed within this report code!
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MMREO020 - Archive Batch, Consignment, and Special Stock Records MMREO020 - Archive Batch, Consignment, and Special Stock Records MMREO01S - Select Materials Flagged for Deletion MMREO019 - Central Subroutines for Report MMREO010 MMREO018 - documentation and ABAP source code MMREO017 - Routines for Processing Table MVKE