Minimum Order Quantity and Maximum Order Quantity

Hi Gurus
Can u fix the Minimum and Manximum Order Quantity for a Particular Sales Order.
if i enter the Minimum Order Quantity in Material Master Record (Sale Org--1 tab), it is working.  But it is happening with all the order types.
My requirement is i need this to be happend with only a particular Order type YOR and not with ZOR.
Mininum Order Qty        - 5 ea, and
Maximum Order Qty      - 10 ea.
so that for this order type YOR for any material the order qty for a line item cannot be less than 5 qty and more than 10 qty
is there any way to do this,
if it is possible by creating an User Exit, please give me Step-by-Step solution.
I do now know how to Create USER EXITS
babu rao

HI BABUR,
try to do it in userexit , first in a test system.
you can try userexit MV45AFZZ.
SE38 and programm name MV45AFZZ.
there you can see fields of vbak, vbap or xvbak , xvbap.
the last two are structures.

Similar Messages

  • Open PR Quantity and Open PO Quantity

    Dear Friends, Good Morning..
    Please suggest me...
    I need to create a report with Inventory + PO + Plan data.
    In case of PO I need
    Open PR Quantity  and
    Open PO Quantity
    Open PO Quantity : I'm getting from 0PUC_C01 InfoCUbe i.e.
    Open PO Quantity =  PO Qty -  GR Qty.
    But how can I get Open PR Quantity  please help me.
    Thanks
    Gnaga

    Hi,
    I dont see anything like open PR quantity. u cant have GR based on PR, even if it is an internal order an STO has to be cretaed out of this PR.
    Check for more with ur functional consultant and design acordingly.
    regards
    Joga

  • Rounding Value,Minimum Lot Size and Maximum Lot Siz parameters

    Hello Gurus,
           Please explain me the what is the use of the parameter Rounding Value
    ,Minimum Lot Size and Maximum Lot Size parameters in the product master and how does it in impact during the Heuristic Run?
    Thanks.

    Rounding value is the incremental quantities in which the order can be produced/procured. Eg. if orders are possible with quantities 40,60, 80, 100 etc..then rounding value is 20.
    Min lot size is the minimum quanity in which order can be produced eg. 40 in above example
    Max lot size is the maximum quanitity in which the order can be produced/procured. eg. 100 in our example
    Impact on Heuristic run: heuristics takes all the above parameter to plan supply order. eg. if requirement is 55, it will supply plan for 60. If requirement is 120, it will produce two orders - one for 100 and the other for 20. if the reuqirement is 10, the order size will be 40.
    Hope this helps.

  • Open PO Quantity and Open PR Quantity

    Dear Friends,
    How can we get Open PO Quantity and Open PR Quantity?.
    I used 2LIS_02_ITM, 2LIS_02_SCL to 0PUR_C01 Cube and 0PUR_DS03 DSO and I have done lots of R & D by using restrictions i.e. Delivery Completed indicator, I'm getting GR Qty, but not Open PO Qty..
    And in teh same way how can I get Open PR Qty?. From EBAN table, I can create Generic DS, But is the any SAP Defined DS's apart from 0DF_IS_DFS_32
    Thanks
    Ganga.

    HI,
    Check the below link for EBAN which will help you in getting a generic datasource working like a standard datasource to get details of EBAN.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10b68b99-022e-2a10-999d-c4dc9ec24a59&overridelayout=true
    Thanks,
    Arun

  • How to compare sale order bom and production order bom.

    i would like to provide report with respect to comparation of sale order bom and production order bom, but i am not familiar with SD and PP, can anyone give me some clue? i only know sale order bom is created via 'CS61', afterwards run mrp to get production order, the process appears complicated, i needn't know the process detail, just want to know how to get sale order bom and relative production order bom. please guide me.

    Hi,
    Check Tcode:CS14 to SD/PP BOM's
    Chidambaram

  • How to maintain minimum price limit and maximum price limit for a condition

    Hello Gurus,
    Goodmorning,
    How to set minimum price  limit and maximum price limit for a pricing condition type  where we will do this ?, is it possible to set in VK11 ?
    Note- I   can see  minimum and maximum setting in condition type  pricing - in  SPRO but  not seen anything in VK11 condition record maintaince  . so how to maintain in condition record( VK11-Minimum limit  price and Max limit  price )
    Looking for your inputs 
    Thanks in advance
    Regards
    Venkat

    hi,
    in VK12
    select the condition record - goto blue ladder icon
    there you can maintain scales
    like lower limit and upper limit.
    balajia

  • Minimum and maximum order qty

    we want to configure minimum and maximum allowed order qty in STO for our internal stock transfers.
    plz suggest the config steps to be follow for deploying this activity.

    My requirement is for intercompany stock transfers scenario.
    assume that there are plants 101 and 102, when ever STO through ME21N is occuring system should cross check with minimum order qty for given materials failure of which system should give error message, same way from supplying plant system should check minimum delivery qty for receiving plant failure of which system should give error message and should not allow for outbound delivery.
    suggest the process need to configure.

  • Transaction code for sales order totals and purchase order totals

    Hi i am using alv grid report to display the sales order and purchase order totals by productline(profit center)
    Now i have to call standard transactions from first list to display the totals of sales order and purchase order.I have to display these transctions for specfic orders and their specfic lineitems only.
    in VA05n transaction it is allowing me to enter only the document numer but not item.
    Can any one help to find the standard transaction to display the totals for only specific orders and line specific line items

    Hi Polite,
    The transaction CRMD_ORDER is the superset for all the transactions mentioned by you. So it is better to remember just one transaction instead of remembring the subsets . Once you use the transaction CRMD_ORDER and then Follow the menu Business transaction -> Create (F5) you will get the list of transactions you can create this is nothing but the the transactions you have mentioned.
    If you know the transaction no. you can directly open that in transaction CRMD_ORDER. The other opetion is to use the SAP Menu instead of transactions.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.

  • Relationship table of Sales Order (VA03) and Delivery Order (VL03N)

    Hi everyone!
    What table can I see the relationship of Sales Order document (VA03) and Delivery Order document (VL03N) as shown in VA03 > Environment > Document Flow?
    I mean, what tables saves the partnerships of each document (query sales order no. and get equivalent delivery order no. or nos.)
    Thank you very much!

    Hi
    U can use the fm RV_ORDER_FLOW_INFORMATION in order to get out those links or you can read the item table LIPS:
    LIPS-VGBEL  = sales order number
    LIPS-VGPOS  = salese order item
    Max

  • GR blocked Quantity and corresponding released quantity

    Hi,
    I want to find out GR blocked Quantity and corresponding GR released quantity (103 & its 105), kindly let me know the table link to get these data.
    Thanks,
    Kaleel

    Hi
    In table MSEG, field MBLNR will have 105 GR ref and field LFBNR will have corresponding 103 GR ref.
    With regards,
    Jeeva

  • Project material quantity and sales order material qnty to be same

    I have a requirement that my S.O material and quantity should be checked with project material number and quantity.If there is any mismatch system should not allow me to proceed to do the sales order or any error message or check to be defined.
    Please suggest.
    Zinni

    Hi Makwana Zinni ,
    If you have found solution yourself, share it with forum members. It'll be definitely useful for one or the other guy.
    Thanks & Regards,
    Amaresh Makal

  • Different CUOBJ between sales order item and production order

    Hi gurus,
    Our SAP solution is IS Mill & Variant configuration based, we're using ECC6 as OLTP system mapped to APO PP/DS from which module we trigger the planned order into production order conversion. We're exclusively using the 2 different production type : MTO & MTS. When Sales order based (MTO), it was not possible so far to change the configuration of the production order since following Message no. CO661 was advising the data for the configuration was taken from the allocated SO:
    Here is an old thread we'd posted where we were requesting further details about above message: Message CO 661 - Characteristics values were copied - you can only display
    We recently upgraded SP level (SAP_BASIS) from 15 to 30 on ECC6 side, SAP Basis Component on SCM side has been remaining unchanged with release 700 level 016.
    We now observe the message is unexpectively NOT raising anymore so-that the configuration can be freely adjusted; reason seem to be a different CUOBJ between the SO and its production order; please not the issue do not take place when creating the production order directly from ECC6 through CO08.
    Would you please help to clarify the reason of such a behaviour? Thanks in advance.
    Remark: snote 1326891 has been patched but w/o any added value as it do not really apply (= CTP not used)
    BR,
    Pascal.

    UP
    Below as an illustration CUOBJ from VBAP versus CUOBJ from AFPO
    Both WO have been created from APO, difference is the first one was created prior our SP level upgrade. I have to admitt CUOBJ mechanism between ECC & APO is quite unclear, below CUOBJ found when reading planned order data with FM /SAPAPO/RRP_LC_ORDER_GET_DATA (reading executed prior conversion, same outcome when reading prior its creation)
    BR,
    Pascal.

  • Accounting document quantity and billing document quantity doesn't match

    Hello SAP Experts,
    I have an accounting document that was automatically posted in FI (TCode VF01) after billing document was created. Billing document (debit memo rebilling) shows invoiced quantity 1. But corresponding accounting document in FI shows quantity 0 (double click on G/L account in accounting document, section additional account assignments, field Quantity).
    Could you please help me where should I make appropriate corrections, settings?
    Thanks and best regards,
    Peter

    USe user exit EXIT_SAPLV60B_002 and EXIT_SAPLV60B_004 to modify customer lin and  GL line respectively in the accounting document. change values  in export parameter XACCIT
    Regards
    Sridhar

  • Sale order BOM and Prod order BOM

    hi,
    pl. let me know the procedure to extract trough the BOM for a given Sale order.
    Similarly also pl. let me know the procedure to extract PRodn order BOM.
    In both the above cases i do not mean the BOM that we have in std BOM. (CS03)
    regards

    HI
    For order BOM you have to create thru CS61 with refernce to sales order and display by CS63 moreover if you want it to create thru CS01 the selet the usage 5 for Sales and distribution
    For other information use these tables to get more info
    STPO          BOM Item Details
    STPU          BOM Sub Items (designators)
    STKO         BOM Header Details
    MAST         BOM Group to Material
      Hope it will help u
    Regards
    Anupam Sharma

  • Sales order info and quantity in the invoice accounting document

    Hi,
    When saving the accounting document at sales invoicing time, I do not succeed in retrieving information such as the quantities sold, sales order number,... whereas the field status group for the concerned account is activated (optional) for the field "quantity" and "sales order".
    Moreover, there is a field I would to retrieve the net weight that is displayed in the sales invoice, in my accounting document. Is this possible?
    Thank you for your help,
    Ronan

    Hi Kapil,
    Just commit the data base .Generally when we create any data using fm or bapi it wont commit database. Take the fm and sequentially use another fm if you did this from se37. If you did this from report just commit data base. It will commit data base and create a record. Please close the thread if it is answered.
    Regards,
    Madhu.

Maybe you are looking for