Condition type based on minimum order qty

hi all,
can anyone help me solved this problem.
i have maintain min order qty in material master (MVKE-AUMNG) . let say 10PCS ($5/PCS). then i create Sales Order (Tcode VA01) with qty = 5, the system propose warning (we can still continue create order).
i want to have condition type (let say ZZPR) that have value = Price * min qty --> $5 * 10 PCS.
i think we need routine in calculation base value. can anyone know the code for this routine?
thx
Best Regard,
Hendry

hi raj,
put routine in condition based value.
data : zaumng type mvke-aumng.
  select single aumng into zaumng
    from mvke
    where matnr = komp-matnr and
          vkorg = komk-vkorg and
          vtweg = komk-vtweg.
move zaumng to xkwert.
hopefully it helps..
Best Regard,
Hendry

Similar Messages

  • Sales Order Blocking based on Minimum & Maximum Qty, Wt & Value.

    Hi Experts,
    I need to put a minimum and maximum (value, quantity and weight) set up in Sales Order based on the Customer.
    Based on the condition record I should be able to put the minimum and maximum quantity, order value and weight in condition record.
    If anybody try to enter less than the minimum and more than maximum system should automatically block the sales order.
    Is it possible ? If possible how can I create condition record for this.
    Christine

    For minimum order quantity you can maintain in the material master itself.  So whenever you enter the quantity less than the minimum order qty it throws the error and will save the order.
    Regarding the maxmum order quantity you have to write the userexit to control the max. quanity by specifying the max. qty in user exit.
    Reward points if it is helpful

  • Process Sales Order based on minimum order

    Hi Sap gurus,
    Can any one Help me Out regarding How the System should have capability to process Sales Order based on minimum order quantity and minimum order value and How we will map In sap
    Thanks
    Points will rewards
    Regards
    Rajesh

    Hi,
    We can set the control for Min order quantity in the Sales org1 view. Like wise we can control min order value also.
    For that we have to use two condition types AMIW & AMIZ.
    AMIW is min order value, where as AMIZ is min ord surcharge
    Let's say AMIW value is 50,000.If the order value is less than 50,000 then AMIZ comes into picture.Amiz compares the automatically determined order value and AMIW value.The difference of those two values Amiz takes as surcharge and it overwrites the automatically determined order value with this value.
    Like wise we can maintain min order value also by using this two cond types.
    In the pricing procedure
                            subtotal      req   Altcal   Altcond+bv
    AMIW                D
    AMIZ                                  2         13
    Award me points if u satisfy
    Thanks,
    Sudheer

  • Minimum Order Qty on Info Record for MRP

    Hello All -
    I have maintained an info record for a material with a minimum order qty.  When MRP runs and generates the planned order/purchase requisition, it is not taking into account the min order qty on the PIR.  Is there some additional set up that I need to do?  I have a source list set up with a 1 under MRP relevant.  Thanks!
    Jane

    I also tested and SAP didn't consider minimum order quantity that is maintained in info record (EINE-MINBM), but w/o success... minimum lot size (MARC-BSTMI) maintained in material master is considered.
    I assume Charlie is right and minimum order quantity is valid in case of purchase orders:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/67/c50d38c5a5c82ee10000009b38f842/frameset.htm
    You can use this function to round off order quantities in POs and contract release orders.
    If you enter a minimum order quantity in the purchasing info record, the PO quantity will be rounded up to the desired minimum quantity after evaluation of the rounding profile where appropriate.
    (based on this I think order optimizing is valid for POs)
    So, whether you use the mentioned minimum lot size and rounding profile fields in material master (suggested by Charlie) or you can maintain rounding profile in the purchasing info record and thus you can have vendor specific minimum lot size.
    Regards,
    Csaba
    Edited by: Csaba Szommer on Jun 2, 2009 9:48 PM
    Edited by: Csaba Szommer on Jun 2, 2009 9:48 PM

  • MRP order multiple and minimum order qty

    Hello
    I am running MRP for one item with minimum stock level 20, in house qty 1, order multiple 12 and minimum order qty 20
    the MRP return the figure 19 to order, when it should be 24 taking into account order multiple and minimum order qty...
    Could you explain me why
    we run SBO B1 2007 SP00 PL49

    Hi,
    This is the definition of your questions:
    Order Multiple u2013 you can set a multiplication factor for ordering the item e.g. in
    case you define 5 in this field and14 items are required, the MRP will recommend to
    order 15 items (3X5=15). If 18 items are required, the recommendation will be to
    order 20 items (4X5).
    Minimum Order Qty u2013 you can type a minimum quantity for ordering items by the MRP.
    The planning data is apply when there is a requirement (sales order, forecast, production orders (for the child item) and reserve invoice.
    JimM

  • Minimum order qty for Stock transport orders

    Hello
    I wonder if there is any way to make the following fields from the Sales org 1 view in the material master to apply on Stock transport orders (ME21N, with subsequent delivery created in VL10B):
    Minimum order qty
    Minimum delivery qty
    Delivery unit
    As of now in our system, it only works for Sales orders and related deliveries. But not for Stock transport orders with a supplying plant.
    Also, if there is any other way to implement minimum order qty funcitonality and delivery for Stock transport orders, pls advice.
    Thanks,
    OT

    Hello
    We are in an intracompany business case. The supplying and recieving plant are in the same company.
    The situation is as follows: we are planning all replenishment manually without any involvement of MRP.
    What we would like to achieve is the same functionality as of the minimum order/delivery quantities material master fields in the material master.
    So when the planner creates the stock transfer order, he keys in supplying plant, material and quantity manually, then the warning message about the minimum order qty should appear.
    So far I have not found any way to do this. Any ideas are greatfully received.
    BR,
    OT

  • MRP Minimum order qty not recognized

    Hello together!
    We found out (note 862814 ) that mrp does not manage minimum order quantities right (see below).
    Version: SAP BUSINESS ONE 2007 A PL 6
    Description of requirements:
    Dear Madams and Sirs,
    MRP Wizard yields unexpected result.
    For an item having Minimum Stock 4 and having only two item in stock MRP suggests only two items for
    purchase though Minimum order Qty. is 3.
    From my point of view this result is wrong.
    Please help us !
    Wrong purchase amount of 2 items is proposed
    Proposal of 3 items as Min oOrder Qty. is 3
    Partner / Kundenkontakt: bob Systemlösungen
    Abwicklung auf Englisch möglich? (Antwort 'Ja' vereinfacht die Bearbeitung Ihrer Meldung) Ja
    Name: Daniel Rosen
    Valid as of: ASAP
    Business needs:
    As there are hundreds of items to be ordered at the vendors, it is almost impossible to control the Minimum order Qty. Ordering non adequate quantities results in bad prices! This should be a basic function in MRP.
    Examples:
    For an item having Minimum Stock 4 and having only two items in stock MRP suggests only two items for
    purchase though Minimum order Qty. is 3.
    Current Workaround:
    Laborious control of every Purchase order from MRP suggestion.
    Proposed solution:
    MRP should recognize Minimum order Qty. Best it could be set individually if Minimum order Qty is recognized or not.

    Hi
    did you define default warehouse for items?
    If it is true: did you select the default warehouse for the MRP process? Did you select another warehouse?
    If you select another warehouse (not default) the behavior is correct.
    Kind regards.
    Agustin

  • Where/How to find the condition-types to an given order-position

    Hi,
    need to knwo the table, where the
    kondition-types to an order --> order-position
    are stored!?
    Because I want to analyse, which order (order-positions)
    have a specific kondition-type!
    Thanks for help!

    Hi,
    the condition types are stored in table konv. To get the link between an order and the corresponding condition types, first read the order header (table vbak). The field vbak-knumv is your link to table konv.
    Regards,
    Thomas Langen

  • Standard Packing Qty vs Minimum order Qty

    Dear All
    In Inforecord when I am maintaining Standard Qty and Minimum Order Qty
    system is objecting me by giving an error
    That  Minimum order qty must be less than Standard Packing Quantity can we avoid the error message
    kindly help me in maitaining the Inforecord.
    Regards
    Chaitanya

    Hi,
    This is standard system behaviour, see below extract from documentation:
    Standard Purchase Order Quantity
    Quantity of the material that is normally ordered from this vendor.
    Use
    The standard purchase order quantity serves as a basis
    for computing the effective prices in vendor evaluation.
    for determining the price if a price/quantity scale applies
    Example: standard quantity 100 pcs.
        Scale prices: 1-100 pcs. $10.00/ 101-200 pcs. $8.00
        Price determined on basis of standard quantity: $10.00
    Dependencies
    The standard quantity may not be less than the minimum order quantity.
    I fail to understand why would you have any problems with the fact that the minimum order quantity must be less than the standard quantity.
    Maybe it is because you interpret Standard order quantity as standard package quantity!
    Regards,
    Mario

  • Updating Condition Type based on pricing type in Sales order

    Hi ,
           I've created a sales order using BAPI. Now I want to update the condition type using pricing type 'Z' customer reserve . I'm using BAPI_SALESORDER_CHANGE.
    I'm passing the values as:
      condition-itm_number = '000000'.
          condition-CONDTYPE = 'Z'.
          condition-cond_count = '01'.
          condition-currency = w_temp_itab_so-currency.
         condition-CALCTYPCON = 'Z'.
          APPEND condition.
          conditionx-itm_number = '000000'.
          conditionx-cond_count = '01'.
          conditionx-updateflag = 'I'
          APPEND conditionx.
    But its not getting updated.
    Thanks and regards,
    Jyoti Shankar

    Hi G's
    Iam trying to get my fields hidden based on the conditon type i give, and not in a position make that hidden so, how can be that done,,
    The actual instance is:
    I am having different plants for the company and two plants have different taxation procedure and rest differemt and if i select plant with different taxation procedure the condition type should be supresses only for the particular plant...
    All your Support is Appreciated

  • Getting list of Sales condition types based on matnr , vkorg,vtweg

    Hi ,
               I would like to know if there are any FM that retrieve condition values similar to transaction:VK13 based on access sequence.What I mean by access sequence is if there are no records maintained for the first key combination then it should search for the next key combination until a condition value exist.
    I have all the mandatory information like VKORG,VTWEG,MATNR,VKGRP..etc similar to VK13
    for all the key combinations of VK13.
    i tried using FM's
       WV_KOMK_FILL_V
       WV_KOMP_FILL_V
       CONDITION_RECORD_READ
       SALES_PRICE_COND_TYPE_GET
       PRICING_GET_CONDITIONS
       PRICING_LOAD_CONDITION_TYPS
      SD_COND_TYPES_OF_PRICING_PROC
      WB2_SD_MAUNAL_PRICING_COND_GET
    CONDITION_TYPS_FOR_PRICING
    SALES_PRICE_CALCULATE_01
    SD_COND_AUTH_CHECK
    SD_GET_ALL_CONDTYPE_FROM_KOTAB
      But i couldn't get the solution . Plz guide me in using these FM's  in which order.
      My input will be MATNR(Article Number),Sales Organisation(VKORG),Division(VTWEG),Customer(kunnr) .
    I want to list all the condition types . 
    Thanks in advance .
    Regards,
    S.Sivakumar
    Edited by: sivakumar subramaniam on Oct 31, 2009 4:29 PM

    You can try the function : SD_CONDITION_TIME_INTERVAL_GET
    This func reture condition records and types:
          KOMG-VKORG = P_VKORG.
          KOMG-VTWEG = P_VTWEG.
          KOMG-MATNR = P_MATNR.
          KOMG-VKGRP = P_VKGRP.
          CALL FUNCTION 'SD_CONDITION_TIME_INTERVAL_GET'
            EXPORTING
              KOMG_I      = KOMG
              DATVO_I     = S_DATAB-LOW
              DATBI_I     = S_DATAB-HIGH
            TABLES
              PERIODS_TAB = GT_PREDATE
              KSCHL_TAB   = GT_TKSCH
            EXCEPTIONS
              OTHERS      = 1.
          READ TABLE GT_PREDATE INDEX 1.
          CHECK SY-SUBRC = 0.
          LOOP AT GT_PREDATE.
            SELECT SINGLE H~ERNAM H~ERDAT P~KBETR
                INTO (GT_ITAB-ERNAM, GT_ITAB-ERDAT,GT_ITAB-KBETR)
                FROM KONH AS H
                JOIN KONP AS P
                  ON P~KNUMH = H~KNUMH
               WHERE H~KNUMH = GT_PREDATE-KNUMH.
            APPEND GT_ITAB.
          ENDLOOP.
    Edited by: Song Huang on Jan 20, 2010 11:46 AM

  • How to prevent consecutive entries of same condition type in a sales order

    Hi,
    My client is using manual condition type for the basic price "ZBPR". Now system allowing multiple entry against this condition type in the pricing screen during order creation i.e in the first line if we put Condition Type "ZBPR" and putting some value as amount, then again if I put "ZBPR" as condition type and give some other value as amount then system is allowing this and doing all the subsequent calculation.This is not acceptable by the client.
       The functional person regarding this is saying this can be done by using routine.Can some body tell me which routine should I take for this if that is possible by routine and the required code.Also say if there is other way to solve this.
    Thanks,
    Manas.

    Hi ,
    u can do it thru VOFM(tcode)--->Menu -> Formulas>condition value , but in this case u need to derive the value of this condition type by using ur own logic.
    Re: vofm-routine
    Regards
    prabhu

  • How to update cost related condition type amount in sales order without disturbing other condition types.

    Hi ,
    How to updae only one item condition  ZYV0 value in sales order. If I can see we have several options from pricing type to update condition types but here My requirement is to update only one condition amount .If I can see other pticing types they will update all condition types .
    -Exclusive option is checked for all the tables maintained in access sequence,
    Below options were not worked for me.
    -In condition type ----> Condition category has been updated with "D"(Tax) pricing type-"G" to update in sales order
    - This option worked for me but  condition category  "F"(frieght) and pricing type -H but in conditions tab when I update two condition amounts are activated for one condition type like below.
    ZYV0--30 % (old condition record value updated in sales order)
    ZYV0- 50% (updated condition record)
    Regards

    Hi Rita,
    Tried with condition category "u" and updated with pricing type "U" . It works as same I used old logic.
    with condition categories "D" and "F" it will update old and new condition record values in sales order.
    ZYV0--30 % (old condition record value updated in sales order)
    ZYV0- 50% (updated condition record)
    I have updated  here existing condition record value from 30 % to 50 % validity periods are not changed.
    Regards

  • How to give the header condition type in the Sales Order for freight?

    Hi,
         We are creating Sales Order(SO) using FM 'CRMXIF_ORDER_SAVE'.And we are unable to track the FREIGHT condition type in the above FM to pass value.
         We want to check this value in CRMD_ORDER tcode.
        Pls let us know how to make it possible of the above issue.
    Thanks,
    Siva..

    Siva,
       I guess you posted in Wrong Thread. You need to post in WAS section.
       check for any BAPI's available in CRM.
    Nagesh Ganisetti.

  • Defaulting Condition types in a Sales Order Condition Tab

    Hi Experts,
    How to default the condition types PR00 , KF00 and MWST in Sales Order condition tab?
    (manual conditions and with out access sequences) so that we can map the prices from other system to the corresponding fields of KONV in Condition Tab.
    I searched in the forums and then I am posting this request.
    Thank you
    Ravi

    Hi Ravi
    If you want to default the condition types PR00 , KF00 and MWST in Sales Order condition tab without maintaining access sequence then in V/06 for PR00 , KF00 and MWST condition types maintain the option Manual entry is possible , but in your pricing procedure check the boxes Required. So that when you create sales order and when you dont maintain the PR00 , KF00 and MWST condition types system will give an error
    Regards
    Srinath

Maybe you are looking for