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

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 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

  • 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

  • Customize Internal Sales Order workflow to interface to AR

    Hi,
    I would like to generate AR transactions for our internal sales orders created from internal requisitions. I tried by adding a ship-bill-workflow, but the interface-to-AR activity does not get started. This gives me the impression that the internal order ignores the workflow that I have defined for this transaction type, and uses something else instead.
    I am wondering now how could I customize the internal order workflow? Has anyone ever done that? Which workflow shall we customize to get what we need? Or has anyone any other ideas?
    Thanks in advance,
    David.

    Hi David,
    Assuming you are using Order Organizer did you check which work is being invoked at the Order Line Level from Tools -> Workflow Status at Line level.
    Thanks.

  • Sale Order, workflow error

    Hello,
    when i try to book sale order a message raised (Order is not eligible for booking. Check workflow status for this order.)
    I checked the workflow status (Order Flow - Generic) i found it 'Error',
    the error (OM Standard Error Process with Retry), i could not find why this error and how to solve it.
    Note: the used workflow (Line Flow - Generic, Bill Only with Inventory Interface).
    Thanks for you help,
    Tarik.

    It is seeded functionality. The retry will be raised if line is added without booking the order for this line type. You can check if any note is available in MOS ( Metalink). I'll forward, if I get one.
    If you want to avoid the error for this line type then you can think about adding processing constaint to prevent line creation/ addition unless the order is booked for this transaction type. Validation template can help you in identifying the specific transaction type.

  • Sales order workflow

    hi,
    had a requirement which when saleas order had created, email can send to certain user. is it available?
    thanks

    yes it's possible by creating a custom workflow.
    Roberto

  • Sales Order Workflow to trigger when there is change in PO date

    Hi All
         I have a requirement, I have to  trigger a work flow when ever there is a change in a po date of Sales Order(VA02). I have created a workflow and added entry into events tab of header, and in SWEC I have added an entry as follows
    Change doc. object        VERKBELEG
    Object Category            BOR Object type
    Object Type                  BUS2032
    Event                            CHANGED
    in field restriction I have added the follow entry for puchase order date
    Table            VBKD
    Field Name   BSTKD
    Old Value     *
    New Value    *
    But when ever I change the sales order the workflow is triggering when ever there is a change in any field instead of PO Date Field.
    Whats wrong in my Workflow can anybody please  help me.
    Thanks in Advance

    Hi Ranjith,
    Find a user-exit/BADi that triggers when the Sales order is saved. Now in this user-exit or BADi check the values for PO date (old value & new value). If both are same set a flag to Y and or else set it to X.
    Now if the flag is X, use the Function module SAP_WAPI_CREATE_EVENT or SWE_EVENT_CREATE to trigger the workflow.
    Regards,
    Raj

  • Reg : Sales order Workflow

    Hi,
    In VBFA Table , how to identify the Executed Quantity upto date , as per last invoice, since last invoice and the amount for the same?
    I could not identify the exact fields..If somebody knows plz let me know..
    Thank you .

    hi Namikh,
    business object for sample order request is BUS2000115
    i think for achieving your scenario, you don't need to make a workflow.
    there is another way than using workflow, i.e. using action.
    based on my experience, there more effort for building workflow for sending mail notification when a transaction document is created than using an action.
    but if you insist, than you need to make a customization of business object BUS2000115
    hopes it helps.
    cheers

  • Report for duplicate PO and Sales Order

    Hi All,
    I need to find out two reorts for below purpose:
    1) Report that will give me list of all PO's which has duplicate sales order against them .
    2) Report that will give me list of  all sales order which has duplicate PO's .
    I know there is a report SDD1, but it is not giving required reports.
    Regards
    Nidhi

    Hi Nidhi,
    As you told SDD1 will work. But what fields you are expecting.
    Regards,
    Madhu.

  • 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

  • Sales orders collective material requirment report .

    Hi,
    Is there any STD report that will give me:
    Total requirement of Mat XXXXX for the specific period:
    Means collective total req on basis of Material of all sales order that had been entered over specific period
    Thanks In Advance.

    hi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SDISREP/SDISREP.pdf
    Sales summary - VC/2
    Display Customer Hierarchy - VDH2
    Display Condition record report - V/I6
    Pricing Report - V/LD
    Create Net Price List - V_NL
    List customer material info - VD59
    List of sales order - VA05
    List of Billing documents - VF05
    Inquiries list - VA15
    Quotation List - VA25
    Incomplete Sales orders - V.02
    Backorders - V.15
    Outbound Delivery Monitor - VL06o
    Incomplete delivery - V_UC
    Customer Returns-Analysis - MC+A
    Customer Analysis- Sales - MC+E
    Customer Analysis- Cr. Memo - MC+I
    Deliveries-Due list - VL04
    Billing due list - VF04
    Incomplete Billing documents - MCV9
    Customer Analysis-Basic List - MCTA
    Material Analysis(SIS) - MCTC
    Sales org analysis - MCTE
    Sales org analysis-Invoiced sales - MC+2
    Material Analysis-Incoming orders - MC(E
    General- List of Outbound deliveries - VL06f
    Material Returns-Analysis - MC+M
    Material Analysis- Invoiced Sales - MC+Q
    Variant configuration Analysis - MC(B
    Sales org analysis-Incoming orders - MC(I
    Sales org analysis-Returns - MC+Y
    Sales office Analysis- Invoiced Sales - MC-E
    Sales office Analysis- Returns - MC-A
    Shipping point Analysis - MC(U
    Shipping point Analysis-Returns - MC-O
    Blocked orders - V.14
    Order Within time period - SD01
    Duplicate Sales orders in period - SDD1
    Reward if USeful
    Thanx & Regards.
    Naren..

  • Problem in lock Sales order create with BAPI BAPI_SALESORDER_CREATEFROMDAT2

    Hi All,
    i have the z program to create the sales order with reff  quotation in SD With BAPI BAPI_SALESORDER_CREATEFROMDAT2.
    this program will  excute every 30 mins .
    Problem: Some times if i excute the program in background it is taking morethan 30mins so second batch excution also gets starting to create the sales order for same quotation then it is creating 2 sales orders at atime with 1 quotation.
    here i am getting duplicate sales orders so i want to lock the creation of duplicate sales order.

    Some solutions
    - Just lock (ENQUEUE) any object at the start of the job(*), if not locked, you can exit or wait in a loop, will be released at end of job (use a _SCOPE '3' so commit work wont release the lock)
    -> This will insure the job runs only once at a time
    - Lock the quotation before calling the BAPI, will be released by the COMMIT_WORK (from where do you fetch the quotation, if it is a customer Z_table, you can use the lock object that you have surely created ?) (use a _scope '2')
    -> This will insure that at most one job will convert a quotation (i suppose you set a "done" flag or status  in the quotation record)
    Read [SAP Locks |http://help.sap.com/abapdocu_70/en/ABENSAP_LOCK.htm] if you are not familiar with the concept of lock in SAP.
    Regards,
    Raymond
    (*) E_TABLEE for table, E_TRDIR for program, anything not required by another process

  • Automatic Sales Order Creation from PO in B1

    Hi,
    I have this scenario. Purchase order is created in SAP B1 (Business One) which triggers automatic Sales Order creation in SAP ECC 6.0.
    The requirement:
    For the combination of PO number and Sold to party there should be only one sales order created.
    The problem:
    Sometimes for the same PO duplicate Sales orders(sometimes 3,4) are getting created in ECC.
    Possible causes:
    Probably no validations in the interface.
    Question:
    1. First of all, is it an SD issue or PI (process integration) issue.
    2. If it is an SD issue, as a functional consultant what / where can we do to prevent this.
    Thanks.
    Edited by: SAP SD_Newbie on Oct 20, 2011 6:59 PM
    Edited by: SAP SD_Newbie on Oct 20, 2011 6:59 PM
    How do I move this to "ERP - Sales and Distribution (SD) General", because this question is not just related to "ERP SD Sales" but SD in general. Isn't there an option for the users to a question from one forum to another.

    1. First of all, is it an SD issue or PI (process integration) issue.
    - May be PI, or SD or both. I am not sure about the integration mechanism/program so I am not able to pinpoint.
    2. If it is an SD issue, as a functional consultant what / where can we do to prevent this.
    In t.code VOV8, go to the sales document type. Select value A in the field, check Purchase order Number. Then go to t.code OVAH, there make the message number V4 115 as error message. This will not allow the creation of the sales order, if the Purchase order number duplicates. I assume in your process, the purchase order number is populated in the PO number field of the sales order overview screen.
    Regards,

  • Third pary sales order- when is it closed

    Iam testing third party process.
    All the config is in place.
    after i created the Po from third party sales order , i tried receiving the goods (statistical goods receipt) for it in diffeerent ways.
    1) general MIGO for the Po quantity
    2) Inbound delivery based on a shipping notification and then PGR from there (VL31N)
    In either cases, the sales order workflow, does not get updates with the receipt quanity .
    How do i consider it closed?
    I checked a sap-img link
    http://www.sap-img.com/sap-sd/process-flow-for-3rd-party-sales.htm
    where they suggested to create a delivery VL31N after statistical goods receipt.
    Not sure if that is a good way of doing business as it has lot of implications..as it is suggested for general deliveries going out of our company physically.
    I would really appreciate how other companies work w.r.t receipts and closing of sales orders for third party orders
    Thanks
    AH

    This senario is typical. That means a customer purchase a trade goods from you, and you purchase it from your vendor, and your vendor will deliver the goods to your customer. The PO is for a SO. You can track all processes by SO history.
    1) Normally an automatic PR will be created after you save a SO;
    2) Run Me59N to get an automatic PO
    3) GR for the PO,
    4) IV for the PO
    5) Billing for SO
    You don't need deliver the goods, and actually you received goods but your Stock wouldn't have them.

Maybe you are looking for