Automatic cancellation of Sales Orders

Hi,
Is there any option to cancel the unexecuted sales orders or order lines automatically after some days?
Regards,
Prabhu.S.J

nope - you will have to write a custom code to cancel the orders using API

Similar Messages

  • Cancellation of Sale Order

    Hi all,
    I have an issue with SD/FI.   The details are given below:
    I would like to cancel a Sales Order due to wrong sold-to-party selected. There is an existing accounting document created.
    How do I proceed with the cancellation of the Sales Order? I want to prevent this SO from being used.
    This is the first transaction.   Actually, the Accounting document generated through Billing Document and the same was cleared against down payment. 
    Is it possible to cancel the Sale Order to change the sold-to-party without affecting the Sale Order.
    As per my observation, it is not possible once the accounting document generated.
    If we want to cancel the Sale Order, is it possible?
    Reverse the clearing document, down payment document & billing document.
    Then cancel the billing document. 
    Hence, we can cancel the Sale Order.  
    It will affect the previous period balances.   Is it correct??
    Can any one give some guidelines.  Whether I am correct or not??
    Thanks & Regards,
    SAP

    Thanks for all your efforts and replies.
    As per discussion, I convinced to make JV for subsequent adjustment.  
    How to protect the concern sale order to avoid future use.
    I hv tested in SO through development after selecting "Cancel Sales Deal" in the field Reason for Rejection.
    Tried for billing and it is not allowing.
    Can I suggest this methodology??
    Pls note that there is no sales scenario.    The contract and deposit money transactions handled
    through SD.
    Please give your opinon or give some more stop to prevent the SO.
    Regards,
    SAP

  • How to Cancel a Sale Order without cancelling the subsequent document.

    Dear All,
                 I want to cancel sale order but the sale order have a subsequent document is there is any soulution that when i cancel the sale order all the subsequent document, outbound delivery and invoice cancelled in jn\ust one step, if not then what is the other way to solve that problem.

    Hi
    You can reject the sales order by going to VA02
    Go to-> Item -> Enter Reason for Rejection
    and save the order.
    This will reject the order even if the subsequent documents are created so that no further open quantities can be delivered.
    Reward points if useful.
    Regards,
    Nimit
    Edited by: Nimit Raiya on Jul 3, 2008 4:03 PM

  • Auto cancellation of sales order

    Dear All,
    Here we are having make to stock scenario. Is it possible to put any expiry date limit for the sales order like quotation??? also is it possible to auto cancel of sales order which are expired ???
    Regards,
    Sagar Wairagade

    Hi Sagar,
    suggestion:
    get a program developed to pick up SOs older than some date or whatever you like to define..
    setup a variant and setup a bkgd job to run everynight to delete or reject all line items with a reason code.
    I hope this helps.
    Regards,
    Raghu.

  • How to control automatic rescheduling of sales order?

    Hi all,
    Could u please help me out to configure  to control  automatic rescheduling of sales order...
    eg.  I created a order on 13th March  and the material was not available, then its was kept pending.  But when the stocks got added on 19th March,  the sales order got automatically rescheduled for 19th March.
    I wish to stop this.   Might have to do something  with setting planned indepentent requirements which seems updating  the order automatically.
    Can anyone urgently help me out to control this automatic rescheduling?
    Thanks in advance.

    Hi Ravey
    For your query , it is better not to change the Include sales requirements in OVZ9 as it will affect the entire sales order . But as per your ticket you have to customize in OVZ9 by not checking the Include sales requirements box only
    But instead of that it is advisable to run V_V2 and change the date manually
    Regards
    Srinath

  • Exchange rate automatic update in Sale Order

    Dear All,
    This is regarding Exchange rate automatic update in Sale Order and requirement said below.
    Process:
    User will created a Export Sale order in the month of November , that time Exchange rate is 50.00, this  will
    get updated in Sale order Header and Item level.
    But user will create billing in the month of December , at that time Exchange rate is 40.00. So in Billing
    document Header level exchange rate will be 40.00 (Current rate) and Item level exchange rate will be
    50.00.
    Requirement:
    User requirement is like this the current exchange rate 40.00 to be updated in Sale Order Header and Item
    level automatically, because user using  Sale order Exchange rate  for Z-Report.
    As of now user manually updating Exchange rate in Sale Order.
    Let me know if there is any solution.
    Regards
    S Kumar

    I dont think this is possible.  You should be aware any change in subsequent document would not have any impact in the preceding document which means, whatever exchange rate flowing in billing cannot be updated in sale order.  May you can update your zee table by considering the billing document exchange rate by way of exit.
    thanks
    G. Lakshmipathi

  • Automatically cr. block Sales Order once they reach within the Cr. Horizon

    How to automatically credit block Sales order made outside the Cr. Horizon, once they reach into the Cr. horizon.
    I have tried testing the same through Program RVKRED08, but it works for some orders if the Cr. horizon is maintained for 60days.
    But does not block if the Cr. horizon is maintained for 30days.
    Thanks in Advance

    if you specify horizon date, the system consider al the values
    which falls under this date. the system will not take into account if the values fall after the horizon date.
    EX: if you specify horizon date 2 months. Then system consider the open values which falls with in two months. if
    the value fall after the two months, the system ill not take into account.
    If your horizion date is 30 days and shcedule line date is in 30 days, system will check credit managemnt and blocks or unblocks.

  • Cancellation of sales order

    Hi,
                How to cancel the sales order?
    It is very urgent.............
    Thanks in advance

    hi,
    Use BAPI_SALESORDER_CHANGE to change or delete or insert a sales order.
    check this.
    DATA: T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA: BAPISDH1X LIKE BAPISDH1X.
    PARAMETERS: P_VBELN LIKE VBAK-VBELN.
    SET THE DELETION FLAG
    BAPISDH1X-UPDATEFLAG = 'D'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = P_VBELN
    order_header_inx = BAPISDH1X
    tables
    return = T_RETURN
    COMMIT WORK.
    <b>Reward Useful Points</b>
    Message was edited by:
            SivaKumar

  • BAPI/IDOC to cancel the sales order ?

    Hi folks,
    What is BAPI /IDOC to cancel the sales order in ECC via PI .
    Thanks.,
    Shiva

    Hi Shiva,
    To my thinking you can use the BAPI for canceling and updating the sales order.
    For further reference you can have a look on the below link:
    BAPI SALESORDER CHANGE
    In this link you will find the values to be filled for performing different function for the BAPI.
    Regards
    Ravi Anand

  • Cancellation of sales order through VA02

    Hi experts,
    My user wants to cancel some sales orders through VA02.He select line item 10 and then goes to "reasons for rejection" and put " 51 cancelled".then save it.Systems shows following error and he unables to cancel it.
    You cannot select assembly order 16000014794 for deletion
    Message no. V1748
    Diagnosis
    Due to the current situation of the document, the system has attempted to mark the procurement element 16000014794 with a deletion flag.
    This could, however, not be carried out, as the procurement element was in a state that does not allow the deletion flag to be set.
    System response
    The deletion flag is not set.
    Procedure
    Eliminate the reasons that stop you setting the deletion flag, and repeat the change carried out on the sales order.
    Please advise.
    Regards,
    Samaar

    Not answered

  • Automatic Quantity in Sales Order

    Hi Gurus,
    My client has requirement that qty in Sales Order should be copied automatically.
    My client receives the List with details of Volume (LxWxH) & Weight. We are developing the Z programme wherein the total Volume & weight will be calculated. Either Total Volume or Weight will be taken as quantity in Sales Order. This quantity should be automatically copied in Sales Order. This List will be attached to Sales Order in workflow.
    Is this  possible? Is there any user exits for copying the quantity
    Thanks in advance.
    Regards
    Mahendra

    As per my understanding, if the sales order is being created through EDI / IDOC, in that case all details will come & the quantity based on the development may be captured, by provding appropriate logic.
    But if sales order is being created manually, in that case quantity will be required to be maintained. If the development is possible to be captured at sales order level, in that case you may have to try.
    Regards,
    Rajesh Banka

  • Cancel a Sales order with a PP order

    Hi
    I want to cancel a sales order that has a production order assoiced with it . the production order has status REL  Released
    MSPT Material shortage
    PRT  Printed
    PRC  Pre-costed
    GMPS Goods movement posted
    RESA Results analysis carried
    SETC Settlement rule created
    The order dose not have any varent dollars assocated with it and the conformation has been removed 
    I can not cancel the sales order

    Hello,
    As the production order is associated with the sales order, it may not allow you to cancel/delete the sales order.
    TECO the production order, set deletion flag, if the production order is not to be used. After this reject the sales order with a Reason for Rejection or delete the sales order.
    Prase

  • How to automatically block a sales order once it is created?

    Hi,
      We have a requirement to automatically block any sales order that is created and start a workflow for approval process and only after the approval is completed does this block go away.
    We are planning to create the custom block for this. Also we have a product for the workflow process and approval.
    We are looking to see if there is any configuration that we can set to automatically block the sales order. At the end of the workflow we can release the block programatically.
    Any help in this regard will be highly appreciated.
    Regards
    Ravi

    Hi Ravi,
    You can create a custom block and assign it to the sales order type using the transaction VOV8 (Maintain Sales Order Types) so that whenever the order is created a block will be assigned automatically. Please note that there are many documentations already available in this topic and so it should be quite easy for you to google the procedure.
    In case of any specific requirement or issue in the process please revert back.
    Regards,
    Som

  • User Exit for Cancel in Sales Order

    Hi ,
    Can anybody tell me which user exit is fired when a sales order is cancelled?
    I want to clear all the entries made in the additional data B tab which updates a custom table.
    Thanks in advance.

    Hi Andrea,
    That userexit is fired when we delete a sales document. But I want an exit which will be triggered when we cancel a Sales order while creating.
    When I create a sales order through VA01 and give data in additional data B, and press the cancel button, the values in the tab are not getting cleared for the next sales order.
    So I want an exit which triggers when pressing cancel button though VA01.
    Thanks.

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

Maybe you are looking for

  • SRM MDM Catalogue 3.0 Slave in unknown status

    Hi All, PLease could someone guide me here, I have created a SRM MDM master and slave configuration. the server was restarted and now the Slave repository has a black line through the top and you are unable to syncronize, normalize or perform any fun

  • Nokia 6700 - Charge from Micro USB?

    Hi, The 6700 manual confirms that the phone can be charged from both microUSB and the standard mini charge but what it doesn't say is that the only way to charge using the microUSB port is to connect the phone to a PC or Laptop. If you plug the USB c

  • TS1372 Doesn't work. I've tried all steps twice. I'm still getting the "1430 Error Data is corrupted" message. Any other ideas?

    The last time I synchronized my iPod Classic, everything looked normal. I could see all my new songs were copied down to my iPod. When I used my iPod after that, it showed no movies or music files. I tried synchronizing it again, iTunes showed a "Res

  • Materialized View & SYSDATE

    I don't know if I'm on the right forum for this. I am trying to create a materialized view, that refreshes once a month, with data for the last 2 years. In the where-clause of my select, I am using: and months_between(sysdate,sr.creation_date) <= 24

  • Pass data from one web application to another web application

    Hi, Please provide suggestion for following scenario: Scenario: Basically the aim is to transfer large amount of data from one application to another and display JSP of second application. User enteres data on a JSP of one web application. When he su