Wrong tax in delivery and invoice (different from sales order)

Dear All experts/gurus,
I am curretly facing a problem relate to big error in SBO 2004A SP00 PL 16. It is disgusting actually. the problem is I create Sales order (SO) with 0 % tax (tax code: 0tax). however after I create delivery from this SO,  the price including tax is different from price including tax in the sales order, it raised to be 20%, that is also happened in AR invoice meanwhile I never change the tax code and create 20% in the define tax group form.It is only happened in creation date on 16 february 2007,after that it is all okay, nothing happened. There is none allowed to change tax grup form.
I am afraid there are bugs or something wrong that made it happened especially relate to technical/developper. I have check company settings, BP settings and other but find out nothing that made this wrong comes. pls help me to solve this situation. I appreciate your answers so much. tks
Rgds,
Message was edited by:
        steve andre

Dear Eddy, Experts/Gurus,
The problem has appeared again. It happened on 8 March 2007, all deliveries are subjected to have 20% tax meanwhile in column tax % of  define tax groups form is zero. The big problem is how to take back all the error AR invoices sent to customer sites.
How to cancel the invoices with wrong tax without using credit memo? could I just use querry generator to delete all the taxes created by system ? I want to reprint it and send again to customers but I don't want to use credit memo, I consider to use DTW, but I am not so sure and I wanna ask what Gurus/Experts suggestions in this forum before do that. I appreciate your answer so much. TIA

Similar Messages

  • Quantity is different from sale order and delivery

    Hi,
    Gurus,
    Quantity is different from sale order and delivery.
    I identified the Material in the sales order, the item category for this material as BOM.
    I have also checked the bill of material display header overview. The Base Quantity maintained as 1000 EA3. The SUBITEM maintained in G in the unit field in bill of material display.
    Accordingly i have checked the same for material master's additionl data in Units of Measure tab, it is mentioned the basic unit as 1000 EA3 and alternative unit as 600 G.
    My client processed the order for 100 QTY. The QTY for the two sub item is 99.601 each in the sale order.
    My client Question is why in delivery the Material Qty is coming as 99.730 and the SUB ITEM is coming as 99.330 EACH.
    Note:- The material X is maintained in EA3 in Bill of material header overview. I do no how the sale unit came as G for the Material in sale order.
    The other two sub item is perfectly coming as G. Because it is maintained in G in the Bill of Material Display.
    Guide me GURUS.
    Thanks and Regards,
    ANAND

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • Logic to fetch delivered and invoiced Qty using sales order and line no

    Hi Experts,
    I am creating a Sales Order report in which I need to Fetch the delivered Quantity and Invoiced Quantity fields.
    I am currently going to VBFA table and pass SO and line item number and fetch all data. Then I perform addition/ subtraction to remove cancelled quantities. this is making the logic complicated.
    Is there any standard Function module/ or table or BAPI which can fetch the Delivered and Invoiced quantities directly?
    Regards,
    Onkar B

    Hi,
    First pass the sales order number into "VBFA" table into the field "VBELV".
    Execute or Press F8.
    Get the document number of the delivery from "VBELN".
    Pass the same delivery document numebr into "LIPS" table into the field "VBELN".
    Execute.
    Get the value of the delivery quantity from the field "LFIMG" in this table.
    Next got the table "VBFA".
    Pass the delivery document number into the field "VBELV".
    Execute or Press F8.
    Get the document number of the billing document from "VBELN".
    Pass the same billing document numebr into "VBRP" table into the field "VBELN".
    Execute.
    Get the value of the invoiced quantity from the field "FKIMG" in this table.
    Like this we have to get the delivery and invoice quantities.
    Regards,
    Krishna.

  • Sales Invoice Linked from Sales Order

    Hello Experts!!
    I want to restrict users to enter Sales Invoice Directly. We are using Sales Order But Every One Can Post Invoice Directly.
    Please Guide how to restrict them
    Thanks,
    Vikram

    Hi Vikram,
    You can restrict Sales Invoice by Putting Transaction Notification.
    Please check below Two Transaction Notification. One Transaction Notification for Sales Invoice must be Copied from Sales Order and Second Transaction Notification for Authorized User Can Create Sales Invoice.
    -----------NO STAND ALONE A/R INVOICE MUST BE CREATED IN SYSTEM
    IF @transaction_type IN ('A','U') AND @object_type = '13'and @error = 0
    BEGIN
    IF EXISTS (SELECT T0.DocEntry  FROM OINV T0 
    INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry]
    WHERE T1.[BaseEntry] <> 17
    AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @Error = 10, @error_message = 'BK - A/R Invoice Document Must be Copied From Sales Order'
    END
    END
    Above Transaction Notification will Block Creation of Sales Invoice if that Invoice is not Created by Sales Order.
    -----------A/R INVOICE MUST BE CREATED BY AUTHORIZED PERSON
    IF @transaction_type IN ('A','U') AND @object_type = '13'and @error = 0
    BEGIN
    IF EXISTS (SELECT T0.DocEntry  FROM OINV T0 
    INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN OUSR T2 ON T0.[UserSign] = T2.[USERID]
    WHERE T0.[UserSign] IN ('1','2')
    AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @Error = 11, @error_message = 'BK - You are not Authorized Person to Create A/R Invoice Document'
    END
    END
    Second Transaction Notification is for Authorized Person can Create Sales Invoice So in User Sign Please Put User Sign of those Users who are not Authorized to Create Sales Invoice.
    Hope this helps
    Regards:::::
    Atul Chakraborty

  • Invoice output from Sales Order for Point of Sales system

    Dear all,
    How can we print Invoice by saving a sales Order.
    As per our business process at our cash register (POS) we are creating Sales Order.
    Once we save the sales order, an output has to be printed to give customer.
    Now we need to use Invoice smart for Sales Order. How could we use Invoice smart forms for Sales Order?
    Please help me to resolve this issue; your help will be highly appreciated.
    Thank you,

    Hi Ines
    To achive this you will need to take the help of your ABAPer. He/She will write the logic in the program assigned to the processing routine in V/30.
    I hope this helps.

  • Header text is different from Sales order to dElivery

    Hi all,
    Can you please help me regarding this?
    I have created a delivery with different sold-to and ship-to.  And then, I entered the text manually.  But when created a delivery, different text appears.  How can this be?
    I have checked the determination, it seems behaving ok but why it has gotten a different text.  I have checked the sales text of the ship-to party, it has no text maintained.
    Please help.

    Hello Rumar
    I guess you entered the text manually in the sales order. The Ship-to may not be having any text, but the Sold-to may be and it may be coming from sold to.
    In transaction VOTXN, check the access sequence for the text type id and see which one takes precedence - one from customer master or from the order by checking the order of accesses.

  • Material qty different from Sales Order to Invoice ex. qty 1 to qty 5

    Dear, Gurus
    I have 2 material types 98% are trading goods and 2%Service Material When I create invoice document with this order reference trading good materials are copying without a problem except the service material it is coming as qty 5 with the price of 5qty It needs to be 1 to 1.
    In trading goods material I am reference WBS element.
    In service material no reference to WBS element.
    In copy control item cat of sales to billing for service item find below details.
    TAD
    Copying requirements   002  Item/order-related
    Data VBRK/VBRP         003  Single invoice (This I had changed because without it I was getting invoice split with trading goods)
    Billing quantity     A
    Pos./neg. quantity   +
    Pricing type         G
    PricingExchRate type
    Price source
    Edited by: Muhammad Ali Lozada on Dec 30, 2010 2:02 PM

    I closed this issue by having the 003 invoice split and just creating a new Sales Order after this configuration was made. As oppose to working with already made sales order(old).

  • Add DeliveyNotes and Invoice based on Sales Order

    i can manage to do it but..the Sales Order is not closed..why?
    when i try to do it manual, when it make Delivery..the respective Sales Order is Closed..
    below some of my code
    For Each FirstScanRow As DataRow In _oDataset.Tables(FIRSTSCAN_TABLE).Rows
                With oDeliveryNotes
                    Select Case iBasedDoc
                        Case 0
                            iBasedDoc = FirstScanRow("DocNum")
                        Case Is = CInt(FirstScanRow("DocNum"))
                            .Lines.Add()
                            isAddedHeader = False
                    End Select
                    ' make an Invoice and Sales Delivery Order
                    If isAddedHeader Then
                        .DocDate = Today.Date
                        .DocDueDate = Today.Date
                        .TaxDate = Today.Date
                        .CardCode = FirstScanRow("CardCode")
                    End If
                    .Lines.BaseLine = i
                    .Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
                    .Lines.BaseEntry = iBasedDoc
                    '.Lines.ItemCode = FirstScanRow("ItemCode")
                    '.Lines.Quantity = FirstScanRow("Quantity")
                    '.Lines.VatGroup = "ZO"
                    If FirstScanRow("IsUseBatch") Then
                        ' Add Batch
                        For x = 0 To FirstScanRow("Quantity") - 1
                            .Lines.BatchNumbers.BatchNumber = FirstScanRow("Scanned")
                            .Lines.BatchNumbers.Quantity = 1
                            .Lines.BatchNumbers.SetCurrentLine(x)
                            If x < FirstScanRow("Quantity") - 1 Then .Lines.BatchNumbers.Add()
                        Next
                    Else
                        ' Add Serial
                        For x = 0 To FirstScanRow("Quantity") - 1
                            .Lines.SerialNumbers.SystemSerialNumber = FirstScanRow("SysSerial")
                            .Lines.SerialNumbers.InternalSerialNumber = FirstScanRow("Scanned")
                            .Lines.SerialNumbers.SetCurrentLine(x)
                            If x < FirstScanRow("Quantity") - 1 Then .Lines.SerialNumbers.Add()
                        Next
                    End If
                End With
                i = i + 1
            Next
    any insight?
    thanks,
    erick
    Edited by: Erick Widya on May 13, 2008 10:52 AM

    Not sure if this will help or not, however some things I have in similar code that does appear to close the order are:
    1. Set the Reference1 field in the "header" to the order the delivery is based on
                            delivery.Reference1 = salesOrderDocumentId.ToString();
    2. I had to add all the additional expenses to the delivery too - you may not have any, so this may be mute.
    Robin

  • Function module for Delivery and billing based on sales order

    Hi Friends
    I am developing an object which has to create the sales order, delivery for that sales order and billing for it at the same time.
    I have tried for few function modules to create the delivery and billing but I am not able to achieve.
    Would you please help me by providing the correct function modules for these 2 activities?
    Thanks
    Praveen

    Hi Nikhil
    Thanks for reply,
    i am creating the sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT1" only, but the billing document bapi
    "BAPI_BILLINGDOC_CREATE" is for online creation, it will call the t-code 'VF01'.
    I need to create the billing document with out calling the t-code like using bapi for sales order. Please suggest me if there are function modules to achieve this.
    Thanks
    Praveen

  • INVOICE NUMBER FROM SALES ORDER

    HI ALL,
    HOW DO WE GET THE INVOICE NUMBER OF A MATERIAL FROM A SALESORDER.
    REGRADS,
    NANI

    Hi,
      The relationship is as follows..
      VBAP-VBELN = VBRP-AUBEL.
      VBAP-POSNR = VBRP-AUPOS.
      SELECT SINGLE * FROM VBRP
             WHERE AUBEL = VBAP-VBELN
             AND   AUPOS = VBAP-POSNR.
      IF SY-SUBRC = 0.
        WRITE: / 'BILLING DOC.', VBRP-VBELN.
      ENDIF.
    Thanks,
    Naren

  • Blockin of Delivery and Invoice

    Hi Guys,
    If a vendor is blocked for some reason thru FD32, can we restrict SOs, which have been created earlier by him, for delivery and billing?
    Warm Regards,
    Mohandoss P.

    Hi Erik Hoven,
    Let me explain the scenario, A customer can't create a sales order if i suppose block that customer,lets consider CGK20S000,through FD32 on 15th March'09. He is no more allowed to system to create a documents now onwards.
    Fine then, the system allows him to create a delivery and invoice for the sales orders which have been created by him on prior to 15 March 09. Our requirement is, he should not be no more allowed to create any documents.
    Will it be achieved through any exits?
    Warm Regards,
    Mohandoss P.

  • Creation of Automatic delivery and invoice..

    Hi Team,
    Can you guys please tell me the configuration steps of automatic delivery and invoice creation.
    Actually I want to create the delivery and invoice as soon as order get saved.
    I will be highly oblige if you kindly revert me back
    regards,
    jeetsap

    Dear Prasanna,
    In vl23, you will not be able to make changes in the STANDARD VARIANTS.
    You can create your own variant by (SHIFT + F7).
    Give a variant name ' TEST' and click create.
    Now you can give the selection parameters
    Click on attributes
    So you will reach a variant screen, where you have to give  a 'meaning name'...like variant for TEST
    You can see fields .
    Imagine that initially you had given 1100 in the sales organisation.
    Now if we do not want that value to be changed, then use protect field.
    If that field need not be displayed, the choose hide field.
    Usually, these two will be used, if we are going for background processing.
    SAVE and you can see a new variant in VL23 now.
    Thanks & Regards,
    Hegal K Charles
    Edited by: Hegal . K . Charles on Jul 18, 2011 11:48 AM

  • Texts to send to delivery team from sales order

    Hi Gurus,
    We have a requirement here to send delivery or packing instructions from sales order. we want to send those instructions in advance to delivery team as soon as we save the sales order. it should trigger as an e-mail message to a delivery team stating that material X needs packing material Y, and Material Y need to be ordered so that they can get ample of time to arrange the Material Y before material X is available to be despatched.
    Please give me some suggestions to configure this in SAP.
    Thanks in advance.
    Regards,
    Nathan.

    Hi jones
    Its a simple solution, First of all create text in your sales order say ZDEL type. While saving your sales order enter the requirement need to send to del. team.
    2) define one new output type (through output determination) and assign that to your sales order type.
    3) Create a Z table which will maintain sales Area, plant for delivery team along with e-mail id. Or make fields as per yiur requiremnt.
    Give the requirement to your ABAP team such that when we save the sales order that output should trigger with text present in sales order againt text id ZDEL to the email id prsent in Z table.
    try and revert
    NOTE: I hope you know output determination and text determination

  • Update new material master weight and dimension in open sales orders and de

    Hi,
    Iu2019m maintaining gross weight, net weight, volume in material master. When the time of sales order entry in VA01 its calculating weight and dimensions based on material master and order quantity. And I create deliveries in VL01N.
    If I made a correction in the net and gross weight in material master after I created the sales order will the correct net and gross weight will pick up at the delivery creation.
    In other term is the VL01N net and gross weight is taking from which is available in SO or Material master.
    Is there any standard transaction to update already existing open sales order, delivery net and gross weight once it is corrected in material master?
    Please advice.
    Sam

    Is there any standard transaction to update
    No it is not possible to update the weight in existing sale order or delivery.  You have to change it manually or create a new sale order.   Weight in delivery will be fetched from sale order only and hence,  whatever delivery you create referencing a sale order, system will copy whatever is there.
    thanks
    G. Lakshmipathi

  • Delivery and Invoice Numbering range

    Hi Friends
    Delivery and Invoice Numbering range Plant Wise.
    1. I have one Company Code Many Plant. Whenever i am creating the Delivery and Invoice, i should want different Numbering range of Delivery Number and Invoice Numbers. So that i can understand that these invoice raised from particular plants
    Regards,
    Udhay

    HI
    To achieve this you have to for Development using Userexits in MV50AFZZ and RV60AFZZ respectively for Delivery and Billing.
    Create a ZTales and maintain the list of Plants and the corresponding Number ranges.
    Then the system takes the  Number corresponding to that plant in the document under creation, from the list in Ztable.
    Thanks,
    Ravi

Maybe you are looking for