Negative closing stock on back date
All SAP Gurus,
We have made GR (MIGO) on todays posting date.
And issued the material on yesterday's posting date (past date), (where there was no stock on that date).
System allowed us to issue the material on past date, on which there was no stock.
And now showing closing stock on previous date as negative.
We want to avoid such negative closing stock.
What configuarational changes we need to do?
Regards,
hi
This is standard functionality .. u can not do anything in std. as there is no error message available for this
u can do one thing In OMSY u can remove remove the check mark in the ABp (Allow Back Posting) check box for your Company Code, to stop postings in the closed periods.
or in MMRV do not tick posting in previous period
Vishal.....
Similar Messages
-
Opening stock will be the closing stock of previous date
Hi All,
Good day. I am developing an ALV report that will show opening stock(LABST) as well as closing stock(Calculated) for a range of date and materials. Problem here is that from MARD table I am getting only the last opening stock, because it has no common date field with MSEG table. So, I have to calculate the opening stock as the closing stock of previous date. How can I calculate this? Is there any FM to get the opening stock ?
Date Material Opening St Closing St
27.03.2009 2100002 91.000 191.00
28.03.2009 2100002 191.000 123.00
29.03.2009 2100002 123.000 103.00
With regards,
Tripod.
Edited by: Tripod on Aug 23, 2011 12:13 PMTry not only to use MARD and MKPF/MSEG but also MARDH which contains closing stock of period preceding periods where movements happened. (ie. there is a record for May if a movement happened in June, and none for June if there was no movement in July, and no record exists for August as this is current period) - First look for MARD, MARDH records; and then only read MKPF/MSEG from last MARDH record found. (created back to 4.5A - [Material Master (Industry/Retail): Enhancements to Period Closing|http://help.sap.com/saphelp_45b/helpdata/en/35/b0e7ef87a62488e10000009b38f9b7/content.htm])
Regards,
Raymond -
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 -
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 AdvanceDear 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. -
Report for shedule vs supply and report for opening stock at back date.
Dear All Guru,
please can anybody reply me is there any standard report is available for
1) Report for shedule vs supply
2) and report for opening stock at back date.(ex- opening stock at last month 16th july or two months back on 10th may
pl suggest if any standard report is available or how we can data for this
Regards,
VimleshHi,
To see the opening stock at a particular date use T.Code: MB5B,
To see the scheduled quantity & delivered quantity use table EKET with the filed names MENGE & WEMNG.
Regards,
Prabu -
How to revaluate negative closing stock value in SAP B1?
Hi all,
I am trying to revaluate those items with the negative closing stock value using Inventory Revaluation. I choose Inventory Debit/Credit for the revaluation type and key in the item code, quantity, +ve value in debit/credit, G/L increase and decrease account.
After I added the Inventory Revaluation successfully , I go and check in the Inventory Audit Report for the specified item but found that the item still with the negative closing stock value.
My major concern here is the items with negative closing stock value do not have any in stock quantity. Can I adjust the negative closing stock value of the items with zero quantity?
Thanks.
Best Regards,
XavierHi all.
Just found out why I cannot do the negative stock value revaluation. When I want to do the inventory revaluation for the items of negative stock value with zero quantity, the journal entry will debited to the wrong account, that is 507040-00-000 (Price Difference Account).
Inventory Revalution for item with zero quantity:
[http://img33.imageshack.us/img33/6596/invrevaluation.jpg]
Journal Entry:
[http://img84.imageshack.us/img84/879/81238835.jpg]
Sample of Charts of Accounts:
[http://img31.imageshack.us/img31/2078/coaq.jpg]
When I do the inventory revaluation for the items where the in stock quantity is greater than zero, the journal entry will debited to the correct account, that is 105011-00-000 (Consumables account).
Inventory Revaluation for item with quantity greater than zero:
[http://img819.imageshack.us/img819/5711/invrevalution.jpg]
Journal Entry:
[http://img24.imageshack.us/img24/7136/80015631.jpg]
The items are under the same item group - Consumables
[http://img543.imageshack.us/img543/2347/itemgrp.jpg]
I do not why this will happen when I try to revaluate the items with negative stock value of zero quantity?
Kindly share with me your opions.
Thanks,
Xavier -
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,
PankajHello 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. -
Hi all Experts,
I am at client site and hav to provide a report containing opening, and closing stock (and issue qty if possible) storage location wise and date option wise.pls help
regards
vikas chhabraHi,
Use MB51 for date wise report
OR
Use MCL1, MCL5, MCL9, MCLD (If Warehouse Management you are using)
OR
You have to develop an own ABAP report.
Regards,
Biju K -
Closing Stock as on date.
Hi All,
I need the information how to get the closing stock of items on a desired date.
help me writing a query for that.
I tried fro that but not able to get it.Hi,
Try this
select t1.ItemCode,max(t1.dscription) [Name],(sum(isnull(t1.InQty,0)) - sum(isnull(t1.OutQty,0)) ) [ClsStock],(sum(t1.transvalue)) [ClsValue]
from OINM t1
where t1.DocDate >= '[%0]' and t1.DocDate <= '[%1]'
group by
t1.ItemCode
Regards,
Bala -
Negative closing stock in inventory
Hi Gurus,
Iam getting -ve closing stocks when iam running the report on inventory cube 0IC_CO3.
1.Iam using 0valuated stock as my keyfigure for closing stock
2.I Have checked in MB5B in R/3 side and came to know that in movement type 641 which is related to goods issued some batch numbers are getting repeated in BW side.
For EX:For matrerial code FC35025RT and the batch no 8301 the quanity issued is 36 in R/3 and its showing the same in BW upto PSA, but when loading into the cube its getting loaded as 72 instead of 36.
3.The cube is on built on 3.5.
Please advice.
Regards
Amar.Hi,
Use 2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM to 0IC_C03 Cube and design the report.
Use :See the steps how to load the data to 0IC_C03.
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.
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, drag and drop following InfoObjects
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, drag and drop following InfoObjects
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.
Thanks
Reddy
Edited by: Surendra Reddy on Jun 21, 2010 7:51 AM -
Closing Stock of a particular date:Function Module
Hello Experts,
I m developig a report in which I want Closing Stock amount of a particular date.
Is there any funtion module for this, as in tables S031, mard I m getting Closing Stock as on date.
Pls suggest
PriyankaHi Priyanka,
I didnt find any function module for this purpose.
You can create your FM for this purpose.
You can refer following thread for the reference:
Re: closing stock of a particular date
Closing Stock of a Material
Re: Stock on a particulare date
Hope this will help.
Regards,
Nitin. -
Closing stock report with GRPO
Hai all
Please help me to write this query,
For example
I have query to take closing stock report ,but my requirement is ,i want split up for Closing stock and closingvalue
like, if i have 40 closing stock means i want details how 40 is arrived
for example i run closing stock report as on 2009-03-31
means i want this format
Itemcode ClosingStock Closing value
ITM001 40 460
ITM002 20 210.......
ItemCode GRPOno. VendorCode quantity Rate GRPO Date
ITM001 10001 V0001 10 10 2009-02-01
ITM001 10002 V0002 20 11 2009-03-15
ITM001 10003 V0003 10 14 2009-03-31
ITM002 10021 V0011 10 10 2009-02-11
ITM002 10022 V0015 10 11 2009-03-14Hai Jeyakanthan A
I want small change in your query
SELECT T0.ItemCode,T0.TransType, SUM(T0.InQty)-SUM(T0.OutQty) AS 'Closing Stock',SUM(T0.OpenValue) as 'Balance' FROM OINM T0
*where docdate <= '[%0]'*
GROUP BY T0.ItemCode,T0.TransType
Having
T0.TransType = 20 ORDER BY T0.ItemCode,T0.TransType
I tried this query for taking closing stock for given date, its giving me correct result
SELECT T0.ItemCode, T0.Ref1, T0.CardCode, T0.InQty, T0.Price, T0.DocDate FROM OINM T0 WHERE T0.TransType = 20 AND
(T0.DocDate >= '[%0]' AND
T0.DocDate <= '[%1]') ORDER BY T0.ItemCode, T0.Ref1, T0.CardCode, T0.InQty, T0.Price, T0.DocDate
In this query i want only the GRPO no,date,price.... for closing stock quantity
Edited by: Prasanna s on May 14, 2009 12:39 PM -
CLOSING STOCK FOR A GIVEN PERIOD
hi all,
I have to design a report to find out the closing stock.How to find out closing stock for say 1st nov to 15th nov.In MBEW and MCHB , i am getting closing stock as on date. please help me out if there are any tables or any other way out through function modules.
Regards,
Devinahi,
I will check that t code.
thanks and regards,
Devina -
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^ -
Closing stock as off a particular date
How to write a query for closing stock (in quantity) for all items by group by warehouse for a particular date?
Thank you.the standard stock count in SAP B1 (Inventory>> Inventory Transaction >> Initital Quantity, Inventory Tracking, Stock Posting) is "real time" and not back-dated and the screen will display all items irrespective whether there is stock balance in the system. Anyone has a query where able to have the stock balance generated at any cut-off date, i.e. the stock count can be back-dated and only display those items with quantity (in the system) as at that cut-off date .
Thank you.
Maybe you are looking for
-
Development and QA environment transactions missing
It appears that there are several transactions missing from a several roles in both environments. Examples of these are FD32 and XD03. For a particular user, I have taken a snapshot of access regarding transactions, (they have these one day and the
-
I'm having trouble getting started with JDK applets: - Applets in the demo directory don't run locally in IE6 (gray box). Hovering the mouse over the box says [class] not found. - They all run fine in IE6 off the sun applet demo directory (same apple
-
My new iPhone 6 will not work with iTunes 11.2.2 and my Macbook Pro will not update to 11.4. My wife has an older Macbook Pro and hers updated fine to 11.4. (Her iPhone is working with iTunes) How can I get 11.4?
-
Update Telephone Extension of Customer Master
Hi all, I want to update Telephone Extension of the Customer through my program. Is there any function module which would update the Extension. the case is I am getting an inbound idoc which does not process the Extension as the extension segme
-
Is there a way to access Warp Stabilizer's internal data?
Hello, I have some footages where I pass through a relatively narrow gate with the camera. My footages are typically quite shaky and so far I have been using Warp Stabilizer with great satisfaction. It really works well. However, in these scenes it m