Opening stock Balance Table

Hi,
I am writing FS for the following fields
In selection screen i am selecting
Material
Posting date
Plant
Output
Opening stock stock
GR
Issue
Balance
Closing Stock
My problem is from which table to fetch  opening stock qty  which belongs to 3months back
For example i am running this report from Jan09 to March 09 so my query i want opening stock for the month of Jan09 and subsequently reduction in stock after each issue.so from which table i can get this information.
Need your expertise help
Regards
Vivek

Hi Vivek,
To Calculate Opening Stock & Closing stock there are different procedures.
It just depends of\n the client requirements & usage of the material.
For example, we have different types of stocks, like, Through Pipeline, Special, Unristricted, quality, safety,
and many types of stocks.... so all these types are indicated in MSEG tabe in SOBTZ field,...
Now Comimg to your Query, You need to calculate OPENING & CLOSING STOCK.
We have a similiar standard report in MB5B Tcode..
to get the same results in your report do like this...
For valuated stock go to the MARDH, MBEWH, MCHBH tables But I Prefer MBEWH.
here in MBEWH give the month & year and you get the result in LBKUM field...
For Special stock, You need to go to another table like MKOLH,,(I forgot still 2 more) and
give the month & year inputs and you will get the result in SLABS field.
and remaining MB5B refers to its deetails lists with different Movement types,
whcih you can get clearly from MSEG Table...
Hope you can write the select Queries accordingly.
If you want to find the Stock for a particluar date, It is not available in any table as I know,
Rather you need to do calculations like this.
1. Select the stock (Menge) till date from MSEG and add all with different movement types,
Its a logic need to ask to your functional consultant,
like 101 added to stock, 601 sales, 102 rejeted, 602 added back to stock,... transfers, 261,,, like this.
But take a little time, get all these by using MKPF & MSEG tables... thats it.
Or----
2.Tables are MSEG , MKPF ... use Debit / Credit indicator ( Do not go woth any static Movement types ) and u have to consider all stock related table
MBEW , EBEW etc..., to get the stcok on particular date .
Please refer to Std. Tcode FBL5N for reference.
Thanks & regards,
Dileep .C

Similar Messages

  • What is meant by opening stock balance?

    what is meant by opening stock balance and  how we load the opening stock balance .Actually i gone through the document in SDN.But i didn't understood properly.Can anybody explain in simple words.

    Hi Pardhu,
    In many cases your SAP R/3 system goes live earlier than your BW system.
    Say during go live in R/3 on 1st May 2009 - you had certain stock of product1 in inventory - say 100 PCS.
    You then sold 20PCS of product1 and brought 40PCS until today.
    So the stock of product1 in your inventory is 100 - 20 + 40 = 120.
    Now if your BW system was to Go Live tomorrow.
    You would have to let BW know what is your current stock level.
    From tomorrow then you can record only movements in BW.. ie you will send only data of sold and brought pcs of prodct1 from tomorrow.
    To inform BW about the current stock level you need the data source 2LIS_03_BX.
    To send the movements to BW you have the data source 2LIS_03_BF.
    2LIS_03_BX picks data from statistical table.
    For the statistical table to reflect the current stock of product one , you need to run MNCB ---> which precisely calculate the current stock level of product1 using the logic 100 - 20 + 40 ie stock till date and stores it in the statistical table.
    Then you load this data through 2LIS_03_BX to BW. Thus BW has the information of current stock.
    Then you load the movemens only through 2LIS_03_BF after setting up the delta.
    Markers can only be updaed when compression is done.
    You choose to update the marker based on certain conditions.
    BW uses markers to store the information of stock levels.
    It stores the stock as the marker value(reference value) +/- delta changes.
    When the cube is compressed you can update the marker. This will make the reference more current in time. Thus to calculate current stock you will have to take into account lesser deltas and a more current marker .. this improves performance...
    For further details on this :
    [How to handle inventory management scenarios|http://sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
    Hope this helps,
    Best regards,
    Sunmit.

  • Issue with opening stock balance in 2LIS_03_BX in BW

    HI GURUS,
    for some of the material we are not getting correct inventory stock available in BW report.
    where we have customised KF for inventory stock-non cumulative (based on difference of stock receipt and issued).
    The stock qty is  not considering the opening stock balance and hence this is coming as -ve in BW report.
    and but i checked the data in cube stock issued = stock received so ideally the stock should be zero .Also i have seen that i am not able to see stock intilized data in cube .
    also i ran the report for posting date on which stock intilization was done in BW and stock for material is coming as zero
    so hence all material where we have problem are those which has opening stock balance in  BX data source.
    we have also checked in R3 in t code MB51/52 and the stock available is zero but BW report shows -ve stock.
    Note that this problem is not for all stocks and also marker update settings are correct.We have also checked settings in RSDV .they are maintained relative to time..
    Please share your thoughts on this issue..
    thanks
    nilesh

    Have you compressed requests other than BX load and BF init load? If not run the infocube with 0RECORDTP = 1. This will give you the inital stock setup by the BX load. By default, when you run the non-*** infocube you will get records with RECORDTP '0' only. Whenever compression is done, the reference points get changes and records get written with RECORDTP '1'. If subsequent BF delta loads are also compressed i guess it would be difficult to differentiate. We have an OSS note on the importance of RECORDTP. Please check in service market place.
    One important point to note is that the BF init shoud have been done for the same selections as the BX load as the load (BF init) brings in movements for the stock already setup by BX. If there are differences in the selections for the 2 loads initially or setups were done on different days for these datasources, you could endup with issues.

  • How to loading the opening stock balance into Infocube 0IC_C03

    Dear Expers,
    I have referenced SDN a expert's documentation, but I canu2019t go on at page 10 .
    Check: How Tou2026 [Handle Inventory Management Scenarios in BW|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
    (1)original text:
    Loading the opening stock balance (InfoSource 2LIS_03_BX) into InfoCube
    0IC_C03. In the InfoPackage, choose the upload mode u201CCreate opening balanceu201D
    (see screenshot).
    Question:
    How to find option that upload mode u201CCreate opening balanceu201D?
    i'm  use to customize infopackage.  i  can not use default infopackage, when i click the defualt infopackage, will error prompt: Data target '0DF_C07' removed from list of loadable targets; not loadable
    (2) I actived BI Contnet (0IC_C03), I seen that the data flow  as following:
    Datasource(2LIS_03_BX)->transformation->Infosource(2LIS_03_BX_TR)-> transformation->Infocube(0IC_C03)
    Datasource(2LIS_03_BF)->transformation->Infosource(2LIS_03_ BF TR)-> transformation->Infocube(0ICC03)
    Datasource(2LIS_03_UM)->transformation->Infosource(2LIS_03_UM TR)-> transformation->Infocube(0ICC03)
    Quesiton: I donu2019t  know whatu2019s version, neither like BW 7.X nor like BW 3.X,
    Why have infosource in BW 7.X, how to use infosource load data to target?
    Currently, I canu2019t create transfer rule and upate rule for this datasource & infosource.
    Do  I  need to create a  customize ODS?
    Thank you very much , if you will answer me above two questions.
    Best Regards
    Steve

    >
    stevezhuang wrote:
    > Dear Expers,
    >
    > I have referenced SDN a expert's documentation, but I canu2019t go on at page 10 .
    >
    > Check: How Tou2026 [Handle Inventory Management Scenarios in BW|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328]
    >
    > (1)original text:
    > Loading the opening stock balance (InfoSource 2LIS_03_BX) into InfoCube
    > 0IC_C03. In the InfoPackage, choose the upload mode u201CCreate opening balanceu201D
    > (see screenshot).
    >
    > Question:
    > How to find option that upload mode u201CCreate opening balanceu201D?
    >  i'm  use to customize infopackage.  i  can not use default infopackage, when i click the defualt infopackage, will error prompt: Data target '0DF_C07' removed from list of loadable targets; not loadable
    >
    >
    >
    > (2) I actived BI Contnet (0IC_C03), I seen that the data flow  as following:
    > Datasource(2LIS_03_BX)->transformation->Infosource(2LIS_03_BX_TR)-> transformation->Infocube(0IC_C03)
    >
    > Datasource(2LIS_03_BF)->transformation->Infosource(2LIS_03_ BF TR)-> transformation->Infocube(0ICC03)
    >
    > Datasource(2LIS_03_UM)->transformation->Infosource(2LIS_03_UM TR)-> transformation->Infocube(0ICC03)
    >
    > Quesiton: I donu2019t  know whatu2019s version, neither like BW 7.X nor like BW 3.X,
    > Why have infosource in BW 7.X, how to use infosource load data to target?
    > Currently, I canu2019t create transfer rule and upate rule for this datasource & infosource.
    > Do  I  need to create a  customize ODS?
    >
    >
    > Thank you very much , if you will answer me above two questions.
    >
    >
    > Best Regards
    > Steve
    You don't need to worry about 0DF_C07 as it was defence cube not activated during your Business Content Activaiton.
    YOu can create your own infopackage for 2LIS_03_BX and there will be option generate intial status.
    This loading will create your Opening Balance.
    you need to compress this with NO Marker UPDATE option unchecked(as you will have to update hte marker).
    After this load movements 2LIS_03_BF and reval 2LIS_03_UM. Compress this with NO MARKER UPDATE option checked.
    Regards,
    RK

  • Open AR balance Table

    Hi All,
    Required to retrieve customer information for Open AR balance from Table. Could you tell me which table should I refer?
    Advance Thanks
    Shashikanth.M

    Hi
    All the Customer Open items are stored in BSID table. When those open items gets cleared then they are moved to BSAD table.
    Regards
    Praveen PC

  • Stock balance-Tables

    Dear Experts,
    Please let me know tables in SAP to display stock balances like "MARD"
    Regards
    Babu

    Hi
    It is always good to use a function module for stock rather than tables. Use function module MD_STOCK_REQUIREMENTS_LIST_API . It will improve perfomance of program and it has many features like stock bifurcation
    Regards
    Antony

  • How to rectify the mistake of opening stock balance already uploaded

    Dear Experts,
    My issue is when the opening balance of stock was uploaded as of 1st april 2008 the actual which should pass is -
                                                                     Debit                          Credit
    Item group account                           1,00,000
    Suspense stock account                                                    1,00,000
    But the JE which is passed is - (which is incorrect so how should be rectified)
                                                                     Debit                          Credit
    Item group account                           1,00,000
    Item group account                                                                   1,00,000
    Regards-
    Mona.

    You cannot reverse the entry which uploaded it, so, this is the quickest & easiest way. You can reconcile out the values so they don't display.
    The only other way would be to go back to a back up & start again.

  • Help reqd for Opening stock reports - RG23D

    Hi abappers,
    I want to make a report which shows the opening stock balances at plant level from RG23D register.I think...the table is "J_1Irg23d" and "J_1IACCBAL"...but im not sure....how to go on this...
    Do u guys, have any examples for this,pls post ur comments here...
    thanks & regards
    sankar

    check this sample Code ,
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=15856
    Regards
    Peram

  • 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

  • RG1 Register : opening & closing balance does not match with actual Stock

    Hi
    I am working on SAP AFS 6.0.
    The RG1 register for a particular month displays data of only those materials which have been transacted in that month. I checked the tables J_1IRG1 and J_2IRG1BAL found that system retrives all records of the given period from the table J_1IRG1 and picks opening balance of these records from the table J_2IRG1BAL. The records of those materials which have closing balance in J_2IRG1BAL but was not transacted in the given period are not considered in RG1 register.
    I want RG1 register to show opening balance of all materials which have closing balance in J_2IRG1BAL but have not been transacted in the subsequent periods.
    Regards
    Niraj

    HI
    Yes it is mandatory to update the table J_2IRG1BAL with material form and opening stock etc. for all the new materials
    EXGRP: Excise group of the material
    DATUM: Date from which you want RG1 report i.e. 01.01.2004
    MATNR: Material
    FORM:  P for packed, L for loose. note that the same material cannot be maintained as both packed and loose.
    WERKS: Leave it blank
    Maintain all relevant opening balance fields. These fields start with OP
    Note 951955 - CIN: General clarifications for RG1 goods*
    check the above note
    regards
    Prashanth

  • Opening and closing stock balances

    Hi
    What report can i use to show the opening and closing stock balances of materials for the last 12 months.
    Thanks
    Vinesh

    You can view the report in MMBE.
    other than this you can try
    MBEWH and MARDH
    Also follow the link:
    Re: op.& closing stock detail in MM
    Thanks
    Nisha

  • GL_DAILY_BALANCES table for daily opening/closing balance

    Hi All,
    I need to know something about the GL_Daily_Balances table. In eTRM, it says that the table gives the balances for a particular day. My requirement is to show the opening and closing balances on daily basis. But, I found that all the END_OF_DAY columns (END_OF_DAY1...END_OF_DAY35) are NULL.
    Can anyone tell me why these columns are NULL ? Under what conditions, they are null ? How can I get the opening /closing balance then?
    Thanks!
    Yogini

    Hi Yogini,
    This table is populated when balance processing is enabled in the definition of each set of books, do you have it?
    You can read about in the metalink note # 1072012.6
    Bye

  • Opening Stock + InwardQty + OutwardQty + Price and Closing Balance

    Hi Members,
    needs an SQL query for the " Stock Statement " From OINM Table to display opening stock , InwardQty as 'Receipts', OutwardQty as 'Issue', Price using Date and WareHouse as selection criteria.
    Kindly Help me in this regard,
    Thanks and Regards,
    Venkatesh.R

    used function in sql

  • Opening balance and closing stock balance

    Hi,
    What is the way to calculate opening balance and closing stock balance.
    Thanks
    krishna

    have a look Calculate Opening and Closing Stock
    Opening and closing balance
    Opening Stock and Closing Stock fields and Calculation

  • Import opening stock on opening balance account in G/L

    Hi,
    Which template do i use to import the opening stock of the items. The items are already imported with oitems & oitems prices ! Now i need the opening stock level booked in SAP on my opening stock account in the G/L.
    Thanks
    Mark

    Hi,
    Joseph Antony is correct.
    For item opening balance, use oStocktaking.
    Thanks and Regards,
    Senthil Maruthappan.
    Team Work Never Fails
    Edited by: Senthil Maruthappan on Jul 4, 2009 2:08 PM

Maybe you are looking for

  • Host OS command line call from dbs procedure

    Hi I am using Win2000 server and 8i, I want to execute a host os command in the middle of a database procedure but do not know how. I did a search here and did not find anything. Any help greatfully received. cheers Tony

  • Resizing Problem in Dreamweaver

    I figured out my previous issue (http://forums.adobe.com/thread/845979?tstart=0) was due to the window sizing in Dreamweaver, everytime I try to size the design window to something reasonable (say 1280 X 720) Dreamweaver tells me "The chosen size won

  • Table control bdc for mb1a

    Hi All, Can anyone tell me is table control BDC possible for MB1A tcode Thanks in advance.

  • Pixel by pixel image manipulation- java

    Hey guys, i need to write a bit of code that looks at 3 images, assesses which pixels in ALL 3 are grey, and then redraws a new image consisting of the old ones, but grey only showing where all 3 have grey. The inputs are mays with grey overlays, so

  • Canon HV20, 24p pull-down and Final Cut Studio 2

    Has anyone successfully done a 24p pull-down using this camera on a Mac? Specifically in Final Cut Studio 2? If so, is it a built-in pull down or is it a workaround. The HV20 doesn't have pull-down flags ad causes some issues. There is a workaround b