Prevent Sales order Duplication

Hi gurus,
            If anyone could help me in preventing Sales order Duplication ?
The scene is My customer orders me through phone-call and for that particular P.O I have created a Sales Order and when i am not in my seat ,one of my colleague gets the same order from the Customer by Fax and he also creates  a new sales order and now the material will be allocated for both cases.
How can we prevent it by throwing an error when he tries to create a new sales order for an existing order?
Regards,
S.Ravi kumar

Hi,
As already suggested to you by others that you can configure the documet type to check the duplicate PO number.
I would like to add some points to this.
in standard SAP this message comes as a warning.Means you can still process the new document with same PO number.
If your requirement is that system should not allow at all (Error message) then proced as below.
1.Check the message number the system gives as a warning for PO number duplication.As per me it should be
V4,115,Purchase order number in document number: & already exists
Check in your system.
1.Go to Tcode OVAH.Select the message and change the message category at extrem right side from W(Warning) to E(Error)
So with this if system find same PO number,you will not able to proceed furthur.
Reward points if helpful
Regards,
Amrish Purohit

Similar Messages

  • Prevent sales order shipment relief in MDS

    We are loading MDS demand directly via the interface (no forecast or sales order demand).
    The MDS has shipment relief enabled but we would like to prevent certain sales order shipments from relieving the MDS. Is there a flag in the sales order or anywhere that can achieve this?
    Cheers!

    Dear Chintan Patel
    Go to OVSU, select "01" and click on blue lens on top so that you will see some list of tabs.  In that maintain "B" for "Block for order" field and assign this 01 in material master for the field "X-distr.chain status" under Sales: Sales Org.Data 1 tab.
    Now for that particular material, sale order cannot be created.
    thanks
    G. Lakshmipathi

  • How to prevent  Sales Orders to be added if the BP...

    does not have enough funds (considering other open orders).
    I have a problem where operaters can add as many sales order for a BP as they would like as long as the total amount on the order is below his available credit (OCRD_CreditLine minus OCRD_Balance)
    I would like to add a stored procedure that will also take OCRD_OrdersBal into consideration.
    If a BP has a credit limit of 50,000 and account balance of 31,000 and no other open orders, any order with a document total of 19,000 or less should be allowed to be captured.
    If however the BP has a credit limit of 50,000 and account balance of 31,000 with a open order of 10,000, no orders above 9,000 should be able to get added.
    Hope how I explained make sense?
    All help will be greatly appreciated.

    Skillet wrote:
    Manvendra Singh Niranjan wrote:
    > Hello,
    > > Try this in SP_transaction Notification it will work
    > > -
    Order Amount Value----
    > > IF (@transaction_type = 'A' Or @transaction_type = 'U')  AND @object_type = '17'
    > > BEGIN
    > > Declare @OpenOrderAmount as decimal(10,2)
    > > Declare @CreditLimitAmount as  decimal(10,2)
    > > Declare @CurrentOrderAmount as decimal(10,2)
    > > Declare @Balance as  decimal(10,2)
    > > Declare @AvailOrder as Decimal(10,2)
    > >
    > > Set @CreditLimitAmount = (Select CreditLine from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
    > > Set @Balance = (Select Balance from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
    > > Set @OpenOrderAmount = (Select OrdersBal from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
    > > Set @CurrentOrderAmount = (select Convert(decimal(10,2),DocTotal) from ORDR where DocEntry =@list_of_cols_val_tab_del)
    > > Set @AvailOrder = (@CreditLimitAmount-(@Balance +@OpenOrderAmount))
    > >
    > > If @AvailOrder < @CurrentOrderAmount
    > >      begin
    > >           SET @error = 10
    > >           SET @error_message = N'Total Order Amount Should be ' + cONVERT(NVARCHAR(20),@AvailOrder)
    > >      end
    > > END
    > > -
    End----
    > >
    > >
    > > Thanks
    > > Manvendra Singh Niranjan
    >
    > Hi Mavendra
    >
    > You query worked wonderfully! I had to make a few small changes to have work 100%:
    >
    >
    > IF (@transaction_type = 'A' Or @transaction_type = 'U')  AND @object_type = '17'
    > BEGIN
    > Declare @OpenOrderAmount as decimal(10,2)
    > Declare @CreditLimitAmount as  decimal(10,2)
    > Declare @CurrentOrderAmount as decimal(10,2)
    > Declare @Balance as  decimal(10,2)
    > Declare @AvailOrder as decimal(10,2)
    > Declare @ExceedOrder as decimal(10,2)
    >
    > Set @CreditLimitAmount = (Select CreditLine from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
    > Set @Balance = (Select Balance from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
    > Set @OpenOrderAmount = (Select OrdersBal from OCRD where CardCode = (Select CardCode from ORDR where DocEntry =@list_of_cols_val_tab_del))
    > Set @CurrentOrderAmount = (select Convert(decimal(10,2),DocTotal) from ORDR where DocEntry =@list_of_cols_val_tab_del)
    > Set @AvailOrder = (@CreditLimitAmount-(@Balance @OpenOrderAmount)__ @CurrentOrderAmount_)_
    > set @ExceedOrder =(@CurrentOrderAmount-@AvailOrder)
    >
    > If @AvailOrder < @CurrentOrderAmount
    >        begin
    >                SET @error = 13
    >                SET @error_message = N'Total Possible Order Amount is Only M ' + cONVERT(NVARCHAR(20),@AvailOrder) + N' You Have Tried to Exceed this by M ' + cONVERT(NVARCHAR(20),@ExceedOrder) + N' Please Reduce the Order and Try Again - THANK YOU'
    >           end
    > END
    >
    >
    > Only problem I have now is that the error message that gets displayed when the conditions are not met, is one of the other messages from another code that i have written to do weight checking. If I remove that other codes it works fine. Why could this be?
    Wrong error code message fixed by adding my new code to the bottom of the list of codes. Thanks!

  • Sales Order Confirmed Quantity Zero

    Hi Experts,
    Any idea how to prevent sales order from being saved in VA01 and VA02 when the confirmed quantity is zero ?
    I know one way is through using user exit in MV45AFZZ but I am just wondering whether there is any config (SPRO) solution to this.
    Thanks.
    Regards,
    T.K.

    Hi,
    If you are using AVC and TOR, then the system will be giving you the confirmed quantity, based on the duration it takes either for procuring the material or for producing the material, these are maintained in Material Master record. Confirmed quantity will be post date of the creation of Sales order.
    But in OVZ9, for the combination of AVC and Checking rule if you check "Check without RLT' it will not give you any confirmed quantity.
    I dont think even maintaining in Incompletion log. it will stop you from giving an error. So better solution is going for ABAP development. You can ask your ABAPer to write a program with logic saying system should not save if the field VBEP-BMENG is zero.
    Regards
    Vamsi Javaji

  • How can prevent duplication of condition types in sales order??

    How can prevent duplication of condition types in sales order.
    While we want Amount field Changeable by user.
    Please give me solution.

    Dear Rohit,
    Can you explain your scenario in detail with an example or any screen shot so that we will help you in easy way ...
    Regards,
    C.B Reddy

  • How to prevent modifying the same sales order in R/3 & CRM at the same time

    Guys,
    We are using CRM 5.0& R/3 4.6C. We have the middle set up. I have noticed that its possible to open the same sales order in R/3 and CRM in the change mode. I believe this could cause inconsistenices if the users modify the same order in different systems. Is there a standar way to prevent this from happening.
    Is there something like a change lock like we have the distribution lock?
    Anirudh

    Hi,
    As per OSS Note 705200 scenario X, Y and Z are supported with R/3 4.6C. Even if you use Scenario A, SAP wont support that. I would suggest sceario Z to be implemented. This would convert all the CRM order into R/3 order as soon as they are transferred to R/3. As a result the order can now only be modified in R/3 and all the changes would flow back into CRM maintaining the integrity between the systems.
    Refer to OSS Note 541113 for details.
    Regards,
    Gaurav Gera

  • Prevent Outbound delivery creation in sales orders with delivery block

    Hi gurus
         We are facing the following issue:
         Some sales orders have delivery block header and once they are saved an outbound delivery document is created; we want SAP system creates outbound deliveries only in those cases were sales orders have not a delivery block in header, is there any option or configuration we can use in order to prevent the creation of these documents?
    Regards,
    Edgar.

    Well Edgar,
    let's see then in spro
    Logistics Execution->Shipping->Deliveries->Define Reasons for Blocking in Shipping
    Check out the configuration of your delivery block reason and pay special attention to this instruction:
    "In sales documents, you can either enter delivery blocks manually at header level (business data in the sales document header) or they can be proposed automatically by the system. In the latter case, the delivery block must be entered in the respective sales document type (see chapter
    "Define sales document types"). In addition, the delivery block in the sales document header is only effective if the delivery block has been assigned to the respective delivery type."
    It must be something in the configuration of the delivery block reason you're using.
    Regards,
    Edgar

  • Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in oracle and yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Hi All, We are in to Release 11.5.10.2.There is a specific requirement to Prevent users from creating Manual Sales Orders in Oracle and  yet users should be able to book the Sales Orders Imported from CRM system into Orcale.Please advise.

    Thanks for your advise.
    However, I missed to mention that we have two set of users  One is for Finished Goods and another for Spares.
    Only Spares users need to be prevented from creating Direct/Manual Sales Orders in Oracle.
    As you suggested, if this will be done at Form level, that may Disallow FG users also to create Manula Sales Orders which should not be the case.
    Further, I tried to test one scenario through Processing Constraints but it did not work.
    Application
    OM
    Validation Type
    Entity
    Temp
    Short Name
    TBL
    Validation Semantics
    Created By
    Equal To
    User(Myself)
    Processing Cosntraint
    Application
    OM
    Entity
    Order Header
    Constraint
    Operation
    User Action
    Create
    Not Allowed
    Conditions
    Group
    Scope
    Validation Entity
    Record Set
    Validation Template
    101
    Any
    Order Header
    Order
    Above Created
    Please advise.

  • MTO - how to prevent a second planned order for a sales order?

    Dear friends,
    We are working on Make to Order process (Planning strategy group 20).
    No Production/process order is used
    Shop floor uses a different system --> details from planned order is passed to the shop floor system; and finished product is delivered/posted into SAP Sales order stock - through interfaces
    No QM in place
    A typical day-to-day scenario –
    Sales order Qty = 100
    MRP Run à Planned order qty = 100
    Raw materials posted to ‘Sales order stock’
    Planned order is firmed
    For example if Produced qty = 90
    sales order stock of the finished product = 90
    Balance 10 cannot be produced / delivered for various reasons
    Planner posts the raw material to cost center / rejections / own stock etc., and ensures that the ‘sales order stock’ of the raw materials are zero.
    Planner deletes the planned order
    Next MRP run triggers a new planned order for the balance qty 10
    Now, the requirement is to prevent the new planned order getting generated for the balance quantity, during the subsequent MRP run (despite the shortage in the Sales order stock of the finished product).
    The following options have been evaluated –
    Once the final good receipt is done & before deleting the planned order,
    o       Change the Sales order quantity to match the total produced quantity
    o       (or) Change the schedule line category for the Sales order item from CP to CN
    §         Since the Sales order and planned order are handled by different teams, considering the frequency of correspondence/coordination needed between these two teams to get the sales order items corrected, this idea is not accepted
    §         Additional authorization for the planner to change the sales order item is not acceptable
    Include Under delivery / Unlimited tolerances
    o       at the customer (master) level
    o       (or) Sales order level…
    §         In this case, System seems to consider the tolerances only when the  delivery for the Sales order is posted; and not when the sales order stock is received within the tolerance limits;
    §         Considering the time gap between the GR and Delivery of the finished product, this option is not accepted
    Kindly suggest the other options / settings / processes, to meet this requirement
    Thank you for your time and efforts.
    With Best Regards,
    Senthil

    Closing this thread
    Thanks
    Senthil

  • How to prevent 2 currencies in sales order

    we have a problem i am using one condition type in two pricing procedure
    one pricing procedure has price in INR and one has USD
    i am facing a problem when a part number price is not updated in USD it is picking in the INR price , i need  to prevent 2 currencies in one order
    item wise it shold pick the sales org or customer currency .

    Hi
    I think the problem lies with the access sequence that you have created in pricing.
    eg.
    if your access sequence is based on
    10 S org/ D channel/ Div ---condition record found
    20 S org/ D channel / Mat grp/ div --- Condition record found (But not executed)
    If the system finds the condition record after executing the first access (10) then it is going to bring in those values. Hence if the first access is executed and you have INR value in that then it is going to bring in that value.
    Hence you may try to reverse the sequence of access so that the first value found is for USD.
    Go to the Analysis part in the Sales order Condition. You shall come to know which access sequence is executed first.
    Rgds
    Sunil

  • Avoid duplication of material number in Sales Order.

    Hi all
    I want to restrict the user for entering the duplicate Material number while creation of Sales Order . I have done the changes in Program MV45AFZZ IN FORM USEREXIT_SAVE_DOCUMENT_PREPARE, but was able give warning message for duplicate material no.
    If I set these message to error , the user has to come out of the sales order ,as it doesnot even allow to save.
    Can any body guide for proper steps to follow to avoid the duplication of the material while creating the Sales Order
    AVS

    If your ABAPer has written the User Exit, then he can as well do what you want. Ask him to do it, it should be a small code.
    Happy SAPing.
    Venkat - Hyd

  • Prevent Third Party / Sales order stock for blocked vendors

    Hi Experts.
    We have scenarios for Third party processing and Sales order stock. We have a scenario of a fixed vendor for a material. The purchasing function frequently does block vendors for purchasing.
    However, we find that this does not prevent creation of a third party / sales order stock item in the sales order and a PR is generated. It is only found during the PR --> PO conversion that the vendor is blocked at which time someone has to manually reject the line items.
    Is there a way to prevent the system from being able to generate a PR for a blocked vendor ? I guess one possibility is to enhance the requirement routine for PR creation. Is there any other approach ?
    Appreciate your help
    Regards
    Rohit Zalani

    Hi
    In MK05, block vendor for all Purchasing org and Select Block Function = 03     Block quot. req., order, goods receipt
    If you do this setting then user will get error message that "Vendor is blocked" and "Purchase requisition could not be generated for component".

  • Sales Order costing error to prevent Plan Order generation in MRP run

    Dear PP Experts,
    We are into sales order costing due to Variant Config implementation.
    Problem Statement: After sales order entry /Characterisitc value selection, while saving sales order , SO costing is auto triggered. Many a times one of the new Raw material price is not maintained( Purchase info record), hence SO costing occurs. SO costing is still saved, SO incompletion is not configured , so it is detected when Production order has 'No Target Cost'. This creates inconsistancy in FI postings.
    My questions
    - Can we set SO imcompletion for SO costing error( Standard Config?)
    - Is there a enhancement to prevent MRP from processing Sales order with incompletion log i.e. Prevent MRP from generating Plan Order.
    Best Regards,
    Jatin

    Hello Jatin
    You can use BAdI MD_CHANGE_MRP_DATA to make the sales order not relevant to MRP.
    Check the following document for an overview of the BAdIs available on MRP:
    BAdIs for MRP
    BR
    Caetano

  • How can we  prevent the PO while creating the sales order

    Hi All,
    How can we prevent the PO number while creating sales order with existing PO. I have checked the box in sales document type as A but still im able to create sales order with same PO.
    Thanks in advance.
    Naveen

    Hi
    In VOV8 check the box
    Check Purchase Order Number
    The purpose of this field is to check for duplicate
    purchase order (PO) numbers during sales order entry. When you select A in
    this field, SAP gives a warning message during sales order creation if another sales
    document for same customer with the same PO number exists already. Leave this
    field blank if you do not want SAP to check for duplicate PO numbers.
    regards
    Prashanth

  • Duplication of condition in sale order

    Hi,
    In our sale order,in item condition,JIN6 condition is duplicated.
    Though the cond.is duplicated,but on cond. shows zero value.It has no inpact on calculation.
    But we need to remove that condition.
    As we've checked that there is no duplicate cond.record maintain.
    Pricing procedure is correct.
    Pls help to resolve this issue
    Harsh

    Hi,
    please go through the below thread it will help you to resolve your issue.
    duplication of pr00 in sales order
    Hope this will help you !!!
    Regards,
    Krishna O

Maybe you are looking for

  • How can I send a slide show (with music) to different people?

    I made a slide show on my MAC desktop for my son's memorial service.  I would like to share it with people who were not able to be there.  Can I share over email or is there another way?  Please help, if you can...it really means a lot to me!

  • IPhone 3GS OS 4.3.1: Search triggers "unusual traffic" CAPTCHA from Google

    Since upgrading to 4.3.0 (and now 4.3.1) when ever I search Safari flickers like it is repeatedly sending the search request. This triggers the improper use detection @ Google. Tried with both WiFi and 3G with the same result. My friends android phon

  • What is the best Router for Gaming?

    Alright, at the moment I have a "G" wireless router, which I bought it for pure gaming reasons, well I am thinking about upgrading 'cause I am having some lag and poor connections and I want to enhance my connection for online play.  I won't lie I am

  • Elements 9  editor won't close

    Help please. When I am in organizer on my Mac and I click on a picture to open it in Elements it says that the editor is busy and I need to exit before it will open the photo. What Have I done and what do I need to do? Thanks, Rob.

  • ANT WEBLOGIC 8 JSF

    Hi Friends, If I am posting this question in a wrong Forum please excuse me, but I need an answer. Problem Details : 1. I am working on a project with Weblogic, ANT and JSF. 2. I am new to JSF, so learning and coding. 3. I could able to run Demo prog