Closing stock as on 31st march 2008
Hi,
I need to take a closing stock report as on 31st march 2008 with quantity and value.
Please do the needful
Regards,
narasiman
Hai,
Use Tcode MB5B - Stock on posting date to get the report. Enter the following in the selection parameters,
1.Material number
2.Company code or plant, storage location
3. selection date 31.3.2008
4. Select the radio button - valuated stock this will give both qty & values.
5. If batch managed material, select the check boxes in the Totals only - non hierarchial representation, only matls handled in batches & also batches w/o stk segment.
Similar Messages
-
Closing stock report 31.08.2008
Hi, Sap experts
I want to see the report which can show Closing stock as on 31.08.2008 - Quantity , Value , date & material name & master
can anyone known about this report
regards
gkhi,
Check the MB5B report...
Hope it helps...
Regards
Priyanka.P
Please check the rules(Welcome and Rules of Engagement), and close the thread after assigning points properly... -
How to find opening or closing stock for a plant
hi experts,
can u help me to know is there any function module to know the opening and closing stocks of plant for particular period per each material type. Or the way to follow to find itHi Kiran,
You would like to findout opening and closing stock of a particular period and of a particular period....
If we would like to findout opening and closing stock of material A as of 18 / 8 / 2008,
then do like this.
go to MBEW table .. there u get opening stock as on today. Today the date is 20/8/2008. from today's opening stock if we add / subtract the movements which have happened on 19/8/2008 and 18/8/2008 u'll get opening and closing stock as on 18/8/2008.
U get the movements from MKPF ( material doc header) and MSEG (material doc item ) based on posting date. In MSEG u get movement type.
If the movement type is 101, it means the stock is added.
If the movement type is 102, it means the added stock is reversed.
from today's opening stock deduct the stock with moverment type 101 and add the stock with movement type 102.
This will give u opening stock as on 18/8/2008.
To get closing stock of 18/8/2008 ..... the opening stock of 19/8/2008 is 18/8/2008's closing stock. -
Bapi/function module to get opening or closing stock for a posting date
I am creating a report where i need to get the opening stock value and closing stock value for the given starting date and ending date respectively for the PP report.
The T-code for that is MB5B.
So,can any1 plzz tell me how i can get the stock value for a starting date/ending date...
Is there any BAPI or function module to find this out..
or any logic?
Thanks.Hi Kiran,
You would like to findout opening and closing stock of a particular period and of a particular period....
If we would like to findout opening and closing stock of material A as of 18 / 8 / 2008,
then do like this.
go to MBEW table .. there u get opening stock as on today. Today the date is 20/8/2008. from today's opening stock if we add / subtract the movements which have happened on 19/8/2008 and 18/8/2008 u'll get opening and closing stock as on 18/8/2008.
U get the movements from MKPF ( material doc header) and MSEG (material doc item ) based on posting date. In MSEG u get movement type.
If the movement type is 101, it means the stock is added.
If the movement type is 102, it means the added stock is reversed.
from today's opening stock deduct the stock with moverment type 101 and add the stock with movement type 102.
This will give u opening stock as on 18/8/2008.
To get closing stock of 18/8/2008 ..... the opening stock of 19/8/2008 is 18/8/2008's closing stock. -
Dear All,
We are getting some difference between MB5B and MB51 Reports.
MB5B:
(1) Closing stock of Semifinished & Finished Goods as on 30 Nov 2008
is 9112.420 MT (Metric Tonne)
MB51:
(2) Production during the month of december 2008 is 8324.612 MT
(3) Despatch During the month of December 2008 is 10009.500 MT
(4) Closing Stock=(1) + (2) -(3)
=9112.420 + 8324.612 - 10009.500
=7427.532
(5) However now if we check the Closing stock as on 31.12.2008 for the
Semifinished & Finished in MB5B is 7605.960 MT
We are getting a difference of = (5) - (4)
= 7605.960 - 7427.532
=178.478 MT
Please suggest for analysing Production which mov type has to be considered
And for Despatch which mov type has to be considered
Thanks in advance
Regards
HonyalHi,
The movement types are as follows :
Production / Purchase : 101
Quality Posting : 321
Return to Pord order / Purchase order : 102
Delivery : 601
Return Delivery : 602
Stock transfer from Plnt to Plant : 641
Return stock transfer movt : 642.
Now use the above movt tyoes and compare between teh reports.
regards
radhak mk -
Closing Stock correction for the previous year
Hi,
We wish to do the closing stock correction of previous year (2006-07) by way of posting GRN and Issue entries on 31st March 2007. Will it corrcet the Opening Stock as on 1st April 2007!!
Also will there be any issue while doing this work!!
Thanks for your kind support and help.
Best regards,
MoharOpen the project in CJ20N. Go to menu bar path: Edit-> status-> Close. Save project. Please note that you must first have gone through the normal progression of status moves from CRTD to REL to TECO before you will be able to close.
You have costs on the WBS that need to be settled to a cost center or other WBS
You have RA that still needs to be run and settled
This can get comlicated if you are not doing full settlement as you will have to open up the past periods to fix it. -
Storage location wise Opening/Closing Stock on posting date (mb5b)
Hi,
Report mb5b gives opening stock and closing stock as on date. In the selection screen, if we do not enter specific storage location then the opening/closing stock is displayed as sum of all storage location stocks for a given material.
Where as if we enter storage location, it gives storage location specific output. (with Storage loc/batch stock radio button)
My requirement is - without entering storage location in the initial screen, the system should display storage location specific opening/closing stock.
To get this, presently I need to execute mb5b transaction individually for every storage location.
Warm regards,
MSHi Madhavi
This report you can have in T code MC.6 and another t code for opening and closing stock in t code MC.9
Regards
Vivek
-- Reward if helpful
Edited by: Supergene on Feb 28, 2008 3:17 PM -
Opening & Closing Stock in transit
Hi All,
I Developed an abap report for Yield Statement with opening & closing Stock Quantities.
How to Find opening & Closing For transit Stock for 641 movement.I mean how to display the current transit stocks date wise at plant level without SLOC.
I Knew that current transit stock would be in Marc Table & previous closings in March Tables.
I'm looking for the date logic with respect to displaying opening & closing dates of transit stock.Be it Date Wise Or Month Wise.
Any help would be greatly appreciated.
Thanks & Regards,
Ravi SHi Ravi,
Please find the Link below hope they are very useful to you
[Stock|Re: closing stock of a particular date]
[Stock|Tables/FM for opening/closing stock for material on given posting date]
Thanks
kalyan -
Calculating opening and closing stocks at a plant (on specific dates)
Hi,
I am to develop an ABAP-report. On the selection screen, I'll have plant, material, and a date range (date_1 and date_2). The report should show opening stock on date_1, closing stock on date_2, and then there is more segregation based on movement types (along with both stock-quantity and stock-value). I am stuck at how-to's around calculating opening (and closing) stock on a particular date.
Secondly, transaction MB5B has 3 options : batch stock, valuated stock, special stock ... One of these options uses table MBEW and other uses table MARD ... Which (all) tables will I need to use so as to get both stock-quantities and stock-values ?
Please advise. Thank you.
Regards,Hi
for second question answer is
you need to consider all batch stock, valuated stock, special stock ... One of these options uses table MBEW and other uses table MARD to get both stock-quantities and stock-values
hope it helps
Edited by: ppkk on Dec 10, 2008 10:58 AM -
Opening and closing stock from mb5b
Hi Experts
I am writing a code which will display goods reciept, issue, transfer, etc according to movement type .
I have done the coding but the problem is I am not getting the opening stock by period , I want to get sum (lbkum) sum (salk3) into some formulae column .. I want to get the sum of lbkum from mbewh joining mseg,mkpf as period -1
ie if I select 04.03.2009 , I want the sum of stock from mbewh based on period -1 . so what formale I have to write
to get the opening stock on the date selected . The date range is selected from mkpf .
I want to get stock on whatever date selected from mkpf.
SELECT SINGLE * FROM mardh
WHERE matnr = p_matnr
AND werks = p_werks
AND lfmon = p_buper
AND lfgja = p_gjahr.
Regards
Pirozyou can get all data using MC.9 report
here you can get opening and closing stock with values based on material, plant, storage location
Kindly make sure while giving period
here it will take period in month and year i.e if you want opening stock for April then you have to give it as 03.2008 to 03.2008 and closing as 04.2008 to 04.2008
Regards
Edited by: WISH on Apr 23, 2008 1:15 PM -
Opening and Closing Stock Calculation In SAP BPC 10.0 NW
Hello Experts,
Need your guidance on this calculation.
BI Cube: Receipts and Issues only Available on day basis
BPC Report / Cube Context
Product = Product1, Product2,
Account = receipts, Issues, Opening Stock, Closing stock,
Flow = Other
Audittrail = Input
UOM = QTY
rptcurrency = LC
Category = Actual
TIme = All Periods (Monthly)
Plant = Plant1, Plant2, Plant3, Plant4
In the Cube I don't Have Opening Stock, without Which I cannot calculate Closing stock.
Scenario: If I Enter Manually Opening stock for all products at some starting point, say In Year 2008 Jan. How To take this closing stock of this month automatically to next month opening stock and So on and so forth to following Periods? Is it possible through "Carry Forward Business rule" in this case, as Closing stock is a calculated value using Member dimension Formula. I am having receipts and issues in Account dimension.
Dimension Formula used: Closing Stock = Opening Stock+Receipts- Issues.
Please find attachment of the report screen shot.
Thanking you
PraveenHello Vadim,
1. The Cube storage Type is "Periodic".
2. Acctype of the account dimension is "AST"
3. Time Dimension Is based on Month.
ID
Description
RELEVANT
Base Period
CLOSED
Level
Month Number
Period
TIMEID
Year
Calendar
2006.01
2006 Apr
1
MONTH
1
APR
20060100
2006
2006.Q1
2006.02
2006 May
2
MONTH
2
MAY
20060200
2006
2006.Q1
2006.03
2006 June
3
MONTH
3
JUN
20060300
2006
2006.Q1
2006.04
2006 July
4
MONTH
4
JUL
20060400
2006
2006.Q2
2006.05
2006 August
5
MONTH
5
AUG
20060500
2006
2006.Q2
2006.06
2006 September
6
MONTH
6
SEP
20060600
2006
2006.Q2
2006.07
2006 October
7
MONTH
7
OCT
20060700
2006
2006.Q3
2006.08
2006 November
8
MONTH
8
NOV
20060800
2006
2006.Q3
2006.09
2006 December
9
MONTH
9
DEC
20060900
2006
2006.Q3
2006.10
2007 Jan
10
MONTH
10
JAN
20061000
2006
2006.Q4
2006.11
2007 Feb
11
MONTH
11
FEB
20061100
2006
2006.Q4
2006.12
2007 Mar
12
MONTH
12
MAR
20061200
2006
2006.Q4
2006.Q1
2006 Q1
3
QUARTER
3
Q1
2006
2006.TOTAL
2006.Q2
2006 Q2
6
QUARTER
6
Q2
2006
2006.TOTAL
2006.Q3
2006 Q3
9
QUARTER
9
Q3
2006
2006.TOTAL
2006.Q4
2006 Q4
12
QUARTER
12
Q4
2006
2006.TOTAL
2006.TOTAL
2006
12
YEAR
12
TOTAL
2006
Thank You
Praveen -
Hi
how to findout open stock for the date and closing stock .hi
good
DATA : it_mard LIKE mard OCCURS 0 WITH HEADER LINE.
DATA : BEGIN OF t_mard OCCURS 0 ,
matnr LIKE mseg-matnr,
labst LIKE mard-labst,
END OF t_mard.
DATA : it_mardh TYPE mardh.
DATA : buper LIKE t009b-poper,
gjahr LIKE t009b-bdatj.
DATA : p_buper LIKE t009b-poper,
p_gjahr LIKE t009b-bdatj.
DATA : dt LIKE sy-datum.
*CLOSING STOCK OF PREVIOUS PERIOD
dt = sy-datum.
*get current period
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = dt
i_periv = 'M3' "apr to march 4 spl periods
IMPORTING
e_buper = buper
e_gjahr = gjahr
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
*fetch previous period
CALL FUNCTION 'CKML_F_GET_PREVIOUS_PERIOD'
EXPORTING
input_period = buper
input_year = gjahr
input_periv = 'M3'
IMPORTING
previous_period = p_buper
previous_year = p_gjahr.
SELECT SINGLE * FROM mardh
WHERE matnr = p_matnr
AND werks = p_werks
AND lfmon = p_buper
AND lfgja = p_gjahr.
IF sy-subrc = 0.
CLOSING STOCK = mardh-labst.
ENDIF.
*to calculate current stock-----
SELECT * FROM mard
INTO CORRESPONDING FIELDS OF TABLE it_mard
WHERE matnr = it_marc-matnr
AND werks = p_werks.
IF NOT it_mard[] IS INITIAL.
LOOP AT it_mard.
t_mard-matnr = it_mard-matnr.
t_mard-labst = it_mard-labst.
COLLECT t_mard.
ENDLOOP.
READ TABLE t_mard INDEX 1.
CURRENT STOCK= t_mard-labst.
ENDIF.
thanks
mrutyun^ -
Hi ,
My requirement is to make Z table for closing stock.
As ours is a pharma firm and we have implemented SAP in Aug 2008.
Now for closing stk we are using S033 and MSEG table to get opening stk
SELECT SUM( mzubb ) SUM( magbb ) INTO (w_dr_menge , w_cr_menge)
FROM s033
WHERE sptag < so_fkdat-low
AND werks = werks
AND matnr = matnr.
w_opening_balance = w_dr_menge - w_cr_menge.
and for closing stk = opening stk - sale + receive.
Now the problem is when we want to retrieve data for closing stk for last month ,it is checking all the records since Aug 2008 for opening stk and it is taking too much time to retrieve data.
Can anyone plz suggest any alternative for thsi problem.
I will really appriciate your help.
Regards,
ArchanaHi
done this before. for sure you will experience an performance problem in your current setup. what we did is we create a program that calculates the ending inventory of the month then beginning inventory of the following month we are executing this in every end of the month. In that case when we need to access the previous month the ztable must be use. make sure that your program can do rerun of the ending and beginning of stock because there are chances of previous posting of reversals.
Thanks,
Best regards,
Etrafanob -
Opening Stock+InwardQty+OutwardQty-Closing Stock from OINM
Can any SQL Expert can rectify my following query
Select DocDate,Dscription,SUM(InQty) as 'Inward Quantity',SUM(OutQty) as 'Outward Quantity',
(Select SUM(InQty)-SUM(OutQty)
from OINM where Itemcode='ACID BOTTLE - HCL' And DocDate
BETWEEN '2008-03-01 00:00:00.000' AND '2008-03-01 00:00:00.000') 'Closing Stock'
from OINM
where Itemcode='ACID BOTTLE - HCL' And DocDate BETWEEN '2008-03-01 00:00:00.000' AND
'2008-03-31 00:00:00.000'
Group by DocDate,Dscription
I am able to retrieve the SQL Query mentioned in above subject datewise but not able to add Closing Stock of Previous Row to Inward Qty of Next Row..........Hi,
I think you have been wrong in the setting of the date. Using your query, the system will not include the data of 31.03.2008 since the date condition you have made is between 2008-03-01 and 2008-03-01. It should as same as the 2nd date condition you have made i.e. 2008-03-01 and 2008-03-31.
if you still keep the fquery you have made previously, the result will be as same as you have written in your reply to me.
Select DocDate,Dscription,SUM(InQty) as 'Inward Quantity',SUM(OutQty)
as 'Outward Quantity', (select SUM(InQty)-SUM(OutQty) from OINm
where Itemcode='A1000' And DocDate BETWEEN '2008-03-01 00:00.000' AND
'2008-03-30 00:00:00.000') as 'closing stock'
from OINM
where Itemcode='a1000' And DocDate BETWEEN '2008-03-01 00:00:00.000' AND
'2008-03-30 00:00:00.000'
Group by DocDate,Dscription, OutQty, InQty
The result will be like this follows:
# Posting Date Item Description Inward Quantity Outward Quantity closing stock
1 06.03.2008 Boxing Gloves 0 1 329
2 26.03.2008 Boxing Gloves 101 0 329
3 29.03.2008 Boxing Gloves 1 0 329
4 29.03.2008 Boxing Gloves 0 1 329
5 30.03.2008 Boxing Gloves 2 0 329
6 30.03.2008 Boxing Gloves 14 0 329
7 30.03.2008 Boxing Gloves 6 0 329
8 30.03.2008 Boxing Gloves 8 0 329
9 30.03.2008 Boxing Gloves 35 0 329
10 30.03.2008 Boxing Gloves 6 0 329
11 30.03.2008 Boxing Gloves 50 0 329
12 30.03.2008 Boxing Gloves 20 0 329
13 30.03.2008 Boxing Gloves 30 0 329
14 30.03.2008 Boxing Gloves 100 0 329
15 30.03.2008 Boxing Gloves 0 2 329
16 30.03.2008 Boxing Gloves 0 10 329
17 30.03.2008 Boxing Gloves 0 10 329
18 30.03.2008 Boxing Gloves 0 20 329
373 44 329 -
How to post in March 2008 ?
Hi,
Fiscal yr var is V3 - Apr - Mar.
Special period 13-16.
Now the period is 3 -June 2009 .So i have open the period.
But i have closed period 12 2009. -March 2009.
But now i want to post some pending entries in Mar 2009.
Then how to post the entry in Mar 2008 ?
What will be the status in OB52 to post in Mar 2008 ?Hi,,
U can post for March-2009 which u have pending entries for the fiscal year
in OB52 u have to mentain like this 12 2008 to 3 2009 and 12 2008 to 3 2009
after that u have to do carry farward balancess again
Regards,
R.N.Reddy
Maybe you are looking for
-
Problem while consuming external webservice
Hi, I tried consuming webservice through se80->Enterprise Service->Service consumer. For SAP webservices i am able to consume it. It is creating proper proxies. But I tries it using with external WSDL url. It is saying error as 'Incorrect value: Unkn
-
Marker Shape in Legend - Line Graph
Hello, I have recently upgraded from 10g Release 1 to 10g Release 2. I am using a line graph. In Release 1, the data marker shapes show up in the legend. In Release 2, they don't. In Graph.xml, I have set the Graph element to have the attribute marke
-
SOAPAction HTTP header case sensitive
Hi gurus, I am trying to consume a webmethods java webservice via XI/PI NW2004 and when I send a request, PI send the soapaction field in uppercase. POST http://webservices.kuehne-nagel.com/HelloWorld_test HTTP/1.0 Accept: / Host: https://webservices
-
Output file in not a proper format
Hello, My JAVA program generate an output file using FileWriter. The name of output file is output.dat (ie a NOTEPAD file). But when I open up the file it is not in proper format. All the text get clustered. But when I open the same file in MircoSoft
-
Use imported photos in another package
Hello i have recently imported all my photos into iphoto; i am aware that i can edit the photos in iphoto but what i have found odd is that if i copy it to a new folder to edit the photo, the changes are copied to the original and then if i delete th