Close Sales Order

Oracle Apps 11.0.3
Does anyone have sql script to close the sales order manually?
Thanks,
Prasad.

Hi,
You can consider to set the 'Reason for Rejection' to close the order.
You can also press the F1 key to display the explaination/documentation for the 'Complete delivery' flag. It's Indicates whether a sales order must be delivered completely in a single delivery or whether the order can be partially delivered and completed over a number of deliveries.
Hope this is helpful to you.
Best regards,
HC

Similar Messages

  • Close Sale Orders via DTW

    Hi,
    I want to close Sales Orders using DTW but I got an error:
    Document rows Cannot be closed concurrently.
    I read some threads:
    Link: [Document rows Cannot be closed concurrently - Purchase Orders;
    Link: [How to close a row in a Sales Order?;
    Link: [Closing Order rows;
    Link: [Documents rows cannot be closed concurrently with the other document modify;
    and many more but couldn't solve problem.
    I work on 8.8 version and try to close Sale Order that has few rows. I can close line via UI ( right mouse button and choose close line) but when I try to do it via DTW I have an error.
    I disabled all formatted searches and it didn't help.
    Need help.
    Reagrds
    Szymon

    Hi,
    the problem now is not the error message. The problem is: what about the sales order which should be lost after we regenerate the program RSM13000?
    We installed the following support packages:
    1.     SPAM and SAINT      from 26 to 38
    2.     SAP Basis:           From SAPKB62047 to SAPKB62068
    3.     SAP_ABA:          SAPKA62047 to SAPKA62068
    a.     And 2 CRT
    4.     SAP_APPL          SAPKH47022 to SAPKH47033
    5.     SAP_HR:          SAPKE47024 to SAPKE47099
    6.     SAP_IPPE:          SAPKGPIA06 to SAPKGPIA28
    7.     PI:               SAPKIPZI55 to SAPKIPZI59  
    8.     PI_Basis:          SAPKIPYI57 to  SAPKIPYI59 
    9.     ST_PI:               SAPKITLQG7 to SAPKITLQG8 
    10.     EA_APPL:          SAPKGPAA06 to SAPKGPAA29
    11.     EA_FINSERV:          SAPKGPFA06 to SAPKGPFA29
    12.     EA_GL TRADE          SAPKGPGA06 to SAPKGPGA29
    13.     EA_HR               SAPKGPHA10 to u2026u2026  SAPKGPHA99
    14.     EA_PS               SAPKGPPA06 to SAPKGPPA29     
    15.     EA_RETAIL:          SAPKGPRA06 to  SAPKGPRA29
    Thanks in advance
    Hanseatik

  • SO created is Open or Close Sales Order

    <b>Hi
    I hav ot write a report for SD , In this for sales order I hav to check that - Is this Sales order is Open or Close order ,
    Select-optoins are SALES ORDER , DATE , PLANT , St location .
    if it is a close sales order , Then this report should pass a message to The MM consultant  abt the stock ...
    Regards ,
    Narender .</b>

    Hi,
         Just to add, a sales order is open till such time all the line items are delivered completely with respect to the quantity ordered. This you can find in the VBUK ( Header status ) where the GBSTK field value is " C ".
         Even if the goods are shipped or not, it does not influence the sales order completeness. Its only a delivery that happened or not influences the sales order status. Also you can take help from VA05 t.code which shows all the open sales orders by checking the " Open sales orders " button.
    Hope it helps. Pl reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • WHAT IS SALES ORDER -OENSALES ORDER AND CLOSE SALES ORDER

    HI....
    WHAT IS SALES ORDER -OENSALES ORDER AND CLOSE SALES ORDER
    WHAT IS MB1C AND  MB1B TCODES

    Hi
    If the sales order is made with a Qty of 10 items in it , if the all 10 items are delivered to customer then that is called as Closed Sales order
    Means if Sales order Qty (vbap-kwmeng) = Delivery qty (lips-lfimg) then that is losed other wise out of 10 qty 5 are supllied and 5 are yet to be supplied then that is open sales order
    MB1C = Goods receipt for others
    MB1B = Transfer Posting for Material Moving
    Regards
    Anji

  • Short Close Sales Orders

    Hi All,
    I have a sales order for say 1000 qty and i have delivered 900 qty. There are no further deliveries going to be posted against these Order. Now I want to close this Order. Usually I go to Sales Order---- Item details--Schedule Lines--change the order qty equal to Confirmed qty. This way the order gets closed and does not come in Open Sales Order report.
    Now I have many such sales orders where i have posted deliveries and no further deliveries are to be posted.
    How do I close these Sales Orders in Mass.
    Thanks in Advance.
    Regards,
    SSK

    Dear Sarvesh,
    The solution is provided by Mr.Lakshmipathi..
    I think we can make the order qty as 900 in va02, and then also it has the same effect as 'CLOSED'.
    Please check that too.
    Thanks & Regards,
    Hegal K Charles

  • Cannot close sales order for third party sales

    Hello Gurus,
    I cant seem to close a third party sales order even after it has been delivered and the incoming reciept match the sales order as well as purchase requisition or purchase order. at first I thought it was the difference in the unit of measure b/w the delivered products and the ordered products, but that is not the case because even when they are still the same and the quantities match I still have an issue and when I run VA05 (list of sales order) the sales order for the third party sales still shows up. An example is sales order XXX / PO XYZ/ Inv XYY u2013 ordered 45,000, shipped 39,980), we resolve it with the following steps below
    1. change the PO quantity to match the invoice quantity
    2. the requisition then re-opened itself automatically.
    3. I then changed the requisition and marked it closed.
    4. I then could go to the sales order and change the order quantity to match the billed and invoiced quantity. The rejection code 52 did not work u2013 I received a hard error:  PO XYZ must be deleted before the line item could be rejected.
    This is a whole lot of steps to perform just to correct 1 backorder. The reason that it had to be corrected is that the sales order  mfg line stays on the Billing Due list and does not clear it self out unless you perform the steps above.
    Also like I said even when all the quantities are the same I still have this issue so is ther any thing I can do to resolve this issue in configuration or otherwise and also we are using the satndard item category "TAS" for third party sales.
    I will appreciate you contribution and help to resolve this matter
    Thanks

    Unfortunately, all the steps need to be performed to close the status. I think even giving tolerances will not close the status. If it is a regular sale order, a small BDC program may be written to change the sale order quantity to match the invoice quantity. Since its a third party and there are too many documents which are involved in the process using ABAP programs is not a convenient option.
    Regards,
    GSL.

  • Auto-close sales order : Exceptions in FM SD_WF_ORDER_REJECT

    Hi Experts,
    I created a program with the function module SD_WF_ORDER_REJECT for auto-close undelivered sales orders whose date exceeds 60 days and I schedule a periodical job to run this program in background, but the job is canceled due to different reasons:
    - Material X is not defined for sales org. X distr.chan.X, language IT
    - Can not modify a fully charged or canceled orders...
    In my program I select with following parameters:   VBUK~LFGSK = 'A'   AND VBUK~VBTYP = 'C'.
    how to handle exceptions in FM SD_WF_ORDER_REJECT ?
    Many thanks in advance!
    ismail

    Moved from SAP ERP Sales and Distribution (SAP SD) to ABAP Development
    G. Lakshmipathi

  • How to close Sales Order?

    Dear Friends,
    I have created a Sales Order for 1000 Tons and we have despatched 990 tons aginst this sales order.
    Now what setting I need to do so that system will allow to despatch only balance 10 tons.
    Currently system is allowing me to destach more than 10 tons.
    Thanks in advance.
    regards,
    Shrikant

    Hi
    Go to your sales order and note down the item category and go to VOV7 select your item category and in the completion rule(business data tab) maintain B or C there and try
    If my guess is right presently it is maintained as blank change it B or C
    If you dont want to send the balance 10 tonnes then use reason of rejection
    In Delivery if you want to control it then in the delivery item category details it can be done
    T code Zero VLP or 0VLP
    Check for over delivery maintain B there(As very rightly said by the Elite friends like Mr.Ravishankar and Mr.Venkatasamy)
    Regards
    Raja
    Edited by: ramanathan raja on Feb 1, 2009 3:18 PM

  • Sales order - update line status to close the document with DTW

    Hi everybody,
    yesterday i tried to update the line status of sales order lines from "O" to "C" with DTW. At first he ask me for DocRate. Then set DocRate to "1". After then DTW wrote, that I can't update the lines, during update the document... Can someone help me..., maybe with an example for DTW.
    Happy new year to everyone.
    Best regards
    Stefan

    Hi Stefan Ressel,
    Welcome To SAP Community Network Forum
    Sales Order line status close that means for particular line Item Quantity Delivered through Delivery document and sales order line status open to close.
    OR
    You have to manually close Sales Order line status without delivered Quantity.
    Check in your case Item Quantity are to be delivered through Delivery document. Right click on line & check Target document.
    If Sales Order Item Quantity are to be delivered through Delivery document then SAP restrict to update line status.
    Thanks,
    Srujal Patel

  • Open Sales order is Consumed and after it shipped it Unconsumed

    Hi All
    apprcate you help on the issue bellow :
    we manage the forecast Via Oracle forecast set Form name is : MRPFFDIF
    we set the prpfile MRP:Consume Fcst Set Summary to Yes
    Customer expectation is that when running consumption only open sales orders will be consumed
    but when sales order has been consumed and day after shipped and close
    sales order consumed data will be save and not unconsumed when consumption is running again
    the bellow scenario example the issue :
    Day 1
    Forecast Origin Qty = 10
    Open So = 5
    when running consumption forecast current qty will be 5
    On Day 2 we shipped the So qty (5) and it become close
    when running consumption the Origin Qty become 10 and this is not reasonable
    the expectation is that Current Qty will be remain 5 as it was on day1
    Thanks in Advance          

    Hi All
    apprcate you help on the issue bellow :
    we manage the forecast Via Oracle forecast set Form name is : MRPFFDIF
    we set the prpfile MRP:Consume Fcst Set Summary to Yes
    Customer expectation is that when running consumption only open sales orders will be consumed
    but when sales order has been consumed and day after shipped and close
    sales order consumed data will be save and not unconsumed when consumption is running again
    the bellow scenario example the issue :
    Day 1
    Forecast Origin Qty = 10
    Open So = 5
    when running consumption forecast current qty will be 5
    On Day 2 we shipped the So qty (5) and it become close
    when running consumption the Origin Qty become 10 and this is not reasonable
    the expectation is that Current Qty will be remain 5 as it was on day1
    Thanks in Advance          

  • Closing Sales Order through DTW

    I want to close Sales Order using DTW, because the are a lot of open sales orders and is to much work to do it manually. I would do a query to the SBO DB to get the fields into the template. What fields would be needed to do it???

    hector,
    good question.
    You can raise a ticket to
    SAP in service market
    place before procedding
    further with closing of
    sales order.
    Hope it will solve the
    problem.
    Jeyakanthan

  • Blocking sale Order using concept Backgroung events

    Hi,
    Requirement: In our Business logic, there should be only on delivery for one sale order. So whenever partial delivery happens(i.e when delivery created), then i need to close Sale order, by assigning reason for rejection.
    Blocking Saleorder can be done through Change BAPI.
    what i want to know, where can i run that BAPI.
    I want to fulfil this requirement using Background event scheduling. Because, our client usually do mass deliveries.
    how could we do Background event scheduling. Even i don't know to create an event. Please provide me guide lines from start ie Creating of event to scheduling of event.

    R u talking with respect to workflows???
    Did u create any workflow?? If yes then let me know the details so that we can understand the details.
    I am not sure whcih event you are talking. Can you please elobrate on this.
    Thanks
    Praveen

  • Short Closing Of Sales Order

    Dear All ,
    Pl explain the Procedure : how to Short Close Sales Order ?
    Rgds ,

    By assigning "Reason for Rejection", you can short close an open order and the status of the sale order would also be changed from "Being Processed" to "Completed".  You can of course change the order quantity to delivered quantity.  To achieve this,
    -  Go to TCode MASS,
    -  Input Object Type "BUS2032",
    -  Select "Sale Order Item Data",
    -  Click on "Fields" on top 
    -  Block the field "MASSVBAP-KMPMG" and execute
    -  Input those open sale orders and execute
    -  Change the quantity and execute.
    thanks
    G. Lakshmipathi

  • Sales Order header still booked when lines are already closed

    Hello all,
    Well, im having problems to close a couple of Sales Orders...the lines are already closed but the headers reminds as 'Booked'....I checked the Workflow and one of the SO shows me this error message:
    Error Message ORA-00376: file 354 cannot be read at this time ORA-01110: data file 354: '+LIVE_DG/liveclrvenus2/datafile/undotbs1a.801.702318343' ORA-00376: file 354 cannot be read at this time ORA-01110: data file 354: '+LIVE_DG/liveclrvenus2/datafile/undotbs1a.801.702318343'
    Error Stack Wf_Event.Dispatch(oracle.apps.wf.notification.send) Wf_Notification.SendSingle(SYSADMIN, OMERROR, OMERROR_MSG, 26-JAN-11, WF_ENGINE.CB) Wf_Notification.Send(SYSADMIN, OMERROR, OMERROR_MSG, 26-JAN-11, WF_ENGINE.CB) Wf_Engine_Util.Notification_Send(OMERROR, WF2835788, 143218, OMERROR:OMERROR_MSG) Wf_Standard.Notify(OMERROR, WF2835788, 143218, RUN) Wf_Engine_Util.Function_Call(WF_STANDARD.NOTIFY, OMERROR, WF2835788, 143218, RUN)
    Anyone knows how to fix this......
    Regards
    Edited by: 843193 on Mar 11, 2011 2:59 PM

    See docs "Close Sales Order Headers With No Associated Open Lines, Order Header Workflows Or Order Line Workflows [ID 397565.1]" and "Order Management Suite - Some Datafix Patches and Scripts [ID 398822.1]". They might help. I currently have an SR in on the same situation, although I do not get the same error message you get.
    Hope this helps,
    Dana-B
    Edited by: user9971618 on May 2, 2011 12:21 PM
    Edited by: Dana-B on May 2, 2011 12:22 PM

  • Using va02 change sales order

    dear experts,
                i need help from urs,  i am using bdc close sale order, when its having delivery. i done this issue
    only single line delivery, that is in schdule lines having one schedule line with delivery, i done this using call transaction, but i can't do multiple scdule line with delivery. i know sap standard not allowed with delivery. but i want any other way, like using bapi.
    regards
    sakthi

    Hi,
    Not able to understand this.....Can you please a bit more explanatory....

Maybe you are looking for

  • How to insert a logo in sap script?

    How to insert a logo in sap script?

  • At bottom of the page Report section Text is not adjusting.

    hi. i am having one problem. ie. i put one report section at under detail section of main report in report section again i put sub report in sub report at details section i put one field data is comming from the data base. this sub report field is ha

  • What to look for in an external monitor

    I am in the process of changing my editing system to handle hd. I am using a 24" imac 2.4 Intel Core 2 Duo. With my sd set up I used a Sony dv/dvcam deck and a JVC professional 13" Monitor. I am purchasing the new JVC gy-hm100u camcorder when it is r

  • HT1923 receiving error 7 windows error 126

    I have deleted and reinstalled itunes and keeping getting the message receiving error 7 windown error 126.  Looking at the comments via apple support i'm not getting any where.  Also not clear why this has happened now having had itunes for a few yea

  • Change VA21 Screen Title from "Create Quotation" to "Create Reservation"

    Hi Experts, We are trying to change/edit the selection screen title of Transaction VA21 from "Create Quotation" to "Create Reservation". The screen doesn't display the expected output when we changed the transaction title in SE93. Please guide us on