Rejection of open sales order

Dear
Expert,
My client wants to close all the open sales order, I tried with VKM3,VA02, VA05, MASS,  given the reason for rejection,but after that when I am going to  VA02 and giving a line item and then going for VL01n, its working.
Now I want to stop that thing.
That is don't want to process any thing even though a line item is added after  VKM3,VA02, VA05, MASS, alternatively any solution to close open sales order whether it is fully delivered or partially delivered.
I searched in forum but I didn't got any proper solution.
Waiting for earliest reply
Thanks in advance
Regards
Deepankar Sengupta

So you want to prevent the possibility to add new items when some items have been rejected?
Then you should use an user exit:
Adding new Line Items to Sales Order from a closed period
If you want to prevent rejected items from appearing in subsequent documents, use requirement 301:
SALES ORDER REASON FOR REJECTION NOT WORKING .

Similar Messages

  • How to sets the Reason for Rejection of the Open Sales Order Lines

    Hello gurus,
              I want to set the Reason for Rejection of the Open Sales Order Lines, Case is like :
    If current date is exeed the Auto Void Confirmed Back Order Days(for item level) +  date (last responding from customer), then reason for rejection should be set, So i want the logic to find out the date is exceed or not.
    Thanks
    Anjana

    Hello anjana,
       Actually your question is some confusing, but if u want to get eldest change as active sales order then logic is as follows:
    1.  On base of OBJNR u have to get UDATE from JCDS table
    2. then write logic as:
    SORT i_jcds BY objnr stat chgnr DESCENDING.
          LOOP AT i_jcds INTO wa_jcds1.
            CLEAR lv_stat.
            lv_stat = wa_jcds1-stat.
            AT NEW objnr.
              AT NEW stat.
                CLEAR: wa_tab.
                wa_tab-objnr = wa_jcds1-objnr.
                wa_tab-stat = lv_stat.
              ENDAT.
            ENDAT.
            IF wa_jcds1-inact = 'X'.
              CLEAR lv_tabix.
              IF sy-tabix > 1.
                lv_tabix = sy-tabix - 1.
              ELSE.
                lv_tabix = 1.
              ENDIF.
              READ TABLE i_jcds INTO wa_jcds2 INDEX lv_tabix.
              IF sy-subrc = 0.
                wa_tab-chgnr = wa_jcds2-chgnr.
                wa_tab-udate = wa_jcds2-udate.
                wa_tab-utime = wa_jcds2-utime.
                APPEND wa_tab TO i_tab.
              ENDIF.
              CONTINUE.
            ELSE.
              wa_tab-chgnr = wa_jcds1-chgnr.
              wa_tab-udate = wa_jcds1-udate.
              wa_tab-utime = wa_jcds1-utime.
            ENDIF.
            AT END OF objnr .
              AT END OF stat.
                APPEND wa_tab TO i_tab.
              ENDAT.
            ENDAT.
          ENDLOOP.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr stat.
          SORT i_tab BY objnr stat udate utime.
          DELETE ADJACENT DUPLICATES FROM i_tab COMPARING objnr.
    3. now in i_tab table u'll get eldest UDATE
    Hope its work for u.
    Thanks & Regards,
    Sumit Joshi

  • Close Open sale order items

    Hi,
    We have a business scenario of one sales order --> one delivery document. Any items which have not been confirmed for delivery need to be closed out so that they do not show up as open requirements.
    One way is to reject the open line items. However, rejection reduces the original customer sales order value.
    Is there any other way that the open sales order line items can be changed in status so that the pricing is intact, but the item is closed out ?
    Would appreciate inputs from the forum
    Thanks

    Hi
    In standard itself this can be achieved
    In t code OVAG itself for your reason of rejection if you maintain BLANK in the statistical column
    Then those rejected values will not be reflected in sales order
    Suppose  a sales order contains three materials say
    Material A  qty 3 units
    Material B  qty 3 units
    Material C  qty 2 units
    Each and everything is priced as 10 US dollars
    then the nett value of this order will be 80 US dollars
    Suppose if you reject Material C  qty 2 units with a reason of rejection by maintaining the settings that i mentioned above the sales order value still Will  be  80 US dollars and will not become  60 US dollars
    This is what you are looking for (i hope so)
    Please try this
    Regards
    Raja

  • Open Sale Order Value (FD33) not getting diminished even after closing SO?

    Hi,
    Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
    What could be the reason ?
    Pls help.
    Regrds,
    Binayak

    Hi Binayak,
    As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
    Some precautions
    1. Always run the program in background by scheduling a job.
    2. The idle time is around midnight when no user is working on SAP.
    3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
    4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
    Hope this clarifies..
    Regards,
    Madhu.

  • Rajesh/Sadhu/RobertoUrgent :- Open Sale Order Value not getting Reduced?

    Hi,
       Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
       What could be the reason ?
       Pls help.
    Regrds,
    Binayak
    Message was edited by:
            Binayak Ghosh
    Message was edited by:
            Binayak Ghosh

    Hi Binayak,
    As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
    Some precautions
    1. Always run the program in background by scheduling a job.
    2. The idle time is around midnight when no user is working on SAP.
    3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
    4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
    Hope this clarifies..
    Regards,
    Madhu.

  • Deletion of open sales orders

    Dear all,
    we want to delete open sales orders .I searched forum unable to do .Please guide me.
    Regards,
    Suresh

    hi
    You can  delete the sales order using transaction VA02, but there should not be any subsequent document is created against it. Please let me know the error message you are still getting unable to delete so.
    Deletion /cancellation can only happen even if the subsequent documents are NOT created. After cancelling the invoice and deleting the delivery document, we can set the reason for rejection at the Sales Order Header Level.
    Steps:
    1. Cancel the invoice through T code VF11
    2. Reverse the Goods Issue using VL09, turn the pick quantity u2018zerou2019 in the delivery document
    3. Delete the delivery document using VL02n.
    4. Finally set the reason for rejection at the Sales Order Header Level. (So Bala, just check the SO you want to delete ever had any subsequent document? )
    Note: An Invoice cannot be deleted but canceled. It can only be canceled with (VF11) only if the relevant accounting document is not generated. Generation of accounting document means the value is posted into accounts and G/L accounts are hit.
    SAP FI department needs to reverse the accounting doc on a real-time scenario. Only after the accounting doc is reversed invoice can be canceled. Tax documents generated through the Invoice (Tax is maintained on a separate account) also need to be reversed but this is a part of FI so an SD consultant just needs to request the FICO guy to do the reversal
    transaction MASS or VA05 you should be able to set the reason for rejection

  • Open Sales Order Values in Credit Managment

    Hi,
    1. I want to include the open sales orders that were created before implementing the functionality of  Credit Managment.  How to check the credit limits for that sales orders.
    Fro Example. If i want do the credit checks for 1000 open sales orders.
    2. How to reset the customer credit limit in FD32. I tried using the t.code f.28, but it will not be reset to zero(0).
    Thank you,
    Ravi

    Hello Ravi,
    You can try this: in table VBAK, you might have the date when this a particular order was created( ERDAT or sometihng like that..). You'll have to join table VBAK/VBAP/VBRK(billing table)/VBFA and the logic should be that the program should pick up all the orders created before 1 yr and should also check that the items are not rejected, and the delivery not yet created.
    Check the following fields:
    VBAK-ERDAT, VBAP-ERDAT, VBAP-ABGRU, VBAP-AEDAT.
    Regards,
    Raghu.

  • Closing of open sales order( Reward)

    example- i have open sales order of 100 qty and 50 qty have been delivered and 50 qty is left .is there any option to close that sales order without delivery so that nobody can see it again?plz suggest me?best answer ll be rewared.

    Hi tripathy
    in this case you have to  define reason fo rejection path :  spro -sd- sales -sales documents header -sales document item define reason for rejection.
    you should be more specific about rejection reason.
    after delivering 50 quantity for remaining 50 quantity organisation has rejected or customer has rejected.
    now goto VA02 give all the details and material give remaining 50 quantity select reason for rejection.
    i hope you have understood.
    if your doubts is clear don't forget to reward.
    thanks
    surya
    Edited by: ramakrishna suryanarayanarao on May 27, 2008 7:07 AM

  • How to Close Mass Open Sales Orders (Partially / not executed ) at one go

    Dear All
    We are having lots of  OPEN SALES ORDERS , few are COMPLETELY OPEN and rest are PARTIALLY used .Now my requirement is to CLOSE all such Sales Order at one go ie. MASS CLOSING OF OPEN SALES ORDER .
    Please Guide.
    Regards
    Animesh Chakroborty

    Dear Animesh
    First have those open order references in an excel sheet.
    Go to MASS, input Object Type BUS2032  and execute.  There block "Sales order header data" and click on "Fields".  There select the field "MASSSDHEAD_S-LIFSK"  and execute.
    Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute.  There on top, assign some block and execute.  All your sale orders will be blocked.
    On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection"  in mass.  To achieve this, go to TCode MASS, input Object Type BUS2032 and execute.  There block on "Sales Order Item Data" and click on "Fields".  There block the field "MASSVBAP-ABGRU"  and execute.  Follow the same procedure as explained above.
    Now see the document flow of those sale orders.
    thanks
    G. Lakshmipathi

  • Permanent closure of Open Sales Orders

    Morning Gurus !!
    May be this is an issue with a lot of consultants. Our company wants to close all the open Sales Orders, for which I have suggested giving a Reason for Rejection or a Credit Block to close them. But end users are asking for a method where the closed Sales Orders should not be editable or changable in VA02, they should permanently be closed. 
    For this requirement I searched the forum and found no solution except one thread, which I did not understand, how to implement. I am giving that info here:
    Thread by - Ravi D Mansharamani, Posted on Feb 27, 2008. Topic: Closing of a Sales Order
    "You can use status profile (Transaction BS02) at sales order header and here you can define status 10 as created and status 20 as completed. Now for status 20, you can define objects types wherein you wont allow any changes by clicking on forbidden for a particular status, in this case status 20."
    Now my questions are:
    1. How to implement above suggested method and will it permanently close an open sales order?
    2. If this does not, then is there any way in which we can close an open sales order which cannot be changed in VA02??
    3. If I want to attach a document or a screen shot to a thread, how to do it?
    4. How to know a thread no., if I want to give reference of it in my thread?
    Your valuable suggestions are urgently needed
    With best regards.
    Venkat - Hyd

    Hi Venkat ,
    We can very well do this by using status profile concept.Pls configure as per below.
    1.SPRO -
    S&D u2013 Sales --- Sales Documents u2013Define and Assign Status Profile T Code:BS02
    Define status profile
    2.Assign two statuses to the status profile : Double Click on the newly created status profile to create the statuses
    3.Click on Object types to select the relevant object .Select the object type and save the profile.
    4.Assign status profile to relevant Sales Order Types : VOV8
    5.Finally we can control the closing the closing functionality in Exit.MV45AFZZ .
    Hope it helps,
    Sash.

  • Update Reason of Rejection field in Sales Orders

    Hi all,
    My scenario is:
    1) To Close all the open sales orders with a customized Reason of Rejection (ABGRU) field
    2) Only when the Sales Order Created Date is 1 month behind the Current Date.
    The report program which shall be developed should be run in background and shall automatically close all the Open Sales Orders and update the Reason of Rejection.
    Any hints shall be very helpful in addressing ,my problem.
    Thanks and Regards
    Srikanth.P

    Hi,
    After prfoeming select query on data base tables , use  Bapi BAPI_SALESORDER_CHANGE  for updating the reason for rejection  and FM RV_SALES_DOCUMENT_UPDATE  for updating the status of SO.
    Hope this helps you.
    BR,
    Lokeswari.
    Edited by: Lokeswari Bandaru on Sep 27, 2010 9:06 AM

  • Regarding All open sales order & want to close them

    Hi All,
    My client want the list of all open & partially open sales order in the time period excluding cureent & previous months & want to close all those sales order with partally open & fully open status
    Regards,
    Rohan

    Rohan in t-code mass find the reason for rejection and also try and block the sales order if you find it useful.
    Steps are below:
    First have those open order references in an excel sheet.
    Go to MASS, input Object Type BUS2032 and execute. There block "Sales order header data" and click on "Fields". There select the field "MASSSDHEAD_S-LIFSK" and execute.
    Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute. There on top, assign some block and execute. All your sale orders will be blocked.
    On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection" in mass. To achieve this, go to TCode MASS, input Object Type BUS2032 and execute. There block on "Sales Order Item Data" and click on "Fields". There block the field "MASSVBAP-ABGRU" and execute. Follow the same procedure as explained above.
    Now see the document flow of those sale orders.
    Edited by: Muhammad Ali Lozada on Dec 28, 2010 12:32 PM

  • Massive Deletion of Open Sales Orders/Deliveries

    Hi, I was wondering if anyone knows a massive transaction to delete open sales orders and deliveries.
    I try using de MASS transaccion but here I can only reject the items (in sales orders) but the thing is that the customer wants the open orders and deliveries to be deleted.
    Could anyone help me please?
    Thanks and regards!
    Lore

    Hi,
    You can only delete a complete sales document or delivery if there are no subsequent documents. For example, you could not delete a complete sales document if items had already been delivered and therefore, delivery documents had been created.
    If you want to delete a sales document, you effectively remove it from the database which means that it is no longer possible to analyze it. Therefore, its recommend that you work with reasons for rejection. Being the case it can be considered to reject the items rather.
    Hope it helps.
    Thanks & Regards
    Sadhu Kishore

  • Deleting Open sales order - in mass

    When i checked VA05 , I found many open sales order over a period of time.I want to know whether any method is there to select some sales orders from that list and delete them in mass ie at one stretch.

    Hello,
    Please use the search option at SDN forum and do not post the repeated question !! Please refer the following link for detail information !!
    [DELETING OPEN SALES ORDER|Re: Mass sales order reject/delete]
    [LINK|http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/mass-deletion-of-sales-order-1201141]
    Regards,
    Sarthak

  • Changing Sold-to party on an open sales order deletes item text

    Hi,
    When changing the sold-to party on an open sales order document, all of the item text is deleted.  Is there a way to prevent this from happening, or is this standard?
    Thanks,
    Craig

    If u r wishing to change the sold to party for a particular item it means u r not selling that item to him. U cant have 2 different sold to parties  in a single sales order.. U can change other partner functions at sales order level but not sold to party partner function....
    U can assign reason for rejection to close this particular order and raise a fresh order in favor of the sold to party u wish to for that particular item...
    Message was edited by:
            srinivas rao

Maybe you are looking for