How close the sales Order

Hi Guru,
Greeting from Sanjeev
My client want to enter the old inquries/Quatation & Sales order in new system. after making the sales order we cannot make delivery as this SO are already invoiced!! we cannot create the Invoice.I want to close this SO. Can we do so in bulk or a ABAP program can be created so that we can provide a screen where the user will enter the Invoice No & the SO will be reflct as closed

These reason for rejection will lead the sales order to complete status and you will not be able to create any further subsequent document for those docs..
So, as per requirement, you need maintain a rejection reason (Tcode OVAS and assign them accordingly to relevant sales doc type), say Z1 as "Legecy Data w, Invoice".
Old SOs are invoiced then we cannot give rejection reason
Thats a warning message which you can overlook for the partialy referred sales orders, i.e., sales oders with being process status. By maintaining these reason for rejections you will be able to lead/convert being process status order to complete status.
Try or in case of any concern and share your feedback.
Regards
JP

Similar Messages

  • How has the Sales Order Changed Prices ????

    I created a Sales Order, manually entered the prices  and Open - Printed.
    All saved and updated.
    However, customer  has received wrong prices.
    How do I check if another user has made changes?
    Or have the prices defaulted to another price list  called the (catalogue price list )
    Edited by: Philip Eller on Jun 13, 2008 9:57 AM
    Edited by: Philip Eller on Jun 27, 2008 9:53 AM*

    Darpal,
    Which Price field on the row of the Sales Order are you viewing?  There is both Unit Price and Price After Discount.  Unit Price editable, while Price After Discount is not.  If you are only viewing Unit Price on the document, B1 may be changing the price in the Price After Discount field without you being able to see it.
    B1 uses Price After Discount to calculate the final row total.
    If the Print Layout points to Price After Discount, you'd see a different price than what is in the Unit Price field on the document inside B1.
    The enhancement pack print layouts all point to the Price After Discount field, not Unit Price, out of the box.  This quite possibly be your issue if you are using the layouts directly from SAP without alterations.**
    Price After Discount will differ from Unit Price if there is any special pricing (i.e. Period and Volume Discounts or BP Special Pricing) or if a discount has been applied to the row n the Discount % column.
    Are there any types of special pricing being used?
    Confirm which database field the Price field is linked to on the print layout?
    Regards,
    Brad Windecker
    Edited by: Rui Pereira on Jul 8, 2008 5:28 PM

  • How to know the sales order closed using right click menu -Close ???

    I have an sales order with ten item, I have copied the same to delivery and before adding the Delivery I have deleted some items. After adding the Delivery, I manually closed the sales order by using the "right click menu close".
    The Open Quantity of those lines are already closed while i Close it manually.
    Now i need  a report regarding the sales orders which i  have closed manually. Any Options??

    Check the below result
    DocNum     DocDate     CardCode     CardName     Row#     ItemCode     Dscription     Price     Quantity     LineTotal
    2     2012-02-04 00:00:00.000     ED-C-102     AI HUDHA BOOK STALL     2     1010          150.000000     10.000000     1500.000000
    3     2012-02-04 00:00:00.000     ED-C-103     AL AMEEN ENGLISH SCHOOL-MANKADA     2     1011     ZINC ROD HIGH GRADE PURE ZINC 140 X 9 MM     59.790000     10.000000     597.900000
    this is the result i get while i execute your query
    but look at the db result
    DocEntry     LineNum     TargetType     TrgetEntry     LineStatus     ItemCode     Quantity     OpenQty
    1     0     15     2     C     1010     10.000000     0.000000
    2     0     15     3     C     1010     10.000000     0.000000
    2     1     -1     NULL     C     1010     10.000000     0.000000
    3     0     15     4     C     1010     1.000000     0.000000
    3     1     -1     NULL     C     1011     10.000000     0.000000
    3     2     15     4     C     1012     15.000000     0.000000
    3     3     15     4     C     1013     20.000000     0.000000
    4     0     15     5     O     1010     10.000000     5.000000
    See the last line data...it have open quantity of 5 and it also have the target type 15, If I close the sales order with docentry 4 manually using right click, the open quantity will be Zero..
    I need that last line result also as my output..
    Hope you understand my problem.
    Thank You

  • How to copy Sales Order to A/R Invoice (or at least set the BaseRef)

    Hi, currently if I need to 'convert' a Sales Order into A/R Invoice, I have to do it via the SAP application directly. What I'm trying to achieve is to automatically do it via an EXE application (I have one ready for other purpose -> connect to SAP via DI).
    So far I know how to create a new A/R Invoice and close the Sales Order, but the problem is that I can't 'link' the Invoice to the original Sales Order (ie. the BaseRef field). Is there a way to do it?
    Furthermore, is there any easier way? ie. simply call a 'copy' method or something else, instead of writing the same information (field by field) from Sales Order to Invoice?
    Please advise.
    Thanks.

    Hi Afandi,
    This will solve your problem
    Private Sub CreateInvoice()
            ' init the invoice object
            oInvoice = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
            oInvoice.CardCode = cmbCustomer.Text
            Dim sNewObjCode As String
            Dim i As Integer
            ' Get last added document number (the order that was added)
            oCompany.GetNewObjectCode(sNewObjCode)
            ' this loop adds the different items to the invoice object
            i = 0
            Do
                oInvoice.Lines.BaseEntry = sNewObjCode
                oInvoice.Lines.BaseLine = i
                oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
                oInvoice.Lines.TaxCode = TableLines.Rows(i).Item(4)
                i += 1
                If i <> TableLines.Rows.Count Then
                    oInvoice.Lines.Add()
                End If
            Loop Until i = TableLines.Rows.Count
            ' Try to add the invoice object to the database
            lRetCode = oInvoice.Add()
            If lRetCode <> 0 Then ' If the addition failed
                oCompany.GetLastError(lErrCode, sErrMsg)
                MsgBox(lErrCode & " " & sErrMsg) ' Display error message
            Else
                cmdInvoice.Enabled = True
                MsgBox("inv Added to DataBase", MsgBoxStyle.Information, "Order Added")
            End If
    Mohamed

  • Why the Sales Order is still being processed?

    Hi,
    This process is done: Sales Order (RE - Return) --> Return Delivery (Goods receipt) --> Billing
    Sold-to party wrongly entered in the Sales Order, so they wanted to close the Sales Order. They did Cancellation for Billing (VF11) and reversed the Goods receipt (VL09).
    Also, Reason for Rejection is put in the line item (VA02). However, the status of the Sales Order is still Being Processed instead of Completed.
    From the Data Flow, it states that order-related billing status is still open*. But the Billing documents and Accounting documents are Completed and Cleared respectively as seen from the Data Flow.
    How to close this Sales Order?
    Thanks.

    Dear Friend,
    If you want to close any particular order then go to order reason and give the reason and save it.
    The system will automatically close the order and would show processed and in the due lists also it would not appear.
    award points if helpful,
    regards,
    Amlan

  • Re: Printing Cancelled line items in the sales order on the packing slip

    Hi gurus,
    Currently we have a unique requirement in our company. Our wholesale customers send the Purchase order to us via EDI. Now saw they have requested an order containing 10 materials out of which we can fulfill only 8. the other 2 due to some reasons cannot be fulfilled.
    So the business wants to keep the other 2 line items to be entered in the sales order with a cancelled status.
    Now correct me if I am wrong, only the confirmed line items will be copied from a sales order to a delivery document. So thats the reason why these cancelled line items cannot be printed on the packing slip.
    However somehow the business wants the packing slip tp have the 2 line items printed on it with the reason of not being delivered. this is to facilitate the customer to know why those items couln't be fulfilled by our company. Now we cannot use a manual work-around of letting the customer know about the impossibility of not fulfilling the other 2 items as there are a lot of orders that come thru EDI per day.
    Can anyone suggest a solution to this requirement asap.
    Thanks in advance
    Vinit

    Hi Vinit,
    This requirement makes a lot of sense, that is to be able to inform your customer that some item(s) of the sales order could not be delivered, not even partially.
    A possible solution would be to allow for zero quantity in the delivery item (check customizing and mark "zero quantity allowed" in the item category).
    Then in the packing split, it would be easy to print the delivered quantity (0) and the sales order quantity (whatever it was), because you have the "null" item available in the delivery.
    Personally I am not found of having have delivery items with zero quantity, but they are useful in that case, and they can also be useful to automatically "close" the sales order item (instead of having to do it manually if the goods can't be served).
    Note: Usually in Consumer Goods, if you can't serve part of a sales order to a customer, you have to close it, because the Retailer's next Sales Order will include the remaining quantity.
    Hope it helps.
    Best Regards,
    Franck Lumpe
    Freelance SAP ERP Consultant

  • How to close automatically sales order with open items ?

    Hi,
    There is a request from a client:
    he would like to be able to close the open items of a sales order which are not billed automatically according to a specific calendar. Moreover he would like to specify that ,generally speaking, the customer does not want to be delivered another time if there are leftovers in the sales order.
    I read in other posting that manually you can close open items in a sales order by adding a reason of rejection for the line item. Nevertheless, I do have one question about that. Imagine we only have one line of 100 pieces and we only deviver 90 pieces. When we put a reason of rejection in the sales order item of 100 quantity, what exactly will happen? How the system will know it only has to reject the 10 non delivered pieces and not the 100 pieces mentionned in the line item ? I also read that the price would change to zero but how can this be correct if we have 90 pieces to bill ?
    Thanks a lot for all your answers.
    Stéphanie

    Dear Stephanie,
    the reason for rejection change the status of the item itself to completed and it move the item from "active to be processed" to a simply statistical status.
    In the scenario you mentioned, as the reason for rejection is applied to the full item, you will set the full item as statistical, but your 90 pieces will continue being delivered and even eventually invoiced.
    Some discrepancies you may find only running some statistical reports, where also the net values information would not be in line as per your expectation.
    In order to prevent this discrepancy issue, I would advice you to contact a good abaper and develop a program that may massively rejects open items with not confirmed quantities, creating a new item for the open quantity if the sales line is partially confirmed.
    It means that, in your scenario:
    Order A > Item 1 for 100 pieces
                               > only 90 pieces delivered & invoiced
                               > 10 pieces open
    the result would be the following:
    Order A > Item 1 for 90 pieces
                               > 90 pieces delivered & invoiced
                  > Item 2 for 10 pieces rejected
    In this way you keep under control any report you may generate out of your sales and you can set as statistical items only quantities not processed further.
    I hope this explanation may help you.
    For any additional information on the reason for rejection I would remind you to SAP documentation and if you have the possibility to try to customize ans set your system with reason for rejection in order to discover directly with your eyes how these work.
    Regards,

  • How to delete a line item from the sales order

    Hi all,
    how to delete a line item from the sales order for which the production is already happened and it has been delivered. the production order status is DLV.
    Regards
    Kumar

    Hi
    U can do this in two ways one u can short close the order by entering Reason for rejection in VA02 at header level and if yr order is multiple line item order u can enter the reason for rejection in any of the line item which u don't want to deliver.
    This is called short close ( as the qty is not delivered fully).
    Thx.

  • How to update the sales text in the Sales Order.

    Dear all,
    I want to Update the sales text in the Sales Order. I used the "CREATE_TEXT" but i couldn't update using it.
    Can u please guide me, how to use the Function Module to update the sales Order line item text values.
    Thank U
    Uwanthi

    HI
    Check this link
    User Exit to update Sales order text (Terms of delivery) on saving it
    Regards,
    Krishna

  • How to update the condition price in the sales order for all the items

    Hi,
    How to update the condition price for all the itmes in the sales order to carry out the new price automatically through a stand alone program, for all the orders in the billing due list table?
    Thanks,
    Balaram

    Hi,
    There is a change in the requirement.
    Scenario:
    I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
    For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
    Thanks.
    Balaram

  • How to update sales order number (KAUFN) characteristic in the profitability segment of the PA document created at the time of service entry sheet confirmation, as a result of shipment cost document

    Hi,
    We have a scenario wherein we create shipment cost documents against delivery. As a result of shipments fully transferred, a PO for freight vendor is automatically created and a service entry sheet confirmation happens. As a result of service entry sheet confirmation, we have Financial accounting, Controlling and profitability analysis documents created. We have a requirement wherein we need to have the characteristic “sales order number (KAUFN)” populated in the profitability analysis document created as a result of service entry sheet confirmation.
    Could someone please advice how could this be attained in COPA. Thanks for your help in advance.
    Regards,
    Sandeep

    Hi Ajay,
    Thank you for the quick update.
    The document is updated to COPA through OKB9 settings. The profitability segment is updated with fields like customer, product, company code, plant, sales area data, profit center, etc; however the sales order number is missing.
    Could you please elaborate further how could FI substitution be implemented to call for the FM COPA_PROFITABILITY_SEGMENT through user exit? Are you recommending the substitution through GGB1? What could be the possible validation to call for the user exit to be implemented?
    Regards,
    Sandeep Kulkarni

  • How to block the sales order for not creating requirement

    Dear All,
    My client want that whenever a sales order is raise, that should not go create requirement for production unless until account department check whether the prices etc are correctly put or not
    how can i do this
    thanks

    I suggest you can try to use the functionality of Status Profile.
    Create one Status Profile  with 2 line items-
    1: First line : Pricing Approval or PR and check what all you want to block if this status is assigned to the order type.
    2: Second line : Released and check what all you want to be released once the Approval is done.
    So by default the status profile - Pricing Approval will be assigned to the Sales Order during order creation. Then after your accounts department check the pricing and approves , they can change the status to Released and the order can be processed further.
    Regards
    Sai

  • How to Find Out The Production Order Number For The Sales Order Line Items

    Hi All,
    I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.

    I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK.  or in table AFPO.
    Regards,
    Rich HEilman

  • How to find out if the stock is available for the sales orders

    hello gurus
    We have 25 sales orders.. for which we did not have any stock.. so we produced internally and now the stock is available physically and stock is updated in SAP as well.
    How can i know that for all the 25 orders ..if the stock is now available for all the orders.. we have a requirement that unless we have a stock available for each order we cant create deliveries.. againts the sales order.
    I would like to know what is the best possible way to check the stock availability for all the 25 orders at one time.
    Note : All 25 orders have different materials.. in them
    regards
    mohammed

    Hi,
    To check the stock availability tcode is MMBE, enter the material no, plant and storage location and then click the  EXECUTE button ,u will see the stock.
    For different materials , u ve to repeat the above steps.
    Reward points if it helps.
    Regds,
    Pallavi

  • How to close the Return Order from Billing due list

    Dear Gurus,
    This is the scenario of Free subsequent delivery with the reference of Return Delivery.
    In brief-->
    I created one sales order and done its normal delivery and billing. So this order to cash cycle is completed.
    Then due to the damage in transit of some material customer wants to return some good and ask for the subsequent delivery of same goods.
    therefore I create a return sales order with the reference of previous sales order and and do the return delivery. Here I am not making the credit note as I have to make the subsequent delivery for the return order.
    So I create the sales order for subsequent delivery with the reference of Return order and do the delivery.
    Now I have the query that when I run the billing due list (VF04) I get the same return order in billing due list as I have not created the credit memo with its reference. And the return order will remain there always. But I dont want that return order to appear in the billing due list as I have done the subsequent delivery for that return order.
    Please tell me how the return order's status can be made completed to avoid it in billing due list.
    Please suggest me all the possible solutions to complete the scenario.
    regards,
    Sanjay

    Hi,
    The SDF has to be created with refernce to the Sales Order only.
    In Brief:-
    When ever the goods are damaged in transit,generally we ask them to scrap the damaged goods and then decide what to do like
    1) Either to give a credit note to the customer for the damaged goods.
                          or
    2)Replace the Goods by SDF.
    Check me if iam wrong
    Regards
    SK

Maybe you are looking for

  • Patch 10 Available

    Patch 10 for Web tools 6 is now available on the Software Download Center Not all notes have been released at this time. Here is an overview of the fixes. Note #       Note title 1226765   New DB indexes added in order to improve performance 1226764 

  • Just got the new IPod - Warranty Coverage Question!

    So, I just leaped into the 90's and got an IPod - the new color screen video version. I purchased it at Best Lies (Buy) and they mentioned a 3 year warranty that included the battery replacement. It also covered the buttons/wheel/screen going dead ov

  • SQL Developer 3.0 data modeler print-to-pdf not working

    I am working in Windows XP. I am running SQL Developer version 3.0.04, which now includes a full-featured version of the Data Modeler. I have run into a problem with this version, which did not occur in the stand-alone version of the Data Modeler. Wh

  • BOE XI R3.1 and DB2 - Installation Error

    Hi, I am facing an error when installing BOE XI R3.1 in Windows Server 2003, with DB2 as database. The error message: Fail to validate the database information CMS database error: STW00226 Database access error. Reason Loading shared object failed. F

  • Can't Import / No Import Thumbnails

    Hi, apologies if this has already been answered. I did quick search and couldn't find my answer. Everything worked fine in LR 4, but upgrading to LR 5.3 and using Mavericks I have only been able to import photos once. After tinkering for a week and g