Opening stock for inventory cube for april 2011

Hi all,
I have loaded the issues and reciepts (material movements from 2li_03_bx) and it is working fine.
How to obtain the opening balance for 04.2011
I can see there is on key figure 0valstkvalue which is non cumulative key figure which stores the last value.
if use the key figure and use an offset based upon the calendar year month i will obtain the closing balance of 03.2011 which is the opening balance of 04.2011.
but then last month 03.2011 only contains issues and receipts and it doesnt contain the opening balance
i will given an example
opening balance 04.2011 ( to be obtained)   
issues : 120
receipts : 130
closing without opening is 10
month of 03.2011
issues : 150
receipts : 200
closing is 50 without opening
if i use the ovalstk value key figure i am getting only 50 as closing balance which is wrong as per the user
can you pls advise how to get the correct opening balance for 04.2011
thanks

Hi murali,
My earlier month thats is 03.2011
will contain only
issues and reciepts isnt it . and it doesnt contain opening balance isnt it???
so only issues - receipts will give the closing balance 
for eg 03.2011
issues = 100
receipts = 120
closing balance = 20 but the users data is 40 is the closing balance since opening balance is 20 for 03.2011
Can you pls let me know how to handle it geting closing balance 20 plus adding the opening balance of 03.2011 too
which gives 40 as closing balance for 03.2011
thanks

Similar Messages

  • Aggregates for inventory cube

    hello
    Can I use aggreagates for inventory cube (non-cumulative)?
    thanks

    Hi,
    yes, you can suggest the aggregate for non cumulative (inventory cube) but with special care of time char.  You need to include all time char in aggregates.
    also see the help doc for details on how to use aggregates with non cumulative data model.
    Dev

  • Opening stock of a material for each day for a month

    Hi ,
    Is it possible to get a opening stock of a material for each day for a month . For Example for the month of Feb From 01/02/2014 to 28/02/2014 i want to see the opening stock for each day .
    Thanks .
    Message was edited by: Jürgen L

    If you give 01.02.2014 to 28.02.2014 in MB5B report, then you will got the opening stock for 01.02.2014 and closing stock for 28.02.2014...
    the MB5B report designed like that
    It will give you the opening stock for from date and closing stock for end date...
    If you want to see the opening stock per each day, then you have to give the date each date in MB5B report...
    Like as for opening for 02.02.2014, you have to enter the from date as 02.02.2014..
    You can make your own report from copy the existing program RM07MLBD and you can add you additional code...
    Make the program output will be for each day...

  • Non-Cumulative vs. Cumulative KeyFigures for Inventory Cube Implementation?

    A non-cumulative is a non-aggregating key figure on the level of one or more objects, which is always displayed in relation to time. Generally speaking, in SAP BI data modeling, there are two options for non-cumulative management. First option is to use non-cumulative management with non-cumulative key figures. Second option is to use non-cumulative management with normal key figures (cumulative key figures). For SAP inventory management, 0IC_C03 is a standard business content cube based upon the option of non-cumulative management with non-Cumulative key figures. Due to specific business requirements (this cube is designed primarily for detailed inventory balance reconciliation, we have to enhance 0IC_C03 to add additional characteristics such as Doc Number, Movement type and so on. The original estimated size of the cube is about 100 million records since we are extracting all history records from ECC (inception to date). We spent a lot of time to debate on if we should use non-cumulative key figures based upon the  standard business content of 0IC_C03 cube. We understand that, by using Non-Cumulative key figures, the fact table will be smaller (potentially). But, there are some disadvantages such as following:
    (1) We cannot use the InfoCube together with another InfoCube with non-cumulative key figures in a MultiProvider.
    (2) The query runtime can be affected by the calculation of the non-cumulative.
    (3) The InfoCube cannot logically partition by time characteristics (e.g. fiscal year) which makes it difficult for future archiving.
    (4) It is more difficult to maintain non-cumulative InfoCube since we have added more granularity (more characteristics) into the cube.
    Thus, we have decided not to use the Cumulative key figures. Instead, we are using cumulative key figures such as Receipt Stock Quantity (0RECTOTSTCK) ,  Issue Stock Quantity(0ISSTOTSTCK)
    , Receipt Valuated Stock Value (0RECVS_VAL) and Issue Valuated Stock Value (0ISSVS_VAL). All of those four key figures are available in the InfoCube and are calculated during the update process. Based upon the study of reporting requirements, those four key figures seems to be sufficient to meet all reporting requirements.
    In addition, since we have decided not to use cumulative key figures, we have removed non-cumulative key figures from the 0IC_C03 InfoCube and logically partitioned the cube by fiscal year. Furthermore, those InfoCube are fiscally partitioned by fiscal year/period as well.
    To a large extent, we are going away from the standard business content cube, and we have a pretty customized cube here. We'd like to use this opportunity to seek some guidance from SAP BI experts. Specifically, we want to understand what we are losing here by not using non-cumulative key figures as provided by original 0IC_C03  business content cube. Your honest suggestions and comment are greatly appreciated!

    Hello Marc,
    Thanks for the reply.
    I work for Dongxin, and would like to add couple of points to the original question...
    Based on the requirements, we decided to add Doc Number and Movement type along few other characteristics into the InfoCube (Custom InfoCube - article movements) as once we added these characteristics the Non Cumulative keyfigures even when the marker was properly set were not handling the stock values (balance) and the movements the right way causing data inconsistency issues.
    So, we are just using the Cumulative keyfigures and have decided to do the logical partitioning on fiscal year (as posting period is used to derive the time characteristics and compared to MC.1 makes more sense for comparison between ECC and BI.
    Also, I have gone through the How to manual for Inventory and in either case the reporting requirement is Inception to date (not just weekly or monthly snapshot).
    We would like to confirm if there would be any long term issues doing so.
    To optimize the performance we are planning to create aggregates at plant level.
    Couple of other points we took into consideration for using cumulative keyfigures are:
    1. Parallel processes possible if non-cumulative keyfigures are not used.
    2. Aggregates on fixed Plant possible if non-cumulative keyfigures are not used. (This being as all plants are not active and some of them are not reported).
    So, since we are not using the stock keyfigures (non cumulative) is it ok not to use 2LIS_03_BX as this is only to bring in the stock opening balance....
    We would like to know if there would be any issue only using BF and UM and using the InfoCube as the one to capture article movements along with cumulative keyfigures.
    Once again, thanks for your input on this issue.
    Thanks
    Dharma.

  • Records is not coming in Delta for Inventory Cubes.

    Hi..All
    We are working on BW3.5 SP11 since 01.07.2005.
    We are facing a very serious problem in Inventory management data extraction from R/3 since 24.08.2005.
    Our active data sources of Inventory Mangement are as follow.
         2LIS_03_BF
         2LIS_03_BX
         2LIS_03_UM
    We were regularly getting records through delta as per given schedule after intialisation on 01.07.2005 to till 23.08.2005.
    On 24.08.2005 -- Delta schedule we had find out there are some records that were created in R/3 did not come in BW.
    On 24.08.2005 -- records loaded in PSA was 20550. The same is appering in RSA3(EXTRACTORS) also.
    The Last material document loaded was 4900154552 date 23.08.2005 time 16:56:05 of R/3, but there are many other material documents that were created on the same day but are missing in the extraction.
    On 25.08.2005 delta schedule records are getting 0 (Zero). Not a single record is getting in RSA3 (Extractor).
    on 26.08.2005 situation is still as it is. No record is coming.
    Where as our average records per day is approx. 20000 nos.
    The update mode for inventory is Unserialised V3 update, and the update program in R/3 is running perfectly fine as per schdule with no errors.
    We could not understand why suddenly stop the extraction of records FOR INVENTORY MANAGEMENT. Because rest all
    data sources like Purchasing,Sales and Distribution,Quality Mangement, and PP is working fine on same date.
    We checked the data in extractor checker with giving UPDATE MODE "F"-Transfer all requested data.
    Still it is showing 0 (Zero Records) for data sources 2LIS_03_BF,2LIS_03_UM.
    The situation is still as it is as of now.
    This is very crutial for our business. All inventory reports are showing data which is 3 days old.
    Please give your advice on this issue. And how to get the records in PSA from R/3.
    Regards,
    Navin

    Hi Ravindra,
    Thanks for giving input. The problem got solved.
    There was a problem with QRFC Table. Tcode LBWQ
    Status was wait.
    Thanks for giving feedback.
    Regards,
    Navin

  • Table for Inventory Status for Serialized materials

    Hello,
    Can anyone please provide the table name for finding out inventory status (i.e. unrestricted, Quality Inspection, Blocked) for serial numbers. I am trying to find out, in which inventory status does a particular serial# belonging to a particular material# is in?

    Hello Azz:
    Regarding the serial number status, you have to check the combination of three different tables:                                                                               
    EQUI - Equipment master data. In this table make note of the field 'Object number' (OBJNR), which is the primary key for:                                                                               
    JEST - Individual Object Status. This table contains the technical expression of the status in field 'Object status' (STAT), which is the primary key for:                                                                               
    TJ02 - System status. In this table you can find the texts for the system status in the fields TXT04 and TXT30.
    Then, here you have some other tables which you might also need:
    EQBS - Serial Number Stock Segment.
    SER01 - Document Header for Serial Numbers for Delivery.                                                                               
    SER02 - Document Header for Serial Nos for Maint.Contract (SD Order). 
    SER03 - Document Header for Serial Numbers for Goods Movements.                                                                               
    SER04 - Document Header for Serial Numbers for Inspection Lot.                                                                               
    SER05 - Document Header for Serial Numbers for PP Order.                                                                               
    SER06 - Document Header for Serial Numbers for Handling Unit-Content. 
    SER07 - Document Header for Serial Numbers in Physical Inventory.                                                                               
    SER08 - Document Header for Purchase Order Item Serial Numbers. 
    I hope this helps!
    Esther.

  • Query for Inventory Activity for whse & dates

    I am using the query below to report Inventory Activity by Whse for a selected date range. Can anyone please advise on how to add a column for Inventory Unit of Measure (OITM.InvntryUom) to this query? This would make the report more useful. Even more useful would be to also integrate batch numbers into this same query. Would this be possible also?
    The columns returned by this query currently are: Whse, ItemCode, ItemName, OpeningBalance, InQty, OutQty, and EndingBal.
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Whse nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Whse = (Select Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]')
    Select
    @Whse as 'Warehouse',
    a.Itemcode,
    max(a.Dscription) as [Item Name],
    sum(a.[Opening Balance]) as [Opening Balance],
    sum(a.[IN]) as [IN],
    sum(a.OUT) as OUT,
    ((sum(a.[Opening Balance]) + sum(a.[IN])) - Sum(a.OUT)) as Closing
    from(
    Select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    (sum(N1.inqty)-sum(n1.outqty)) as [Opening Balance],
    0 as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate < @FromDate
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as [Opening Balance],
    sum(N1.inqty) as [IN],
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
    N1.Inqty >0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as [Opening Balance],
    0 as [IN],
    sum(N1.outqty) as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
    N1.OutQty > 0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
    where
    a.ItemCode=I1.ItemCode 
    Group By
    a.Itemcode
    Having sum(a.[Opening Balance]) + sum(a.[IN]) + sum(a.OUT) > 0
    Order By a.Itemcode

    Try this one:
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    Declare @Whse nvarchar(10)
    Set @FromDate = (Select min(S0.Docdate) from dbo.OINM S0 where S0.Docdate >='[%0]')
    Set @ToDate = (Select max(S1.Docdate) from dbo.OINM s1 where S1.Docdate <='[%1]')
    Set @Whse = (Select Max(s2.Warehouse) from dbo.OINM S2 Where S2.Warehouse = '[%2]')
    Select
    @Whse as 'Warehouse',
    a.Itemcode,
    max(a.Dscription) as ItemName,
    sum(a.OpeningBalance) as OpeningBalance,
    sum(a.INq)  as 'IN',
    sum(a.OUT) as OUT,
    ((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing
    ,(Select  i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
    from(
    Select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    (sum(N1.inqty)-sum(n1.outqty)) as OpeningBalance,
    0 as INq,
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate < @FromDate
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as OpeningBalance,
    sum(N1.inqty) ,
    0 as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <= @ToDate and
    N1.Inqty >0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All
    select
    N1.Warehouse,
    N1.Itemcode,
    N1.Dscription,
    0 as OpeningBalance,
    0 ,
    sum(N1.outqty) as OUT
    From dbo.OINM N1
    Where
    N1.DocDate >= @FromDate and N1.DocDate <=@ToDate and
    N1.OutQty > 0
    and N1.Warehouse = @Whse
    Group By
    N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
    where
    a.ItemCode=I1.ItemCode
    Group By
    a.Itemcode
    Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0
    Order By a.Itemcode

  • Inserting Revision for Inventory Items for just one org

    Hi,
    When I inserted inventory items using API , I got a rev 000 by default. I need to add another revision (001) for all items for one of the organizations. Can you please tell me how to insert revision.
    I am using Oracle 11i
    Thanks
    Aali

    Revision is controlled at the org level. So all you need to insert records in the mtl_item_revisions_interface and launch the "Import Items" program.
    See http://techoracleapps.blogspot.com/2010/03/item-revision.html for sample code.
    Hope this helps,
    Sandeep Gandhi

  • Report for Inventory Status for Serialized Materials

    I am trying to generate a report which would display the material #, all serial #s related to that material and the stock type for each of these serial#s. I currently following this approach, I will fetch all the material number from MARC for a particular plant, then for each MATNR, will check for EQUNR and SERNR in table EQUI. Then for each EQUNR will then check stock type in table EQBS. I believe each EQUNR is associated with one and only one SERNR (AM I CORRECT?). I will then display the MATNR, SERNR and LBBSA on the report. Can somebody tell me if the approach is correct? Just wanted your opinion.
    Also I have another issue. Whenever I try to find the stock type for a particular EQUNR in table EQBS, it gives a message saying that no data exists for this EQUNR in this table. I wanted to know what could be the possible reasons for this. I am currently investigating on the following reasons, 1. I think the material is flagged for deletion so that all the EQUNRs and SERNRs associated with that material will be deleted. However, I don’t know how to see all the material associated with a particular EQUNR? Another reason I think is that that EQUNR, or that SERNR does not have any quantity in SAP so no stock type. I could be wrong, but still searching. Can you think of something which could cause this problem (i.e. the message saying that no data exists for this EQUNR in table EQBS?)
    Thank you for your help.

    Hello Azz,
    Have you tried transaction code IQ09 report? I this this will meet your requirement to some extent.
    Regards
    Arif Mansuri

  • Inventory Cube Stock Quantity/Value Issue

    Hi Experts,
    I have an issue regarding inventory cube about the stock value and quantity.
    The Issue is:
    1.  I Loaded the 2LIS_03_BX first to initialise the materials opening balance, after compressed ther request with the Marker (checked) .
    2.  I loaded the 2LIS_03_BF with Initialize without data transfer infopackage and compressed in the cube
    3.  And  I did full load 2LIS_03_BF and compressed with check box selected for marker update.
    The issue I have is, when the stock quantity/value  of a material ( BX , for example is taken on Dec.2011) is calculated(non cumulative key figure ex.0VALSTCKVAL/0VALSTCKQTY in the inventory cube) backwards based on Issues and received stock/value of material , I am not getting the value/stock equal to the value when the business started ( i.e for example Dec.2009, time at which the material opening stock is counted and entered in the system).
    example:  When I loaded BX ( intialize opening stock), let us suppose for Material A , have 1000kg in Dec 2011.  When the non cumulative key figure (0VALSTCKQTY/0VALSTCKVAL) is calicualted for each month or day , at the end of the period for example Dec.2009 the stock should be 100, but I am getting more than 100 like 150 for example, even though all the issued,received and 0valstckval/0valstckqty are correct upto Dec.2009.
    am i missing any steps or please let me your thoughts on this one.
    Regards
    Vamsi

    Hi,
    Please follow the steps mentioned in this link.I think 2LIS_03_BX full load should not be compressed with marker update only deltas to be updated in marker table of BF and UM.
    http://wiki.sdn.sap.com/wiki/display/BI/StepbyStepLoadingDatatoInventory+Cube
    Hope it helps.
    Regards,
    AL

  • Selective deletion for Inventory Load

    Hi Guru's
    I have done loading for Inventory cube 0IC_C03 using the 2LIS_03_BF with Delta load and made mistake in last delta load Compression(No Marker Update).. till July 2011 the Data is fine for our report for calculating the TOTAL QUNATITY STOCK..  so we planned to done the selective deletion for August 2011 to till date.. but we cant find the Time Characteristics in selection to done Selective deletion. Please share your valuable ideas...
    Thanks,
    Satish.M.R

    Hi,
    You can delete all the requests from the cube which have been updated from 1st of August onwards.
    Just go to the MANAGE screen of the cube and select all the requests which are loaded from 1st of August onwards and delete all of them.
    Navesh
    Edited by: navsamol on Oct 6, 2011 7:00 AM

  • Table name which stoers Opening Stock posting of Inventory

    Hi all,
    I wanted to know what is the table name which stores the Opening Stock of Inventory. and also How can i know the price that i had given while posting the Opening Balance for a particular Item.
    Expecting you early response.
    Thank you
    regards,
    Shreyas

    Hi Shreyas,
    You can query the table OINM with transtype of '-2' which stand for "Opening Balance" for inventory items.
    The query looks like:
    Select * from oinm t0 where t0.TransType = '-2' and t0.ItemCode = '[%0]'
    Any items' opening transaction can be found there.
    Thanks,
    Gordon

  • How to put inventory opening stock?

    Dear Friends,
    1) i want to put opening stock of inventory, through DTW is it possible?or any onother way?
    2)or should i made good receipt,mannualy?
    mahesh

    use ''StockTaking.xlt" to load the Opening Balances.
    After importing this template to SAP B1 through DTW, open the 'Inventory -> Inventory Transactions -> Initial Quantities, Inventory Tracking and Stock Posting -> Stock Posting Tab'
    From the 'Price Source for Whse Stock Posting' dropdown choose the option 'by pricelist' now the 'pricelist' dropdown will appear, choose the appropriate pricelist and choose 'OK.
    From the 'Stock Posting' window, Set the 'Inventory Offset - Increase Account' and 'Inventory Offset - Decrease Account'.
    Hope you have understood

  • Inventory Ageing for Batch item

    Hi,
      Please let me know if any one has query for inventory ageing for Batch management item.
    regards
    Suresh S

    Use following query:
    SELECT T0.WhsCode, T0.ItemCode, T0.ItemName, T0.BatchNum, T0.CreateDate,
    DateDiff(dd, T0.CreateDate, GetDate()) As Days, T0.Quantity,
    case when (datediff(dd, createdate, getdate())<=30) then 'Upto 30 Days'
         when (datediff(dd, createdate, getdate())>30 and datediff(dd, createdate, getdate())<=60) then '31 to 60 Days'
         when (datediff(dd, createdate, getdate())>60 and datediff(dd, createdate, getdate())<=90) then '61 to 90 Days'
         else 'More than 90 Days'
         end as days
    FROM OIBT T0
    WHERE T0.Quantity > 0
    ORDER BY T0.WhsCode, T0.ItemCode, T0.CreateDate
    Edited by: Rahul Jain on Jan 30, 2009 10:28 AM

  • Inventory data load from Inventory Cube to another Copy Cube

    Hello Experts,
    I am trying to load Inventory data from the Inventory cube(say YCINV) to a copy cube  say YCOPY_CINV(copy of Inventory cube), but the results appear inconsistant when I compare the reports on these 2 cubes. I am trying to populate a fiield in copy cube so that I can populate the same data back to the original cube with the new field in it, I am doing this reload back and forth for historical data purpose only.
    I have seen lot of posts as how to run the setups for Inventory data, but my case does not need to perform set up runs.
    Does the note 1426533 solve the issue of loading from one cube to another ? we are on SAP BI 7.01 with SP 06 ,but the note specifies SP 07 ?
    I have tried note 375098 to see if it works, but I do not see the options as mentioned from  step "Using DTP (BW 7.x)" in BI to perform this note
    Please advise on whether to go with implementing note 1426533 or is there any other way to load inventory data from one cube to other.
    Regards,
    JB

    Hi Luis,
    Thanks for your reply,
    I do not see any setting like Intial stock in DTP except "initial non-cumulative for non- cumulative". I did try using the option "initial non-cumulative for non- cumulative" ,but the results still do not match with the inventory cube data.I do not see the check box for marker in the copy cube (under roll up tab). Please let me know if we can really implement this solution ,i.e. copying from inventory cube to copy cube and then re-loading it back to inventory cube for historical data. Currenlty, I am comparing the queries on these 2 cubes, if the data matches then I can go  ahead and implement it in Production, other wise it would not be wise to do so .
    Regards,
    JB

Maybe you are looking for

  • Error loading XML Document from /analytics/saw.dll/common/privileges.xml

    I tested my procedure for upgrading from OBI 11.1.1.5 to 11.1.1.6 which was successful. I had to rollback to OBI 11.1.1.5 using my database backup and VM snapshot due to project requirements. The OBI application successfully comes up but users who lo

  • How can I get rid of the playlist bar in the music player?

    Hello everyone! I want to know if I can get rid of the transparent playlist bar which shows over the cover artwork in the music player (ios 6) or Lagu. When I play one song alone, the artwork shows fully and that's how I would like it to be when play

  • Convert Varchar to Date

    Hi im trying to convert varchar to date. So, i used To_date ( cilumn, 'DD-MM-YYYY') , Since i have to order the out put in Decending Order i used the same convertion function with Order by clause. The problem is ... the out put is not ordered, <sql>

  • Cannot re-install...Heck...Can't even uninstall

    My control panel will not uninstall AIR.. TrendMicro found a virus a "flash" otherwise known as heur_swfmstr.a it "fixed" it but i decided to uninstall all my adobe products and re-install them....AIR will not uninstall...Can you help Windows 7 ultim

  • Anyway to have source code html, design view and CSS open windows at the same time?

    Hi all, Is there anyway I can keep design view, source code AND css open on screen all at the same time? Constantly clicking between source and css is really becoming irritating, would be so much easier if they were both on screen at the same time. A