We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
2 SAP Knowledge Rate Artie
2773759 - How to archive batch master data
‘Component: LO-MD-MM (Material Master), Version: 3, Released On: 18.01.2023,
| symptom
‘You want to know how to archive batch master data,
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental
| Environment
+ SAP ERP Logistics (LO)
+ SAP ERP Central Component
+ SAP ERP
+ SAP Enhancement package for SAP ERP
+ SAP Enhancement package for SAP ERP, version for SAP HANA
+ SAP 8/aHANA
1. Resolution
‘To decide whi
archiving obj
should be used, please check your system release and SP-Level.
+ MM_SPSTOCK is vali till EHPS SPo4 release for ERP systems.
+ With EHPS SPo5 or newer and in S/qHANA systems, the recommendation is to use the new archiving/destruetion objects:
Application Objects Archiving Object / Destruction Object
Batch (L0-BM) 10_batent
‘Valusted Special Stock (MM-IM-GF-ARO) MM_STO_VaL
Special Stock (MM-IM-GF-ARC) MM_STO_SOBES_DEST
Consignment Stock (MM-IM-GP-ARC) MM_ST0_CONS_DEst
Batch Stock (MDE
.GF-ARC) MM_STO_BATCH_DESTExample with MM_SPSTOCK:
‘You can go to transaction SARA and using archiving object MM_SPSTOCK to archive the batch master data
1. Go to Transaction SARA and fil the archiving object MM_SPSTOCK.
Archive Administration: Initial Screen
[Z1 Loos customang —atabase Tables —_nformatonsystem 63 Statsics TgILMBromser _CheckyDeete
scivng Ob JLo: wares ane spec tock
2, Click the write button then fila variant name. Then click the maintain button to creste a new variant.
3. Fill elated material/plant/batch number you want to archive. You can firstly run in Test mode, then run it in Production mode,Ezit Variants: Report MMREOO20N, Variant TEST
Varo tts
stem
bat 2
ch minber i em a
ot, ero atch star Rac
No fap tout Goods Me
etarbon paso. bath
(other sect sts
1 cos ath etd without da a
(creck xiao dao nes
(ny canscer bate stack recor atch maser rca vl ct be dea.
Procaeng opts
es ese
Precuton Nace
ettisg xcorowe a
tog out ist snc aplatonteg =
‘dwg Sst os
4. Then click the back button to select the start date and spool parameters.
5-Click the Execute button.
_-> ABAP list if there is any error occurs during the archiving write session.
6. Check the Job overview -> spool lis7. If there is no error, you can go back to Step 1 screen and select delete button to delete the archiving file.
| See Also
More information about LO BATCH
More information about MM_STO VAL,MM STO SOBES DEST.MM STO CONSI DESTandMM STO BATCH DE
‘You can also have a look atthe wiki page on general information about archiving batches,
| Keywords
LO-MD-MM, batch, archive, archiving, SARA,
MM_SPSTOCK, LO_BATCH, MM_STO_BATCH_DEST, MM_STO_CONSI_DEST, MM_STO_SOBES_DEST, MM_STO_VAL, MMREOo20N
| Attributes
Key Value
Other Components DMMCIM-GP-ARC (Archiving / Storage)
Other Components 10-BM (Batch Management)
| Products
Products
SAP ERP Central Component all versions
SAP ERPall versions
SAP S/4HANA all versions
SAP eohancement package for SAP ERP al versions
SAP enhancement package for SAP ERP, version for SAP HANA al versions| This document is referenced by
SAPNote/KBA Component Title
3225493, EAQ: How-to change valuation category or cass when error message Msio4 appears
a5497 LO-MD-MM FAQ; How-to change batch management fag when error message M530 appears