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

Similar Messages

  • Inventory: incorrect valuated stock values

    this is regarding strange behavior of value of valuated stock (0VALSTCKVAL) in inventory management cube.
    after initializing 2LIS_03_BX and 2LIS_03_BF, we're running daily deltas on 2LIS_03_BF.
    keyfigure ValStockValue shows incorrect value in report.
    This is a non-cumulative keyfigure based on inflow and outflow of 0RECVS_VAL and 0ISSVS_VAL respectively.
    in the report drilled down on daily level, 0RECVS_VAL and 0ISSVS_VAL show blank values but valuated stock shows some value. The stock quantities on these days are also none. the incorrect valuated value carried forward to all other days, hence affecting the overall value.
    Please tell  me how to fix this issue...i've researched alot here without much help.
    Thanks

    Hi,
    Take a look at OSS Note 745788 - Non-cumulative mgmnt in BW: Verifying and correcting data
    Regards.

  • Inventory Valuated Stock Value is not matching with R/3

    Dear Friends,
    we are in a big mess.Needed your help urgently
    We are in sap netweaver 2004s.We are implementing the standard business content only for one of our client.We have loaded the Inventory data into BW by following "How to handle the Inventory Management" document.
    We have loaded the inventory data into 0IC_C03 using standard transferrules and update rules.
    The sequence we followed as:
    IN R/3
    Filled the setup tables for during the posting free time(non-business hours)
    Stock intialization
    Material Movements
    Evaluations
    IN BW
    We had loaded the data into only 0IC_C03 cube using standard update rules(no changes done)
    2LIS_03_BX-Generate intial stock with no marker update unchecked
    2LIS_03_BF-Full update with no marker update checked
    2LIS_03_UM-Full update with no marker update checked
    When we compared the data between R/3 and BW they are many materials "Valuated Stock Value" is not matching with R/3.For some materials value is matching with R/3 but for some other materials its not matching with R/3.Some materials are showing the negative figures for Valuated Stock Value.
    But the valuated quantity value is exactly matching with R/3 for all the materials.
    We have tryed to many ways in the past 10 days to find out the solution.We have followd the notes 589024 and implemented the formula.But no luck so far.
    Needed your help..Any suggestions would be highly appreciated.
    Please help us with your inputs.
    Thanks in advance.
    Regards
    Soujanya

    Hi Sudheer,
    No We haven't implemented this note.
    In start routine we already have the first start routine in the note.
    INSERT BEGIN
      loop at DATA_PACKAGE.
        if DATA_PACKAGE-stockcat eq 'V' or
           DATA_PACKAGE-stocktype eq 'V'.
          delete DATA_PACKAGE.
        endif.
      endloop.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    INSERT END
    We should comment the above start routine and follow the remaining section as below?
    ==========================================================
    Notes:
    However, if you want a report of these consumption values, proceed as follows:
    1. Do not use the start routine listed above.
    2. Create two new key figures (cumulative values):
       1. Material consumption value (ZVERWERT, for example) with unit 0BASE_UOM
       2. Material consumption quantity (ZVERMENGE, for example) with unit 0LOC_CURRCY
    3. Include these in the InfoCube definition.
    4. Update these key figures from 2LIS_03_BF as follows:
    -> material consumption value:
    IF ( COMM_STRUCTURE-processkey EQ '100'   "Other Issues
        OR COMM_STRUCTURE-processkey EQ '101'   "Returns / Vendor
        OR COMM_STRUCTURE-processkey EQ '104'   "Material Transfer
        OR COMM_STRUCTURE-processkey EQ '105'   "Stock Adjustment InvD
        OR COMM_STRUCTURE-processkey EQ '106'   "Stock Adjustment Other
        OR COMM_STRUCTURE-processkey EQ '110' ) "Issues from Stock
                                                "Transfers
       AND COMM_STRUCTURE-bwapplnm EQ 'MM'
    only movements which are relevant for stock control
       AND COMM_STRUCTURE-cppvlc <> 0
       AND COMM_STRUCTURE-stockcat EQ 'V'
       AND COMM_STRUCUTRE-stocktype EQ 'V'.
    result value of the routine
        RESULT = -1 * COMM_STRUCTURE-cppvlc.
    if the returncode is zero, the result will be updated
        RETURNCODE = 0.
    ELSEIF ( COMM_STRUCTURE-processkey EQ '000'   "Other Receipts
        OR COMM_STRUCTURE-processkey EQ '001'   "Goods Receipt/Vendor
        OR COMM_STRUCTURE-processkey EQ '004'   "Material Transfer/"Receipt
        OR COMM_STRUCTURE-processkey EQ '005'   "Stock Adjustment InvD
        OR COMM_STRUCTURE-processkey EQ '006'   "Stock Adjustment Other
        OR COMM_STRUCTURE-processkey EQ '010' ) "Receipt from Stock
                                                "Transfer
    only movements which are relevant for stock control
       AND COMM_STRUCTURE-cppvlc <> 0
       AND COMM_STRUCTURE-stockcat EQ 'V'
       AND COMM_STRUCUTRE-stocktype EQ 'V'.
    result value of the routine
        RESULT = COMM_STRUCTURE-cppvlc.
    if the returncode is zero, the result will be updated
        RETURNCODE = 0.
      ELSE.
    if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 4.
      ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0..
    -> material consumption quantity:
    The code is the same, but COMM_STRUCTURE-cpquabu replaces COMM_STRUCTURE-cppvlc.
    -> The characteristic value calculation is the same for the other key figures.
    5. Update these key figures from the 2LIS_03_UM in the same way.
    =======================================================

  • BW showing Negative Material Valuated stock value !

    Experts,
    in BW i am i am getting all Negative valuated stock value for all material. can anybody suggest what could be the issue ?
    in R/3 if the valuated value is $100, then in bw its showing the same value but Negative.
    please help

    Hi,
    I had loaded the infocube not correctly. see http://www.google.de/url?sa=t&rct=j&q=inventory%20management%20how.to&source=web&cd=8&ved=0CHgQFjAH&url=http%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Findex%3Frid%3D%2Flibrary%2Fuuid%2Ff83be790-0201-0010-4fb0-98bd7c01e328%26overridelayout%3Dtrue&ei=SSxFT9jtLIf04QTq2IGsAw&usg=AFQjCNET9rFiwqY_VrvvCkCktnPxHNhRvg&sig2=2Q5GFescGLZrCbQJXXggAA&cad=rja
    1. load datasource 2lis_03_bx into the infocube
    2. compress the request -> check the flag "marker update". You have to refresh the stock (flag is not set).
    3. check the actual stock with a query. Compare it with the ERP - transaction MB5B.
    4. load the datasource 2lis_03_bf with INIT.
    5. compress the request -> check the flag "marker update". Now, DON'T to refresh the stock (flag is set).
    6. check the historial stock with a query. Compare it with the ERP - transaction MB5B.
    now, daily:
    7. load the datasource 2lis_03_bf with DELTA.
    8. compress the request -> check the flag "marker update". Now, you have to refresh the stock (flag is not set).
    9. check the actual stock with a query. Compare it with the ERP - transaction MB5B.
    Sven

  • No Output/Values for valuated stock value(0VALSTCKVAL).

    Hi,
    I have valuated stock value(0VALSTCKVAL) in the inventory cube. This is non-cululative key figures with inflwo and outflow (0RECVS_VAL and 0ISSVS_VAL). This contains the data in the cube (atleast 0RECVS_VAL contains the data).
    But to surprise 0VALSTCKVAL do not show any data in the  query result (just show zero values)
    I have checked the aggregation at infoobject level - it is Aggregation- sum and Exception Aggregation-last value but still do not show any data.
    can some one please tell me why it happen and how to get values in the valuated stock value(0VALSTCKVAL).

    Hello,
    Have you loaded the data using BX, BF and UM into the cube and compressed the requests using proper marker updates?

  • Valuated Stock Value differs - Urgent !!!

    Hi All,
    The valuated stock value in R/3 and BW differs. We are using the standard business content for the inventory report which are the 3 datasources 2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM & Infocube 0IC_C03...
    When the query is executed the backward calculation does not give the right value for the material stock value. When checked in R/3 the value is different. My requirement is to get this material stock value correctly in my inventory report as compared with R/3.
    Is there any workaround for this or is it a bug in the business content?
    Thanks in Advance...
    Best Regards,
    Kishore

    Kishore,
       please check whether process keys rightly msintsined or not?
    Nagesh Ganisetti.

  • Valuated stock value ( 0VALSTCKVAL ) - 0IC_C03

    Hi,
    The std  non cumulative keyfig valuated stock value ( 0VALSTCKVAL ) of Inventory cube 0IC_C03 has exception aggr. as 'LAST VALUE'  with ref char as 0calday.  Could somebody throw light on the calculation of this keyfig?  The query sometimes shows the value as the diff of Issue value & Receipt value but sometimes I'm not able to derive the value that comes up in the query..
    This is really urgent. All help will be highly appreciated.
    Thanks,
    Ritu

    Hi Vijay & Jaspreet,
    Sorry for the delay in replying.. was stuck with something else. Thanks for your explanations. But still the keyfig 0VALSTCKVAL  is not consistent with the logic.  For some materials, it calculates correctly. But for some I'm not able to figure out the calculation based on the 0IC_C03 records ( based on Issueval & Receipt values).
    One e.g. is shown below:
    Plant  Material                        CalDay       Curr      <b>0ISSVS_VAL   </b> <b>0RECVS_VAL</b>
    12T1  000000100000000016     03/27/2006  USD        6.12       0.00
    12T1  000000100000000016     03/26/2006  USD     1.02     0.00
    12T1  000000100000000016     03/25/2006  USD     88.40     0.00
    12T1  000000100000000016     03/22/2006  USD     0.34     0.00
    12T1  000000100000000016     03/21/2006  USD     1.19     0.00
    12T1  000000100000000016     03/20/2006  USD     0.85     0.00
    12T1  000000100000000016     03/17/2006  USD     1.53     0.00
    12T1  000000100000000016     03/16/2006  USD     2.55     0.00
    12T1  000000100000000016     03/15/2006  USD     2.04     0.00
    12T1  000000100000000016     03/14/2006  USD     12.24     0.00
    12T1  000000100000000016     03/13/2006  USD     9.35     0.00
    12T1  000000100000000016     02/24/2006  USD     0.00     331.67
                                                                      sum      125.63     331.67
    The Query shows the values as shown below :
    Value of Valuated Stock      Receipt Value, Valuated Stock    Issue Value, Valuated Stock
    $ 242.40                                   $ 331.67                                    $ 125.63
    I'm just wondering how the 242.40 came up...
    Your input will be highly appreciated..
    Thanks,
    Ritu

  • How I manually calculate the Average Valuated Stock Value like in MC.3

    In the R/3 transaction MC.3  the  "Average Valuated Stock Value" help window shows a formula to calculate it.
    AVSV = ( begining stock value + n stock value at months end ) / ( n + 1 )
    What is the meaning of the N?. Where is this value come from.?
    I'd really appreciate any help.

    Hi
    N is the number of periods. The calculation with an example is as follows:
    Op. Stock Value on 1.12.2006: 40
    Cl. Stock Value on 31.12.2006: 80
    Op. Stock Value on 1.1.2007: 80
    Cl. Stock Value on 31.1.2007: 120
    The above can be viewed in MB5B
    In MC.3, if you choose the period 12.2006 to 01.2007, the calculations are as follows:
    AVSV for 12.2006: {40+(1*80)}/2 = 60  [N = 1 period]
    AVSV for 01.2007: {80+(1*120)}/2 = 100  [N = 1 Period]
    Total AVSV for 12.2006 to 01.2007: {40+(2*120)}/3 = 93.33 [N = 2 Periods]
    Hope this clarifies.
    Thanks

  • )IC_C03 - Value of valuated  stock value ( 0VALSTCKVAL )

    Hi,
    Could somebody please give me the formula for the standard Non-cumulative Keyfig Value of valuated  stock value (0VALSTCKVAL)?  Somehow my calculations based on Issue value & Reciept value doesn't work..
    Thanks a lot.
    Ritu

    hi
    There is a table and field in R/3 which will fetch this value directly
    Table: s032
    Field : wbwbest
    You can directly fetch data from this table
    You can look out for relation with this field and  the related tables to get a formula
    Hope this helps
    Regards
    N Ganesh

  • RE:calculated Average Valuated Stock Value

    Hi ALL,
    how to calculated Average Valuated Stock Value  logic (The sum of the daily stock value for the time frame of the analysis divided by the number of days) please guide me.
    regards,
    ravi

    Please ...........................
    guide me.......................
    how to created formula for this logic
    (The sum of the daily stock value for the time frame of the analysis divided by the number of days)
    Regards,
    ravi

  • -ve valuated stock value of material with zero stock value

    Hi,
    I am new to this forum.
    right now i am facing a severe problem in SAP.
    That is,
    we have a material in SAP which shows -ve Valuated Stock Value of material but its valuated stock quantity is zero in TC MC.9
    while in MB5B both Stock and Value are Zero.
    now we want to make the valuated stock value of material in TC MC.9 to zero.
    how can we do this.
    plz suggest
    thanks

    Hello,
    this issue may be related to incorrect postings of accouting documents, or missing accouting documents (i.e not considered price changes). Best would be to have this analysed by SAP via an OSS message.
    Kind regards
    Michael

  • Valuated stock and valuated stock value

    From where i can get information for valuated stock

    Hey,
    Use t-code-mc.9 their u can find valuated stock(quantity) and valuated stock value(price)
    regards
    mohan

  • Inventory management opening stock querry

    Hi,
    In the material movement report, it needs Opening stock, closing stock and the End Value.
    Can you please guide how I could Calculate.
    Though I calculate it by valuated stock and -1  day interval, but not getting proper value.
    Iz that necessery to append the field LABST(opening stock) and LBKUM (end Value),
    then remodeling the inventory cube 0ic_c03.
    So what will be the cmod include progame for that?
    regards,
    Balaram

    HI balaram,
    for enhancing the datasource refer the below How to - doc
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0eade6c-692a-2c10-ac86-80f6b2157791?QuickLink=index&overridelayout=true
    I have a note from the forums on the opening and Closing balance , may be you can give a try
    0VALSTCKQTY gives  Closing Balance.
    0VALSTCKQTY + Issues - Receipts = Opening Balance
    Regards,
    Sathya

  • Inventory management process key values plz

    Hi gurus,
    can anyone help me with the process key values
    in my update rules i have this for issues
    process keys= 100,101,104,105,106,110
    and for receipts 000,001,004,005,006,010
    what do they mean i am using the standard update rules
    its very urgent becoz i am getting the stock values wrong
    thanks and regards
    neelu

    hi Neel,
    check oss note 352344 - Process key + reversals in Inventory Management ?
    Symptom
    This note is a consulting note and describes the use of the process key (0PROCESSKEY) in Inventory Management (MSEG). It focusses on the way the system deals with reversed transactions for DataSources 2lis_40_s279 and 2lis_03_bf.
    To be able to use theses DataSources, you ABSOLUTELY MUST activate the transaction key generation (process key, PROCESSKEY) using Transaction MCB_ (from the OLTP IMG for BW: SBIW) (standard, retail or consumption goods).
    The following transaction keys are available
    (PROCESSKEY/Appl. Component/Description):
    000/MM        Misc. receipts
    001/MM        Goods receipt / vendor
    004/MM        Article transfer posting receipt
    005/MM        Stock correction inventory +
    006/MM        Stock correction other +
    007/IS-R      Receipt value-only article (single article
                  posting)
    010/MM        Receipt from stock transfer
    002/IS-R      Merchandise clearing receipt
    003/IS-R      GR from DC
    100/MM        Misc. issues
    101/MM        Returns / Vendor
    104/MM        Article transfer posting issue
    105/MM        Stock correction inventory -
    106/MM        Stock correction other -
    107/IS-R      Issue value-only article (single article
                  posting)
    110/MM        Issue from stock transfer
    102/IS-R      Merchandise clearing issue
    103/IS-R      GI from DC
    450/IS-R      Generic Article (not relevant)
    Remark: Transaction keys 002/003, 102/103 break down the core keys 010/110 in more detail with respect to retail processes. They are only available in an R/3 Retail.
    As you can see in the overview, the transaction keys can be divided according to receipts and issues in Inventory Management. Furthermore, the transaction keys are displayed according to reversed and regular transactions.
    A regular receipt has a debit/credit indicator "S" (SHKZG, 0DCINDIC), whereas a regular issue has a debit/credit indicator "H".
    For reverse transactions the opposite is true.
    Transaction                            D/C ind.   D/C ind.
                                            S          H
    RECEIPTS
    0 Misc. receipts                        regular    reversed
    1 Goods receipt / vendor               regular    reversed
    2 Merchandise clearing receipt        regular    reversed
    3 GR from DC                            regular    reversed
    4 Article transfer posting receipt    regular    reversed
    5 Stock correction inventory +        regular    reversed
    6 Stock correction other +            regular    reversed
    7 Receipt value-only article          regular    reversed
    10 Receipt from stock transfer        regular    reversed
    ISSUES
    100 Misc. issues                       reversed   regular
    101 Returns / vendor                   reversed   regular
    102 Merchandise clearing issue        reversed   regular
    103 GI from DC                         reversed   regular
    104 Article transfer posting issue    reversed   regular
    105 Stock correction inventory -      reversed   regular
    106 Stock correction other -          reversed   regular
    107 Issue value-only article          reversed   regular
    110 Issue from stock transfer         reversed   regular
    Note: You can also recognize a reversal for DataSource 2lis_03_bf by means of the entry 0STORNO = ´X´. The fields that are marked with X in the table are then transferred with negative +/- sign. This was not the case with DataSource 2LIS_40_S279!!! In the case of DataSource 2LIS_40_S279 more logic was required in the BW update rules to make sure that key figures were updated correctly.
    Example:
    In the delivered InfoCubes 0CP_IC_C1 (CP) and 0RT_C01 (Retail), for example in key "Stock correction +", transaction keys 5 and 6 were grouped together. Furthermore, distinction is to be made between the different stock types. Depending on which stock types you want to distinguish between in different key figures, you must use a corresponding condition (IF statement) in the update rules in the BW.
    Example (pseudo source code):
    Updating Routine "stock adjustment +" for 2lis_02_bfIF ( STOCKCAT is initial ) AND         "Evaluated stocks ( PROCESSKEY = 5 OR PROCESSKEY = 6 )._  RESULT = TRANS_AMOUNT.  RETURNCODE = 0.    "Updating Key figureELSE.  RETURNCODE = 4.    "No Updating of KeyfigureENDIF.
    The pseudo source code for 2LIS_40_S279 read as follows:
    Updating Routine "stock adjustment +"  for 2lis_40_s279IF  ( STOCKCAT is initial ) AND         "Evaluated stocks  ( PROCESSKEY = 5 OR PROCESSKEY = 6 ).    IF DCINDIC = 'S'.      RESULT = TRANS_AMOUNT.    "regular    ELSE.      RESULT = -1 * TRANS_AMOUNT.    ENDIF.    RETURNCODE = 0.    "Updating Key figureELSE.     RETURNCODE = 4.    "No Updating of KeyfigureENDIF.
    Here, the debit/credit indicator must be checked in accordance with the table above. Transactions 5 and 6 are receipts in Inventory Management. As the debit/credit indicator is set to "S", it is a regular transaction whose value(TRANS_AMOUNT) is assigned to the key figure. In the other case (debit/credit indicator = "H") it is a reversal, that is, the transaction should reverse a transaction that has already been updated. For this, the value is multiplied by -1 so that a corresponding decrease/reduction of this key figure is achieved during the update of the key figure in the InfoCube.
    This logic is no longer required for the 2LIS_03_BF (see first pseudo source code), because the reversed quantity and values are automatically provided as negative with the help of the 0STORNO field.
    Using this DataSource 2LIS_03_BF, it is for example possible to create a key figure such as "Reversed receipts", which is not a part of the Business Content delivered. The following pseudo source code of an update routine makes this clear:
    Update routine "Reversed receipts"
    IF ( PROCESSKEY = 1 ) AND   (STORNO = ´X` )  "Reverse     RESULT = -1 * TRANS_AMOUNT.     RETURNCODE = 0.ELSE.     RETURNCODE = 4.      "no update of key figure!ENDIF.
    Note:  For DataSource 2LIS_40_S279 the pseudo source code read as follows:
    Update routine "Reversed receipts"
    for 2LIS_40_S279IF ( PROCESSKEY = 1 ) AND   ( DCINDIC = H )  "Reverse     RESULT = TRANS_AMOUNT.     RETURNCODE = 0.ELSE.   RETURNCODE = 4.      "no update of key figure!ENDIF.
    To be able to understand the overall scheme more comprehensively, you should have a look at the update rules of the Standard Business Content for retail or consumption goods (for example InfoCubes 0RT_C01 or 0CP_IC_C1).

  • 0ic_c03 storage location wise - Valuated Stock Value is Blank

    Dear Gurus,
    I have successfully loaded Inventory data as per standard document.
    Stock Qty and Value both are matching correctly at Plant Level, Material Level. All scenarios tested okay.
    But as soon as I drill down further by Storage Location, It shows only Stock Qty. Stock Value becomes Blank.
    Please suggest if anything missing in transformation or any assignment or routine.
    10 marks will be given if suggestion works, for hints also I will give some marks.
    Regards,
    Sachin
    Edited by: Sachin Sawant on Jun 26, 2010 5:38 PM

    Hi,
    Please check :
    Reports in BW with storage location and stock type chars.
    SAP Note Number: 589024 
    -Vikram

Maybe you are looking for

  • Weird: Signed in = no post, not signed in = post is there

    I just posted my reply to this discussion using Firefox on my PC: https://discussions.apple.com/message/23203419#5383748 When I'm signed in, I cannot see my post, but when I'm signed out, I can see my post! This is happening on my PC in Firefox and a

  • How can I create more than one forums

    I create a forum1 base on KM Discussion iView, then I create a forum2 base on KM Discussion iView to. then I found that the forum1 and forum2 is the same forum.  when i post a topic on forum1,  i will see this topic also in forum2. would you tell me

  • GR Based invoice tick to be made done after goods receipt

    Hai, I need a way to do mass updation of GR Based Invoice tick in PO in which goods is already received. Some of POs released without this tick and migo is already done. but now I want to tick that check box but in system it is in non editable mode.

  • Debugging is not Triggered

    Hi Experts, I've the problem that the Debugging is not triggered. I found your replies in SDN. I tried in all ways that you have specified. ie: i) From SE80>UTILITIES>SETTINGS>ABAP EDITOR>DEBUGGING--> enetr the username for EXTERNAL Debugging.     ii

  • Simple animation triggered by flex event

    I need to have a simple animation, which I suppose I can created in Flash and bring in as a swf -- or can I do it in Flex alone? What I need is  a container which, when it receives an event, creates a rect and "drops" it in the container.  Each time