Negative Values for Stock Quantity in BI

Dear Experts,
I have a report based on Inventory Management Multiprovider which is executed to check the Valuated Stock Quantity for single day input entry. ( Valuated Stock Qty is a non cumulative Key figure with Inflow as Quantity Received into Valuated Stock and outflow as Quantity Issued from Valuated Stock )
So Valuated Stock Qty for a particular day = (Quantity Received into Valuated Stock till that day) - (Quantity Issued from Valuated Stock till that day).  So i think, checking the cube data in BI will not help to resolve the issue.
Issue: : When I execute the report in BI for some dates I am getting Negative Values for Valuated Stock Quantity which is wrong output.
Can this issue be resolved by filling set up tables and loading it to BI, say for last month?
Could you please suggest any other solutions available?
Also it will be helpful if you could explain what needs to be analyzed in ECC side (with T Codes)
Thanks in advance
Vinod

Hi Vinod,
try these transactions on the ECC side:
MMBE to view stock of a material
MB51 to view all material documents for your selection (i.e. material)
The business content stock reporting in BW is mainly using datasource 2LIS_03_BF for movements and 2LIS_03_UM for revaluations. For this to work you will have to have all material documents loaded into your cube.
Also have a look at this How To paper if you haven't yet.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
Best,
Ralf

Similar Messages

  • Issue with Negative Value for Total valuated stock 0VALSTCKQTY.

    Hi Experts,
    we loaded the Cube with datasources 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM.
    We mapped the quanity field from 2LIS_03_BF in transformation either into Key figures "Quantity issued from valuated stock" (0ISSVALSTCK) or "Quantity received into valuated stock" (0RECVALSTCK ) of the cube.
    For obtaining the Total Valuated stock, we used the Key figure 0VALSTCKQTY. This key figure is having the Inflow and Out flow values as 0RECVALSTCK and 0ISSVALSTCK. When i tried to check the content of 0VALSTCKQTY, the key figure  0VALSTCKQTY is not present in the infoCube content. I understood that the value for this key figure would be calculated at the time of query execution with the formula
    { Last obtained Valuated stock + (Received Valuated Stock u2013 Issued Valuated Stock ) }.
    The issue is the first records in the query is obtained with negative value for the total valuated stock 0VALSTCKQTY even though the values of Received Valuated Stock  and  Issued Valuated Stock are with Zero.  Could any one please help me on how the first record in the query is with a negative value eventhough the inflow and out flow fields of it are with Zero.
    Many Thanks in advance.
    Jeswanth

    Hi Srini,
    I observed an interresting reason for the stock being with negative in the first record.
    Issue : While executing the BEx report, we have the first record with a negative value.
    Let me explain with an example
    Material  : XYZ
    Plant      : A
    Date of Stock Initialization for data source 2LIS_03_BX -
    >  12th April 2009.
    So on 12 Th April 2009 consider that we have a stock in store with a value of 2640.
    Then we have loaded wih Data source 2LIS_03_BF for all Historic Movement types.
    At the time of query execution we will have the first record with a negative of available stock present on the day of initialization .
    So, as we have initilized the data source 2LIS_03_BX on 12 th April 2009, we have at that time a stock of 2640 in availability.
    Exactly with the same value of 2640, we are having a negative value i.e. -2640.
    and also one more point to be noted is ...as we have initialized the data source 2LIS_03_BX on 12 th APril 2009...it has created a
    opening balance of 2640 on the day of initiailization i.e on 12 th April 2009 in infocube....(which is an extra record...)...so if the previous record of 12,04,2009 is having some value in it..then it will get added to 2640 EA..which will give incorrect stock
    So in the query the records will appear in the below following manner
    Calendar Day     Total stock                                                                Received stock                                          Issued Stock         
    28.12.2005 --->  - 2640 EA
    29.12.2005 --->    2000 EA                                                                       640 EA                                                        0
    10.04.2009 --->      0                                                                                0                                                               2000 EA      
    11.04.2009 -
    >    0                                                                                0                                                                0          
                                 (For making
                                  the earlier record of  initilization to 0  a negative value -2640 EA is created in the first record )
    12.04.2009 (Initializtion day) --->  2640 EA                                                 0                                                                0
    13.04.2009 
    the day before initialization the total stock will be 0 due to the negative effect introduced by the first record and from the day of initialization the records will be the accurate values...  On 12 th april 2009 we can see that a stock of 2640 is brought into the total stock. In fact if there is no negative value i.e. -2640 in the first record then ...the value on 11.04.2009 will be 2640 Ea and this will get summed up with the Opening balance of 2640 EA created by 2LIS_03_BX on the day of intitialization. So on 12 .04. 2009 the total stock will be shown as 5280 EA...so in order to prevent the double value only we observed that the first record is created with the negative of available stock present on the initialization ...to make the record before the day of initialization i.e. 11.04.2009...to be 0...so that from 12 th April 2009 ..will start to see the actual total stock in the query result...
    This is happening only if we use  both the data sources 2LIS_03_BX and 2LIS_03_BF  for loading into BW.....
    If we load alone by 2LIS_03_BF ...then as 2LIS_03_BX is ruled out in the loading...then no negative of available stock will be created ...because there will be bno opening balance created on the day of initialization.....and the opeing balance available will be flowing into consecutive records due to the movement types and 12 th April 2009 will be shown with avaialable total stock of 2640 EA.
    Kindly let us know your opinions on this...
    Thanks.
    regards,
    Jeswanth

  • Rounding value for PR Quantity

    Dear Expert,
    Can we have rounding value for order quantity in Purchase Requisition? So we do not need to calculate the PO quantity based on the rounding value we have determined in material master / get the error  message "Order quantity violates rounding rules while we creating the Purchase order.
    And What is rounding profile? can we use this to set the rounding value for PR quantity?
    Hope to see ur feedback soon.
    Thanks
    Pauline

    Hi Dick Hua,
    Thanks for your feedback.
    i understand what you are trying to explain to me , can we do some changes / customizing from your statement, so that the manually created PR can have effect on rounding value, same as when we run the MRP.
    Can you tell me What is rounding profile used for? can I used rounding profile to solve my customizing?
    Thanks
    Pauline

  • SQL-Developer  4.0.0.13.80 Bug? No negative values for axis scale accepted

    I reported this problem already for the versions EA1 and EA2 of SQL-Developer 4 (4.0EA1 No negative values for axis scales in diagrams) but it still exists in 4.0.0.13.80:  Even if it is now possible to define the minimum and maximum values for the y-axis of a diagram, I found no way to enter negative values for the minimum value. Neither -100 nor (100) is accepted. The value always switches to 0. I have a report which shows values from -97 to 387. Automatic scaling sets the y-axis from -200 to 500 but I would prefer a scale from -100 to 400. How is this possible?
    btw.: the German translation for "scale" in the diagram settings is bad. It is translated with "Nachkommastellen" but it should be "Skalierung".

    In 4.0EA2 this topic is still not fixed.

  • Select returns negative values for unsigned datatypes in MySQL DB

    Hi, I have a table in a MySQL database where some fields are declared as "unsigned".
    Example:
    CREATE TABLE countries (
    Country_id SMALLINT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
    Number SMALLINT UNSIGNED NOT NULL
    My problem is when inside a .xsql file, I try to do a select:
    <xsql:query>
    select Number from countries where Country_id="15"
    </xsql:query>
    If inside the Database, Number always goes from 0 to 65535 (UNSIGNED SMALLINT),
    the resulting XML of that query will always show negative values if Number is
    bigger than 32767 (so it ignores the "UNSIGNED").
    Have you seen something like this before? Do you kwno what I'm doing wrong or what
    can I do to retrieve the values unsigned?
    Thanks a lot!
    David

    hi muneer
    >
    We are facing a strange issue in our R12.1.3 Ebiz instance (DB 11.2.0.1) - Solaris Sparc 64 bit - 2 node (1 node Apps, 1 node DB).
    Some of the purchase orders are having a negative purchase order number.
    SQL> select segment1 from PO_HEADERS_ALL where segment1 < '0';
    SEGMENT1
    -7951814
    -8960847please see
    Error: Purchase Order Creation Could Not Be Initiated, But PO Was Created With Negative PO Number And No Distributions [ID 789464.1]     To Bottom     
    PO Creation Process Failed In Sourcing And Creates Document With Negative Numbers [ID 1479616.1]
    Purchase Order Receipt FAQ (P4312) [ID 1306869.1]
    How it could happen. Any suggestions please !looks like a bug
    Can a Purchase Order (PO) Be Created With Negative Quantity or Price? [ID 241389.1]
    AppsMasti
    Sharing is caring

  • Table for Stock quantity

    Hi all,
    Please tell me the table  which has got stock quantity( field in it) for a certain material.
    Thanks,
    cs

    Hi CS,
    Check out tables MARD , BSIM
    Most material stock data can be located in table MARD. LABST for actual, VMLAB for previos month's stock,
    Hope it will solve ur problem..
    <REMOVED BY MODERATOR>
    Thanks & Regards
    ilesh 24x7
    Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:41 PM

  • Negative values for Custom field in SAP coding block !

    Hi All,
    Hope all of you are doing fine.
    I need your valuable suggestion/possible workaround for the following requirement.
    u2022 The project requires me to add a custom new field to SAP coding block, which can take negative numeric values.
    u2022 The standard u201Caddition of custom fieldu201D configuration allows me to have the data type of the newly added custom field as either NUMC or CHAR. NUMC data type does not allow negative values. Standard configuration does not allow me to choose other data types (for custom field addition) like QUAN which can allow negative values (by checking the Sign at domain level in data type).
    u2022 Moreover, once I have added the custom field, itu2019s not possible to change the data type of the newly added field (say from NUMC to QUAN).
    I wanted to know if anyone of you have any project experience/knowledge about possible workaround, where we can add a custom field in SAP coding block, which can accept negative numeric values (through standard configuration or otherwise).

    No experience on that, but I strongly advise you to not trying to do something else than what was designed by SAP. So, you can create a character type field, with for example a field exit (though this technology is obsolete, it's very useful in that case) to validate its content (and reformat it if needed).
    Note that from a functional perspective, I think an amount is strange in the coding block, so maybe ask the functional people to know why they need it...

  • How to remove negative values for non-cumulative amount

    Hello
    I have a requirement from the user, wherein he needs to see the balance amount from credit and debit without calendar day being a factor. Hence, they do not need a bank passbook kind of scenario.
    I kept the balance amount aggregation as sum+last value. It works fine when I keep calendar day in rows. However, removing it shows negative value in the balance amount in case of just debit.
    They wish to see 30,000 on 07.12.2014 and 25,000 on 04.02.2015 in Non-cumulative key figure column. This works if I drag 0calday, but doesnt work in this scenario.
    Is it possible?

    Hi Yasemin
    Credit & Debit are inflow and outflow amount key figures. The user want the data somewhat like this:-
    GL Account No.
    Credit
    Debit
    Non Cumulative Balance
    1
    1000
    1000
    1
    500
    500
    1
    100
    400
    However, as of now, I get this data only when I keep 0calday in rows. If I remove it the data turns into this:-
    GL Account No.
    Credit
    Debit
    Non Cumulative Balance
    1
    1000
    1000
    1
    500
    -500
    1
    100
    -100
    I also tried suppressing result rows, yet it didnt work. This scenario is sort of like an account passbook debit and credit amount balance report, but they want that amount coming in without the 0calday row.

  • Multiple GR values for same quantity

    Hello all SAP MM Gurus,
    I have a strange problem. I have a MM scheduling agreement 5500013812 and in this agreement there is one line item for material 651660. The GR has been done for this line item a number of times since 2009. But when I went to purchase order history of this line item, I found that for a quantity of 500 PCs, the system has posted different amounts.
    For example, when the GR was done on 02/21/2011 for qty 500, the amount was 706.68 EUR. When the GR was done on 01/31/2011 for qty 500, the amount was 776.94 and when the GR was done on 12/13/2010 for qty 500, the amount posted was 765.57 EUR. This is really puzzling me since there are no price changes in Material master record or in MM scheduling agreement. There are no alloy surcharge price changes also. But still, why the system is posting different amounts for same quantity of this material, I don't understand.
    Can someone please tell me whether I am missing something somewhere? Your suggestion would be very much helpful for me in resolving this issue.
    Thanks and Regards,
    Umakanth

    this? :-(
    SQL> WITH t AS
      2    (SELECT 'SCOTT' NAME ,'jefferson rd' address FROM dual
      3     UNION ALL
      4    SELECT 'KODY', 'milburn'    FROM dual
      5     UNION ALL
      6    SELECT  'ZACH', 'westlake rd'     FROM dual
      7     UNION ALL
      8    SELECT  'KAREN', 'camarillo'    FROM dual
      9     UNION ALL
    10    SELECT 'MILLER', 'jefferson rd'     FROM dual
    11     UNION ALL
    12    SELECT   'THOMAS', 'milburn'   FROM dual
    13     )
    14  SELECT *
    15  FROM t
    16  WHERE address IN (SELECT address
    17                    FROM t
    18                   GROUP BY address
    19                    HAVING COUNT(*)>1);
    NAME   ADDRESS
    SCOTT  jefferson rd
    MILLER jefferson rd
    KODY   milburn
    THOMAS milburn

  • Stock value for stock transfer from depot (RG23D) to manufacturing (RG23A)

    Dear all,
    The forum posts that I found are all relating to the process of how to do stock transfer from depot plant to manufacturing plant.
    The question I want to post is relating to the transferred stock value.
    When stock first goes into depot plant (RG23D), the excise duties (CVD, Education Cess, Higher Education Cess, Secondary Education Cess) are all inventorized. However, in manufacturing plant (RG23A), they are CENVATABLE and not inventorized.
    In the transfer of stock from depot to manufacturing, how can we split out the stock value from depot and take out the excise duties to CENVAT in manufacturing plant?
    If using Stock Transfer process (move stock from depot to manufacturing),
    1. Create Stock Transfer Order in ME21N using UD order type
            no accounting
    2. Create DO in VL10B and goods issue
    During goods issue, moving average of stock in depot plant, will increase stock with the same value in manufacturing plant and reduce the stock value in depot plant. How can we reduce the stock value transferred to manufacturing plant by the original excise duties amount, and pass this amount into J1IEX? Is it done in this step or later steps?
       Dr Stock into manufacturing plant  [this value by right, should be reduced as it consists of original excise duties in RG23D?]
            Cr Stock from depot plant
    3. J1IJ- RG23D selection for excise invoice for delivery at depot
        no accounting
    4. VF01 for proforma invoice
       no accounting
    5. MIGO into manufacturing plant (capture excise invoice)- part 1 register. the excise duties can be manually keyed in based on the original RG23D entries when stock is first brought into originating depot plant
         no accounting
    6. Enter Incoming Excise Invoice by J1IEX
         Dr CENVAT Input AED
         Dr CENVAT Input BED
         Dr RG23A ECess
         Dr RG23A SHECess
               Cr CENVAT clearing
    7. Question: Where to Debit CENVAT clearing? In normal domestic purchase process of raw materials into manufacturing plant, Dr CENVAT clearing will be posted during MIRO time.
    If this process is not the correct way to do, please advise the standard SAP recommended way to transfer from depot to manufacturing plant. 
    Thank you in advance.

    You have to add the Excise duty condition types as a Delivery cost Pricing condition types in STO Pricing procedure and have used them in STO. In Pricing procedure, there is no concept of Deductible and Non Deductible. So, what ever the Delivery cost condition you add in Pricing procedure, the amount gets loaded on to the Material cost..To avoid this, a negative condition type needs to be inserted in Pricing procedure with a different accrual key.
    You have to add One Positive condition and One Negative Condition type for the same. Negative condition type is to reduce the condition value from the Material cost during GI.
    Try this scenario in development server and revert back with your observations.

  • Negative values for Purchase Order Number

    Hi,
    We are facing a strange issue in our R12.1.3 Ebiz instance (DB 11.2.0.1) - Solaris Sparc 64 bit - 2 node (1 node Apps, 1 node DB).
    Some of the purchase orders are having a negative purchase order number.
    SQL> select segment1 from PO_HEADERS_ALL where segment1 < '0';
    SEGMENT1
    -7951814
    -8960847
    How it could happen. Any suggestions please !

    hi muneer
    >
    We are facing a strange issue in our R12.1.3 Ebiz instance (DB 11.2.0.1) - Solaris Sparc 64 bit - 2 node (1 node Apps, 1 node DB).
    Some of the purchase orders are having a negative purchase order number.
    SQL> select segment1 from PO_HEADERS_ALL where segment1 < '0';
    SEGMENT1
    -7951814
    -8960847please see
    Error: Purchase Order Creation Could Not Be Initiated, But PO Was Created With Negative PO Number And No Distributions [ID 789464.1]     To Bottom     
    PO Creation Process Failed In Sourcing And Creates Document With Negative Numbers [ID 1479616.1]
    Purchase Order Receipt FAQ (P4312) [ID 1306869.1]
    How it could happen. Any suggestions please !looks like a bug
    Can a Purchase Order (PO) Be Created With Negative Quantity or Price? [ID 241389.1]
    AppsMasti
    Sharing is caring

  • Negative Values for condition in BAPI_SALESORDER_SIMULATE

    Hey Guys,
    I have a problem with a condition type in order_header_in. I fill order_header_in-CD_TYPE1 with the condition key 'ZMIN' and order_header_in-CD_VALUE1 with '-8'. Because I want to subtract 8 % from every netto value of the material prices.
    The problem is that the bapi calculates 8% of every netto value, but adds the 8% to every netto value. I want to subtract 8%.
    The bapi adds no matter if I fill order_header_in-CD_VALUE1 with '-8' or with '8'.
    Can anybody help me?
    Greetings
    Timo

    Sorry for the question. I recognized that the condition type is customized as a addition type. So it is correct that the value is added to the netto value!

  • Negative Stock for Zero Quantity

    Hello SDN Gurus,
    We are facing a problme in Inventory .
    We have loaded the data for 2LIS_03_BX and initizalized the Stock and compress the cube with marker update.
    Later loaded the data for 2LIS_03_BF and compress the cube with the Marker.
    since beginning that is from 01.2006 for ZERO stock we are getting the negative values. As i have serarch for losts of mateirla and found that it cound be incorrect compression hence loaded the data 5 times till now but same issue. Loading has been done by different people still the issue is the same.
    Can any one has any idea where is the problem.
    Quick response is much appreciable.
    Thanks

    Hi,
    Can u check if your are getting the proper values for the stock from the date of initialization.
    If the values are true since from the date of initialization and the prior values to it are negative it means that you have loaded using data sources 2LIS_03_BX amd 2LIS_03_BF.
    When ever the data source 2LIS_03_BX is used , it will create the opening balance of stock on initialization day. This data source has to be used when u dont want to load the archived material documents using 2LIS_03_BF.
    so, the values prior to initialization day will be negative because the system assumes that as you have done loading with 2LIS_03_BX, u have decided not to load any archived records. So, some incomplete records are loaded. So, all records prior to initialization day will be marked with negative values and negative value of the first record will be the negative of opening balance created on initialization. The negative value for the first record is created just to wliminate the incorrect data that may be shown in the report if at all some documents are archived and not loaded using 2LIS_03_BF.
    But from the date of initialization you will start seeing correct values for the stock as opening balance is created on initialization day and follow on material documents are loaded by 2LIS_03_BF.
    If you decide to load archived records then use alone 2LIS_03_BF.  This will bring all material movememt records into infocube and the correct stock value will flow.
    Thanks.
    Jeswanth

  • Stock Quantity & Stock Value at vendor on a Particular Date

    HI,
    My client requirement is to get a report for Stock Quantity & Stock Value at vendor on a Particular Date .
    Please give suggestions to get the stock & value in tables or Any standard T.codes
    Note : I am getting Stock qty on paricular date In MB5B & S_P00_07000140 , but not getting the values
    Regards,
    PR

    HI,
    we can get this report thru SAP standard without vendor selection, do the following steps
    1. goto MB5B
    2. Give plant /material details
    3. give selection date
    4. select stock type option as special stock
    5. select special stoct indicator as "O" for material provided to vendor
    excute the same , you will get a report with qty and value posted for  the vendor from the plant
    here by copying this standard program we can add one more input parameter  as vendor, then we can get this report vendorwise also.
    try this and let us know
    Regards
    Sridharan

  • Difference in stock value with same quantity

    Dear Friends,
    one of my user has a problem regarding difference in Stock value. when he had run the report MB52 up to 31/03/2011, and  saved his value in temp file  and now in current date he is using report MC.9 for same material up to 03/2011. now his problem is difference in stock value while stock quantity is same for particular material. and this thing is correct in all other material.
    Are MB52 and MC.9 both reports give same data for same date like up to 31/03/2011 ? if yes then where would be the problem? why difference is coming and what should i need to check? please guide me, i am new in MM.
    Thanks
    Vijay Sharma

    MC.9 is a statistic transaction which is using info structure information as basis, while MB52 basis is normal business data.
    Updates for info structure have less priority, which means that it can happen that the update fails, but this does not effect the business transaction in general, and the transaction is not rolled back, which then leads to inconsistencies between both.
    To solve this you would need to rebuild the information structure (which is only possible if no postings are made in this time of regeneration).

Maybe you are looking for

  • cfif help

    Hello I'm new to CF and need some help with a form. I have three radio buttons and one is <cfinput type="radio" name="rsvp" value="Yes, my spouse/partner will also attend"> (Other two are just Yes and No values with same name="rsvp") and if you selec

  • Core dump (WL - 4.5 and Solaris 7)

    We are using WebLogic 4.5 on Solaris 7. Some times the WebLogic dumps core and exits. There is no pattern for it. I am attaching the core generated: Could there be a solution some one knows of. Thanks. -manish kghalo bad size 0x15330128 ********** In

  • System and mouse blocking

    Hi all. I hope to be as clear as possible describing my problem. I've installed my arch 0.7 version on my notebook. I configured the main thing, installed my favourite programs etc. over kde. Some days ago, I upgraded everything to vodoo version. But

  • My icloud mail has not worked for 2 days.  the tech support people say they dont even know there is a problem.

    My mail has not worked for two days - in the US.  The tech support people on the phone claim they don't even know there is a proplem.  Anyone know whats going on? 

  • Best Practice Analyzer Results: Health Report Error EDS AlertValue Unhealthy.

    I ran the Microsoft Office 365 Best Practices Analyzer Beta 1.0 and I get the following error: C:\windows\system32>Get-healthreport -rollupgroup servername.. then I got lots of results.. I narrow it to the following! PSComputerName          : kaneex1