Problems reloading Inventory Management

We have been struggling to reload our Material Movements cube (0IC_C03).  We have been following the SAP documentation titled 'How to handle inventory management scenarios in BW'. 
Our initial loads (Stock Opening Balance, Movements Init, Revaluations Init) have all been successful and validation looks good.  The problem is that when the first delta UPDATE runs we end up having many negative inventory quantities appearing.  We are not sure what we could be doing wrong.
Compression settings are as follows
1) Run stock opening balance (2LIS_03_BX)
2) Run statistical setup for 4/3 only for Revaluations and Movements (2LIS_03_BF, 2LIS_03_UM)
(Compress with Marker option NOT CHECKED)
3) Load Stock infoPackage 2LIS_03_BX with 'Opening stock balance checked ' (ie: not full update)
(Compress with marker option NOT CHECKED)
4) Run delta init for Movements
(Compress delta init  with marker option CHECKED)
5) Run delta init for Revaluations
(Compress delta init  with marker option CHECKED)
6) Setup job control in logistics cockpit
7) Run delta update for Movements
Compress delta with marker option NOT CHECKED
8) Run delta update for Revaluations
Compress delta with marker option NOT CHECKED
The issue seems to occur with steps 7 and 8.  The initial time we do these steps we get zero records and everything looks good.  Then the next day the same steps occur in our nightly process chain and then the data is bad with negative values.
Any ideas what we could be doing wrong?
Thanks!

Hello Patrick,
Whic values you are getting as negative, the non-cumulative key figures or the inflow and outflow key figures? If the inflow and outflow KFs are coming correctly, then problem is in BW side e.g. compression sequence. But in case inflow and outflow KFs itself are coming worngly with negative sign from R/3, then problem lies in R/3 side. In that case you can check the corrsponding data in tables MSEG and BSEG. Let me know in which part the problem lies and from there we can take it forward.
Regards,
Praveen

Similar Messages

  • Row lock contention problem on Inventory Management

    Hi
    My client is product based company and have e-Commerce (online Sale Order) application using Oracle database 10.2.0.5 & Web application deployed on WLS. Client have ~ 90 Warehouse country wide and ~ 200 Products (Items). Each product stock for each warehouse is maintained in Inventory Table (INV_BALANCE) which get updated for each order and their sale's products. We are using NO WAIT function to acquire lock on row to update stock balance. Last few months, client business is growing very fast and during Promotional Events (EXPO), they have sales of ~ 75K orders (~ 250K Items) within 2-3 days which start causing  row lock contention problem on INV_BALANCE table. We are seeing lots of "Row Lock Wait" and "enq: TX - row lock contention" event which cause ORA-00060: Deadlock detected and we need to eventually clear blocking sessions or everything just choked.
    select statistic_name,value from sys.v_$segment_statistics where object_name = 'INV_BALANCE'
    STATISTIC_NAME                                                                                                                        VALUE
    logical reads                                                                                                                                12423072
    buffer busy waits                                                                                                                           3895
    db block changes                                                                                                                         3516768
    physical reads                                                                                                                               957
    physical writes                                                                                                                            12197
    row lock waits                                                                                                                             49909
    space used                                                                                                                                -52921
    Deadlock graph:
                           ---------Blocker(s)--------  ---------Waiter(s)---------
    Resource Name          process session holds waits  process session holds waits
    TX-00880017-00002584       321    1675     X            110    1445           X
    TX-00b60008-00000741       110    1445     X            337    2158           X
    TX-0148000b-0000009e       337    2158     X            378    1525           X
    TX-01d50015-0000006f       378    1525     X            363    1842           X
    TX-02290012-00000070       363    1842     X            267    1798           X
    TX-024a0026-0000006e       267    1798     X            364    2084           X
    TX-020a0004-0000006f       364    2084     X            135    2113           X
    TX-01dc001f-00000070       135    2113     X            129    1586           X
    session 1675: DID 0001-0141-000001CA    session 1445: DID 0001-006E-00000202
    session 1445: DID 0001-006E-00000202    session 2158: DID 0001-0151-0000026B
    session 2158: DID 0001-0151-0000026B    session 1525: DID 0001-017A-00000167
    session 1525: DID 0001-017A-00000167    session 1842: DID 0001-016B-000002B4
    session 1842: DID 0001-016B-000002B4    session 1798: DID 0001-010B-000001F1
    Rows waited on:
    Session 1445: obj - rowid = 0001AE0E - AAAlK8AAHAAD7rMABY
      (dictionary objn - 110094, file - 7, block - 1030860, slot - 88)
    Session 2158: obj - rowid = 0001AE0E - AAAlK8AAHAAD7rMACD
      (dictionary objn - 110094, file - 7, block - 1030860, slot - 131)
    Session 1525: obj - rowid = 0001AE0E - AAAlK8AAHAAD7rOAB2
      (dictionary objn - 110094, file - 7, block - 1030862, slot - 118)
    Information on the OTHER waiting sessions:
    Session 1445:
      sid: 1445 ser: 37 audsid: 38316795 user: 69/<none>
                program: JDBC Thin Client
      application name: JDBC Thin Client, hash value=2546894660
      Current SQL Statement:
      SELECT ROWID, NVL(QTY_PEND,0)+NVL(:B3 ,0) FROM INV_BALANCE WHERE WHS_ID = :B2 AND STOCK_ID = :B1 FOR UPDATE OF QTY_PEND WAIT 10
    Please help me on following
    Q1: How can we reduce the "row lock Contention" on INV_BALANCE, all possible ways & best practices?
    Q2: How can we change the design to not have "row lock Contention" at all?
    Appreciate your help
    Thanks
    Amit Garg
    www.otnblogs.com

    Hi Amit!
    I saw you are using FOR UPDATE  in your query.
    If you  want reduce row locks, then you not must use FOR UPDATE.
    As you know, FOR UPDATE is locking rows.
    Regards
    Mahir M. Quluzade

  • Inventory management problem with WS-C2950-24 on CWLMS 4.0

    Hi Joe,
    I have a problem with inventory management wiht 2950- 24 switches on which I am not able to capture inventory as well as the configurations. The IOS version is 121-22.EA13 and featureset is i6k2l2q4-mz. However, when I troubleshoot it, all the transport protocols (Telnet, ssh, tftp etc) shows success.
    Thanks,
    Best Regards // Rajiv

    Inventory uses snmp to communicate to device. Please check you device has snmp configured and LMS has correct SNMP RO credentials added to it.
    Please try to do a manual snmpwalk from LMS server (using device centre > tools) and see the walk succeeds.
    Then again try to run the inventory from LMS server on this perticular device and if it fails, share the failure result/screenshot etc details. NMSROOT/log/ic_server.log as well.
    -Thanks

  • Urgent-Inventory Management in case of a glass or ply industry

    A typical scenario.
    I am facing a problem in inventory management for a client of mine who is into glass cutting and supply. The glass sheets are purchased in sheets from the vendor and is cut into various shapes and dimensions according to the order recieved by him. now in most of the cases the entire sheet is not used in a particular order. the remaining part which is not  used goes to the inventory. Now for a next order all the remaining part may be used if it matches the lengthXBreadth specifications. So the inventory items should show the length X Width specification. The dimensions are not fixed and there may be  "n" number of variables.
    Example- A default sheets of sizes 10"X10" is purchased form vendor. Seperate shapes of 6"X4" and 4"X 4" is cut out from it. Then the remaining part will have a dimension of 6"X10", which goes to the inventory. Now whenever he will see te inventory report he should be able to see that 1qunty of 6"X10" is ther in the inventory. So that when if he recieves an order of 6"X8" or 6"X10" he can use that and save cutting a new sheet (10"X10"). This will minimise the wastages.
      I had planed to do it by the area but then that does not solve the perpose as the inventory total will show the sum area of all the dimensions in the inventory in "sq@units". Makong item masters for different dimensions will involve a huge inventory management and the users may land up in making numerous masters evry day and also risk of the duplication of the same masters will prevail.
    Please anyone who has done any implementation for such clients or of similar type or any one having a suitable solution to this issue........please help!!!

    Debraj,
    In that case the option you could try is to enable batches and store the size as a batch number
    For example: The inventory could have 10 pieces of item A
    Qty......Batch
    ..2.......6x10
    ..3.......6x8
    ..5.......6x6
    Now when ever you want to add a cut piece of item A which is of size 6x10, you simply enter Batch 6x10 and this will not only increase stock by1 but also you now the visiblity of what the stock is made up of by running the Batch report.
    If you want to do it in a much better way then you need to probably go with an AddOn
    Suda

  • Recreating inventory manager

    Hi
    I am having problem with inventory manager and it is getting down frequently and there is no prblm with other managers.How can i recreate it i want to recreate the INVLIBR
    rgds
    rajesh

    What is the error you are getting? Recreating the inventory manager may not be the solution.
    Try to relink Inventory Manager (INVLIBR) manually using the following command:
    - Login as applmgr user
    - Run the following:
    $ AD_TOP/bin/adrelink.sh force=y ranlib=y "inv INVLIBR"
    $ AD_TOP/bin/adrelink.sh force=y ranlib=y "inv INCTM"
    - Bounce the Concurrent Manager

  • SAP Inventory Manager 4.0 installation problems

    I am having problems when trying to install the new version of Inv Manager 4.0 on windows server 2008.  The installation is performed by first installing and patching to latest release an SMP 3.0 server, followed by an installation of the SAP Inventory Manager 4.0.0 Deployment exe file.  That installation runs without any errors but no app is visible on the SMP, no folders or shortcuts or other indications are visible that it was successful.  Also very strange is that according to the installation guide there are some steps (1-6) which I cannot see, my install runs jumps directly from step 3 step nr. 7 (serial numbers, install type, keys are all missing or not requested by the installation for some reason).  I have installed this on 4 different servers/PC´s where at least 2 of those were totally fresh systems that didn´t have any previous installation of either Agentry or SMP.  The prerequisites are met (java, jco etc) but what puzzles me the most is that I don´t see any logs or error messages. 
    Help is much appreciated  

    Bjorn,
    At very high level...
    1) Install  SMP Server   with Latest support pack. you don't need to enter any server serial numbers details.
    2) Logon to SMP Management cockpit.
    3) create Agentry  application for Inventory Manager and save it.
    4) Once Agentry application is created under server->configuration folder you can see a folder created.
    Server\configuration\com.sap.mobile.platform.server.agentry.application.
    5)  Execute SAPInventoryMgr400Deployment.exe by entering SAP back end connection details.
    6)   Once you complete step 5), you have IM 4.0 deployment application is created.  at this point you  can copy all the  deployment folder contents to application folder created in step 4) or do publish from editor or follow step 5.
    5) Select Agentry application ->go to App Specific settings tab ->Under publish option "upload your Inventory Manager  deployment zip file" and save the changes.
    6) Re-start  the Server.
    7) Test if your application is deployed correctly  by entering URL in the browser https ://<hostname>:8081/<appname> .  you should get response as 'I'm here".
    8)  if step 7) is not successful then troubleshoot  Agentry app deployment ( turn on agentry logging and check for startup errors ).
    check this thread for SMP 3.0 Server Installation troubleshooting.
    Query on SMP 3.0 - Working with Agentry Client
    Thanks,
    Manju.

  • Analysis Process Designer and Inventory Management

    In the How to guide for Inventory Management it mentions that you can you can intialise stock in the Snap shot Cube using the Analysis Process Designer (APD).  Has anyone done this and if so can you explain how or outline some steps? Thanks

    Hallo,
    the APD does`nt be a useful tool for modeling a performant 
    data flow. A lot of SAP BW user think so.
    The performance problems are given by the ddic intern table, using to uploading the extracted data into the apd used wa_table and structures.
    To have the best performance on your scenario, please use the following scenario as possible.
    Step 1.
    upload the extracted data from the psa into a data layer
    there you can reduce and harmonize the data by using a transactional ods
    Step 2.
    build a infoset that joins the data
    Step 3.
    build one query to reducing data and make two copies of ist
    Step 4.
    build a useful data mining model
    Step 5.
    upload the results of the data mining model into a transactional ods
    Step 6.
    link the uploaded data into a infoset ore write back into a standard ods
    Step 7.
    query the data
    If you use this scenario you have a lot of benefits. Better performance, better quality of persistent data and actual and traininged data.
    The recommend next step (if you want a alerting) is to build a reporting agent report - if you have usefull processes in  the query.
    There are a workshop for Data mining and APD, named BW380.
    I hope I helped you.
    Otherwise give me a message.
    [email protected]

  • Inventory Management: Valuated Stock Value

    Hello Experts -
    We're using inventory management. We're just bringing in 2lis_03_bf which is the material movements and the standard price datasource.
    The plant valuated stock quantity and the valuated stock value are fine. The SLOC valuated stock quantity is fine. We're using the non-cumulative key figures for the valuated stock quantity and the valuated stock value. The SLOC valuated stock value isn't correct. So I just created a calculated key figure where I'm multiplying the quantity with the standard price.
    This works fine but when I look at the plant level and use this CKF, the aggregation threw me off. So I changed the aggregation on CKF at the Bex level.
    This works fine in dev and qa where I don't have too much of data. But as soon as I'm in in production, the query times out and gives me an error saying I reached the buffer limit.
    I was thinking of calculating the valuated stock value at the ETL layer but now I'm thinking that if I do that and the price of a material changes, I'll again have the same problem. I can't re-load every time a material price changes.
    Can someone please help me with this scenario?
    Thanks!
    Edited by: Siegfried Szameitat on Oct 29, 2008 9:30 AM
    do not offer points, it is against the rules

    Hi Syed,
    Deriving values by multipling with price also not correct. results will not match with R/3.
    Value Calculation
    In principle, values are updated with Plant, Material, and Stock Category only. Quantities are updated with these characteristics, as well as with Storage Location, Batch Number, and Stock Characteristic
    Check SAP Note 589024: Evaluations in BW with the Characteristics Storage Location and Stck Char.).
    Hope it Helps
    Srini
    Edited by: Siegfried Szameitat on Oct 28, 2008 4:17 PM

  • Queires on Non-Cumulative Inventory Management Cube 0IC_C03 Not Working

    Hello all.
    I am trying to use the 0IC_C03 Inventory Management cube with non-cumulative key figures.  I followed the How to...Handle Inventory Management Scenarios in BW paper to a tee.
    Steps I followed:
    1.  Ran initialization of beginning balance with 2LIS_03_BX
    2.  Ran the historical job with 2LIS_03_BF
    3.  Uploaded to BW the Initialization (BX) and compressed without setting the "No Marker Update" flag
    4.  Uploaded the historical movements (BF) and compressed setting the "No Marker Update" flag
    Now, to this point, everything was fine.  Quantities were as expected.  Dollar values were as expected.  The problem occurs once I load deltas:
    5.  Loaded delta for 2LIS_03_BF and compressed without setting the "No Marker Update" flag as instructed in the How To... paper
    Query example:
    MATERIALA: 
    Initial Stock Balance = 1000 EA
    Delta had stock issue of 150 EA (so the stock balance should have decreased from 1000 to 850)
    Now, I have the record in BW showing the stock issue of 150.  However, the non-cumulative key figure within the query still shows 1000.  And when I drill down by calendar day, I would expect the result to show 850, but it seems to add the 150 before taking it away resulting in 1000 which is actually the initial stock balance.  It is like it is not recognizing the updates.
    Any help would be appreciated.
    Thanks,
    Brent

    Hi!
    Here is what helped in my case, very similar to your:
    In DTP for 2lis_03_bx (not only in infopackage, as it is said in manual!) you have to change "Extraction Mode" parameter to "Initial Non-cumulative for Non-cumulative values"

  • Inventory management in plant

    Dear All,
                 I am facing problem while performing STO, It is showing error that BAPI Material not subject to inventory management in    Plant XYZ.          
    Please help me out.
    Thanks in advance for ur valuable input.
    Regards
    AJIT K SINGH

    Dear
    Pls Check your setting for the materila type for this material in OMS2, is Qty updation & Value updation is activated ( ticked),
    and also for your plan XYZ extend the materila master for Purchasing view..
    Amin.

  • Snapshot scenario or non cumulative key figure  in inventory management

    Hi
    We are currently using Inventory Management with non-cumulative key figures but we get very high performance problems due to so big number of lines in info cube.
    We are analyzing the other scenario with snapshot and I am asking if it would be very realistic to use it to satisfy our requirement: to be able to get inventory management at day level for about 2 000 000 combinations article-site and about 100  000 stock movement lines per day (we are retailer!).
    Is there somebody to give me advice about it?
    Tanks a lot
    Anne

    Being a non-cumulative KF, total stock is automatically takes care of that.
    Try putting all the restrictions which you have included for total receipts and total issues, for eg,  restrict Total Stock with the movement types used in Receipts as well as Issues.
    Check and revert.
    Regards
    Gajendra

  • Consignment Stock for Inventory Management

    Posting as a new thread...
    I have installed and loaded the Inventory Management Cube 0IC_03 in our development and quality systems.  During testing we have found just one problem with Consignment Stock.  The Stock Initialization (2LIS_03_BX) does not bring in an initial quantity (BWMNG) for any material flagged as a Consignment Stock (Stock Category = K, field BSTTYP). 
    My question - is there a good reason for this or is this a problem?  It causes a problem with reporting, because balances are now off.  Do I need to change how reporting is done for Consignment?
    It seems to me that the BX extractor should be picking up the initial balance.  I am trying to debug the code, but am getting a headache!
    Any help would be appreciated!
    Yes, I have reviewed the "How To..." documentation, but don't see anything regarding consignment stock.
    We are at BW 3.0b Support Pack 25.
    Lisa.

    Thanks, Ken.   I don't know that this note actually helped me, but I did another review of OSS notes.  We have applied 3 of them (726485, 756151, 762219) and our consignment issue has been resolved.
    Thanks for pointing me back in the right direction!
    Lisa.

  • Inventory management with SnapShots

    Hi
    I've got this document, "How to handle inventory management scenarios in BW".
    It's generally very clear, no problem to understand the standard solution (0IC_C03, non-cumulatives).
    But I really didn't understand the explanation about Snapshot on the monthly positions.
    So I ask someone to explain how does the concept work.
    Example:
    The document refers to material movements in 01.2004 and 03.2004.
    Question 1:
    What are the values posted to the DSO and to the InfoCube after initial load (after the first load of datasources BX and BF/UM) ???
    Will we have registers to 01.2004, 02.2004, 03.2004 and 12.9999, both in the DSO and in the InfoCube ?
    How does month 12.9999 work?
    Question 2:
    What are the values posted to the DSO and to the InfoCube after the second BF load?
    Let's suppose 2 movements in 04.2004 and 2 movements in 05.2004.
    Will we add registers to 04.2004 and 05.2004 both in the DSO and in the Cube?
    Thanks in advance.
    Cesar Menezes

    Hi Cesar,
    Not sure if this could be helpful.. but still sharing..
    http://www.biportal.org/discussion_forum?mode=MessageList&eid=350671
    As even I want to understand differences between 2 methods.. Snapshot and 0IC_C03 (non cumulative)
    Could you find any leads?
    Regards, Vittali

  • Using Inventory Management in BI

    We are trying to make use of inventory data in BI.  Weu2019ve installed business content for the cube 0IC_C03 and followed the steps in u2018How tou2026 Handle Inventory Management Scenarios in BWu2019 to get the data to the cube.   The best I can understand I've loaded and compressed in the right order.
    When we run a report it only seems to be reporting on the opening balance as defined in the 2LIS_03_BX load. It does not appear to be looking at the material movements as loaded in 2LIS_03_BF to calculate balances in the past. We installed from business content the Stock Overview report. Here is a sample of what Iu2019m seeing when drilled into a specific material that I know had inventory movements in 07 & 08 of 2008:
    06/2008  1,002 EA
    07/2008  1,002 EA
    08/2008  1,002 EA
    09/2008  1,002 EA
    10/2008  1,002 EA
    Anybody have any suggestions on what I need to look at?  My understanding was that the query would used the material movements to calculate the balances for those months.
    Thanks,
    Chris

    Hi,
    If you followed the steps correctly you must get the correct values in BW report and it will match with MB5B in ECC.
    Do like this...
    If you have any opening stock problem, please run the report
    SAP_REFPOINT_COMPLETE and select Insert of Missing Records
    and then check the data in the cube.
    While checking data in MB5B, you need to give proper selections i.e. date and check valuated stock radio button.
    Note: check what are date ranges that are you are giving in BW report and in ECC
    Thanks
    Reddy

  • Inventory Management - Snapshot Scenario

    Hi,
    We are implementing the Snapshot scenario for inventory management based on the "How to Handle Inventory Management Scenarios in BW" and am facing the problem on the point 51 in the document.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    "51. Create a start routine to multiplicate the old row with minus 1, set the record mode to R “Reverse-Image” and create a new row with the month “12.9999”, if the ...."
    the logic seems to be incomplete. Has anyone implemented this scenario. Please let me know what is the missing piece.
    Thanks
    RK

    I am only in design phase. I have post this message because the How to guide is old and I would know if someone have find a new solution ( with less step to reduce development phase).
    As not recent solution is provided, I use the how to guide and adapt because I have more indicator to implement in my solution.

Maybe you are looking for