BW Stock Values (0IC_C03) by batch
Has anyone successfully gotten stock values to display out of InfoCube 0IC_C03 at the Batch level? I've reviewed OSS note 589024 and will continue to study it, but it isn't clear to me if this is possible.
Stock values are correct at the plant-material level, but when a user drills down on batch, the values are wrong. They want the report to "spread out" the inventory values amongst the batches but instead it just displays wrong values.
We may end up implementing a back-end solution somehow but am wondering if anyone else has done development to get around this issue.
Thanks,
Chris
Hello Chris.
Miguel is right. We also implemented the code from the "How to" paper that comes with that note and is working just fine. However I've come with a problem that I can't find an answer yet...
The paper tells you how to use a prequery for a single month, but what about an interval of time ??? I've tried to do it but I don't get correct values...
Did you Chris or Miguel come with this issue as well ??
Thanks,
Luis
Similar Messages
-
Need to display the Stock Values at storage location level - 0IC_C03
Hi All,
I am developing Stock Movent Report on 0IC_C03 - Material Stocks/Movements.
I have more than one storage location for plant. Stock quantities are calculating at storage location level and Stock Values are calculating at plant level.
I have no issues with quantities. Only problem with Values.
2LIS_03_UM is not picking the starage location, so that the revaualtion values are falling under unassigned nodes. When i set filter on storage location these values were not showing as they are under un assigned nodes (#).
I want to get the Stock Quantity and Stock Values at Storage location level in my report.
I found that soulution for that is Applying SAP Note : How to Realize summarized display of stock values on storage
I have done development as per the document. But when i run the Query it is going to debug mode first and then it saying This program cannot display the webpage
Can any one faced the same situation, Please help me if so.
Thanks in Advance.
Gopal NHi Sachein,
I am getting this An exception(CX_RSR_PROPAGATE_X) occured when debugging, and then it leads to next screen saying that:
This program cannot display the webpage
Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
What you can try:
Check your Internet connection. Try visiting another website to make sure you are connected.
Retype the address.
Go back to the previous page.
More information
Please let me know you need any more information.
Thanks in Advance
Gopal N -
Valuated stock value ( 0VALSTCKVAL ) - 0IC_C03
Hi,
The std non cumulative keyfig valuated stock value ( 0VALSTCKVAL ) of Inventory cube 0IC_C03 has exception aggr. as 'LAST VALUE' with ref char as 0calday. Could somebody throw light on the calculation of this keyfig? The query sometimes shows the value as the diff of Issue value & Receipt value but sometimes I'm not able to derive the value that comes up in the query..
This is really urgent. All help will be highly appreciated.
Thanks,
RituHi Vijay & Jaspreet,
Sorry for the delay in replying.. was stuck with something else. Thanks for your explanations. But still the keyfig 0VALSTCKVAL is not consistent with the logic. For some materials, it calculates correctly. But for some I'm not able to figure out the calculation based on the 0IC_C03 records ( based on Issueval & Receipt values).
One e.g. is shown below:
Plant Material CalDay Curr <b>0ISSVS_VAL </b> <b>0RECVS_VAL</b>
12T1 000000100000000016 03/27/2006 USD 6.12 0.00
12T1 000000100000000016 03/26/2006 USD 1.02 0.00
12T1 000000100000000016 03/25/2006 USD 88.40 0.00
12T1 000000100000000016 03/22/2006 USD 0.34 0.00
12T1 000000100000000016 03/21/2006 USD 1.19 0.00
12T1 000000100000000016 03/20/2006 USD 0.85 0.00
12T1 000000100000000016 03/17/2006 USD 1.53 0.00
12T1 000000100000000016 03/16/2006 USD 2.55 0.00
12T1 000000100000000016 03/15/2006 USD 2.04 0.00
12T1 000000100000000016 03/14/2006 USD 12.24 0.00
12T1 000000100000000016 03/13/2006 USD 9.35 0.00
12T1 000000100000000016 02/24/2006 USD 0.00 331.67
sum 125.63 331.67
The Query shows the values as shown below :
Value of Valuated Stock Receipt Value, Valuated Stock Issue Value, Valuated Stock
$ 242.40 $ 331.67 $ 125.63
I'm just wondering how the 242.40 came up...
Your input will be highly appreciated..
Thanks,
Ritu -
Stock Values for previous period on batch number
Need to show report which shows stock value and levels on a certain period (previous) by batch numbers.
Report MMBE shows current stock levels per batch.
Report MB5L shows stock value on a certain period (previous) but with no batch information
Is there any standard reports which you can see all stock values and levels for the previous period on batch?
ThanksHi,
Good morning and greetings,
Please go through the following link
http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/2839124f7811d18a150000e816ae6e/frameset.htm
Please reward points if found useful
Thanking you
With kindest regards
Ramesh Padmanabhan -
0ic_c03 storage location wise - Valuated Stock Value is Blank
Dear Gurus,
I have successfully loaded Inventory data as per standard document.
Stock Qty and Value both are matching correctly at Plant Level, Material Level. All scenarios tested okay.
But as soon as I drill down further by Storage Location, It shows only Stock Qty. Stock Value becomes Blank.
Please suggest if anything missing in transformation or any assignment or routine.
10 marks will be given if suggestion works, for hints also I will give some marks.
Regards,
Sachin
Edited by: Sachin Sawant on Jun 26, 2010 5:38 PMHi,
Please check :
Reports in BW with storage location and stock type chars.
SAP Note Number: 589024
-Vikram -
Stock ageing report with batch Management active
Hi Experts,
My client wants a Stock ageing report and batch management is active
According to my client, Inventory ageing report should show stock quantities and stock value as follows,
1. Below one year
2. Between one and two years
3. Above two years
What are the table and fields to be considered for this report.
Thanks
NDSWhat steps do you mean? taking an ABAP course and doing it yourself, or stepping to an ABAPer and let him know what he shall do?
you asked for a stock report, not for a movement report.
If I go into my warehouse and looking at all the stuff sitting there and want a report that should tell me how old this stuff is, then i am not intrested if there was a goods receipt movement.
However I would like to know the last movement date. In this case you have to look into table S032 or into the movements MSEG (with MKPF as header table) -
Date Wise stock report (0IC_C03)
How can we see the date wise stock quantity and value in Query using cube 0IC_C03.
Example:Suppose i want to see what was my stock quantity and stock value on 25th Jan08.Hi,
Restrict the Key figure value and quantity with the date.
OR
Go to the key figure in RSA1-> Info objects -> Double click on ur key figure-> Go to the aggregation tab Specify exception aggregation as last value and reference char as 0calday.
This will give u the stock on the last day.
If u want to do it in bex
Create a Calculated Key figure put ur key figure in. And right click select the properties select exception aggregation last value and reference char as 0calday.
Khaja -
Inventory Valuated Stock Value is not matching with R/3
Dear Friends,
we are in a big mess.Needed your help urgently
We are in sap netweaver 2004s.We are implementing the standard business content only for one of our client.We have loaded the Inventory data into BW by following "How to handle the Inventory Management" document.
We have loaded the inventory data into 0IC_C03 using standard transferrules and update rules.
The sequence we followed as:
IN R/3
Filled the setup tables for during the posting free time(non-business hours)
Stock intialization
Material Movements
Evaluations
IN BW
We had loaded the data into only 0IC_C03 cube using standard update rules(no changes done)
2LIS_03_BX-Generate intial stock with no marker update unchecked
2LIS_03_BF-Full update with no marker update checked
2LIS_03_UM-Full update with no marker update checked
When we compared the data between R/3 and BW they are many materials "Valuated Stock Value" is not matching with R/3.For some materials value is matching with R/3 but for some other materials its not matching with R/3.Some materials are showing the negative figures for Valuated Stock Value.
But the valuated quantity value is exactly matching with R/3 for all the materials.
We have tryed to many ways in the past 10 days to find out the solution.We have followd the notes 589024 and implemented the formula.But no luck so far.
Needed your help..Any suggestions would be highly appreciated.
Please help us with your inputs.
Thanks in advance.
Regards
SoujanyaHi Sudheer,
No We haven't implemented this note.
In start routine we already have the first start routine in the note.
INSERT BEGIN
loop at DATA_PACKAGE.
if DATA_PACKAGE-stockcat eq 'V' or
DATA_PACKAGE-stocktype eq 'V'.
delete DATA_PACKAGE.
endif.
endloop.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
INSERT END
We should comment the above start routine and follow the remaining section as below?
==========================================================
Notes:
However, if you want a report of these consumption values, proceed as follows:
1. Do not use the start routine listed above.
2. Create two new key figures (cumulative values):
1. Material consumption value (ZVERWERT, for example) with unit 0BASE_UOM
2. Material consumption quantity (ZVERMENGE, for example) with unit 0LOC_CURRCY
3. Include these in the InfoCube definition.
4. Update these key figures from 2LIS_03_BF as follows:
-> material consumption value:
IF ( COMM_STRUCTURE-processkey EQ '100' "Other Issues
OR COMM_STRUCTURE-processkey EQ '101' "Returns / Vendor
OR COMM_STRUCTURE-processkey EQ '104' "Material Transfer
OR COMM_STRUCTURE-processkey EQ '105' "Stock Adjustment InvD
OR COMM_STRUCTURE-processkey EQ '106' "Stock Adjustment Other
OR COMM_STRUCTURE-processkey EQ '110' ) "Issues from Stock
"Transfers
AND COMM_STRUCTURE-bwapplnm EQ 'MM'
only movements which are relevant for stock control
AND COMM_STRUCTURE-cppvlc <> 0
AND COMM_STRUCTURE-stockcat EQ 'V'
AND COMM_STRUCUTRE-stocktype EQ 'V'.
result value of the routine
RESULT = -1 * COMM_STRUCTURE-cppvlc.
if the returncode is zero, the result will be updated
RETURNCODE = 0.
ELSEIF ( COMM_STRUCTURE-processkey EQ '000' "Other Receipts
OR COMM_STRUCTURE-processkey EQ '001' "Goods Receipt/Vendor
OR COMM_STRUCTURE-processkey EQ '004' "Material Transfer/"Receipt
OR COMM_STRUCTURE-processkey EQ '005' "Stock Adjustment InvD
OR COMM_STRUCTURE-processkey EQ '006' "Stock Adjustment Other
OR COMM_STRUCTURE-processkey EQ '010' ) "Receipt from Stock
"Transfer
only movements which are relevant for stock control
AND COMM_STRUCTURE-cppvlc <> 0
AND COMM_STRUCTURE-stockcat EQ 'V'
AND COMM_STRUCUTRE-stocktype EQ 'V'.
result value of the routine
RESULT = COMM_STRUCTURE-cppvlc.
if the returncode is zero, the result will be updated
RETURNCODE = 0.
ELSE.
if the returncode is not equal zero, the result will not be updated
RETURNCODE = 4.
ENDIF.
if abort is not equal zero, the update process will be canceled
ABORT = 0..
-> material consumption quantity:
The code is the same, but COMM_STRUCTURE-cpquabu replaces COMM_STRUCTURE-cppvlc.
-> The characteristic value calculation is the same for the other key figures.
5. Update these key figures from the 2LIS_03_UM in the same way.
======================================================= -
Inventory Management: Valuated Stock Value
Hello Experts -
We're using inventory management. We're just bringing in 2lis_03_bf which is the material movements and the standard price datasource.
The plant valuated stock quantity and the valuated stock value are fine. The SLOC valuated stock quantity is fine. We're using the non-cumulative key figures for the valuated stock quantity and the valuated stock value. The SLOC valuated stock value isn't correct. So I just created a calculated key figure where I'm multiplying the quantity with the standard price.
This works fine but when I look at the plant level and use this CKF, the aggregation threw me off. So I changed the aggregation on CKF at the Bex level.
This works fine in dev and qa where I don't have too much of data. But as soon as I'm in in production, the query times out and gives me an error saying I reached the buffer limit.
I was thinking of calculating the valuated stock value at the ETL layer but now I'm thinking that if I do that and the price of a material changes, I'll again have the same problem. I can't re-load every time a material price changes.
Can someone please help me with this scenario?
Thanks!
Edited by: Siegfried Szameitat on Oct 29, 2008 9:30 AM
do not offer points, it is against the rulesHi Syed,
Deriving values by multipling with price also not correct. results will not match with R/3.
Value Calculation
In principle, values are updated with Plant, Material, and Stock Category only. Quantities are updated with these characteristics, as well as with Storage Location, Batch Number, and Stock Characteristic
Check SAP Note 589024: Evaluations in BW with the Characteristics Storage Location and Stck Char.).
Hope it Helps
Srini
Edited by: Siegfried Szameitat on Oct 28, 2008 4:17 PM -
Blocked stock value report daily
Hi Gurus,
I am looking for a report that shows value in USD for blocked stock per selected date for a material.
Please let me know if any report. I tried MB52 it does give value in USD for blocked stock but it gives by batch number. I need that by date.
Thanks for ya help in advanceIn MB52,in selection Don't tick "Don't display values",In report,Click change layout,
Check for blocked stock value field is available >? Move it to right side.
or
Develop a report using table MARD. -
Stock ageing report without Batch Management
Hi Gurus,
My client wants a Stock ageing report. But my concern here is can we achieve this without batch management
According to my client, Inventory ageing report should show stock quantities and stock value as follows,
1. Below one year
2. Between one and two years
3. Above two years
We can accumulate the goods receipt as per Material document date and movement type according to the above age requirement.
But, can we track goods issues from the above age groups without Batch Management.
Experts Pls reply and If possible, pls explain how we can achieve this.
Thanks
NDSAs you already noticed not only the input (GR) but the output (GI) is also important.
The date of the GR is only one thing, but after that you received the goods in your SLoc you cannot make difference between stocks received at different times.
As your stock is not distinguished in the system as per the GR date you cannot say that which sub-stock has been consumed during GI.
So, without batch management you cannot achieve your goal in standard system.
Of course, physically you can realize your idea by putting labels on different batches - this would mean batch management physically and not in SAP.
If you use warehouse management you can use a workaround: the GR date is stored in the quants and this makes possible to track the age of the stock without batch management. Please check:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/c6/f83b5e4afa11d182b90000e829fbfe/frameset.htm
Regards,
Csaba -
Valuated Stock Value differs - Urgent !!!
Hi All,
The valuated stock value in R/3 and BW differs. We are using the standard business content for the inventory report which are the 3 datasources 2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM & Infocube 0IC_C03...
When the query is executed the backward calculation does not give the right value for the material stock value. When checked in R/3 the value is different. My requirement is to get this material stock value correctly in my inventory report as compared with R/3.
Is there any workaround for this or is it a bug in the business content?
Thanks in Advance...
Best Regards,
KishoreKishore,
please check whether process keys rightly msintsined or not?
Nagesh Ganisetti. -
Table name for opening stock value
Hi,
Can some body tell me the table name & the field name for opening stock value,
(This is when you pass the date through LSMW at initial stage and it gets sits in which table)
For ex. MB5B
rgds
SonuThere are many stock tables in SAP.
if you load unrestricted use stock with value, then the quantity is going to MARD, quantity and value to MBEW.
if material is batch managed, then stock per batch is going to MCHB, but still MARD and MBEW are updated.
if you load non-valuated stock (material type UNBW), then only MARD is updated, no MBEW entry.
and much more cases for consignment, sales order stock etc etc.
If you try to find the values more than a month after the upload, and your materials had movements, then the old stock quantity at period closing is transfered to the history tables MARDH, MBEWH.
If you load in the beginning of a month, then SAP calculates the opening stock by using the end of period stock and add/subs the material movements.Then you will not find the opening stock as a single number in any table. -
Change existing stock items from Non-Batch to Batch Management Method
Hi,
Any prerequisites before changing the existing stock items from Non-Batch to Batch Management method which have On hand stock qty? Please advise.
Thanks & Regards,
PriscillaHi
You can change the method only when, available Qty becomes zero.
OR
you can do one workaround :
Make Goods Issue of that Item and take value of stock in any GL,
and then change the method of that item, then make Goods Reciept by using that GL which was used in Goods Issue.
Regards
Manoj S -
BEx Query to display cumulated Stock value..
Hi,
I want to display below report o/p in BEx.
Below is data set:
Material Batch Fiscal year/period stock value
A A123 005/2011 $1000
A123 006/2011 $1500
Report should display o/p as follows:
Material Batch Fiscal year/period stock value Cumulated stock value
Till today
A A123 006/2011 $1500 $2500
Cumulated stock value is addition of period 005/2011 and 006/2011. How this can be accomplished in BEx if fiscal period/year is required to display in rows.
Any help is greatly appreciated.
Thanks,
MilindHi,
Create a RKF called cumulated stock values and in this RKF restrict the Fiscal year Period For current year. This will give you the cumulated value of all stock for the entire year.
Reg,
Rahul
Maybe you are looking for
-
15 inch Mid-2010 MacBook Pro freezing since installing Lion
I've had this problem for a while now. It started a few weeks after I installed Lion in the summer. My MacBook Pro would just freeze without warning and the only thing I can do is a force shutdown. I've checked the logs, and these freezes do not log
-
I'm using a micro sd card inside USB adapter but it won't mount on my Macbook Air 2012
Hi everyone, Really puzzled at the moment because I just purchased a Kingston 64GB Class 10 Micro SD card and it came with a USB adapter to plug into my mac. The problem is that it won't mount, I just get a pop up saying "The disk you inserted was no
-
Mail not working need help urgent!!
I install os x leopard and every time I try to get in to mail a message come up telling me the following: You can't use this version of the application Mail with this version of Mac OS X. You have Mail 3.6. and I cant find the new version please help
-
Need Schedule Lines for the External Processed Operation
Dear All, In My routing, I have totally 10 operations. 2 of which are externally processed Operations. When i create Production Order, the system creates Purchase Requisitions for both the Operations. My client wants, Schedule lines to be created in
-
PGP Encryption Error using OpenPGP
Hi all, I am trying PGP Encrption using Custom module in one of the scenario's. While Executing the code on my local system(simple java project) i am getting following error. Exception in thread "main" java.lang.RuntimeException: NYI at cryptix.