Regarding Stock on Particular Date
hi all,
I am getting Current Stock through MARD table but when i am going to Previous date i am getting Current Stock only.
How can we calculate Previous day Stock.
Please suggest solution.
Regards
Reddy
RM,
Why you not using SAP standard report.i guess there is hell lot of reports on stock already in System.
use them for less error risk.
MB51,MB5B,MMBEthere all ares tock report which build by system only.
Amit.
Similar Messages
-
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. -
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 -
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. -
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
SachinHI,
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 -
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®ards,
SunithaHi,
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 -
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 -
How the system finds stock of material on specified date .
Example In report MB5b system gives stock of material on date we have selected . If I select date 31 Mar 2010 then system displays stock as on 31 Mar . From which table it comes ?
(In table MBEW we can get stock as on todays date)Hi,
In MB5B, the system will first take in to account of all total valuated stock for the particular valuation area on system date. This will be in the table S032. Then it will take in to account total issues and receipts during the back date. Then the difference will be added or subtracted accordingly from the present stock and value.
Regards -
Hi guys,
Can we get stock of any material as on a specified date without using mb5b? Which table will store this data?
Please help me out on this
thanks in advance
saiHello Chintu,
MB5B is the best report to get material stock on specific date.
There is no direct table which stores stock on particular date, but SAP system calculates strategically with GR, GI and material transfers to get this data. If you want report on that then I think need to develop it.
Does MB5B not meet your requirement? Pl. explain the requirement so we can suggest accordingly.
Regards
Arif Mansuri -
FG stock on a particular date for a specific customer
Hi all,
I need to develop one report in which i need FG stock for a particular customer on a particular date. For ex on 5/11/11 what was the FG stock against xyz customer.
Is there any logic available for this requirement. can you please tell me which tables i should look for?
ThanksFG stock for a particular customer on a particular date.
Is it Make to Order stock? If it is not, then you may not find the details. If it is MTO, then use t.code MB5B. Using this, you can find stock on particular date.
Regards, -
Stock at subcontractor for Particular Date
Dear Experts
There is a t-code to get the Stk at subcontractor for a particular date .MBLB will show only current Stk, i need it for Particular date.
Rgds
Pankaj AgarwalHi,
There's no standard report for this.
You can develop you own report using current stock level (MARD, MSPR, MSKA, EKBE (stock in transit), etc) and goods movement (MKPF, MSEG) data.
Regards,
Csaba
remark:
ME2O won't provide information on stock on particular date. The date field is "requirement date".
Edited by: Csaba Szommer on Jul 24, 2009 7:51 AM -
Dear All,
I am creating a customised report for showing all the importatnt data (like stock, consumption, production, sale in one report) at client level.
In this report I am required to show the stock of material on a particular date, entered by the user in the selection screen.
(In stanard SAP, report MB5B servers the purpose.)
Can you please suggest how can I get the same information in the customised report.?
(I do not prefer using method: month opening stock + total receipts - total consumption)
Is there any alternative way?
Thanks and regards
SarangHi
The MB5B report gives you all the data, if you donot want some of the data, copy the Report, & from the Output Parameters remove the Fields which you dont want.
if you want the ALV functionality add the same to that.
Thanks & Regards
Kishore -
Material Stock at storage location for particular date!
Dear Friend,
I need a table or bapi which gives stock for particular storage location on particular day. That is MMBE and if you go into detail list (shift+f7). I want same thing.
I have tried in MARD table, but it gives stock of a material for most current date.
Waiting for your early Reply.
Regards,
Bhavin Shahhi check:
MB_ADD_PURCHASE_ORDER_QUANTITY
Regards
Ashok P -
Stock Value on a Particular Date
Dear Sir,
As a part of our Inventory Monitoring , we need to have a list showing Item wise Stock Value on a particular date (or end of any month date) .
Kindly guide us as what Tcode is available in SAP for getting such a list .
Kindly help us pl .
Rgds
B MittalHi
In MB5B report please select the Stock type as valuated stock, this will give you the Stock Value also.
Thanks & Regards
Kishore
Maybe you are looking for
-
I just replaced my old desktop PC that was running Windows 7 because it stopped working. My new desktop PC is running Windows 8.1. I downloaded the new MX7600 drivers from the Canon website for Windows 8.1, and I discovered the scanner driver can not
-
Why is my battery life so bad?
I've had my laptop for just over three years and the battery has become appalling. It lasts for just over an hour without being attached to the mains, and is becoming unbearable. As a student I'm probably working on it a few hours a week - is it jus
-
HP Mini 110 with new SDD. Restore Fail to copy
Hello, My original HDD died, and so I purchased a new SDD, and the HP restore discs, Using an external CDROM I have begun the restore process. During the copying files required to restore the hard drive I get an error message that reads; Copy File F
-
Accessibility Alt Text problem
I have an acronym in the PDF and want to create alternate text for it. I believe I understand the procedure to do so. I'm using the Read Out Loud feature in Acrobat Pro 9 to test it. The reader reads the alternate text first , but then it also reads
-
after running through the forums i couldn't find anything that related to my question. so here it is. to search for a substring, do i have to search for each individual character or is there an easier method... for example: String john,paul,mark,fabi