How to adjust order quantity to match lot quantity

Hello everyone.
Is there any feature that adjust the ordered quantity to match sales/purchasing lot quantity automatically?
(OM or PO)
For example,
Item A's sales lot quantity is 10.
When customer ordered 3 Item A ( or User is ordering 3 Item A to the supplier )
I expect the sales/purchasing order quantity will be adjust 10 automatically.
Regards
Kei Machida

Hi Venkat,
You can up date the price or quantity in the billing document based on the delivered material batch quality parameters.
But for this you need to take ABAPer help.
I hope this will help you,
Regards,
Murali.

Similar Messages

  • How to reduce order quantity in sales order

    hi
                       I have one scenario in that suppose order quantity 100
    then client want to apply discount on order quantity  suppose it is 25%(manually enterd)
    then quantity applicable for pricing = actual order quantity (100) - quantity not applicable for pricing rate(25%) =75
    then again manually enter some quantity which not applicable for pricing e.g. 5
    then they apply rate on 75-5 = 70 quantity
    EVEN if they delivered  100 hole quantity .
    my problem is that how I can  configure this pricing?
    please help me
    thank you

    Hi,
    1) Create a new discount condition type with Condition class Discount and Calc type Quantity.
    2) Create a Alt Calc type routine in VOFM which would calculate the discount on a fix percentage as maintained in condition record.
    3) Maintain condition record for the discount condition say 25%.
    4) With the help of ABAPer write logic in routine to calculate total order qty and then a discount of 25% based on say PR00, etc
    5) Assign the routine in pricing procedure under Alt Calculation type.
    Regards,
    Amit

  • How to update order quantity using the fn BAPI_SALESORDER_CHANGE

    Hi experts,
    I have a requirement that,
    when the quantity in the delivery is edited manually , the order quantity  in the sales order should be updated automatically.
    can we achieve that using the Function module BAPI_SALESORDER_CHANGE?
    if so, kindly let me know.
    TIA.
    kanthi.

    kanthi,
    in tables tab in second parameter ORDER_ITEM_IN you can see couple of field for different type of quantity among them you can choose appropriate one.
    field are:
    TARGET_QTY
    RNDDLV_QTY

  • How to add Order quantity in outbound ASN ?

    Hello Experts,
    I need to send the order quantity along with the delivery quantity in the outbound ASN. What is the procedure and which field do I need to include for order quantity ?
    Thanks in advance

    Hi Darshak,
    The screenshot shared by me is just an example from the SAP standard IDoc DESADV (DELVRY02) you can modify this and create custom type based on your requirement. I think in your case this has been modified as basic type is saying ZDESADV  you need to talk to your technical / functional team who can help. As far as standard SAP are concern you will find the E1EDL24 segment under data record(Screenshot attached)
    ORMNG is a field where orignal order quantity gets stamped at the time of Delivery creation and you can find this field into table LIPS

  • How to adjust a video to match the resolution of the existing composition?

    i am using adobe after effects cs6.

    You can scale to fit horizontally by selecting the layer in the timeline and adjust the scale property or use the keyboard shortcut Shift + Ctrl/Cmnd + Alt/Option + H.
    If the video is larger than the composition you should be good to go but you may be able to improve the look of the scaled down video using unsharp mask. If the video is significantly smaller than the composition you might want to use a 3rd party plug-in like Red Giant Instant HD.
    After Effects CC introduced Detail Preserving Upscale which also helps with the upscaling problems.

  • How to clear a negative 'On Order' quantity in a warehouse?

    I have a couple items in my warehouse with a negative 'on Order' quantity. It appears the problem occurred due to incorrect processing in Production Order. At this point I really don't care about the production orders; I just don't want a lingering negative on order quantity.
    Background:
    User1 created a production order for Qty 1 of a BOM with 3 components.
    User1 released order, made and reported completion of Qty 1.
    Then User2 made another Qty 1 and reported completion again of Qty 1.
    User1 changed 'Planned Quantity' from 1 to 2, thinking that the planned and actual numbers should match.
    User1 closed the production order.
    (The users know not to do this any more.)
    The two BOMs built have been sold. There are no other open production orders for the BOM. When I query oitw for the BOM itself and the three component quantities, I get the following results:
    ItemCode,      OnHand,      OnOrder,      IsCommited
    COM1     20.000000     -2.000000     0.000000
    COM2     0.000000     0.000000     0.000000
    COM3     0.000000     -2.000000     0.000000
    BOM     0.000000     0.000000     0.000000
    How can I clear up the negative onOrder quantity?

    Hi Jitin,
    I have a similar case where my ordered Qty shows positive.
    I checked the Notes 999124 and ran the query and got 3 items with same issue. Please check the image. The OnOrder_system shows positive value instead of zero. We do not use production process. Can you advise the best solution to resolve this issue or should I log call with SAP. We are using B1 9.0 PL9 HF. 
    Thanks
    Varun.

  • How to set Confrimed quantity as 0 in the sales order line item

    hi all
    i have a requirement that my user dont want to see confirmed quantity in the sales order line item.
    scenario is make to order.
    i have set strategy group is 20 -make to order
                                            MRP Type is PD
                                           Lot size -
    EX , still its showing confirmed quantity.
    could pls any one tell me how to set 0 quantity in the sales order line item
    thnx

    Dear Sateesh,
    If the availability check is carried out and stock is not there in our plant, then it will show the confirmed quantity as Zero.
    If you don't want to carry out the availability check,
    To achieve this,
    1. Remove the availability check in the transaction OVZG against your requirement class.
    You can find the requirement type assigned to the sale order in the procurement tab.
    In OVZH transaction, you can find the requirement class assigned to your requirement type.
    2. Remove the availability check for your schedule line category in VOV6.
    In the material master MRP3 view, you ll be having Availability check, there you need to specify the availability check..
    If you specify it as KP(No check), then it will confirm the qty, though the stock is not there in our plant..
    To meet your requirement, you have to prefer user exit.(Correct me if I am wrong)
    Thanks,
    Venkatesh.S.P

  • How to add a New schedule line and update the order quantity?

    Hi all,
       I have to add a new schedule line in VA01/VA02 so that when ther is partial confirmed quantity against a schedule line, we have to create a new schdule line based on the existing so that it will contain confirmed in one and unconfirmed in the other.
    The schedule line will split once the user go to Header data screen in VA01/VA02. So I used USEREXIT_MOVE_FIELD_TO_VBAK  user exits in MV45AFZZ include program.
        I splited the order quantity against the confirmed quantity and added it as new schedule line in the XVBEP internal table and update UPDKZ flags for XVBEP & YVBEP.
      Could anyone tell me is there any other way to do this without updating XVBEP? Because it is affecting some other place because of index table is not updating. How to you think use if update xvbap-etenr_high and update index table IVBEP1 for new line insert into XVBEP instead directly inseritng it into?
    My code as follows:
    xvbep-WMENG = t_temp-WMENG .
    modify xvbep TRANSPORTING WMENG.
    t_temp1- ETENR = '0002'.
    if SY-SUBRC <> 0.
      t_temp1-UPDKZ = UPDKZ_NEW.
      modify xvbep TRANSPORTING WMENG UPDKZ.
    endif.
    With Regards
      Raj

    Have you got thru this one if so please provide me with the solution as i got the same req' ..

  • HT204406 The songs on my computer itunes playlist and my iphone playlist songs are not matching up. I do see new songs I've added on my computer playlist on my iphone playlist but the songs are not in the same order. How do I get them to match?

    Playlists matching on computer and iphone?  The playlists on my computer in itunes are not matching up with the "match" playlist on my iphone.  New songs do show up when I add them to a playlist, but the songs are all in different order.  If I edit a playlist on my computer how do I get it to match on my iphone?

    Restore them to the new computer using the bakcup of the old one. If you don't have a backup of the old computer, you can re-download music purchased from the iTunes store. If they were imported from CD's, etc. You will either have to re-rip them or purchase third party software to extract them from the phone. The iPhone is not a backup or data transfer device.

  • How to change Service order quantity using BAPI/FM

    Hi All,
    Can any body tell me how to change the Service Order quantity (in IW32) using a FM or a BAPI.
    I tried using the BAPI: BAPI_ALM_ORDER_MAINTAIN but I am unable to change the quantity. May be I might be missing some parameter. If anybody has done this please let me know the parameters that needs to be passed or if there is any other way out.
    Points will be rewarded to useful answers!!
    Thanks,
    Susanth.

    Hi!
    I have used this BAPI.read the documentation properly and after calling this bapi call BAPI_TRANSACTION_COMMIT then only expected results com n get saved.
    for ex:
    call function 'BAPI_ALM_ORDER_MAINTAIN'
        tables
          it_methods              = itab_methods
          it_header               = itab_header
      IT_HEADER_UP            =
          it_header_srv           = itab_header_srv
      IT_HEADER_SRV_UP        =
          it_userstatus           = itab_userstatus
          it_partner              = itab_partner
      IT_PARTNER_UP           =
          it_operation            = itab_operation
      IT_OPERATION_UP         =
          it_relation             = itab_relation
      IT_RELATION_UP          =
          it_component            = itab_component
      IT_COMPONENT_UP         =
          it_objectlist           = itab_objectlist
      IT_OBJECTLIST_UP        =
          it_olist_relation       = itab_olist_relation
          it_text                 = itab_text
          it_text_lines           = it_text_lines
          it_srule                = itab_srule
      IT_SRULE_UP             =
          it_tasklists            = itab_tasklists
          extension_in            = itab_extension_in
          return                  = itab_return
          et_numbers              = itab_et_numbers
      call function 'BAPI_TRANSACTION_COMMIT'
       exporting
         wait          = 'X'
    IMPORTING
      RETURN        =
    reward points if helpful.

  • Purchase order quantity round up - how not to have it?

    Hi,
    When we create a purchase order for, let's say 2.5 kg of some material, it is getting created saying 3 kg (the price is correct, but the quantity is rounded).
    So, when we send the PO - vendors send up 3 kg instead of 2.5 and it creates problems.
    How can i fix that? I dont want to have any ABAP code developed - i believe there is a standard config piece for that.
    Does anyone know?
    Thanks!

    Hello,
    Please check SAP
    Note 1166277 - No rounding procedure for multiple acc.assignment
    Note 807290 - ME21N: Rounding of Purchase Order Quantity
    Note 772558 - FAQ: Quantity conversion and rounding
    Note 769171 - ME21N: incorrect batch-specific quantity conversion
    Note 491211 - FAQ: Purchase order (general)
    Regards,
    Ravi

  • How to get Production Order Quantity

    I have material number and plant. From this information how to get production order quantity that is displayed in the transaction MD04.
    Thanks,
    Vinay.

    Hi Vinay,
    Have you looked FM <b>MD_STOCK_REQUIREMENTS_LIST_API</b>?
    Hope this will help.
    Regards,
    Ferry ianto

  • How can I get order quantity for a contract

    Hi
    I can see ordered quantity on a contract screen (VA42/VA43) but would you please tell me in which table or tables this is stored or how I can get ordered quantities against a contract
    Regards
    Javed

    Dear Javed Ihsan      
    You cann't see the order quantity for contract, you can only see the target quantity for the contract.
    However you can even see the order quantity for contract but it will not have any value -(VBAP-KWMENG).
    You can only seethe target quantity for a contract-(VBAP-ZMENG).
    For the release order you have order quantity( VBAP-KWMENG)
    PLease check and revert
    Thanks&Regards
    Raghu.k

  • How to adjust limit in Purchase Order

    Hi Gurus,
    I would like to ask what are the steps on how to adjust the over all limit of the PO.It is my first time to handle Purchase Order with Limit and i am not familiar with the steps
    We have here a scenario. During the creation of Service Entry , we received this error "no over all limit for unplanned services amounting to XXXX.XX exists". We have created 2 CMs for this PO but the limit was not deducted .
    Please help
    Edited by: zadini29 on Jan 19, 2011 1:36 AM

    Hi,
    we can answer to it by freigt conditions that we can use in pricing procedure. make that condition entry possible at PO creation.
    you can change the vendor of that condition at PO itself. just select that condition and click on overview button at buttom, system will show you new page where you can give your vendor code of tranpoter.
    When you will do GR, system will allow you to settel delivery cost at MIRO. just select planned delivery / service option where you give PO number in MIRO.
    FERT is what is the default feright condition given by SAP. you can make use of it.
    Rgds
    S

  • User Exit for adjusting Transfer Order Quantity

    Hi All,
    We have a requirement to create a Transfer Order as soon as the production order is released. We have done the configuration for the same but we also need to adjust the Transfer Order quantity based on certain rounding value maintained in material master.
    We have tried to use the exit MWMPP001 to adjust this quantity on the Transfer Order based on a field in material master. The user exit is triggered. But the target quantity is not changed as required.
    We also tried using the exit MWMTO006 (Over delivery and if Necessary Under delivery Via User Exit) to adjust the TO quantity. But the exit is not being invoked.
    Kindly let us know if there is any user exit or BADI to adjust the quantity in Transfer Order.
    Regards,
    S.Subasree

    Hi Subasree,
    We are facing the similar problem of user exit(EXIT_SAPLL03A_009) in the enhancement MWMTo006 is not getting invoked.
    We want to use this enhancement to split the TO quantity basing on certain parameters maintained in master data. We are using Lean WM.
    But, I understand from my development team, that program is checking the available stock at quant level. It will invoke the exit only if the stock available at quant is greater than the TO quantity. I didn't understand why this check is there in ECC6.0.
    Currently we are using the same exit in 4.6b, where this check is not there in the code.
    If you have found any solution for this(Invoking the exit) please let us know. Thankyou.
    Regards
    Guru

Maybe you are looking for