Restricting prod order quantity from being higher than sales order quantty

Dear Experts,
   I create production order interactively through co08 ( prod order with respect to sales order). the prod order automatically picks up the quantity in the sales order which is desired, but this order quantity field in the prod order is editable (i.e can be made higher or lower). Please how do I restrict this prod order quantity from being  higher than the sales order quantity?i mean what should be done to make system disallow the prod order qty being fixed higher than thesales order qty?

Hi,
Even though you create the production in refernce to the SO, the order quantity can be alter.
This is a normal behaviour of the system.
To restrict any change in the order quantity, you can use tarnsaction variant for CO08. T code is SHD0.
Secondly you can use the following enhancements to restrict the same,
PPCO0006
PPCO0007
Hope this helps you.
SmanS

Similar Messages

  • Production Order quantity should be same as Sale order line item qnty

    Dear experts
    we have one user requirement as such
    Production Order  line item quantity should be same as Sale order line item qnty.
    suppose for SO Line item he is ordered 100mts,Production of this paricular Line item should also be 100mts it should not be more than this,How to satisfy his requirement.
    Regards
    Sandeep patil

    Hi,
    If the Manual intervention is eliminated for processing of the data then the SO Line Item Qty will be equal to Production order Qty.
    Background Jobs for MRP Run, Planned Order to production order cretaion will help you to manage this, along with effective Authorization Management.
    Regards,
    Siva

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

  • Need Minimum Order Quantity to show up on Sales Order

    We do private label manufacturing jobs. We have defined the Minimum Order Quantity in the Item Master under Planning. I am trying to get that info to populate on the rows if that item is selected. I don't see that field as an option on tghe form design. Any ideas?

    1.You should define a user defined field in the marketing document rows and
    2. make a formatted search to fill it with the minimum order quantity.
    ( The formatted search may look like this:
    Select I.MinOrdrQty From OITM I Where I.ItemCode=$[$38.1]
    And you should set auto refresh when exiting altered column item no.)

  • Handling Planned order created from Demand planning and Sales order in MTO

    Hi all
    In MTO\ Repetitive we genrate Dependent requirement from demand planning (PIR) after running MRP which finally planned order created but on the other hand in short term we have Sales order which generate planned order after running MRP(In MTO), How we should handle planned order generated from Demand planning and the ones generated from sales order.(both after MRP Running).
    Regards
    Babak Bolourchi

    Dear,
    You can combine the planning strategy also main as 56 and second as 65 and in demand managment MD61 you have the option select requirement type.
    Then while creating sales order use MTO strategy and take MRP run through MD50 and then MD02.
    and if you want to assign the stock to sales order then you and do it through MB1b with 412 E movement type.
    As per my knowledge, generally 56 strategy only takes Sales Order Stock into consideration.
    Consider setting the Individual/Collective indicator to 2.
    Mark those characteristics that should have a usage probability in demand management as Relevant for planning.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Purchase order coppy from QT/Contract to Sale Order

    Hi,
    When i coppy sales document from Quotation/Contract in to sale order, the PO No wat ever i ve saved in quotation/Contract is not getting Coppied in to Sales order & other things are getting coppied.
    I'Ve checked in copy control aswell...but still its(PO) not getting coppied.
    Sdguru's plz help me on solving the same.
    Thanx & Regards,

    In copy control VTAA, maintin 307 routine in the field Copying requirements for data transfer VBAK.
    Regards,
    GSL.

  • Office 365 AAD Password Writeback not working; Event Viewer Error: 0x80230619 (A restriction prevents the password from being changed to the current one specified.)

    Hello all,
    I'm currently setting up a Proof Of Concept setup with directory synchronisation and password syncing to Office 365, leveraging AAD Premium for the password reset and password writeback to on premises
    AD functionality. Directory Sync + Password Sync is working flawlessly with the AADSync tool. However, upon requesting a password reset for a user, I'm hitting a password writeback error. The webpage states that the password does not meet the password
    complexity policy, while it does. I can set that particular password for that account at the on premises AD without any problem.
    In the event viewer at the AADSync server, I'm seeing this Error pop up whenever I try to reset the password:
    An unexpected error has occurred during a password set operation.  "BAIL: MMS(4032): ..\server.cpp(11003): 0x80230619 (A restriction prevents the password from being changed
    to the current one specified.) Azure AD Sync 1.0.0475.1202"
    My Setup:
    Windows Server 2012 AD with a single forest
    Seperate domain joined Windows Server 2012 for AADSync tool
    AADSync version 1.0.0475.1202 with options password sync, password writeback enabled
    Service account for AADSync tool with Replicating Directory Changes and Replicating Directory Changes All permissions
    on root AD forest structure with inheritance to all objects. This account also has the permissions to Change Password and Reset Password on all descendant
    User Objects.
    AAD Premium for my office 365 tenant
    AAD Premium licenses for the test users and the office 365 account used to sync to Office 365. This account is also Global Admin.
    Could anyone help me with this? Is there something I’m missing here? My guess is that the AAD is not trusted or the service account for AADSync tool does not have the proper permissions. I’ve tried
    many options, like setting the AADSync Service account to Enterprise Admin or granting the service account Full Control over that particular user.

    Concerning my issue:
    The Default Group Policy setting: Minimum Password Age is set at 1 day. As I was testing this feature with new users, their provisioned passwords were less than 24 hours old and the Minimum Password Age of 1 prevented the change of the password.
    After changing this to 0 days in the Default Group Policy, my password resets started working for newly created users. While this might not have affected existing users in production, it had me looking and searching for permission issues on my AD.
    So for those that might be experiencing ADSync Event ID 6329 and PasswordResetService Event ID 33008 Errors when trying to do a Password Reset using AAD Premium with Password Writeback, it might be helpful to check the applied password policy.
    The issue is solved.

  • Status : Being Processed in Sales Order after the Delivery and Billing also

    Hi All,
    For one Sales Order........ Delivery and Billing are over but it shows
    In the Sales Order> Header level>Status bar>Overall Status>Being Processed.
    In Document Flow:
    Sales Order xxxxxxxxx  : Being Processed.
    Delivery xxxxxxxxxxxx   : Completed.
    Billing xxxxxxxxxxxxx    : Completed.
    Functionally we checked everything......but through technically we can solve the issue or not
    Pls help me with some solutions.
    Advanced Thanks.
    Diwakar Reddy.
    [email protected]

    Hi,
    This generally happens if the sales order is for a quantity greater than the quantity delivered.
    SAP treats the sales order as still open and delivery of the remaining quantity is possible through that sales order itself. So the status is shown as "Being Processed".
    If you want to see the status as "Completed" then you need to cancell the remaining open items in that sales order. Automatically the status will change to "COMPLETE"
    Hope this solves your querry.
    Regards,
    Anirban

  • Warning message, if Quantity=0, when creating a sales order with VA01orVA02

    Hi Experts,
    Currently, if the user do not enters any value in QUANTITY field, while creating a sales order(or even VA02 too) ..........we are getting a Warning message(VU001).
    So, I need to change it to hard error message type, am changing the message type, but, its not reflecting, and still its throwing a warning message(VU001)!!
    Let me know that, What is the correct user exit to incorporate my changes?
    From where this message generating? am keeping a watch point with this message (VU001), but, its not stopping!!
    System is ECC 6.0
    repliaes appreciated
    thanq
    Edited by: SAP ABAPer on Dec 22, 2008 4:38 PM

    thanq
    (the reason, why my original code was worked is that, I put my code in SAVE user exit!!)
    yes, its working, but, the scaenrio is different, so, its like,
    if the user entered my_matnr with quantity = 0,
    then presses ENTER,
    now, we are getting a WARNING MESSAGE of message class & # is VU001, saying the Item 000010 is quantity 0...........so, here I need to change it to HARD ERROR message.
    So, as soon as press the ENTER button(after enetring 0 qty matnr)........I need to get HARD error message, so, where should I incorporate the changes? is it MOVE FIELD TO VBAP user exit?
    thanq

  • Delivery Block being Removed in Sales Order

    Hello,
             While Creating a Sales Order, the moment we enter the Sales Order Entry initial Screen, the Delivery block is being set to a Default Value. However, when I enter the Sold-To,Ship-To, Material, Quantity & Plant and press enter, it disappears. But the Functional Requirement is that it should remain the same even after pressing enter. Can some one give me an idea as to how to achieve it?
    Thanks and Regards,
    Venkata Phani Prasad Konduri

    Hello,
            In fact there are no Checks / Validations in any of the User-Exits for Sales Order. I think it has something to do with Config which is setting the Delivery Block automatically for some of the Order Types and I want to know which would be the appropriate place to restore the Delivery Block after the Enter is pressed. Is there a BADI for Sales Order? Or do I need to do the check in USER_EXIT_MOVE_FIELD_TO_VBAK? Please let me know.
    Thanks and Regards,
    Venkata Phani Prasad Konduri

  • Delv qty greater than sales order qty

    Hi ,
        We are on ECC 6 . In one of the del, delivery qty is greater than sales order qty.
        which resulted in overpicking. ( Sales order qty 560 , delivery qty 587 & Pick qty 587).
        This is over delivery & overpicking issue.
        Is there any way to stop this for ECC 6 version.
        Let me know.
    Thanks  & Regards

    Hi Tushar
    You need not maintain the over-delivery limit.
    If you set set "B" in the "Over Delivery" field in the Delivery Item category (0VLP), then system will not allow you create a Delivery with delivery quantity greater than Order quantity.
    I mean, if the order quantity is 10 pc, then with reference to that Order ,you can not create a Delivery for more than 10 pc.

  • Delivery is more than sales order quanity

    Dear all,
    i m able to create delivery more than sales order quanity i want to restrict that one for ex sales order is 1 and i m able to create 10 and i m doing batch split too plz help me to resove the proble it shouldnt cross sales order quanity
    regards,
    debesh

    Dear Debesh
    Go to TCode 0vlp, (zero VLP) select the item category and execute.  There maintain B  for Check overdelivery and save.
    Now retry to do overdelivery and post the outcome.
    thanks
    G. Lakshmipathi

  • Delivery quantity of items cannot exceed sales order quantity

    hi,
    Could you all please help me regarding how to block a transaction if the delivery qty. is more than sales order quantity used to make the delivery.
    we normally have multiple SO's to one delivery and also multiple deliveries to 1 SO
    regards

    Hi,
    Please refer to this threads
    Block the Quantity in Sales Delivery
    Approval Procedure for chaning quantity in Delivery Document
    Regards,
    Vijay kumar
    SAP Business One Forums Team

  • How to have confirmed quantity 0 for credit blocked sales orders

    Hi!
    I have the following problem. I have one sales order blocked because credit. Using material A the quantity confirmed is 0 but using other material B the quantity is confirmed. All the materials have no avaliability check group no arelevant for vailability .
    How can I customize in order to always have quantity confirmed in 0 for sales orders bloked because credit check?
    Thanks in advance for your help!
    Regards,
    Marina.

    I resolved the issue

  • How to restrict the the oreder reason list while creating sales order

    Hi gurus,
    Can anyone suggest me
    how to restrict the Order rerson list
    while creating the sales order in VA01
    Thanks & Regards
    kalyan.

    hi,
    Try this exit:
    Enhancement            MMFAB001     User exit for generation of release order                    
    Thanks,
    AMS

Maybe you are looking for

  • HP Photosmart Premium all-in-one C410a. The photos are coming out dark, what is happening?

    The photos are dark. I am sending the photos wireless from my Toshiba Netbook NB205-N325BL with Window 7 Starter to my HP Photosmart Premium all-in-one C410a. The photos are dark when i send the photo from my iPhone 3Gs too. I have changed out the in

  • Not receiving confirmation emails

    I logged into the the Creative Cloud and I am hit with a message that says I must confirm my email. However, no matter how many times I hit "resend" I am not receiving the email (I added adobe.com to my "safe sender list"). I never received a confirm

  • H.323 and SCCP in CCME

    I try to make a Cisco Call Manager Express to work with H.323 and SCCP in the same time , each of them working good but they didn't work together . I mean that H.323 phone can to dial H.323 phone ,and SCCP phone can to dial SCCP phone , but H.323 pho

  • Material Reservation Process for Work Order

    I am new to the Plant Maintenance work order and material reservation process. Here is my scenario: I create a work order with a material that is maintained in WM and IM. Reservation is created. I got to MB26 to post goods issue Once I do this I see

  • Mouse wheel value update

    Hello everyone I am trying to get the value from "mouse scroll" changed by mouse wheel. The attached code is very simple and seems to be right wired, but it's not working properly. If you run the VI and scroll up and down  mouse wheel, you will see t