SCRAPING THE INVENTORY QUANTITY
Dear all,
I had uploaded the the stock of material by physical inventory mi01-04-07 .Also the value of the material is 0.00 inr.
Now the problem is that i had post the wrong stock for ex. 100 insted of 500 pc.If i use post diffrence or use count zero in physical inventory process the sytem keeps the record i.e shows the result in mb5b as issue -ve quantity.Means of hiting the G/L account.
So is there any trick to scraping the quantity of posted material to"0" pc witout hiting the G/Ls ??
Hoping reply earlier....
Manish..
Hi
EX: Quantity of X material is 100.
You did PI MI01/04/07 for 1000 quantity and posted the document. Then your inventory gain account will be updated by 900 quantity and total stock becomes 1000. I hope you are here now.
Now do one more PI MI01/04/07 for 100 quantity, then your inventory loss account will be hit & total stock becomes 100 again.
In this process material price will not be changed. Only inventory gain/ loss (GBB - INV) account will be hit.
Thanks
Similar Messages
-
The onhand quantity at sub inventory level it is not showing correctly
For an item the org level quantityt is showing correctly but at sub inventory level it is not showing correctly.
1)For an item org level the avilablty as below :
On Hand / Avail to Reserve / Avail to Transact are
oRG level 7 7 7
STAGING 7 7 7
STORES 0 0 0
2) Created an Sales order with quantity 5 ,then STAGING decreased by 5 which is correct.
the avilablty as below :
On Hand / Avail to Reserve / Avail to Transact are
oRG level 7 7 7
STAGING 2 2 2
STORES 0 0 0
3) Shipping Transaction not completed,Received 4 into Stores – Staging avail increased by 6 and even STORES also increased by 4 . Here we do not understand why STAGING increased to 6.
the avilablty as below :
On Hand / Avail to Reserve / Avail to Transact are
oRG level 7 7 7
STAGING 6 6 6
STORES 4 4 4
4)Ship Transaction Completed sucessfully now the values are showing correctly.
The avilablty as below :
On Hand / Avail to Reserve / Avail to Transact are
oRG level 7 7 7
STAGING 2 2 2
STORES 4 4 4Hi Patel,
You can create a confirmations using CO11N for sub-operations, but you can only confirm hours, not yield quantity. The yield quantity requried to be confirmed in the operation. You can partially or fully confirm sub-operations.
Enter the order number, sub -operation number all the related data will be displayed execpt greyed quantity fields.
Can you see the "sub-operation" entry field below "oper./activity" in CO11N ?
Thanks & Regards,
Ramagiri -
How to find the Rejected quantity in the Itemmaster data-- Inventory Tab
Hi Experts,
I want to find the Rejected quantity value when iam raising a production order->issue>and Receipt.
In the Receipt from production, if iam giving 10 qty as rejected the value must get displayed in the inventory tab of item master.
I have created a UDF called Rejectedqty in the inventory tab, but how to import that rejected value from the receipt form to this inventory tab,the value 10 must also be subtracted from the available qty present in the inventory tab.
This query is used for finding the available items to sell:
SELECT T0.OnHand - T0.IsCommited FROM OITW T0 WHERE T0.ItemCode = $[$5.1.0] and T0.WhsCode = $[$28.1.0]
I want the same for the Rejected Value(it must get subtracted from the Available qty).Keep me posted if solution is found out.
Regards,
Magesh.I am thinking you want to show the rejected quantity on the Parent Item in the Inventory Tab.
Use the following SQL for showing the Net Available Qty after subtracting the rejection.
<b>SELECT T0.OnHand - T0.IsCommited - (SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R')
FROM OITW T0
WHERE T0.ItemCode = $[$5.1.0] and T0.WhsCode = $[$28.1.0]</b>
Use the following SQL to get just the rejected quantity
<b>SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R'</b>
Suda -
How to get the onhand quantity along with zero quantities in Inventory?
How to get the onhand quantity along with zero quantities in Inventory...Plz reply me as son as possible?
Hi Akshata,
In processRequest you can use pageContext.getParameter
String PartyName = pageContext.getParameter("PartyName");Regards,
Sujoy -
Reserves stock quantity in the Inventory cubes
Hello
I need to add a new KF: reserved stock qty to the inventory cubes? Does anyone have an idea if there is any R.3 field for the same or any specific t-codes where I can search. Or is it a calculated kF in the cube (with routines) or in the query?
Thanks.
Srini.HI,
You talk to MM guys an dask how to capture the reversals using some MOvement types and Item Catogories and then you just add one norma Keyfigure and write code in Transformations like below, this code is sample one and I'm using for other purpose, in the same way you do it..
CLASS lcl_transform IMPLEMENTATION.
METHOD compute_ZQMM_TURS.
* IMPORTING
* request type rsrequest
* datapackid type rsdatapid
* SOURCE_FIELDS-BWAPPLNM TYPE /BI0/OIBWAPPLNM
* SOURCE_FIELDS-MOVETYPE TYPE /BI0/OIMOVETYPE
* SOURCE_FIELDS-CPQUABU TYPE /BI0/OICPQUABU
* SOURCE_FIELDS-BASE_UOM TYPE /BI0/OIBASE_UOM
* EXPORTING
* RESULT type _ty_s_TG_1-/BIC/ZQMM_TURS
DATA:
MONITOR_REC TYPE rsmonitor.
*$*$ begin of routine - insert your code only below this line *-*
**********SURENDRA REDDY ON 12-09-2009**************BEGIN*****
... "insert your code here
*-- fill table "MONITOR" with values of structure "MONITOR_REC"
*- to make monitor entries
... "to cancel the update process
* raise exception type CX_RSROUT_ABORT.
... "to skip a record
* raise exception type CX_RSROUT_SKIP_RECORD.
... "to clear target fields
* raise exception type CX_RSROUT_SKIP_VAL.
IF ( SOURCE_FIELDS-MOVETYPE EQ '453'
OR SOURCE_FIELDS-MOVETYPE EQ '454')
* AND COMM_STRUCTURE-/BIC/ZXAUTO IS INITIAL
AND SOURCE_FIELDS-BWAPPLNM EQ 'MM'.
* result value of the routine
RESULT = SOURCE_FIELDS-CPQUABU .
where ZQMM_TURS = normal kf to get the quanity based on movement type and others..
Thanks
Reddy -
VL02N , How to correct the deliverd quantity in vl02n for the batch items .
Hi,
How to save the order if the correct picking value if the item is batch managed.
When we are in Delivery -> Item->batch split screen, we have an option Adj Del Qty. When this is clicked, than delivery qty is updated correctly. When this is not done, delivery is saved with mismatch between cumulative batch quantity and delivery quantity.
Could any one has an idea how to save the order with the correct delivery quantity when the batch split -> Adj Del Qty is not clicked.I am thinking you want to show the rejected quantity on the Parent Item in the Inventory Tab.
Use the following SQL for showing the Net Available Qty after subtracting the rejection.
<b>SELECT T0.OnHand - T0.IsCommited - (SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R')
FROM OITW T0
WHERE T0.ItemCode = $[$5.1.0] and T0.WhsCode = $[$28.1.0]</b>
Use the following SQL to get just the rejected quantity
<b>SELECT SUM(T1.Quantity) FROM IGN1 T1 WHERE T1.ItemCode = $[$5.1.0] AND T1.TranType = 'R'</b>
Suda -
Goods Receipt not Increasing the Inventory and creating a variance instead
Hi Experts,
We have this situation in some of the goods receipts and not all of the goods receipts. In some Goods receipts, what is happening is:
1 - When we copy the goods receipts from the PO and add the goods receipts, the G/L account for Inventory Variance is Debiting instead of Debiting the the Inventory in that particular warehouse. I want to change the G/L from Inventory Variance Account to Inventory Account. I have checked all the settings but I am not able to understand why this is happening. I did the same Goods in the test server, everything was perfect. Like this we have couple of Goods Receipts that hit the wrong G/L. We use SAP Business One 2007A PL:08.
Any Idea why this is happening only to some goods receipts? Would greatly appreciate your earliest response.
Please let me know the checkpoints as well if possible. May be I am missing something here.
ThanksHi all ,
You can set other warehouse for that particular Item Or Create Duplicate Item From item Master and Delete old one and set quantity as per GL Or your requirement.
Thanking you,
Ganesh Mahajan -
GL Account/inventory/quantity information
Hello,
We are in the process of a cutover for our go-live tomorrow. The finance group has requested the following information to validate the G/L loads that have been done:
A report showing G/L account, item number, item description, cost, and the quantity.
There was a slight descrepancy between the balance in the inventory accounts in the legacy system vs. what is in B1, so they'd like to use this information to validate what items/quantity are contributing to the balance in B1. Please let me know if you know of a way to extract this information.
Thanks,
MandarHi Mandar,
I think that needs to be done manually. When I say manually, it means by comparing the inventory data from legacy & B1 to find the differences. You can use vlookup from ms-excel to compare both data. If the difference is minor then it can be because of rounding ofcourse depends upon the setting done in SAP B1.
Hope this will help you.
Regards,
Abhishek -
Movement Type 511 when stock in the Inventory is nil
Hello Sir / Madam ,
I have some queries regarding 511 Movement type :
Free-of-charge delivery from vendor.
When this movement type is posted it updates the Stock (MARD-LABST) as well as the Valuation Table (MBEW-LBKUM). (Unrestricted movement)
But the Total Value of the stock is not updated .( MBEW-SALK3 is not updated ) but to adjust this the new price is calculated which is just before the posting divided by the new total stock.
For Example :
MARD - LABST = 10 , MBEW-LBKUM = 10 , MBEW-SALK3 = 100 , MBEW-VERPER = 10
Then after 511 movement type the situation will be as follow , please see that how VERPER changes
Qty posted using 511 movement type = 10
MARD - LABST = 20 , MBEW-LBKUM = 20, MBEW-SALK3 = 100 ,
MBEW-VERPER = 5 <<<<< Calculated -- MBEW-SALK3 / 20 = 100 / 20 = 5
MBEW-SALK3 is not changed.
Which is expected .......
Now if we want to sell this Material at higher price or lower we can post the price change .
Question : I have a situation wherein I would like to know the usage of 511 movement type ?
I am trying to explain this situation with some scenarious....
A shopkeeper have decided he will maintain a particular variety of Pen under different Material number and in his SAP he created this Material with MAP .
But the stock is zero for this Material in the system due to sale. So he can not do initial entry for stocks ( 561 Mvt type ).
Now there is some vendor who is Pen supplyer for this shopkeeper and for promotion he gives 50 Pens of this Variety to this Shopkeeper . The shopkeeper does 511 (Free-of-charge delivery from vendor ) in his SAP system for this Pen . So MARD-LABST , MBEW-LBKUM are updated . But MBEW-SALK3 remains Zero .
MARD - LABST = 50 , MBEW-LBKUM = 50, MBEW-SALK3 = 0
Now The shopkeeper purchases some quantity or he does some inhouse production so he wants to do 561 movement type for this Pen .
Now This should update the Inventory but this should also update the inventory Value (MBEW-SALk3) but this will never happen since MBEW-SALK3 = 0 due to 511 Movement type and the VERPER which is price will also become zero for this material.
This case was during the initial maintaience for this Material but even in later stages of movement if sometime the inventory stock becomes zero for this Material and 511 is done just after this then the further movements ( 561 ) which is valuated is not updating the MBEW-SALK3 .
One possible work around could be posting the price change after the above situations which could make the total value (SALK3) zero or we can supply external price in mb1c transaction.
Further if he receives the stock via 101 then the mbew-salk3 is updated which is equal to Net value in PO divided by total stock mbew-lbkum.
Is there any other way for making the total value not zero ?
Can you please give the effects and the possible practical situations which you might have faced with this movement type postings ?
Thanks a lot for the help in advance !
Best Regards
ShashankHi,
The function is 2 stemps. (1.Transfer 2. G/R )
1st stemp created document movt. 351 49xxxxx2631. (After the step . inventory moved
Plant B with amt. 1,345.52)
2nd. movement posted intransit to storage loc. (Same plant)
Hence the amount is same value. ( SAP not created FI doc.)
Regards,
Gaito -
Inventory - Quantity Discrepancy
Why do I show the correct quantity at the item master level but incorrect qty/value at the inventory valuation/audit report level?
We have just taken physical inventory - we entered our results into inventory tracking then posted using inventory posting.
When I check quantity of items using Item Master Data - "Inventory Data" Tab displays correct quantities in all warehouses.
My problem is when I run the "inventory valuation" or "Inventory Audit" Report - the results show quantities and values for items that we do not physically have - we posted "0u201D qty during our inventory posting and the system reports think we have "1".
The values appear to have been brought over during our initial migration as a u201Cgoods receiptu201D but I would assume that posting the current and correct quantities during physical inventory would correct the valuation reports.
Please help!
Andrew
SAPB1 2007A (8.00.177) SP 00 PL 41Thank you for this query - this produced a list of 517 items whicih demonstrate the same issues we are seeing.
Item Master Data / Items Status = correct values
Inventory Audit/Valuation Report = incorrect values
VERY HELPFUL QUERY - the question now is, what next?
Is this caused by the bug which was fixed in 2007A? I have read about the "Inventory Valuation Check-up" which i have requested our VAR look into....The VAR is currently trying to determine if our data was upgraded from 2005 or loaded directly into 2007.
Any info you can point me to is most appreciated!
Thank you! -
Some of the stock quantity is against un-assigned notes
Hi All,
In material moments cube, when I execute a query, I can see that Stock quantity is exactly matching with R/3 data. When I have Material Group & Material in query, theres a split up in stock quantity. Some of the stock quantity is against un-assigned notes for same material, and some are against material group say IDTI.
Example:
Material stock qty
1235 50
1245 60
Material Group Material Stock Quantity
IDTI 1235 -10
PC 1245 40
1235 60
1245 20
I had followed How to .doc on inventory while populating 0IC_C03.
Please advice on the same .
Thanks
JameelHi Bivu,
Did you some answer on the questions you had?
My client also facing the same kind of issue.
Specially I would like to know, what will be financial Impact, if we ZERO out stock and reload.
Thanks -
Inventory Quantity Range and Sales Quantity Range
Hi experts,
Please, can it possible to create a query that will display by item code,description and by business partner(preferred vendor)
1) Beginning Inventory Quantity of the start of the date range
2) Ending Inventory Quantity of the end of the date range
3) Sales Quantity of the specified date range different from the date range that was used in Inventory quantity date range.
4) Actual In Stock (Current Date)
where Sales Quantity is at gross of credit memo and Inventory includes credit memo.
Thank you,
Dis
Edited by: Dis Rodarbal on Mar 3, 2011 2:50 AMHi,
Do modifications in the below query if necessary
declare @from datetime
declare @to datetime
set @from=(select min(a.docdate) from oinm a where a.docdate>=[%0] or [%0]=' ')
set @to=(select max(b.docdate) from oinm b where b.docdate<=[%1] or [%1]=' ')
select a.ItemCode,a.ItemName,max(b.cardcode) as 'PrefVendor',
(select cardname from ocrd where cardcode=max(b.cardcode)) as 'VendorName',sum(OB)as'Opening',sum(OB+CB)as'Closing',sum(Sold)as'Sale' from (
select t0.itemcode,t0.dscription'ItemName',sum(isnull(t0.inqty,0)-isnull(t0.outqty,0))'OB',0'CB',0'Sold' from oinm t0
where t0.docdate< @from
group by t0.itemcode,t0.dscription
union all
select t0.itemcode,t0.dscription,0,sum(isnull(t0.inqty,0)-isnull(t0.outqty,0))'CB',0 from oinm t0
where t0.docdate between @from and @to
group by t0.itemcode,t0.dscription
union all
select t0.itemcode,t0.dscription,0,0,sum(isnull(t0.outqty,0)-isnull(t0.inqty,0))'Sold' from oinm t0
where t0.docdate between @from and @to and transtype in (13,14)
group by t0.itemcode,t0.dscription
)a left outer join oitm b on b.itemcode=a.itemcode
group by a.itemcode,a.itemname
order by a.itemcode -
How to calculate the OPEN QUANTITY in delivery Duelist Report
Hi Everybody,
I have a query for finding out the OPEN QUANTITY for schedulines for a delivery.
If for example the report is run for 2nd of February, it is necessary to
determine whether there are delivery relevant schedule lines before the
2nd.
If yes, we need to know whether there is an open quantity to this line
item.
If yes, this open quantity is a negative deviation (we delivered not
enough).
If there is no open quantity it is necessary to determine whether for the
earliest future to be deleviered schedule line, the open quantity equals
the ordered quantity (VBEP-WMENG),
if No the the difference between both values equals the positive deviation
(we delivered more than requested)
If the open quantity equals the ordered quantity there is no deviation.
The problem is to calculate the open quantity and the SAP standard there is function
builder used in SAP standard include MV45AF0O_OFFENE_WERTE_ERMITTEL, the
function builder is called RV_SCHEDULE_CHECK_DELIVERIES'. But how could we use in this formulae in a Custom delivery report.
Looking for your helpful suggestions.
Many thanks in Advance,
Mira SaikrishnaKrishna....have a look in the below threads where there was a similar requirement..
error while using BAPI_OUTB_DELIVERY_CHANGE
change outbound delivery -
Changing the Confirmed Quantity in Sales Order
Hi Gurus,
I have a requirement to change the confirmed quantity of the line item of the sales order. Is there any FM or BAPI that I can use? And how?
Thanks,
AndreHello,
I am having to deal with a similar issue.
The allocated quantity needs to be reset, so that the quantities can be allocated again according to the checking rule for product allocation.
This is probably not clear anymore, I am also totally confused now, so I'll add an example.
Example:
SCENARIO 1: Rejected item quantity not available to earlier order:
Assume product ABC is on a monthly allocation plan at a channel level
Available units = 100 units
Allocation plan = 50 units for Channel1, 50 units for Channel2
Assume all orders in this scenario are for one channel
1. Order 1 is entered
Qty of 40 confirmed from ATP check, confirmed from allocation check
RESULT: allocation of 40 units is consumed, available allocation = 10 units
2. Order 2 is entered
Qty of 20 confirmed from ATP check, confirmed for 10 units from allocation check
Remaining 10 units unconfirmed
RESULT: allocation of 10 is consumed, available Allocation = 0 units
Unconfirmed order quantity = 10 units
3. Order 1is rejected
line item for Qty 40 is rejected
RESULT: available allocation = 40 units
4. Order 3 is entered
Qty of 40 confirmed from ATP check, confirmed from allocation check
Allocation of 40 is consumed
RESULT: allocation of 40 is consumed, available allocation = 0
5. Rescheduling is run for this product (order creation date determines priority in the queue)
EXPECTED RESULT:
Order 2 has highest priority and would be committed for 20 units, leaving 30 units for Order 3
Order 3 Commit quantity 30, unconfirmed quantity 10
Order 1 Line item was rejected, (no committed quantity)
RESULT:
Order 2 - Commit quantity 10, unconfirmed = 10 (as available allocation 0)
Order 3 - Commit quantity 40
Order 1 - Line item was rejected
So I need to reset the allocated quantities first...
Were you able to find a solution for this? -
WM-production order-need change the open quantity in Transfer order
Hi,
I created the production order (order quantity 1000). i did material staging and generated TR. .
But i need to change the open quantity in transfer order . i need to create the partial Transfer order
against TR..
KINDLY SUGGEST ME
WITH REGARDS
DineshHi Dinesh,
TO for partial qty is possible.
When you are doing material staging with 319 mov.type, you create a transfer order for partial quantity as follows:
You first create a manual transfer order using transaction LT04.
You specify the TR number in the intial screen and navigate to the detail screen, system shows the Open TR quantity and the proposed TO quantity. By default, both these quantities are equal to the TR quantity.
However, when you create by clicing the "Create TO button" (the icon with a plus sign in the tool bar of LT04 screen), system takes you to another screen where it asks for the "Requested Qty" on the top of the screen. Here you can modify the qty as per your requirement; then you can check and confirm the storage type and storage bin for source and destination stocks & save.
It is important that you give the correct source storage type & storage bin that is having stock or otherwise system might give error message.
System will create a TO line item with the entered qty and propose the balance TR qty as the 2nd TO line item. You can skip this 2nd TO item or delete it from the TO.
Once again, if you click the Save button, system will save the TO with the partial quantity.
The balance quantity will be available in the TR as open quantity and this can be seen in the header data of transaction LB03.
Regards
Prabhu
Maybe you are looking for
-
My son's ipod touch 3 screen shows a USB cable image and ask to connect to the itune. Itune does not connect with the message shows: this device is locked and can not be connected to the itune before you unlock it" I have no idea how to turn on this
-
Error in activating tabels in SPDD
Hi, We are in SPDD phase in upgrade.While i have added new Append structures in table MARC and activating it its givving error table is not activate and if i cheked syntax check it is showing no inconsitncies Please help how to activate. Regards, Sun
-
Dear experts, When I customized in transaction oktz, I created a new cost component for a cost component structure. But when i save it, there was an error message: "Maximum number of cost fields reached (40). The maximum number of cost fields defined
-
Casting error when trying to retrieve an EJB home interface from a servlet
I am trying to call a method on a session bean from a servlet. I am receiving a Class Cast exception when trying to use the narrow method. I have this code working from an external java client. Is there something specific I have to do?
-
Technical Upgarde of SRM5 to SRM7
Hi All, We need to upgrade our SRM system from SRM5 to SRM7 only technical upgrade. I want to know the below things incase of Technical upgrade from SRM5 to SRM7. 1. What are aspects to be identified from the ABAPer point iof view. 2. List of ABAP Ob