Duplicate Sales Order Check run

Hi all,
How to run a duplicate sales order check report?
Thank you
Vinu

Hi
Sales order number is a unique number in the SD. To check the duplicate sales order means r u going to check the sales orders with same numbers, or you are trying to check the sales order with copied from some other sales order
First case, you can check the SO number and capture the counts more than 1 sales documents
In the second case,you have to find the refernce number field in the Sales doc and compare the item...it will take a quite bit of workaround
Regards
N Ganesh

Similar Messages

  • Duplicate Sales Order - UserExit or BADI

    Hi,
    I have a requirement for one of my workflow.
    When duplicate sales order is received through EDI , I need to notify to Customer service team.
    If purchase order and ship-to is same and PO date is within 30 days, need to notify that it is a duplicate sales order. Do we have any user-exits or BADI'S for this requirement?
    Thanks
    Ashu
    Edited by: Ashu on Jul 8, 2009 9:10 PM

    Hi Ashu,
    Customer function module EXIT_SAPLVEDA_001 (with include ZXVEDU03). This is called for every segment.
    Customer function module EXIT_SAPLVEDA_011 (with include ZXVEDU13). This is called after segments are filled. I suppose this is the correct one. Make your validation and fill the error table DERRTAB with the message.
    Customer function module EXIT_SAPLVEDA_010 (with include ZXVEDU12). This is used to change the idoc status, as well you can trigger the workflow.
    Customer function module EXIT_SAPLVEDA_005 (with include ZXVEDU07). You can check this.
    All my suggestions are based after checking the code. Please debug before you use them.
    Please update the thread with your approach.
    Thank you,
    Goutham.

  • Duplicate sales order

    •     Developed a report to display duplicate sales orders based on the PO Number, Net value of the document and the creation date.
    i saw this report is it possible to exits duplicate sales orders. if it exits how it possible what is business scenario which business scenario its possible give me some example
    regards
    sreedhar.

    Hi,
    This kind of scenerio may arise because of manual errors. Example : User might create multiple sales orders for a single PO received from the customer. Technically also it is possible to create multiple sales orders using same PO unless there is a specific check in place.
    Regards,
    Ram

  • Duplicate Sales Order - Workflow

    Hi,
    I have a requirement like this..
    When duplicate sales order is received through EDI , I need to notify to Customer service team.
    If purchase order and ship-to is same and PO date is within 30 days, need to notify that it is a duplicate sales order. Do we have any user-exits or BADI'S for this requirement?
    Thanks
    Ashu
    Edited by: Ashu on Jun 22, 2009 11:12 PM

    HI,
    You have posted it in the wrong forum. Try posting this in ABAP--> Enhancement & modifications forum.
    Anyways, you can try the below mentioned BOs to trigger your workflow and send notification.
    IDOCORDCHG
    IDOCORDERS
    Hope it helps.
    Regards,
    Raj

  • Sales order checks stock and auto planned ord created for shortage quantity

    Hi,
    I have a requirement like, when I create a Sales order, it should check for the available stock. If stock exists, the delivery could be done using the stock. But if stock is less or partially available then, a planned order should be created automatically of the shortage quantity. Please guide

    Yes strategy 40 will work for the first part, but if stock are not there, then how to get Planned orders with reference to Sales order? Infact as i wrote before, we can get that as well using MD50 MRP run, but the process order has non valuated GR, the price for FG is zero. Can you help me with that, to get a valuated Goods receipt for the Finished product?
    You can check your self, in the Documented Goods list of Process order, the non valuated material marked "X"

  • Sale Order MRP Run for All Order Line Items

    Greetings...
                     I have One Sales Order , in which i have ten different Line Items .
    Now I have to Run the MRP on basis of Created sales Order so that all Line items wi get consider insingle MRP Run on sales order base MRP Run.
    How to take MRP Run of One Sale Order for all Line Items.???
    In MD50 , we can have sales Order with Item..

    In MD50 you can give only one item at a time.
    Its a standard transaction meant to accomodate changes relevant for MRP after plant level MRP run  related to specific sales order Item.
    so either you need to do it multipal times by changing material or you need to go for MD02.
    Please explain bussiness case in detail why you want to restrict your MRP run for items in a specific sales order.
    Regards

  • Changing the sales order checking rule

    Hi all,
    Is there any way to change the checking rule of a sales order type?
    Thanks

    Hi
    Is there any way to change the checking rule of a sales order type?
    The answer is NO
    Checking rule is picked by the system internally and that is transaction based like a sales order creation picks checking rule A that is SD sales order and a deliveryer creation picks checking rule B that is SD delivery
    If your sales order item category is marked with spcial stock indicator like these E orders on hand ,Q project stock or W
    consignment stock then while creating sales order creation that is VA01 transaction  the  checking rule will be AE or AQ or AW
    It the item category special stock indicator is blank like TAN then system will pick simply A as checking rule during sales order creation
    So the item category settings also play a role but not the order type
    During delivery creation that is VL01 transaction it will be simply B or BE or BW or BQ
    Regards
    Raja

  • To change user status profile on sales order at run time.

    Hi Experts,
    We have defined status profile for Sales returns ( Doc type RE) which blocks the  return order on creation. There are two statuses here which are to remove the delivery block and to remove the billing block by authorised users.
    The requirement is now to have a three level block ( three statuses ) on the same document. We can create a new status profile and assign it to a new return sales order tpye  but we want to avoid creating new document types. Since this document type is used across various companies in the group we can not assign a new profile on the existing RE document as well.
    My question to all experts is
    Is it possible to dynamically change the status profile assigned to the document type based on characterstics like sales org or company code etc? If any body has done this please let me know the user exit , function module, BADI etc where the necessary coding has been done.
    Helpful answers will be rewarded with points.
    I look forward to your co operation.
    Regards,
    Kartik Shah

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

  • Sales Order check not done in customer clearing (F-32)

    Hi
    I posted one customer advance against sales order 13342. I entered sales order in F-29 (i.e. in customer line items). Then i posted delivery and billing for sales order 13329.
    In F-32, SAP allowed me to clear advance (with sales order 13342) and invoice (related to sales order 13329). Please let me know why SAP allowed to clear two line items related to different sales order.
    Can we bring this restriction?. Please suggest.

    Hi Deepak,
    As per the standard design, system will allow to clear together.
    Another alternative could be for your case is to restrict user to enter SPL GL indicators in the F-32 initial screen.
    So only down payments, those were cleared against any INV documents (by F-39), can only be clearred in F-32.
    Regards,
    Srinu

  • BADI for Sales Order check on Item Level

    Hello,
    I found this BADI, 'BADI_SD_SALES_ITEM' which i guess fires at the item level. But how do i use 'THIS' particular BADI to fulfill my requirement. Can someone guide me how to use 'THIS' particular BADI or if there are any other BADI which gets fired on the sales order item level
    Thank you
    Shehryar Dahar

    better to use Exit Program MV45AFZZ.
    or u have to findout in which Method u can do changes required.
    Regards
    Peram

  • Duplicate EDI Order Check

    We occasionally receive duplicate PO from the EDI subsystem in SAP. We don't have the error check for PO no. while creating the order.
    I am trying to check this in user exit ZXVEDU03. I know I have to check for segment E1EDK02 with qualifier '001' . If the PO no. is found in VBKD, then the idoc is for the same PO. Now what should I do ? How can I prevent that idoc to be created ?
    Your help will be greatly appreciated.

    Hello, Just write the error message within this user exit that "Duplicate order should not be created" so this process would stop If we write the error message.
    Thanks.

  • MRP area for running a sale order MRP

    Hello PP experts,
    I come across a scenario where , I need to do the  MRP run for sale order in a MRP area. I have checked , I can put PIR with respect to MRP AREA , but when I open MD50 screen for running MRP for sale order. I did not found the MRP AREA
    field in the screen.
    In short , my question is , How the sale order MRP run ,  system will do in a MRP
    area defined for the material ?
    Here , I have already defined the material is MRP AREA and also I have created
    MRP area segment in the material master.
    I have also configured the MRP area in SPRO.
    Waiting for your reply.
    Regards,

    Hello ,
    Thanks for reply.
    I am using plant MRP area. For FERT , I am using make to order strategy 20.
    I want to specify the real problem. It is like below.
    Suppose 'A ' is sumassembly goes to a variant configured MTO KMAT say 'V'.
    The same 'A'  subassembly is a child for a make to stock FERT say ' S'.
    Presently  using strtegy 11 for MTS fert 'S' and 10 for the subassembly ---'A'.
    Now the planner want to plan for the subassembly.
    He is putting the PIR for the subassembly as sales order is not availble and he is putting the PIR for FERT 'S'.
    When sales order is coming then additinal quantity planning is happening.
    So I suggested to use the strategy 70 for subassembly 'A' , so the sales order (of 'V') OF  quantity will be offset for the PIR of the SUBASSEMBLY 'A'.
    But the consumption of PIR of 'A' will  be apllicable to MTS  FERT that is 'S'.
    So how can we prevent the system from offsetting the dependent requiremet triggered from the PIR of 'A'.
    That means the consumption  (that is the usage of stategy 70) of the FERT requirement should only work for ' A' and sales order based KMAT 'V'.
    The same offseting should not work for subassembly 'A' and MTS FERT 'S'.
    For for Make to order KAMT 'V' , if I use MRP area and do the sales order planning in MRP area. Will I get the desired result ?
    Waiting for reply.
    Regards,
    Ravindra

  • Process order required for each sales order without mrp run

    Hi, it is mto scenario. wants system to create a process order for each sales order without running mrp. please advise is it possible? if possible please guide what settings need to be done. Thabk you.

    HI
    You can create production order with reference  to sales order using t code CO08.
    Check and revert
    Regards
    Anupam Sharma

  • Sales order to MRP Run

    Hi friends
    How to configure MRP run for sales orders.
    Thanks in Advance
    Rheya

    Hi
    In order configure MRP for sales orders, check on Transfer of Reqirments on the net or check for the same in Gylence book for Sales and distribution
    Few settings for the same are as follows
    In t code OVZI
    img-sd-basic functions-availablity check and transfer of requirements-transfer of requirements--determination of requirements types using transaction
    In this img activity we assign requirement type to the combination of item category and MRP type
    I hope this is what you are looking for
    In t code OVZI if you go the details you should give the source as 1
    Then only it will pick up
    This is the pick up strategy
    In t code OVZI requirements types are assigned to item category and mrp types
    In t code OVZH requirements types are assigned to requirement class
    In OVZG we define the controls for requirement class

  • How to convert General sales orders to Duplicate one

    Hi all
    i want to know about duplicate sales orders ... How to convert sales orders into duplicate sales orders
    i know we can check in SDD1 Table
    but i want like to know how to convert General sales orders to Duplicate one
    Thanks a lot

    There are some missing links in your question:
    1. SDD1 is a TCode for a report, not a table.
    2. Do you know anything about "duplicate sales orders" concept in SAP?  Please refer following SAP help link which talks about duplicate sales orders and business scenario associate to it.
    - Eliminating Duplicate Sales Documents - Sales (SD-SLS) - SAP Library
    If that doesn't cater you requirement or help you, then please elaborate your requirement.
    Thanks, JP

Maybe you are looking for