FHMI is updating stock quantity when GR to PO (F)

Dear gurus,
in our system, if i do GR to PO with account assignment N to a material (material type FHMI), it is not updating the stock quantity.
if i do GR to PO with act.assignment F to the same material, it's updating the stock quantity!
the settings for the act.assignment F and N is the same (consumption posting V)
FHMI is quantity updating.
could you show me some clue on why this is the case?
Edited by: Michael Y on Oct 20, 2009 6:25 PM
Edited by: Michael Y on Oct 20, 2009 6:26 PM

Hi Michael,
Yes, unfortunately, the need for the storage location in this case is hard-coded in the system and I would advise you not to change it:
This depends on a System Table: T156SY: There is a field in this table (XLORT) which states whether the Storage Location is mandatory in a posting or not.
When you post to a material which makes quantity update (MENGU = X) and value update (WERTU =X) with no special stock (SOBKZ = empty), reference to a purchase order (KZBEW = B) and this purchase order is not a stock transport order (KZZUG = empty), you see the following table entries in this table:
(Note: Sorry for the wrong format!!!! but I did not manage to align the table entries here, please, check in your system the right display of the table T156SY with SE16):
BUSTR WERTU MENGU SOBKZ KZBEW KZZUG KZVBR BUSTW BUSTM XLORT
101       X          X                        B                                  WE01    ME01   X
101       X          X                        B                      A          WE06    ME02
101       X          X                        B                      V          WE06    ME02
So, as you see here, the storage location is not needed when you update the consumption (KZVBR = A or V). The storage location is only mandatory when the consumption is not updated.
If, you make the same posting but the material is not valuated (WERTU equals space), you find the following entries:
BUSTR WERTU MENGU SOBKZ KZBEW KZZUG KZVBR BUSTW BUSTM XLORT
101                    X                       B                      A         WE06     ME01   X
101                    X                       B                      V         WE06     ME01   X
So, when the material is not valuated, the system requieres the storage location as mandatory entry (XLORT = X).
The program checks the contents of XLORT, and if the storage location is mandatory and it has not been entered, then sends the error message M7 018. Once the storage location is specified in the posting, the stock is updated in the corresponding table. The consumption is not increased this time.
As mentioned previously, this table T156SY is a system table, so I deeply recommend not to make any change at all in any of the fields of this table. This setting cannot be customized either, and no user exit or BAdI will modify this standard system behavior.
In answer to your second question, if you decide to make your material as no quantity update also, then, as you say, there will be no way in the system to force it to update the quantity later.
I hope this helps you further!
Best regards,
Esther.

Similar Messages

  • Is it possible not to update Product Stock Quantity upon ADD TO CART event?

    Greetings,
    Is it possible that the Product Stock Quantity (In Stock) not to be updated on Add to Cart event or when the basket still exist?
    And the updates/decrease of quantity will only happen when the customer have successfully paid or checked out.

    Not at the moment no. BC removes the item from the system on add to cart.

  • Automatical update of PO quantity when changed in SO

    We have a following issue
    for our regular business we have a third party process for trading
    goods. So we are using on customer sales order stock. In our system
    following is possible: We create a sales order and after using of
    Purchase requisition we create a purchase order. So now when we change
    the quantity in SO and save the SO, this change is automatically done
    in the PO as well.
    So this really works without canceling the PO first,
    changing the SO and creating a PO again.
    So now we have implemented a new product in a different sales area with the same process and
    with same material type HAWA but this automatical update of quantity is
    not working.
    What needs to be done to enable this function for our new
    product as well?

    My colleague was here when the system was implemented. He is not aware of any development here that enables this function. I have been looking for user exits and none are active for this. I have been told that this works only for customer sales order stock but I was not given any reason why.
    It seems logical, that in some development a new sales area needs to be included as Bijay said. Anyway we still think this function works without additional development.
    @Raghavendra we are using the SAP standard scenario. SO - PR - PO. PO is manually created out of PR in both cases.

  • System generate PR for Stock material when it goes below specific quantity

    Hi Gurus,
    My requirement is that system should generate PR for Stock material when it goes below specific quantity eg. 5 Qty. I think it is possible through MRP in that respective material master but I am not getting exactly what data I need to maintain their. Should I need to check/change any config setting?
    Requested you to help me in this regard.
    Regards,
    Amol.

    Hi Rakesh,
    actualy i am new to this area, for one material i checked its available stock, it was ZERO & MRP Type is "ND-No MRP Planning".
    I changed its MRP type as you said to V1 or VB and maintained its Reorder point as 1.
    Now, as this material in not available in stock ie. it means it falls below the Reorder point(ie. 1). now i checked in MD04, system won't generated PR. afterwords, I created Maint order & reserved the same material. again i checked in MD04 but system won't generated PR this time also.
    plz suggest...even i am confused that, should i need do anything which i missed out?
    MRP Run means what i need to do?
    Regards,
    Amol.

  • Updating confirmed quantity in sales order

    Hello Experts,
    I have a question regarding ATP functionality. Suppose I have a stock of 50 units in my plant. If I create a sales order of 100 units then 50 units is confirmed and remaining 50 units is open. Now if I put additional stock of 50 units in plant then I want the open quantity of 50 in sales order to be automatically confirmed. But right now it's not happening like that and I have to manually go to the sales order and do ATP check to update confirmed quantity. Am I missing any configuration to update the schedule lines automatically in sales order?
    Thanks,
    Karan

    I want the open quantity of 50 in sales order to be automatically confirmed
    No automatic allocation will not happen in the above case.  Either you have to do availability check for that sale order or have to run V_V2. 
    Am I missing any configuration to update the schedule lines automatically in sales order?
    No configuration is available such that system to allocate stocks automatically as and when the stock is made available.
    G. Lakshmipathi

  • Inventory Cube Stock Quantity/Value Issue

    Hi Experts,
    I have an issue regarding inventory cube about the stock value and quantity.
    The Issue is:
    1.  I Loaded the 2LIS_03_BX first to initialise the materials opening balance, after compressed ther request with the Marker (checked) .
    2.  I loaded the 2LIS_03_BF with Initialize without data transfer infopackage and compressed in the cube
    3.  And  I did full load 2LIS_03_BF and compressed with check box selected for marker update.
    The issue I have is, when the stock quantity/value  of a material ( BX , for example is taken on Dec.2011) is calculated(non cumulative key figure ex.0VALSTCKVAL/0VALSTCKQTY in the inventory cube) backwards based on Issues and received stock/value of material , I am not getting the value/stock equal to the value when the business started ( i.e for example Dec.2009, time at which the material opening stock is counted and entered in the system).
    example:  When I loaded BX ( intialize opening stock), let us suppose for Material A , have 1000kg in Dec 2011.  When the non cumulative key figure (0VALSTCKQTY/0VALSTCKVAL) is calicualted for each month or day , at the end of the period for example Dec.2009 the stock should be 100, but I am getting more than 100 like 150 for example, even though all the issued,received and 0valstckval/0valstckqty are correct upto Dec.2009.
    am i missing any steps or please let me your thoughts on this one.
    Regards
    Vamsi

    Hi,
    Please follow the steps mentioned in this link.I think 2LIS_03_BX full load should not be compressed with marker update only deltas to be updated in marker table of BF and UM.
    http://wiki.sdn.sap.com/wiki/display/BI/StepbyStepLoadingDatatoInventory+Cube
    Hope it helps.
    Regards,
    AL

  • Stock quantity KF coming as 0 from dso A to another dso B? Please suggest.

    We have one reserved stock quantity KF in prod where we are getting the values to 'A' DSO from the x data source in ECC through full update. I mean when ever there is a change to the quantity it will be updated to the A dso, if there is no change nothing will get into the A dso. if mat 1 has new 10 reserved quantity it wll come as 10 and then there is another DSO "B" where its pulling from A to B in delta update. In the B dso its a delta load from A to B. And the problem now is no matter if we have an update to mat 1 or not its pulling the quantity as 0 from A to B DSO. That is in clear scenario, mat 1 is coming as 10 yest which is right and if suppose there is no update to mat 1 today, DSO A has nothing in it which is also right. But B dso is having 0 in it which is wrong.....so this is happening for all the mat 1 .......mat 100 even if there is no quantity update in the DSO A.
    For example if we have no update in the DSO A tomorrow, there is no record in DSO A but there is a mat 1 as 0 in DSO B tomorrow.
    DSO A is a full update from ECC and DSO B is a delta upload from DSO A to DSO B. So all the  material's are coming as 0 even if there is no update in ECC for the reserved quantity in BI. Please suggest me any approach to fix the issue.
    My requirement is mat 1 should have 10 in DSO B even today even if there is no delta update. That is it should not replace the earlier/previous reserved quantity to 0 if there is no delta change.
    NOTE: If there is any delta update to DSO A -50 after a couple of days, it shows the correct quantity in DSO A as 50 and DSO B as well. But will show the reserved quantity as 0 between the old (10) and new (50) delta loads.
    dso B has these values
    mat 1- 10 - yesterday
    mat 1- 0 -today
    mat 1- 0 -next day
    mat 1- 50 -after couple of days
    dso A has only these
    mat 1- 10 -yesterday
    mat 1- 50 -after couple of days
    requirement in DSO B
    mat 1- 10 - yesterday 
    mat 1- 10 ( since no change) - today
    mat 1-  10 (since no change) - next day
    mat 1 - 50 ( as new delta has come) - after couple of days
    Edited by: Daniel on Mar 29, 2011 1:45 PM

    Hi Daniel,
    In Transformation between DSO A-->B, for KF reserved stock quantity the values are in Overwrite.
    to check right click on the mapping of KF open Rule Details --> see Aggregation(it will be overwrite).
    As per your requirement you can't change to summation also.
    So i guess you have to go for ABAP code:
    In Rule details set rule type to Routine and write use below code:
    (suppose your source field is R_S_QTY)
    declare an temp variable is global area.
    IF R_S_QTY > '0'.
    RESULT= SOURCE-FIELD->R_S_QTY.
    Temp_var = RESULT.
    ELSE.
    RESULT = Temp_var.
    ENDIF.
    Hope these might resove your issue.
    Thanks,
    Jitender.

  • Stock Quantity at Mc.9 and MMBe is not Matching

    Hello,
    The stock Quantity for a prticular material in MMBE is not matching with stock qunatitty  in MC.9 and Mc.5
    Can you please suggest me how to resolve this.
    Thanks & Regards,
    SAGAR

    Hello,,
    MMBE is the correct value for the current stock quantity. MC.9 and the other reports use tables S031/S039 or thereabouts, which is updated incrementally each month using the previous month's record and the issues / receipts during the month. Once the file gets corrupted - and it does - in our case about 5% of records are incorrect - that incorrectness is perpetuated in the following months, and the difference remains forever.
    You can determine that the S031 record is in error by starting with the current month and looking at the Val stk rec qty and the val stk iss qty movements and the valuated stock, which will allow you to calculate what the stock at the end of the previous period should be. Run MC.9 for the previous period, check the valuated stock corresponds to that calculated, and repeat with the movements. You can do this in yearly periods until you find the error and then go down finer. I find that most of our corruption occurred in the first few months of using SAP.
    If anyone knows of a method to regenerate the whole record in the S tables
    I would be grateful for the info.
    Conclsion:MMBE reads the current stock, while MC.9 or MC.5 are transactions that are feeded from infomation structures (which are updated with lower priority than stock tables). If an update of a infostructure fails, then there is no harm to the stock table update, but your statistics are just out of sync then.
    So in short, you can trust MMBE, but no the statistic transactions
    Regards
    Mahesh Naik.

  • Items with  zero stock quantity show negative stock value in Stock reports

    When running Stock reports for controlling the stock value towards the GL accounts, some items appear with zero stock quantity, but the report still shows a stock value  (negative value in my case)
    How can this happen, and how can I correct this situation ?
    System parameters are :   negative stock is not allowed, Items with zero cost price not allowed. On item level average cost price method is used.
    P.K.Johnsen

    Hi Johnsen,
    I believe you have checked the" Manage Inventory by warehouse". I have noticed this issue in SAP B1 2005B but this is rectified in 2007B. The system behaves in this way as the system maintains item cost for the item for all warehouses and even if the stock is not present in the warehouse, the system would still show you a value for the same. Hope this helps. please search the forum. You'll find related threads.
    Thanks,
    Joseph

  • Material on-order stock quantity calculation

    Can anyone tell me the function module or method used by SAP to determine the amount of a material on an open purchase order (not yet received)?  I need to document a BW functional spec but cannot seem to be able to document how SAP does this.
    Examples of what i am looking for are:
    MMBE, on-Order stock quantity (Per material/Plant/Storage Locaiton)
    ME2K, Selection parameters WE103 - Still to be delivered (per PO)
    Thanks.

    Ram
    I have found that function module previously but cannot seem to be able to execute it.
    Import Parameters:
    X_ELIKZ = Blank
    X_LOEKZ = Blank
    X_MATNR = my material number
    X_MEINS = Unit of Measure
    Tables:
    XTAB = <B><U><I>What do I use here?</B></U></I><BR>
    XWERKS = my plant
    No matter what I enter in XTAB (I have tried Blank, EQ, NB so far) I get an ABAP Dump:
    <I><B>The IN itab operator is used with internal tables which have the following structure:
      SIGN(1)   OPTION(2)   LOW LIKE db_field   HIGH LIKE db_field
      The OPTION column should contain only one of the following values:
       "EQ LE GE CP BT NE LT GT NP NB"
    The value 00 is not allowed here.</I></B>
    <BR><BR>
    When analyzing the error, I found table MDBS that conatians the Order Qty and GR quantity - so I think I may be able to use this instead.

  • Reserved stock quantity from MB25 t-code in R/3

    Hello Guyz
    1. I have to extract reserved stock quantity (difference quantity) from t-code MB25 into my Inventory Cube (0IC-C03) in BW.
    2. The user has advised me that the movement type is always '301' and the storage loc. is always '9998'. The problem is, in the cube, when I look at that specific movement type and storage location, I still have multiple records divided into 'material doc. numbers'. 
    3. On the R.3 side, I have the 'Reservation number and its Item' as the key fields.
    4. How can I get my partilcuar KF from this t-code in R/3 into my cube in BW?
    5. My specific question is: The KF exists at the stor. loc. level.. how can I bring it down further at the material doc number level in the cube?
    Regards,
    Atul.

    Very helpful answer Shalini. Thanks. So, I can enhance this extractor 2LIS_03_UM with these 2 fields. Then based on this, I can extract my 'Reserved Quantity' (KF) into 0IC_C03.
    But I notice in R/3 that the 'reservation number and item' are the same for multiple document numbers. ie
    Doc No.----> Reservation No--
    > Item
    100                      ABC                                1
    101                      ABC                                1
    102                      ABC                                1
    103                      ABC                                1
    104                      ABC                                1
    But in MB25, I have
    Reservation No -
    > Item----
    >Diff. Quantity
           ABC                        1                       5000
    How can I extract my KF, if there is a one-many relationship between reservation no and item & material doc number?
    Any suggestions.. anyone??

  • Negative Values for Stock Quantity in BI

    Dear Experts,
    I have a report based on Inventory Management Multiprovider which is executed to check the Valuated Stock Quantity for single day input entry. ( Valuated Stock Qty is a non cumulative Key figure with Inflow as Quantity Received into Valuated Stock and outflow as Quantity Issued from Valuated Stock )
    So Valuated Stock Qty for a particular day = (Quantity Received into Valuated Stock till that day) - (Quantity Issued from Valuated Stock till that day).  So i think, checking the cube data in BI will not help to resolve the issue.
    Issue: : When I execute the report in BI for some dates I am getting Negative Values for Valuated Stock Quantity which is wrong output.
    Can this issue be resolved by filling set up tables and loading it to BI, say for last month?
    Could you please suggest any other solutions available?
    Also it will be helpful if you could explain what needs to be analyzed in ECC side (with T Codes)
    Thanks in advance
    Vinod

    Hi Vinod,
    try these transactions on the ECC side:
    MMBE to view stock of a material
    MB51 to view all material documents for your selection (i.e. material)
    The business content stock reporting in BW is mainly using datasource 2LIS_03_BF for movements and 2LIS_03_UM for revaluations. For this to work you will have to have all material documents loaded into your cube.
    Also have a look at this How To paper if you haven't yet.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
    Best,
    Ralf

  • Block zero quantity when creating Inventory Transfer

    Hi all,
    does anyone know how to block zero quantity when creating inventory transfer?
    for example: I have zero quantity in warehouse A. Then I want to transfer it to warehouse B. The system accept that. So, when I check that item in warehouse A, the in stock column become negative. How I can protect it?
    please help me. it's very urgent.
    thanks
    sisca

    Go to Administration > System Initialization > Document Settings > General Tab
    Check Manage Inventory nu Whse and also check Block negative inventory. Read details below of their functionality.
    Manage inventory by whse
    Defines whether the check is performed for the warehouse selected in the document row. If you select the checkbox, the system checks the minimum inventory level in the warehouse that was selected for the item when the sales document was entered.
    If the transaction causes the inventory level in that warehouse to fall below the minimum inventory level, a warning message appears even if the total available inventory of the item is greater than the minimum warehouse quantity. If you do not select this checkbox, the system checks the total available inventory in all warehouses where this item is stored.
    You can also define automatic notification for a specific user when the inventory level falls below the minimum level. A purchase transaction can then be initiated.
    Block negative inventory
    Select to block documents that would cause the level of inventory to fall below zero. If you deselect the checkbox, the message “Negative inventory usage is not in accordance with accounting rules. Are you sure you want to enable negative inventory usage?”
    If you select Manage inventory by whse and Block negative inventory, SAP Business One calculates the block per warehouse. However, if the item is not handled by a warehouse and you do not select Manage inventory by Whse, the block is calculated for all the warehouses.

  • Updating delivery quantity irrespectuve of errors using Std FM's

    Hi all,
    Im need to update the quantity for an inbound delivery.I tried using  FM "BBP_INB_DELIVERY_UPDATE".But it gives different results for dfferent Inbound delivries.For some the update happens while for some it doesnt.
    The main problem is it doesnt return any exception parameter/error table to know that the update hasnt happened
    this FM in turn actually calls the FM 's WS_DELIVERY_UPDATE' and WS_DELIVERY_UPDATE'_2 .These functina have return parameters for errors and hence can be useful in checking the confirmation of update.
    However when using these FM 's(WS_DELIVERY_UPDATE' and WS_DELIVERY_UPDATE'_2).,sometimes if there are any errors found,the program stops there and nothig happens further.How do I avoid these errors when using these FM's.I basically need to update the quantty in the dleivery forcefully irresepective of the errors!
    Please suggest?
    Also if i need to copy the std FM's (mentioned above) which one should i copy??Has anybody worked on a similar reqt earlier?
    Thanks.

    Hi,
    Could you get the solution for your problem? I am having the same problem and I couldnu2019t solve it.
    There is a note 1073754  - BBP_INB_DELIVERY_UPDATE: Missing error Handling but it didnu2019t solve it for me.
    If you have some information you could share with me I would be really grateful.
    Thanks in advanced.
    Maria

  • Question about stock quantity

    does anybody know how can I get the stock quantity assigned to sales order? which table and which field? I have search MARD but no result. all I can see is the Valuated Unrestricted-Use Stock (LABST). so my question is:
    1) what does other quantity field in MARD mean and what's the relationship between?
    2) how can I get the quantity value which assigned to sales order?
    3) when does LABST (or another field in another table) really reduced? after delivered/confirmed/billed?
    4) how can I get related materail about my quesion?

    hi,
    Sales Order is a business transaction. The tables that store the order data are
    CRMD_ORDERADM_H : Header info
    CRMD_ORDERADM_I : Item Info
    CRMD_PARTNER : Partner Data
    CRMD_CUSTOMER_H : Enhancement Data(Header)
    CRMD_CUSTOMER_I : Enhancement Data(ITEM)
    Also ,refer the table CRMD_ORDER_INDEX.
    refer this thread for more info..
    Sales order
    Hope this helps !!!
    Cheers
    Alfred

Maybe you are looking for

  • Leopard completely freezes - is this a known bug?

    Greetings, since I've installed Leopard 10.5.4 on my MacBook Pro the day it came out, I have this weird behavior that sometimes Leopard completely freezes on me, i.e. doesn't accept mouse or keyboard input, nor does any application respond, no crashi

  • Dynamic page in region as a portlet not displaying in portal template

    As the title suggests I have a portal template that contains a region at the top . within this region i have included 2 portlets, first is a dynamic page (a simple banner title ) then a navigation page beneath them . when I am logged in as a specific

  • Database objects not displaying in Business components wizard

    I am trying to create new entity object based on a table using Entity Object Wizard. But I dont see that the tables,views,sysnonyms enabled and also do not get the list of tables in the dropdown Following are the steps that I am following : 1] in the

  • Bug report: Theme 9 current tab

    The One Level Tabs page template for Theme 9 (Underlined tabs) has the following in Standard Tab Attributes/Current Tab < td>  < /td> < td> < table cellpadding="0" cellspacing="0" border="0" summary=""> < tr> < td> < a href="f?p=&APP_ID.:&APP_PAGE_ID

  • Problems printing coupons from almost every site

    I keep getting this error on my brother printer when I try to print coupons from online. /usr/libexec/cups/filter/CouponConvertor_v2 failed I downloaded the coupons.com plugin and can print the coupons when i open that only. But when I go online to a