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

Similar Messages

  • Colum Chart - (3-D) Stacked : compatible with negative values ?!

    Hi,
    In our VC model we are showing a Column Chart - 3-D Stacked.
    On our development server everything works fine. (the query gives positive values for the KPI's only btw)
    In production the bar chart is not being displayed. The bar remains on value 0. I'm quite sure this is related to the fact that we have some negative values on production for some of our keyfigures that we need in the chart. Many others are positive. This is not compatible with stacked charts I think, but.....on our quality environment the chart works fine with negative values for the same KPI's as well. The negative values are more or less ignored in the graph on quality.
    So my question is : Is it correct that negative values are officialy not compatible with VC stacked charts ? Why is it then working (ignoring the negative values) in some circumstances and other circumstances not ? The only difference between quality and production is that the KPI values are different but the same KPI's are negative anyway on these environments. The models (queries and VC model) were transported from dev->QA and to production.
    thanks for any feedback.

    Hi Todd,
    Depending how you look at costs, it's not expensive.
    A single developer license of Anychart 5 costs USD 499.00 - 15% if you use the APEX15 promotion code.
    If you spend a couple of days trying to integrate with something else you easily went over that amount.
    So really, it depends in which perspective you look at it. The workaround with Excel, is that really an option? How long would it take for every person wanting to see that screen? How long would it take before you get to $440?
    Anyway if you wait till next year, Anychart 5 is included in APEX 4.0 and you have it out of the box.
    Just my thoughts,
    Dimitri

  • 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

  • Production order with negative amount for settlement in to Material for MAP

    Hi All,
    When I am trying to settle some production orders, it is giving me an error "Moving average price for material is negative" and doesnot let me settle them. we have maintained our materials at MAP and settle our production order variances to material to adjust its MAP. In these orders, it is trying to settle negative value, which is greater than the total value of the stock of materials and if settled leaving some of the stock with negative value. does any body has this situation and what would be the solution for this ?
    Thanks
    MKR

    Hi,
    This is Pavan Fronm IBGroup Rajnandgaon.
    To My Knowledge,
    When U Settle the Production Order, the Diffence Between the Target cost and Actual cost(MAP) of Finished Material hits the Material Account of the finished goods.
    Say Suppose,
    Target cost (Production Cost) =   Cost of Raw material + consumable,   =  10
                                                    Activity ( Labour, Power, etc)              =    5
                                                    Overheads.                                        =    2
                                                                                    17
    Actual Cost is ur Finished Material (MAP). = 18
    CASE 1:
    Now the system calculate the difference as 17 - 18 = -1 Rs , it try to reduce from Material Cost,
    Now in case if Material has the stock say 1 unit.
    it will reduce the cost of material by 1 rs in Material Master.
    If the Material has no stock , as we know the system try to reduce the cost from zero stock tends to
    give us a message saying
    MOVING AVERAGE PRICE OF MATERIAL IS NEGATIVE.
    CASE 2:
    If Target - Actual is say +1 RS it increases the material price to 1 Rupee, if stock is Zero , then 1 Rupee
    hits the Price Difference
    CASE 3: *STANDARD PRICE INDICATOR*
    In case of Standard Price indicator Every thing beyone the Material Price , whether respect to negative
    variance  or positive variance hits the price difference.
    So I request u to settle the order if u use MAP for Finished goods befor dispatch of finished good to calculate actual production cost for ur finished material..
    We can Also use MR21 for price change if the stock has dispatched befor settlement, but it is not suggestable to my knowledge hence ur material wont carry actual production cost if that is thae case.
    Please Correct if I m Wrong.
    Regards
    J .K .PAVAN KUMAR
    SAP PP-PI Consultant
    Edited by: PAVANIDLUR on Mar 30, 2009 9:05 PM
    Edited by: PAVANIDLUR on Mar 30, 2009 9:09 PM
    Edited by: PAVANIDLUR on Mar 30, 2009 9:11 PM

  • Service PO Creation With Negative value

    Hi all,
    I am trying to create a Services PO using the BAPI 'BAPI_PO_CREATE1'
    In my scenario, First time PO will create with negative value.
    Then I will remove some conditions in Services line.
    Then PO value will becomes positive.
    When i create the bapi in ME21N, its working fine. Net values of PO become negative.
    But When I try the same using the BAPI, net price of the PO stored as 0(ZERO).
    If I create a PO with positive value using the same BAPI, everything is fine.
    If I change the PO after creation(removing the service line to make bapi value as positive), Net values are doubled since value stored as zero instead of negative value.
    Kindly help me to get out of this issue.
    Note: I need to create a Services PO with negative value using the BAPI
    Thanks in advance.

    Hi,
    No need to create service PO with negative quantity!
    If payment not done for your servicePO, you can cancel invoice document and then revoke SES.
    If any other process involved you can do subsequent debit or subsequent credit  for your service PO in t.code:MIRO.
    Regards,
    Biju K

  • Flex char 100% with negative values.

    Hello.
    I have in my app a chart (cartessianchart) with a columnset
    of 100% columseries.
    All is fine until negative values appear in the series. For
    those negative values, the representation dissapears.
    I have ported my app to use "stacked" series instead of 100%
    ones and i make the 100% conversion programatically.. but this
    seems to me like reinventing the wheel..
    Perhaps it is not possible to use 100% bars with negative
    values...
    Could you take a look to the code i submit and send me your
    ideas?
    Thanks

    Hi Aman,
    DB not restarted during this time.. we don't have production access. we will get awr report automatically from customer daily. also i am getting issue in our local environment v$rowcache view gets values is negative for dc_users and dc_tablespaces parameter may be it's related production issue...

  • Apex 3.2 SVG Chart - How to plot Stacked Bar With Negative Values ?

    Currently Apex 3.2 Flash Chart (AnyChart 3.x) does not support Stacked bars with negative values.
    I try with SVG Stacked bars with positive values only, chart ploting works fine. When I add a new series with negative values (i.e -1) and I get a blank Chart region with no error.
    Based on this statement from Apex's documentation:
    *"AxisLine Indicates zero on charts that have negative values."*
    I appreciate your help on how to translate this statement into action ?
    (i.e how to override .Axisline class in CSS section ?)
    Thank you very much for your time.

    User614143,
    try to add the minumm negative value (but positive) to the parameter for the axis.
    e.g. show value+3000 (assuming -3000 is the minimum value)
    If you don't have a limitation for the negative values, it doesn't work. (or try to calculate first the most negative value in a before header process)
    hope this helps.
    Leo

  • Acquisition of an Asset with Negative value

    Hi Gurus,
    How to do acquisition of an asset with negative value?
    Please tell me the Tcode for doing this transaction.
    Please revert asap.
    Thank You

    Hi,
    The business scenario is.............
    We have to charge some interest on asset last year but we have not charged it.
    Now asset value is zero and if we charge interest on it, it will go to negative.
    That's we are thinking to create new asset with negative value.
    Hope this will help you understand.
    Please revert asap.
    Thank You

  • Negative values on customer consignment stock

    Hello,
    Is it possible to have negative values on customer consignment stock?
    i.e. the same material is sent to a customer, as consignment stock
    (special stock W), from different plants. If the material is not used
    by the customer (then it has not been billed, as it is on consignment),
    the customer can return all that stock to only one plant. This means
    that the overall stock for that material on customer consignment will
    be cero, but the standard SAP does not allow to return to one plant
    more quantity than what it was originally sent from that plant.
    Is there a possible workaround to this situation?
    Thank you.

    maybe that you sold more pieces than you had, and the material master allows negative stock on the plant/storage location.
    pls. reward points if helpful
    regards
    Roberto

  • SCCM 2012 Reporting Code Returns Same Value For Total Number Of Required Updates Per Computer

    I'm trying to make a custom report in SCCM 2012 R2 with SQL 2012 since Microsoft took out the ability to list the number of updates needed per computer. This was in WSUS reporting but is not in SCCM reporting. I've made a custom report for this but can't
    quite get it to work. The report runs but the same value for total number of updates needed shows up for every computer. I took a query from one report and am trying to get it to run inside the select statement from another report. Here is the code as it is
    right now:
    declare @CI_ID int; select @CI_ID=CI_ID from fn_rbac_ConfigurationItems(@UserSIDs)  where CIType_ID=9 and CI_UniqueID=@AuthListID
              declare @StateID int
              select @StateID=StateID from fn_rbac_StateNames(@UserSIDs)  sn where sn.StateName=@StateName and TopicType=300
              declare @RequiredUpdateCount int
              select @RequiredUpdateCount=Count(v_StateNames.Statename) from   
    v_StateNames,   
    v_Update_ComplianceStatusAll   
    Inner Join v_R_System On (v_R_System.ResourceID = v_Update_ComplianceStatusAll.ResourceID)   
    Inner Join v_UpdateInfo On (v_UpdateInfo.CI_ID = v_Update_ComplianceStatusAll.CI_ID)   
    where   
    v_StateNames.TopicType = 500 and   
    v_StateNames.StateID = v_Update_ComplianceStatusAll.Status and   
    v_StateNames.Statename = 'Update is required'   
    Group By v_R_System.Name0
              select
                ccm.ResourceID,
                rs.Name0+isnull('.'+rs.Resource_Domain_or_Workgr0, '') as MachineName,
                rs.User_Domain0+'\'+User_Name0 as LastLoggedOnUser,
                asite.SMS_Assigned_Sites0 as AssignedSite,
                rs.Client_Version0 as ClientVersion,
    @RequiredUpdateCount as RequiredUpdates  
              from fn_rbac_ClientCollectionMembers(@UserSIDs)  ccm
              join fn_rbac_Update_ComplianceStatusAll(@UserSIDs)  cs on cs.CI_ID=@CI_ID and cs.ResourceID=ccm.ResourceID
                and (@StateID=0 and cs.Status=0 or @StateID=1 and cs.Status in (1,3) or @StateID=2 and cs.Status=2)
              join fn_rbac_R_System(@UserSIDs)  rs on rs.ResourceID = ccm.ResourceID
              left join fn_rbac_RA_System_SMSAssignedSites(@UserSIDs)  asite on asite.ResourceID = ccm.ResourceID
              where ccm.CollectionID=@CollID
              order by MachineName
    Ben JohnsonWY

    There's plenty wrong with it. It gives you no idea of how many patches each box needs. Then you have to click on each computer, click the sort arrow by the "required" column, and count the number needed. When you have hundreds of computers to work on this
    is a big deal as it's very time consuming. What's great about the view in WSUS that had this is that it listed this for you and you could sort the required column. So if have most computers needing 2 patches, you can go find the one that needs 40 and 150 (to
    over exaggerate) and put the time on them needed to see why they're so far behind. The WSUS format was quick, easy, and informative. SCCM makes getting this info a royal PITA which is why I'm (and many others) so royally peeved at MicroShaft for removing this
    functionality, but that's what we've all come to expect from MicroShaft--just like when then took the nice colorful themes out of Office 2010 and replaced them in Office 2013 with just white, gray, and a darker gray. That's super boring and actually hurts
    my eyes.
    Ben JohnsonWY

  • 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.

  • Issue with Visibility Settings for Backgrounds and Layers

    I am using Acrobat Pro XI 11.0.10 (Windows) and having an issue with visibility settings for layers and backgrounds. I am attempting to get backgrounds to appear while viewing in Adobe Reader and Acrobat Pro but not be printed and so far have had no success.
    When using a background the Appearance Options dialogue has "Show when printing" unchecked, but "Show when displaying on screen" is checked. This results in the background not showing on the screen, and the background will only appear once the box for "Show when printing" is checked. It looks like the option for printing is dictating whether or not the background is able to appear.
    Using layers has not worked either. The background layer is set to "Never Prints", but will still show up when printed.
    I was wondering if anyone else has run into this and has a solution, or has any recommendations.
    Thanks in advance.

    Hi setrev2012,
    How are you adding the backgroud?
    The only way I can think to accomplish this is via a watermark.
    The basics...
    Open PDF in Acrobat. Choose Pages > Watermark > Add Watermark.
    Select a jpg or PDF of your background and adjust scaling options as desired.
    Then click the Appearance Options.. and uncheck the Show When Printing option.
    In this image the PDF is a blank page with the word "Test" on it. The watermark is the stamp and impression (a stock photo jpg).
    If you want a solid color background, just create a flat image of the background color for use as the watermark.
    If you have already followed the steps and still facing the issue then please share the file with me at [email protected] so that i can have a look.
    Regards,
    Rave

  • I have an issue with disappearing option for 1920x1080 in Preferences / Displays.

    Recently updated to 10.9 - have all updates installed - Mid 2010 iMac 21.5.
    I have an issue with disappearing option for 1920x1080 in Preferences / Displays. - After overnight shutdown, my iMac woke up and the screen resolution of my 2nd was set at 800 x 600 - the display a Samsung S22B150 was previously working properly at 1920 x 1080.  This option is no longer available in the system preferences - highest resolution available 1600 x 1200.
    I use my mMac for Photography and use the second monitor for the interface, leaving the iMac screen as a full work area for the photos.
    I have tried:
    Power down Monitor & restart
    Shutdown & restart
    Shutdown & restart in Safe Boot Mode (options same in Prefs)
    Power down Monitor & restart in Safe Boot Mode
    Ran Disc Utility - Repaired Permissions, verified both HDD & Mac OSX
    Udated Pram
    I am now at a loss, I guess I could try a recovery, and download/install  Mavericks again, but do not wish to do this if I can help it.
    I have searched the net to see if there are any Terminal commands to enable the resolution, but can find nothing.
    Anyone out there have any ideas, please.

    Back up all data. Quit System Preferences if it's running.
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
    ~/Library/Preferences/ByHost
    In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar. Paste into the box that opens (command-V), then press return. A folder should open. If it does, look for a file with a long name that begins "com.apple.preference.displays2". There may be several such files. Move them to the Trash.
    Test.

  • Mov type for non valuated stocks

    hi friends
    please give movement type for non valuated stock items((material type)
    points will be assigned
    thanks in advance

    Movement Type defines a material movement. For what type of Material Movement do you require the movement type?
    Also, is there a reason why this should be different from that for a valuated material?
    Cheers.

  • Pro*C & SQLDA with NULL value for predicate column

    Hi: I am using a C program to update a table via a dynamic sql (method 4) and SQLDA. In the update statement predicate, I have place holders (as in TBLCOL=:C000). One of the columns in the predicate contains null values, so I set L[n] = 0, V[n] = pData (which pData[0] = '\0'), *(I[n]) = -1, and T[n] = 5 (for text). I cannot find the row that I know is there.
    I cannot change my statement to contain TBLCOL IS NULL, since I don't know ahead of time if I'm looking for rows with null values for this column. The Pro*C manual says that by setting the appropriate *(I[n]) = -1, it indicates to Oracle to simulate the "IS NULL" clause, and update the appropriate rows. In my case, I receive 1403 as SQLCODE when I use TBLCOL=:C000 vs TBLCOL IS NULL. What am I doing wrong? Thank you for your help.

    You should include these columns as well;
    ChangeType (see mxi_changetype)
    ValOwner (repository)
    UserID ("jobid=<>", usermskey, GUI (mmc), DG (dyngrp), reconcile)
    IdAudit  (This is the event task (add and del member for assignments)
    ParentAuditId (AuditID of parent which last updated the attribute, not consistent)
    ChangedBy (Holds the MSKEY of the user which last changed the attribute)
    ExpiryTime
    to make sure you get a fuller picture of the audit record.
    Your selection does not cover all events and descriptions
    br,
    Chris

Maybe you are looking for

  • How do I setup my Time Capsule as a wireless router?

    I bougt a Time Capsule and installed on an existing network to run backup for my Mac. I got it to work succesfully, but. Now I have moved, and need to use it as a wireless router and still keep running backup. How do I do this? Thanks

  • Can you Import a dump from 8.0.5 into 9i?

    We are currently running version 8.0.5 and are trying to find the best way to upgrade to 9i. I've read that you can import a dump from 8i into 9i, but does anyone know if you can do the same for 8.0.5? Thanks

  • Fonts in the Folder panel

    Is there anyway to enlarge the fonts in the folder panel? Favorites is a good size but the folders are very small for viewing. Thanks Jonathan

  • Use layer as mask on other layer?

    Hello, I wonder if it is possible to copy a layer with its layer styles and use it as a layer mask on another layer. Anyone know if its possible and how do I make it work? Thanks

  • Somebody tell me what is wrong with this statement

    CLEAR: V_NETPR. COMPUTE V_NETPR =  ZZ_LS_KUMU-NETWR / ZZ_LS_KUMU-BASMENG. ZZ_LS_KUMU-NETWR:       362000.00 ZZ_LS_KUMU-BASMENG:      960000.000 and the result is V_NETPR:            0.00 Please let me know what should i do to get the value