Inventory cube 0IC_C03 ,Stock on particular date

Hi All,
   We are trying to get the stock on a particular date using cube 0IC_C03 ,but we are unable to get the total stock on a given date.
1)Ex: I want stock on 01.12.2009 ,but in the query output I am getting  null values.
  I am only getting the total stock quantity on the loaded date for ex:04.01.2010(which is my data loading date in to the cube).
2)And when we restrict 0calday with <=01.12.2009 ,i have to get the total stock till 01.12.2009
Thanks&regards,
Sunitha

Hi,
Check
Treatment of historical full loads with Inventory cube
Setting up material movement/inventory with limit locking time
1)Ex: I want stock on 01.12.2009 ,but in the query output I am getting null values.
   I am only getting the total stock quantity on the loaded date for ex:04.01.2010(which is my data loading date in to the cube).
For 2LIS_03_BX it will give the extracted date only
2)And when we restrict 0calday with <=01.12.2009 ,i have to get the total stock till 01.12.2009
try with below options.
Use :
0VALSTCKVAL   " for Value
0VALSTCKQTY   " for Qty
0CALMONTH        " for Month
Use the above combinations in New Selections in columns and go it.
For Qty Opening:
New Selection bad drag abd drop following things
0VALSTCKQTY   " for Qty
0CALMONTH        " for Month and restrict with less then or equalto option variable (single value, user input)  and set the offeset
                               value = -1 bcoz if user will give 12.2009 , so it will display 11.2009 closing stock, this is opening for 12.2009.
For Qty Closing:
New Selection bad drag abd drop following things
0VALSTCKQTY   " for Qty
0CALMONTH        " for Month and restrict with less then or equalto option variable (single value, user input) .
In the same way build for Value and other Keyfigures on 0IC_C03.
And
Drag & drop
0MATERAIL
0PLANT  " Give some Input Variable.
See the steps.
Treatment of historical full loads with Inventory cube
Setting up material movement/inventory with limit locking time
If it is BI 7 then for BX in in DTP in Extraction Tab you need to select Extacrion mode = NON-Cumulative option.
Thanks
Reddy

Similar Messages

  • Selective Deletion on Inventory Cube 0IC_C03 via Calendar Day

    Hello Group
    I am trying to do a selective delete to our inventory cube 0IC_C03 and found there is not an option to select day.
    Does anyone have any thoughts on how do delete using day? Please note that my cube has been compressed and I do not have a request in the cube.
    Thanks
    Frank

    Hi Frank,
    REPORT  ZRSDRD_SEL_DELETION                     .
    DATA:
        l_thx_sel   TYPE rsdrd_thx_sel,
        l_sx_sel    TYPE LINE OF rsdrd_thx_sel,
        l_s_range   LIKE rsdrd_s_range,
        l_t_range   TYPE rsdrd_t_range,
        l_t_msg     TYPE rs_t_msg.
    ******************* 0CALDAY *****************
    l_s_range-sign   = 'I'.
    l_s_range-option = 'EQ'.
    l_s_range-low    = '20030308'.
    *l_s_range-high   = .
    l_s_range-keyfl  = 'X'.
    APPEND l_s_range TO l_t_range.
    l_sx_sel-iobjnm   = '0CALDAY'.
    l_sx_sel-t_range  = l_t_range[].
    INSERT l_sx_sel INTO TABLE l_thx_sel.
    CLEAR l_s_range.
    REFRESH l_t_range.
    ************** 0PLANT **********************
    l_s_range-sign   = 'I'.
    l_s_range-option = 'EQ'.
    l_s_range-low    = 'PLNT'.
    *l_s_range-high   = .
    l_s_range-keyfl  = 'X'.
    APPEND l_s_range TO l_t_range.
    l_sx_sel-iobjnm   = '0PLANT'.
    l_sx_sel-t_range  = l_t_range[].
    INSERT l_sx_sel INTO TABLE l_thx_sel.
    CLEAR l_s_range.
    REFRESH l_t_range.
    ************** 0MATERIAL ****************
    l_s_range-sign   = 'I'.
    l_s_range-option = 'EQ'.
    l_s_range-low    = 'MATERIAL'.
    *l_s_range-high   = .
    l_s_range-keyfl  = 'X'.
    APPEND l_s_range TO l_t_range.
    l_sx_sel-iobjnm   = '0MATERIAL'.
    l_sx_sel-t_range  = l_t_range[].
    INSERT l_sx_sel INTO TABLE l_thx_sel.
    CLEAR l_s_range.
    REFRESH l_t_range.
    CALL FUNCTION 'RSDRD_SEL_DELETION'
         EXPORTING
              I_DATATARGET      = 'ZICRT_C37'
              I_THX_SEL         = L_THX_SEL
              I_AUTHORITY_CHECK = 'X'
              I_THRESHOLD       = '1.0000E-01'
              I_MODE            = 'C'
              I_NO_LOGGING      = ''
              I_PARALLEL_DEGREE = 1
              I_NO_COMMIT       = ''
         CHANGING
              C_T_MSG             = L_T_MSG.

  • Damaged inventory cube 0IC_C03

    Hi all,
              My inventory cube is damanged because some data is not loaded via delta.
    what i done is i stopped the back ground job which is running for compression of the request.i done Init with full repair request loaded missing data.(_03_BF). full load.
             now my question is setting up marker for BF . my opening stock is around 2006. I loaded from 02.2007 to till the date. It is not a historical data(Because it after 2006). current data.
    can i do compression with marker or without marker.
    pls help me this is very important for me.
    thanks .

    Hi
    About the Marker - understood........I did....without checking it.   that is not the issue. Please see below the detail of the error log. Listcube does not show any entries. the range of posting dates i loaded was 1/1/2000 to 1/10/2010....valuated stock only..........
    this is the error message..........
    Multiple entries found with NCUMTIM 'unlimited'; compression not possible
    Message no. DBMAN380
    Diagnosis
    The time dimension contains multiple entries for which the time
    reference characteristic (NCUMTIM) is set to 'unlimited'.
    The value 'unlimited' is the maximum possible value for the time
    reference characteristic. This value is reserved for markers in
    non-cumulative InfoCubes and cannot be used for standard transaction
    records.
    System Response : Compression is terminated.
    Procedure : Contact your system administrator.
    Procedure for System Administration
    To allow compression to be carried out, the entries must first be
    removed from the InfoCube.
    To do this, you can proceed as follows:
    1. Delete all packages that contain records in which the time reference
    characteristic has the value 'unlimited'. You can identify these
    packages by using transaction LISTCUBE.
    2. Reload these packages and create a rule in the transformation that
    maps the value 'unlimited' to a year before 9000.
    3. Using transaction RSRV, then delete all entries that are no longer
    used from the time dimension.
    The InfoCube can be compressed again.

  • Functional Specification For Opening And closing stock On Particular Date

    Dear Gurus,
    I am creating report for opening and closing stock on particular date in which batch and storage location should also be included. I want to know the tables and fields for the same.I have searched the forum and got report on month basis but I want this report on posting day basis.kindly suggest tables and fields. Thanks in Advance

    Dear sir,
    There are many other colums that client wants to add which are not present in MB5B transaction.columns which client wants to add are as follows...
    Material Number                                                   
    Material Description                                       
    Material Type                                                                        
    Material Group                                                                     
    External material Group                                                            
    Movement Type     
    Plant     
    Storage Location     
    Customer Number     
    Customer Name     
    Vendor Number     
    Vendor Name     
    Posting Date     Receipt Doc. Number
    Issue Doc. Number     
    Reference Issue Document Number     
    Opening Stock Quanity     
    Material Receipt Quantity     
    Material Issue Quantity     
    Material Closing Stock Quantity      
    Value Of Closing Stock
    And for this I want  tables and logic for the same. kindly provide the solution for the same.

  • Need stock on particular date entered on selection screen

    I am creating a stock in transit report and need stock on particular date entered by the user on selection screen.How do I calculate stock on a particular date?

    same thread...
    Re: Stock on a particulare date

  • Vendor stock on particular date

    vendor stock on particular date..any std Tcode
    plz help
    mb5b,mblb,mc.9 wont work
    thanks
    ramesh reddy(vallur)

    ME2O
    Or
    ME2M & ME2L, choose , Item Category L, and choose selection parameter of your requirement.
    Choose MB5B,
    Choose radio Button Special stock and give special stock as O.It may help u.
    Edited by: sudhansu satapathy on Dec 16, 2011 11:46 AM
    Edited by: sudhansu satapathy on Dec 16, 2011 11:49 AM

  • Table to see stock on particular date

    Hello SAP Gurus,
       I know that through mb5b report you can see the stock on posting date.But guys can u  tell me that from which table and field it takes the data?

    Please look at transactions MCBE and MCBR.  They are part of the inventory standard analysis.  These will show total consumption for the selected time periods.
    There is a ton of data availablie via the Logistics Information System and I think it is the most under utilized functionality in SAP.  If consultants and users really learned how to use this functionality you could probably do away with 80% of your custom reports.
    You can also use flexiblie analysis against structure/table S032, (not S039), and create your own analysis and reports.  These can be highly customized and saved and reused.  Variants can be created and the results can be saved in personal reports, emailed or downloaded.
    Other structures you might find of use in your particular query would be
    S031 - Movements
    S032 - Stocks
    S033 - Movements (indiv. records)
    S034 - Movements (batches)
    S035 - Stocks (batches)
    S039 as suggested above provides primarily averages which is not what your looking for.
    Craig
    Edited by: Craig Snyder on Apr 30, 2008 1:26 AM

  • No Selective Deletion on Inventory Cube 0IC_C03 via Calendar Day

    Hi,
    I need to repair my Inventory Cube <b>0IC_C03</b> for a certain date. To do that, I need to perform a <i><b>Selective Deletion</b></i> on the Cube and perform a <b>FULL REPAIR REQUEST</b> limited on that day only.
    But to my surprise, I could not find a Calendar Day entry in the "<i>DeletionSelection</i>".
    Is there a workaround or do I need to switch on anything?
    --Jkyle

    Hi Roberto,
    You are too humble! Everybody knows you are the <b>ONE</b>
    (he heh from the <b>MATRIX</b> movie)
    Anyway, I dont think Export Datasource would help. As you may know, Inventory Cube <b>0IC_C03</b> uses 2LIS_03_BX and 2LIS_03_BF data sources. This <b>CUBE</b> is somehow special.
    To cut this problem short, I'll go straight to the point. <i>How could I perform INIT via 2LIS_03_BX and 2LIS_03_BF w/o R/3 downtime at all</i>? The reason I came to this <i>Selective Deletion</i> thing is to patch up the mess the INIT would introduce when there are users around by using a REPAIR FULL REQUEST only for that single day...
    I hope you get what I mean...
    Thanks!
    --Jkyle

  • Difference between Inventory cube 0IC_C03 and 0CP_IC_C1

    Hi Gurus
    I'd like to ask what's the difference between this 2 cubes in inventory? 0IC_C03 and 0CP_IC_C1 ? Any help will be much appreciated. Thanks in advance
    - Kit

    Hi,
    Well I am not an expert on Inventory but this is what I know:
    0IC_C03 - LO Cockpit cube - Standard Inventory qty and values. This can be used for all purpose on a generic basis. This is not customized for any specific Industry sector. A standard ECC can use this as well as Retail can use this.
    0CP_IC_C1 - This is also an Inventory cube containing value and quantities but this is more specifically designed for CP industry sector (Consumer Products). Here the BW transaction keys are different meaning that events/movement types specific to CP industry transactions will generate these transaction keys which gets updated to BW.
    Also the cube 0CP_IC_C1 KPIs are average figures on the stock quantities and values (Exception Aggregation: Average Over Calendar Days). Whereas in 0IC_C03 the KPIs (NCKFs) are based on last value (Exception Aggregation: Last for Calendar Days)
    Therfore if you are not aiming at Consumer Products Industry specific implementation, I would recommend 0IC_C03 cube.

  • Customization of Inventory Cube - 0IC_C03

    Hi gurus,
    I need to implement the Inventory for my client using the Std cube 0IC_C03.
    Here the client wants me to take the Total stock as the sum of the following stocks in MARD Table
    LABST - Unrestricted
    UMLME - Stock in Transfer
    EINME  - Restricted Use
    SPEME - Blocked
    RETME - Return              
    In the Standard Content we are considering only Stock in transfer & Blocked stock.
    Please help me in suggesting what are the changes needed in Transformations for both 2LIS_03_BX and 2LIS_03_BF.
    Thanks in Advance
    Seshu

    Hi ,
    The fields LABST - Unrestricted
    UMLME - Stock in Transfer
    EINME - Restricted Use
    SPEME - Blocked
    RETME - Return
          The fields other than blocked and Stock in transfer are not present in the datasources  2LIS_03_BX and  2LIS_03_BF .
      If you need these fileds , you can go ahead with a function module datasource based on MARD , MSEG tables from where you can take these fields directly .
    You can also refer to the links below for other options
    Datasource for MARD table
    Re: MARD Table  -  Not giving Stock in Transit Value
    If in case the relevant fields are not seen in the datasource , you can go to transaction LBWE, CLICK ON 03 :Inventory Controlling(your case), click on maintainence tab and just drag the required fields to the left .
    Also you need to delete and fill the setup tables after this step.

  • Closing Stock on Particular Date(MB5B Tcode)

    Hi Experts,
    I need closing stock as on some particular date. For e.g. closing stock as on 28.02.2014.
    In my requirement i have to use that closing stock value for further calculations in a new customized report.I can see closing stock value by using MB5B tcode.
    Please suggest some way to get closing stock as on some date so that i can use that in my Report.
    Can i directly call MB5B transaction in my Report and get closing stock value?
    Thanks & Regards,
    Pankaj

    Hello Pankaj,
    In your Customised Report use MKPF and MSEG table
    MKPF ----->  Material and date range as the input
    Then Pass Material document number from MKPF to MSEG table
    MSEG ----->  based on material document number from mkpf
    Create Temporary  variable
    values comes from the mseg where have credit and debit entries
    if debit entry "S" then subtract the values of the Mseg table from the temporary variable1
    if credit entry "H" then Add the values of the mseg table to the temporary variable2
    finally Add the temporary variable1 and temporary variable 2 and get the total stock.

  • Stock on particular date (performance issue)

    Hi Folks,
    I m calculating stock at all vendor on a particular date.
    But it takes very long and time_out occurs.
    I m calculating opening closing provided return and rejection based on movement types.
    The report hangs up at following particular Join.
    SELECT MKPFBUDAT MSEGBWART MSEGMATNR MSEGLIFNR SUM( MSEG~MENGE )
                  AS MENGE
                      INTO CORRESPONDING FIELDS OF TABLE IT_OPEN
                      FROM
                         MKPF INNER JOIN MSEG ON
                               MKPFMBLNR = MSEGMBLNR AND
                               MKPFMJAHR = MSEGMJAHR
                       WHERE MKPF~MJAHR = D_YEAR AND
                             MKPF~BUDAT GE D_DATE AND
                             MKPF~BUDAT LT S_BUDAT-LOW AND
                    MSEG~BWART IN ('541','542','543','544','551','702') AND
                             MSEG~XAUTO NE 'X' AND
                             MSEG~MATNR IN S_MATNR AND
                             MSEG~WERKS IN P_WERKS AND
                             MSEG~LIFNR IN P_LIFNR
                  GROUP BY LIFNR MATNR BUDAT BWART.
    Is there any way to increase performance by breaking this inner join into select statements or anyhow.
    Regards
    Sachin

    HI,
    On seeing your code, it seems like,
    SELECT MKPFBUDAT MSEGBWART MSEGMATNR MSEGLIFNR SUM( MSEG~MENGE )
    AS MENGE
    INTO CORRESPONDING FIELDS OF TABLE IT_OPEN
    FROM
    MKPF INNER JOIN MSEG ON
    MKPFMBLNR = MSEGMBLNR AND
    MKPFMJAHR = MSEGMJAHR
    WHERE MKPF~MJAHR = D_YEAR AND
    MKPF~BUDAT GE D_DATE AND
    MKPF~BUDAT LT S_BUDAT-LOW AND
    MSEG~BWART IN ('541','542','543','544','551','702') AND
    MSEG~XAUTO NE 'X' AND
    MSEG~MATNR IN S_MATNR AND
    <b>MSEG~WERKS EQ P_WERKS</b> AND
    <b>MSEG~LIFNR EQ P_LIFNR</b>
    GROUP BY LIFNR MATNR BUDAT BWART.
    Please see the code marked with bold as parameter passing in the select statement must be EQ and not IN.
    Secondly, remove the aggregate function SUM from the select. First select all the records into an internal table and either use control break statements or Collect to sum up the entries.
    Next, while selecting from the database use INTO TABLE IT_OPEN rather than into corresponding fields of table.
    Also remove the movement types from the select and restrict it inside the Loop and Endloop.
    Lakshminarayanan
    Please mark all helpful answers for points

  • Query on Inventory Cube 0IC_C03

    Hi All
    When running a query on Inventory Cube, I get some of the values like this "[2,000]" and the value is not taken into account in the total row.
    Any Idea about the "[Value]"?
    Thanks
    Dror Golani

    Hi,
    Probably it could be a NUMC data type.Just check.
    venkat

  • Inventory Cube 0IC_C03

    How do we compare the date BW with R/3 for the cube 0IC_C03?

    Hi Krish,
    Check this link to get document
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14
    Regards
    Prakash

  • DataMart from Inventory Cube (0IC_C03)

    I want to use the daily inventory cube to data mart and load to a cube/ods otherwise.  I am aware that the values of non cumulative kf will not be available but that is okay I need the value of the cumulative kf.
    Is there any issues or problems that people can see if I data mart from this cube? Thanks

    Hi Niten,
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
    Also check the Integartion (last) section in this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62dee07211d2acb80000e829fbfe/frameset.htm
    Bye
    Dinesh

Maybe you are looking for