Order Qty must not be greater than reference Contract Qty

Is there any way we can stop user to create Order if he enter quantity more than quantity entered in the
reference contract.
e.g. if i created contract for xyz customer of item abc with quantity 100 each
while creating order for the xyz customer of item abc i will not
be allowed to enter more than 100 each quantity while referenceing the contractred created
for the customer in step one
Pl. help

HI,
For your Target Sales Doc Type from Source Doc Type, In Copy Control Settings, T. Code: VTAA (Item); you may "Automatically determine the referenced qty" in Field: Copy Quantity.
But, later-on, one may change the qty in target Sales Doc. (in standard SAP). You may write "User-exit" to avoid such instances.
Best Regard,
Amit.

Similar Messages

  • FF747 Tax amount must not be greater than the tax base

    We have sample orders where the order amount is calculated and then discounted fully.  However, our freight goes to our tax software separately due to different taxability rules.  Therefore, the original tax amount (pre-discount) is sent and we end up with FF 747: The tax amount must not be greater than the tax base.
    The business wants to track this freight amount.  How do we change the message from error to warning or does anyone have a work around so we can invoice these customers?
    Thanks,
    Michelle

    Hello ,
    I am facing the same issue. Could you please let me know how you resolved it ?
    Thanks.

  • Error Message FF747  -The tax amount must not be greater than the tax base

    Hello,
    We are attempting to post an import vendor invoice through transaction    FB60 for Israel company code . Since the tax charged by the vendor is not fixed every time , we are entering the tax amount in the    FB60 screen manually , without selecting 'calculate tax'.The amount of tax is greater than the amount of expense as per the real business scenario. For example amount of expense is 100, amount of tax is 200 and the total amount charged by the vendor is 300 .However when we simulate the posting we get an error - The tax amount must not be greater than the tax base-Message no. FF747
    We tried putting a very high percentage in the tax code also but it didn't help
    We would like to go ahead with this posting. Could you pl throw light on the same . ? Is there any way (OSS note ) or a work around which can resolve the issue ?
    Best Regards
    Amit  Kulkarni

    Hello
    This may be  a work around in other cases , but since we want the amount to be updated in the BSET table for further VAT reports , we would like  this to be posted along with the expense item

  • The tax amount must not be greater than the tax base

    Hi Experts,
    User is trying to "Relase to Account" in t-code VF01 he is getting an error message The tax amount must not be greater than the tax base.
    During Debuging i found the error is raised in Function module      RV_ACCOUNTING_DOCUMENT_CREATE
    Message raised is
    Message Class : FF
    Message number: 747
    Mesage "The tax amount must not be greater than the tax base"
    Request to through some lights on this issue.
    Reagrds
    Sree

    Hi,
    did you check SAPNET notes with "VF01" and the message class/number as search terms. There are some notes dealing with this case eg 872449, and 184985.
    Best regards, Christian

  • Commercail invoice qty should not be greater than PO qty.

    Hi,
    We have a requirement where, system should check for the commercial qty with PO qty and if commercial invoice qty exceeds than PO qty, system should give an error. This is required to avoid duplicate payment of customs duties.
    This functionality should work for parking and posting of commercial invoice both.
    Please suggest relevant solution.
    Thanks & Regards,
    Bhargavi.

    Hello,
      You can use the function exit EXIT_SAPMM06E_012 to carry out this validation.
    Thanks,
    Venu

  • WS Error - Planned Qty should be greater than Completed + Rejected Qty

    Hi All,
    We've tried to close a Production Order using the ProductionOrdersService Web Service.  We're doing this by setting the Production Order Status flag to closed (boposClosed).  The call also requires us to re-set the due date so we do that to the same value.
    When we perform the call we receive the following exception:
    "Planned Qty should be greater than Completed + Rejected Qty  [OWOR.PlannedQty]"
    It's interesting to note that we've tried to close the production order with different items and everything seems to point towards an issue with the items, however, we're not really sure what is triggering the error.  We're also not sure what the error really implies as the Planned Qty is greater than the Completed + the Rejected Qty on the database.
    We're working with SAP 8.8.1.
    The code is as follows:
            // Get the current session ID first
            // Create message header object with value..
            SAPProductionOrdersService::MsgHeader^ localMsgHeader = gcnew SAPProductionOrdersService::MsgHeader();
            localMsgHeader->SessionID = sessionId;
            localMsgHeader->ServiceName = SAPProductionOrdersService::MsgHeaderServiceName::ProductionOrdersService;
            localMsgHeader->ServiceNameSpecified = true;
            SAPProductionOrdersService::ProductionOrdersService ^iprodWs = gcnew SAPProductionOrdersService::ProductionOrdersService();
            iprodWs->MsgHeaderValue = localMsgHeader;
            // Set the item params object
            SAPProductionOrdersService::ProductionOrderParams^ localProductionOrderParams = gcnew SAPProductionOrdersService::ProductionOrderParams();
            localProductionOrderParams->AbsoluteEntry = ProductionOrderNum;
            localProductionOrderParams->AbsoluteEntrySpecified = true;
            // Perform the Item fetch with that information
            SAPProductionOrdersService::ProductionOrder^ localProductionOrder = iprodWs->GetByParams(localProductionOrderParams);
            // Construct a new Production Order Data structure
            SAPProductionOrdersService::ProductionOrder^ newProd = gcnew SAPProductionOrdersService::ProductionOrder();
            // Absolute Entry
            newProd->AbsoluteEntry = ProductionOrderNum;
            newProd->AbsoluteEntrySpecified = true;
            // Production Order Status
            newProd->ProductionOrderStatus = SAPProductionOrdersService::ProductionOrderProductionOrderStatus::boposClosed;
            newProd->ProductionOrderStatusSpecified = true;
            newProd->DueDate = localProductionOrder->DueDate;//     {6/9/2011 0:0:0 System.DateTime}     System::DateTime
            newProd->DueDateSpecified     = localProductionOrder->DueDateSpecified;//     bool
            // Setting lines array back
            newProd->ProductionOrderLines = localProductionOrder->ProductionOrderLines;
            // Item Code
            newProd->ItemNo = ItemNum;
            // Perform the Update of the Production Order with that information
            iprodWs->Update(newProd);
            // Since there is no return type telling us of the recent update, unless we get an exception, assume it worked
            String^ recMsg = "Close Production Order Attempt Successful.  Parameters are: \r\n" +
                             "Production Order Num: " + ProductionOrderNum;
            Log::LogInformation(recMsg);
            retVal = true;
    Hector

    Dear Gordon,
    Yes, I have checked the data in the database.  I've checked tables OWOR fields PlannedQty, CompletedQty and RjctQty and everything seems  to be in order.  I also checked table WOR1 for the production order lines.  There are two lines, one Labor and one Raw Material (regular item).  I've checked BaseQty, PlannedQty and IssuedQty but everything seems in order there as well.
    Do you know if there is a way to find out what internal piece of code throws that exception message?
    Hector

  • 2100 The ByteArray parameter in Loader.loadBytes() must have length greater than 0.

    Hi,
               Can any one help me how to resolve this issue 
    2100 The ByteArray parameter in Loader.loadBytes() must have length greater than 0.
    Thanks,

    Hi,
               Can any one help me how to resolve this issue 
    2100 The ByteArray parameter in Loader.loadBytes() must have length greater than 0.
    Thanks,

  • Sales Order quantity Must not exceed Purchase order quantity

    Dear Experts,
    My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter  more than Sales order quantity.
    Ex : Sales Order 1234
            Material : AAAA
            Quantity : 100
    while creating a Purchase order for Mat AAAA giving  reference of Sales order i.e 1234 and quantity 150 system must not allow user to enter more than sales order quantity . If user wants to create PO for 150 he must have to ammend the sales order from 100 to 150  is it possible.
    Kindly do the needful
    Regards
    abhi

    Dear Abhinav,
    First of all, Purchase Order will get created with reference to Purchase requisition (T. Code: VOV7 --> Item Cat.: TAS --> Tab: Transaction Flow --> Field: Automatic PO Creation), and not with reference to Sales Order.
    This is Purchase requisition, which gets created with reference to Sales Order; based upon settings in:
    T. Code: VOV6 --> Schd. Line Cat.: CS
    Order Type            NB    Purchase Requisition
    Item Category         5     Third-party
    Acct Assgt Cat.       X     All aux.acct.assgts.
    Now, coming to your requirement (based up on my inputs),
    My requirement is when i am creating a Purchase order giving referenece as Sales Order .. system must not allow the user to enter more than Sales order quantity.
    To Restrict Purchase requisition quantity in PO, then in T. Code: OMCQ
    Or, Path: SPRO > img > MM > Purchasing > Environment Data > Define Attributes of System Messages
    Here make following messages as Error;
    06 076 Materials of requisition & item & alr. ordered in full
    06 254 Order quantity greater than requisition quantity
    Now,  in Purchase Requisition, if it is created for 100 qty (with ref. to Sales Order) and if you adopt the same in Purchase Order and try to change the qty to 150, then system will not allow you change and throws the error.
    Best Regards,
    Amit

  • Purchase Order Quantity should not be more than PR quantity

    Dear all,
    We want to control Purchase Order quantity against Purchase Requisition.
    We have configured message setting 00 076 as  ERROR. when we create Material PR for lets say 100 quantity. When we create single or multiple Material PO against this PR for more than 100 quantity system is giving us error. This is exactly what we needed.
    But due to this message setting when we create Service PR and give service quantity lets say 100. and when we create Service PO and give Service quantity 60. First time system is allowing to save the Service PO.
    When we create another Service PO with reference to same Service PR system is showing error as we have configured. Even though quantity 40 is still available.
    What we want is to have control on quantity of Purchase Order for Material as well as service. Quantity should not be more than PR quantity.
    Is there any other way to have such control? please provide other available options to configure.
    Regards
    Kant

    Hi,
    06 076 is only for applicable only in case of material.
    For Service and material both, use 06 400 as error "Materials/services for requisition & & already ordered with & &"
    NOtes 786736
    This may help u !
    Regards,
    Pardeep malik

  • How to block Invoice when qty of Invoice is greater than PO Qty

    Hi
    We want to block the Invoice when Invoice qty is greater than PO qty.Is there any way to block the invoice ?

    prashant shinde wrote:
    Hi
    >
    > We want to block the Invoice when Invoice qty is greater than PO qty.Is there any way to block the invoice ?
    Hi,
    You can deal with this situation in 2 ways. Manually block the invoice while posting, TAB: Payment.
    Else,
    Use Quantity Variance Key: DQ,DW. You can enter tolerances for Lower and Upper Limit. You can enter absolute and percentage base variance. If one of the limit is exceeded the invoice is blocked for payment.
    If you want certain variance is always blocked, set value or percentage for the upper limit to ZERO and select Check Limit.
    IMG->Material Management->logistics Invoice Verification->Invoice Block->Set Tolerance Limits (Transaction Code: OMR6).
    These setting are for Co. Code level.
    Any deviation from ordered Quantity will be blocked.
    Hope this is what you are looking for!!
    Reetesh
    Edited by: Reetesh on Nov 22, 2011 7:43 AM

  • Purchase Order quantity must not Exceed Sales Order quantity

    Dear Experts
    My requirement is when i am creating PO in me21n and taking Document type as Domestic PO and giving account assignmnet as "C" Sales Order, must have to enter Material and quantity and must have to Give Sales Order number and item no in account assignmnet tab , the quantity i am entering in PO must not exceed my Sales Order quantity that is my requirement.
    Regards
    Abi

    Hi,
    You do not create a PO with reference to sales order. In PO you enter sales order number for reference. A purchase requsition can be created directly from Sales order or through MRP depending on the system settings. Then this PR can be converted to PO. here you can restrict the quantity. As in order to change the quantity in PR also you will have to change the quantity in sales order.
    Regards
    Raj

  • PO Qty should not be more than PR Qty

    Hi All,
    I am creating a PO from PR.
    I want that the PO qty should never be more than PR qty, and if so it should give an error.
    Can anyone tell me the BADI or exit for this? I have already seen exits for PO and PR, but I am not able to figure out which exit to use.
    Thanks in advance.
    Vinod.

    Hello,
      You can use the function exit EXIT_SAPMM06E_012 to carry out this validation.
    Thanks,
    Venu

  • PO greater than Shopping Cart Qty

    Friends,
    We are working on extended classic scenario where PO is created as follow-on document from shopping cart. User can create PO in sourcing cockpit using Process PO option. However here user has the option to change PO qty where system accepts PO qty greater than SC qty. We would like to restrict it.
    In R/3 MM we can control this via system message and restrict PO qty to exceed PR qty.
    How can we control this functionality in SRM?
    Regards,
    Sandeep Parab

    Hi. Try the BBP_DOC_CHECK_BADI.
    You should be able to check the quantities and issue an error if the quantity has been changed.
    Regards,
    Dave.

  • Delivery Qty should not be greater then po qty

    HI
    SAP Guru's
    Delivery quantity should not greater then po qty.
    my problem is they are rising mulitiple devliveries for one PO
    Code written in MV50AFZ1 is not working because it is checking only if Delivery Qty more then PO qty, I tries to sum qty from LIPS table using VBGLN Cust po no  but VBGLN is non key field in LIPS table. It is giving perfomance problem.
    Please suggest if any other tables to SUM the delivery quantity.
    regards
    ravi N
    9866595994

    Hello Experts..
    Need ur expertise advice on above issue...

  • Invoice qty greater than the PO qty

    Hi All,
    I have created material  PO with 100 qty Value 5000 and freight cost 1000 rs for the same Qty.
    Issue: at the time Freight Invoicing with PO/bill of landing
    Material: GR & IR Done for 100 qty -- No issue
    Freight: when am doing invoice (MIRO) i have given Purchase Order no and paid the freight rs 1000 for whole 100 qty
    Issue: If i do invoice (MIRO) by for the same PO and given bill of landing, system still proposing some qty 40 Qty and proposing some cost.. and able to save .
    but it should not propose the Qty... Plz let me know how to restrict it... In case freight Invoice
    Thanks

    Hi,
    not some qty... if i select the Bill of loading in MIRO, then system is proposing the whole qty for the particular item of PO.
    PO:123  100 qty  Fright cost 10  value 10000  Bill of Loafing:XYZ
    MIRO-Delivery plan: Done With PO whole Qty 100  freight cost 10rs value=1000 rs
    If i select :Bill of loading XYZ (Same PO and same item).. system is proposing same Qty 100 and value 10000..
    Thanks

Maybe you are looking for