+++ 12.Handling Inventory Loading

Inventory Management Guidelines


Introduction
                           Inventory Management has always been a critical process in Business Intelligence. The data load process in Inventory data sources is different from other scenarios. If we miss even one step during loading, we may get wrong entries. Even after following the steps perfectly, we may sometimes find anomalies in the data loaded.

In the following document, I have tried to include all those extra steps also which sometimes if not included create some or the other problem.

In Inventory management, the most important cube to load data to is 0IC_C03.

Here we load data from three data sources namely 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM.

2LIS_03_BX:  This structure is used to extract the stock data from MM Inventory Management for initialization to a BW system.

2LIS_03_BF: This structure is used to extract the material movement data from MM Inventory Management (MM-IM) consistently to a BW system.

2LIS_03_UM: This structure is used to extract the revaluation data from MM Inventory Management (MM-IM) consistently to a BW system.

In the following steps we will specifically show the process of data load to 0IC_C03.


T-code – SBIW

Settings for Application-Specific DataSources (PI)---> Logistics --> Settings: Inventory Controlling -->Determine Industry Sector

https://lh6.googleusercontent.com/lfLhDJ1tOKAqnMBxqs16ukz948-DVeKIZbMUxwsyTy07BGS1odMEv0us5W8mtaUQTxkypyHuYbNJM9f5zQbTtFPJGzSr-OmAVXFLDz4lIFcTiFq9PY8dKHG_Y7FgSx2O7wj1iQH2AxXUxCc9Jg


In T-code – BF11 Checking the Following – Application – BW and NDI - Mandatory

https://lh6.googleusercontent.com/3tJMzDH391s4KqaEowHOtcQznTw0tRo47lqyq_SBPm04OroqtKqmXBDYwUakmJsfzKh_xjn31IxyaeAMaq3dEG4kpwxIM-ntxkUdfF_B486L-yC5QBtCqTFpvgt3j821DgVLqdi_1y6FvijXnA


 Stock Initialization: Tcode – MCNB

https://lh6.googleusercontent.com/1uWtBK9wYHdJAtIOCVvELDSwfExSfwZx1-F5Imyi1vTqle-gQj826SJLq77axMcIxUkZdSb-wng1Bh-WLpgYMRlm8L-ZeR4Of_hZ8y0ABEbMSmhZIlS5tvBXxIfGv7OWdF1w4rWL79fNiaqRmQ


Note – Important - Select: - All Stocks including (Non-Valuated stock)
Related tables

MSEG - Document Segment: Material MM - Inventory Management
MARD - Storage Location Data for Material Logistics - Material Master
MKPF - Header: Material Document MM - Inventory Management
MC03BX0SETUP - BW Stock Initialization Storage for MC03BF0 Logistics - Logistics Information System (LIS)
MBEW - Material Valuation Logistics - Material Master
MARC - Plant Data for Material Logistics - Material Master


Go to T.Code - RSA3 – Checking for 2LIS_03_BX

https://lh5.googleusercontent.com/Mhxq1WTphla5h4b_bgMfeaphTatkqZUmsOKQYBP2OEbYWhUyEkF3biCUcpiESy_x6UUz0UsL_NQE0GJhpgglA80W1d-xq9TgBkppXfCOidd5Z4syVu6WfanJv76XS-uWao3iMCMCroYIO99gRA


RSA3  -  MAT: CUTTER, BUDAT: 29.09.2007

https://lh4.googleusercontent.com/ciiYD7ukoAbz2o8mjkmihXkWuG9my39P95MT2VEaYq5VcTC7zGpp3IMHbJj75hO7YlxUmUSK9ereOTSPVQKS-rKKa6xs_ZOYOPCCviyACxl9ty8HfMeCrIs4Mo8AYaqGiD9kpSC3uOiSwS7i0A


R/3 Dev T-code – MMBE for confirming the Unrestricted, Quality Inspected and Reserved Stock

https://lh3.googleusercontent.com/yGcGIxbWeBCT6h240SBwyTWYQt3qXpA0goagm3gOW-AprK2Xq2FrpKsuXrT0SOxYk2idJlVeRcPVnezcIJS_Qkc1HKKV0wGdCjv61U4bRtoEWlxjNmeesvjqicKiBN5xHUatAwJJzohrXQULRQ

Replicate Metadata in BW
InfoCube in BW:- Material Stock/Movements – 0IC_C03

https://lh6.googleusercontent.com/rn9xMrlwu8tERcjPkBBnQUA61QInjq94MPv-bwVEAiaZWpYxQtXFxtNINjO_M_1faSvo4vafKVV4Lltq2G3kNiZP-VcuuqSoeesQnCVJ0zllLM_S1_yxD-tW9G3A-_904JrA3rYtqkU7uJsoxw


Data source:-

https://lh6.googleusercontent.com/qFhSiW-pGPiTpfC1XTJQinnuYjVxRCCtF7bzxac4l1ucMrdvydaO9FZxRylvDYFvvFNnC0bzUbRNd0_KzTo5bW-E0MOjvb-9uQuA4LywD4giVYIqvBNE1ko-3p0B63ErIykb9CKSa6If1nE84w

Info package for bringing data into PSA

https://lh5.googleusercontent.com/FMFOe8-0vrDKP51MCrmQjCZ6hDsbaCFT1OeIVwgwcu0rMdoRxX_NPJaS6kYQXUEgOjSfJ1RkWVfSCI8UVAL8ong6KJaG2Yhel4IN1qH-griiG_bKjN92Y4uFaPH3EEqF5rF3x2SkUNzW00hpqg


 Transformation for 2LIS_03_BX

https://lh5.googleusercontent.com/g-gdKyxitKkhaTHj5092nZls7ZicuzUr0qrkhYdzJ_0A965AZT0oCyPVpX-hV554WLCxzcCGTU4GpJiYL0gDLNZwVnihbYwnZBcMlR1VITm2k5e7_vENsDRb6I17bsEPBCQqgt3vxmjyMil5og


Data Transfer Process:- 2LIS_03_BX

https://lh4.googleusercontent.com/oZtyKt5hATH-p8i7Um2a1LWKtxvqygRkXX7sNE6P2Oi7sMz0MZr5Q9q9UnpRj1uQ9C5mHvM3Fq4sEYqLYBQ8tXD9ipfZ7vvakQl2rWQ1KnWJsPN0u67wvrffEcV1xURm5EVws04pbEOGMl3-Tw

For BX Update – after DTP go to Collapse -  No TICK in No marker Update

https://lh6.googleusercontent.com/_D_xLceYsPAc7zAqTWXiPSYh3HP2F-dGkBivfAoFU8Kgx1Njiay9UJ9Nt5T3fvMWHliunED11ukrSk0zQEvjxcxZSFqR9qITxp6XzZcqG9AhBEZ-8J8ptJguqHgrqAFU2bRVoSVjeZewUNKsnw


Compression of Historical Transaction Data Records
If you have selected the No Marker Updating indicator, during the compression no markers are adjusted. This function is used to make changes to non-cumulative that have yet to be initialized visible at a later point in time.  When loading and compressing historical transaction data records, note the following:
  • Before compression, InfoCubes into which historical transaction data records were loaded, show potentially incorrect results. These inconsistencies are resolved during the compression process.
  • After historical transaction data records are loaded into an InfoCube, the corresponding aggregates contain incorrect data. All incorrect aggregates are therefore deactivated and rebuilt during a compression run. For performance reasons, we recommend deactivating aggregates before a compression run with historical data, and rebuilding them after the compression run.
  • Handling non-cumulative initializations as historical transaction data is not permitted and results in the termination of the compression run.
No update of the non-cumulative marker
  • If this option is switched on, the non-cumulative marker is not updated when loading non-cumulative value changes.
  • You can use this option to load past non-cumulative value changes into an InfoCube after a successful initialization with the current non-cumulative.
  • In this instance, you have to carry out a summarization with this option before you can report from this data.
  • The InfoCube must be a non-cumulative InfoCube. If not, this flag is ignored.
Summary – BF with Historical data should have No Marker Update Tick Mark because it shouldn’t get added with Initial Stock (BX data load)
2LIS_03_BF

Logistics - > Application-Specific Setup of Statistical Data -> Inventory Management - Perform Setup. ( T-Code OLI1BW for Material Movements)

https://lh6.googleusercontent.com/8HYkk_5Ic1zJr-_ZZuYpP70wryVGMQPAf27Te_TWBY1DehG22lC88rwCUNxpHDdRtcjNS87MsJgrZqM4obA_hvYehS7fFZdsE4bKiwnzfMZS7_kstXiCLBcM8UUloK_2AYkYFdAmsF-A6bwKJg

Execute in Background

https://lh3.googleusercontent.com/HaWRDbDeIkNIz2o7khycus46dxN1Y-GehSubXlFkQuVnhqHVellUf2QrvS2oWqvKtiFjdRA871dUiDHjJfdvrsCV8Mz-J0BPOxJyOiy8G5IgMRFgeUmGIxqJW__eXZaUN_q72O1tcMRuzo2qfQ

Checking for Extracted Data – RSA3

https://lh5.googleusercontent.com/qnQDpOUeArL9vSMEY75W0nEUzcsazTHglOXB_jMFj9SduH5HJn6smZBdYhyJG_2nUKqMCtkTewKv592cMr2f1Fa81uAmHTj52b_UywvgzgQOd6mRplxA_dJb3rYA7ik5zG5IJFpjg5ElSCTmSw

For Set Up Log in – T-Code NPRT
Path: - Logistics - > Initialization - > LIS Setup Log


Replicate Metadata in BW

Same Info provider - InfoCube in BW:- Material Stock/Movements – 0IC_C03
Info package for bringing data into PSA –> 2LIS_03_BF

https://lh6.googleusercontent.com/izaUdSEh2CjP0iFJ7AvkvbbUErJs1CoK0fBljh665kynJ4GW4Az4n6M-ssHTpzTLutnXH5LUoGIJamU67ji6rSq5_Osl12mG76j2Ovp5hYXEFdfoyeyoMAQg32bYeAJOTpjdfKAKRbQD35vZMA

Transformation for 2LIS_03_BX

https://lh4.googleusercontent.com/XD9lxW9by663AJ2vH1OIAA5d864U84qxqXH3IHxUgy-d_wgisdygtkpnke2j56fgNCoEhK6Z1EwcpjZssACfOfkMvDLdkyN3_cKnDU4bLwfXlTET5RiMQGGh0OHNv9NXvyjgH-s-aLPafclWYA

Data Transfer Process:- 2LIS_03_BF

https://lh5.googleusercontent.com/9ZDrshqhPrL518oMEdIgs47Wxy8SkiG3S59uhCRpZvcwKvJUE1vkG9azTLJYHIXuq90IO8cEXZIk9Vet_p5rVzLw517pe8XaMmHojIZSE7GO6HQvC48TzcNIcDyj7VOW7v7xo09LO8620F6nyA

For 2LIS_03_BF – after DTP into Info Provider we have to compress the cube

https://lh6.googleusercontent.com/ZQYvp7HPISe_XlKzkqS0iVxx9oEQTzk9PZ3kH_ufEnXqKPPV1SBM0FELVS7K0w9bKr8wUZChfzRW2qyUjrL4la2VpZ4qanEv7khzgmnMzhXeRxJaR4sDWHpj2MActtUGvXH3--gYNUfgc_H8BA

Summary – BF with Historical data should have No Marker Update Tick Mark because it shouldn’t get added with Initial Stock (BX data load)

02LIS_03_UM
Logistics - > Application-Specific Setup of Statistical Data -> Inventory Management - Perform Setup. (T-Code OLIZBW for Invoice Verification /Revaluation)

https://lh6.googleusercontent.com/WV38vUv1ItpxwYQnPj4bWiNA8SnJ27JP0cxf-9AKaYX0_59acjfT5XWemmMKMvwSxDZnTfU253uOoYWiCtU9P26L4ZzxWnX8R3ETPEQJhw8QoRcSh0clqPj51c5M7K_mSfKH6GDsmoblTc_T7w

Same Info provider - InfoCube in BW: - Material Stock/Movements – 0IC_C03
Data source:-

https://lh4.googleusercontent.com/rXgSXDlyQW8ZYesh4QKpyYRfNHUBycmRf5apC0ADD7LBK5UfYyis3uJei9c-PMH9uG_IkzwGGFmyrucyMsAvZVVSir7mo9yE-jthzAtt4kde7qG9XBHcCNE-9QfBjh-hlQB71UH-pR0OR0y64Q


 Info package for bringing data into PSA –> 2LIS_03_UM

https://lh4.googleusercontent.com/yCbE512dpcekYH3zreWgaUeBEMPH_RuKQYwWDN8oIi211gFeoI9eNujyhyqd9IbtneWvoW4VU6GNd7tSzxS9o4f82Ldei2762wH_9vjkj69md5bhFu0jDSj927YRNUIj3_llmBGtM9RUJisn3A

Transformation for 2LIS_03_UM

https://lh6.googleusercontent.com/e_goYNMmrRAyffCssCJq4q5-tiXmqrviLdnE69G3Wqfqd36FxYq3OL2PVDCP08B7XQsQ4mjQ20mw__tve1I8s5LBJi7HIr5-0Lv-AI_JbX1nnnVlvhj2-s021cRdBlt1mpTIPy-kN3hPr5P52w




                                             ********************************