INVOIC01 change tax code

HI,
I want to change TAX code in INVOIC01 basic type in E1EDK04 segment. I use user exit EXIT_SAPLMRMH_012 in debug mode.
But change tax code is not refleted in IDOC segment.
Please help

Well,
Is this an inbound scenario or an outbound scenario, if it is outbound then use the exit - EXIT_SAPLVEDF_002.
If it is inbound, then the data will not be reflected in the new IDOC that is created while testing with WE19, you will have to look at the corresponding inbound document for that.
If the above info isn't of much help, provide as much info as you can about your scenario.
Regards,
Chen

Similar Messages

  • Change tax code for Inbound invoice Idoc

    Hi all,
    My requirement is to change the TAX code in INVOIC01 for inbound idoc ,Basic type in E1EDK04 segment.
    I am using exit EXIT_SAPLMRMH_012 .
    But change tax code is not refleted in IDOC segment.
    Even i put E_CHANGE = 'X'.
    Please any one who have donne this before help me its urgent.

    I got the answer. Actually I should be marking this item as Excise item in Item master which i missed out.
    Thanks.

  • How to change tax code while processing sales order dynamically

    Hi
         we need to change the tax condition value whenever Value inclusive tax more than 5250  then it has to capture different tax code ( 12.5 percent ) else it should capture existing tax code ( 5 percent ), is there any user exits or can we do through configuration
    Regards,
    Sekhar.K

    Hi,
    Please change the Tax code in Purchase order instead in Invoice.
    There  is a facility available in Purchase order  for mass change of any field at PO level.
    Entere the Tax code V0 and keep the cursor in Tax code field , then select Fast Change icon besides Copy item Icon above, you will get New values, enter V0 here and then select the radio button all items below and execute it, you will find all your line items will be having V0 tax code.
    This is a best practise to change Tax code at PO level.
    AMIT

  • Need to change Tax code in po but GR and IR also completed

    Hi Gurus,
                I have one issue in the po, the line item "xxxxxxx" in the PO It shall be 36 instead of 39.but it is GR and IR also completed,now we need to change the Tax code,for this we need to cancel IR and GR or without cancel GR, IR also we can change Tax code,please guide me.,but  i am thinking this below mentioned steps to maintain for change the Tax code.
    (1) cancel IR
    (2) Cancel GR for line item  "xxxxxxx"
    (3) Change tax code for line item "xxxxxx" from 39 into 36
    (4) Re-post GR for line item "xxxxxx".
    (5)Re-Post invoice for line item  "xxxxxx"
    These steps are required to change the Tax code in the po or not
    please guide me,
    Thanks for your reply.
    Regards
    SAP MM

    Hi,
    If the Tax amount is merged to the expense/revenue account as per the Tax configuration.
    Then if the tax code is V1 --Tax amount is 100 Rs
    The system will post that amount to material account and same will be GR/IR.
    When you do the MIRO the GR/IR will match & vendor account will update.
    If the Tax amount is posted to seperate a/c then tax amount will not merge to material account so at GR tax amount has no reflection but in MIRO system will post the tax to seperate G/L account and vendor is updated with Material Price + Tax amount, GR/IR will be same as MIGO .
    hope you understand.
    rgds
    Chidanand

  • Cannot change Tax Code from the referenced sales order line

    hi,
    Has anyone ever got this error when creating Sales Order(SO): "*cannot change Tax Code from the referenced sales order line*"?
    The error occur with order type Return.
    This SO is created by copying from another SO.
    Please help.
    Regards & thanks,
    eRie

    hi,
    Has anyone ever got this error when creating Sales Order(SO): "*cannot change Tax Code from the referenced sales order line*"?
    The error occur with order type Return.
    This SO is created by copying from another SO.
    Please help.
    Regards & thanks,
    eRie

  • Changing Tax Code in Sales Order

    Hi All,
    I've a requirement to change the tax code of MWST CT from normal value XX to a new tax code in sales order for few excpetion cases.
    For normal cases the tax code will always be XX for MWST CT in the sales order. However for very specific business need the tax code for the existing sales order needs to be changed to a new value. The need for changing the tax code always arise after creating the sales order.
    Kindly suggest the possible ways to meet this requirement.
    Regards,
    Ashish

    Changing the tax code in the sales order is not std sp procedure and I don;t think sp allow tampering with it either.
    The taxes are based on the combination for customer and material and I suggest that you maintain all tax codes at the material and customer level for all combinations possible and each customer is alloted one unique one.
    What are the possible reason why tax changes. It can only be the delivery address is changed. If the material iself changes then you may have to modify the sales order itself but if there is a change in the ship to party then....
    Now if the shipto party changes then you can always redetermine taxes in billing where the actual taxes will be redetermined based on the new conditions.
    If you see the tax line item in the sales order you will see that it is greyed out.
    You can change the excise duty but not taxes.
    This is the default where the condition type is prohibited from changing manually. But if you change the setting to Free or manual then you can change the value of tax bu the tax code will be as determined by the combination of material and shipto.
    regds
    Jude
    Edited by: jude xavier on Sep 7, 2008 8:23 PM
    Edited by: jude xavier on Sep 7, 2008 8:24 PM

  • Change Tax code in sales order

    Hello Friends,
    We have a requirement for the tax code determination - There are two way determination of tax code in sales order
    -> From the tax condtion records
    -> From manual input of tax code in the sales order
    Could you please advice on how we can insert manually the tax code since the standard SAP not supports the requirement.  For your information, business case not supports to maintain condition recors for those tax codes to insert manually.
    Please advice
    Best Regards,
    Goutham

    Hi,
    During sales order creation, the tax classification from the customer master is proposed in the sales order document.
    In condition record, you maintain the tax code for this tax classification along with some other field combinations. Accordingly, teh percentage linked to the tax code will be decided as teh % of tax for the customer. This is the logic.
    If you want to change the tax code in the sales order, it is not possible. However if you really want to change it, you can achieve it by changing the tax classification of the customer in the sales order header. This is available in the billing tab of order header. The field is "Alternate tax classification". You can change the desired tax classification here. Correspondingly by linking the tax code to this tax classification in VK11, you should be able to change the applicable tax code in the sales order.
    In summary, you should change the tax classification in order to change the tax code which is linked to it.

  • Want to change Tax Code Rate

    Hi
    <b>Using SRM 5.0 Ext Class Scenario. Tax calculation occurs in R/3.</b> I want to change the Tax rate.
    As I am creating SC & PO in EBP. I use TAX CODE. Now I want to change the tax rate of Ecess from 2% to 3%. Can u please tell me whether I can change the same in EBP or I have to replicate it from R/3.
    Thanks in advance
    Vinod

    Hi,
    Did you try implementing BADI BBP_DET_TAXCODE_BADI?
    I hope this help you
    Thx

  • Cannot change Tax Code of A/R Invoice line

    Hello,
    I had this small problem where i cannot change the tax code of A/R invoice line.
    ARInvoice.Lines.TaxCode = "O1";
    But after i added the invoice, it seems that SAP still used the default TaxCode which is X1. Am i missing something? I've been stuck in this problem for over two weeks now.
    Thank you, any help will be appreciated.

    Here is my SAP Settings.
    G/L Account Determination
       Sales - Tax
              Sales Tax Group (Service) = Exempt Output
    Business Partner Master Data
       Accounting - Tax
              Tax Status = Liable
    And here is my code snippet for creating and adding of A/R Invoice :
    SAPbobsCOM.Documents _oARInvoice = (SAPbobsCOM.Documents)this.COMPANY.GetBusinessObject(BoObjectTypes.oInvoices);
                _oARInvoice.CardCode = pCustomerId;
                _oARInvoice.HandWritten = BoYesNoEnum.tNO;
                _oARInvoice.DocDate = pPostingDate;
                _oARInvoice.DocDueDate = pPostingDate;
    double _total = 0;
                if (pInvoiceType == SAPVariables.INVOICETYPE.SERVICE)
                    _oARInvoice.DocType = BoDocumentTypes.dDocument_Service;
                    for (int i = 0; i < pARInvoice.Rows.Count; i++)
                        if (i > 0) _oARInvoice.Lines.Add();
                        _oARInvoice.Lines.SetCurrentLine(i);
                        _oARInvoice.Lines.ItemDescription = pARInvoice.Rows<i>["SERVICEDESCRIPTION"].ToString();
                        _oARInvoice.Lines.AccountCode = pARInvoice.Rows<i>["GLACCOUNT"].ToString();
                        double _discountPercent = 0;
                        double.TryParse(pARInvoice.Rows<i>["DISCOUNTPERCENT"].ToString(), out _discountPercent);
                        _oARInvoice.Lines.DiscountPercent = _discountPercent;                   
                        double _lineTotal = 0;
                        double.TryParse(pARInvoice.Rows<i>["AMOUNT"].ToString(), out _lineTotal);
                       // This part here, does not reflect in SAP
                        if (_lineTotal >= 2500000)
                            _oARInvoice.Lines.TaxCode = "O1";
                        else
                            _oARInvoice.Lines.TaxCode = "X0";
                        _oARInvoice.Lines.PriceAfterVAT = _lineTotal;                   
                        _total += _lineTotal;
    else
                    this.ERRORMESSAGE = "Invalid Invoice Type.";
                    throw new Exception("Invalid Invoice Type.");
                _oARInvoice.DocTotal = _total;
                _oARInvoice.Comments = pComments;
                this.LASTINSERTINVOICEID = "";
                this.RETURNCODE = _oARInvoice.Add();
                if (this.RETURNCODE != 0)
                    int _tempErrorCode = 0;
                    string _tempErrorString = "";
                    this.COMPANY.GetLastError(out _tempErrorCode, out _tempErrorString);
                    this.ERRORCODE = _tempErrorCode;
                    this.ERRORMESSAGE = _tempErrorString;
                    _result = false;
                else
                    this.RECORDSET = (SAPbobsCOM.Recordset)this.COMPANY.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                    this.RECORDSET.DoQuery("SELECT MAX(DocEntry) FROM OINV");
                    this.LASTINSERTINVOICEID = this.RECORDSET.Fields.Item(0).Value.ToString();
                    _result = true;

  • How to change tax code on multiple items in MIRO?

    Hi all,
    I'm entering an invoice using MIRO. The purchase order contains a lot of items for which the tax code is not correct.
    I would like to know if there is a way to change the tax code of each item using a mass change function.
    If it's not possible in MIRO, is there a way to make the mass change at the purchase order level?
    Thank you!

    Hi,
    If that Error will arise maintain the Tax code tab firstly then tick the Calculate tax button.
    Ex. As per multiple items tax code problem will arise come back and redo the miro then firstly enter the tax code before the PO number it will update for all the line items.
    Regards,
    Kanike

  • Change Tax Code after Partial Delivery for Sales Order

    Dear all,
    The government in my country has changed the GST (Goods & Services Tax) in my country from 5% to 7%. In my system I have created a new 7% Tax Code and assigned it to Condition Type MWST with a new validity date.
    For newly created Sales Order, my pricing procedure gets the correct 7% Tax Code for MWST based on Pricing Date that is later than the validity date I've set.
    However, my problem lies with partially delivered/invoiced Sales Order when updating of prices are not allowed. One possibility I can think of is to allow Condition MWST to be maintained manually and change it during Billing process. But I'm looking for a solution without change the Configuration if possible.
    Can anyone propose a good solution to my problem?
    Thank you.
    Regards,
    Wen Ho

    Hi
    May be you can solve it this way without changing configuration.
    Please take a look at item fields pricing date (sales a tab), service rendered (billing tab - special for taxes). Both fields influences prices and you can change them for instance if you want new tax to be considered you can put an updated date.
    If it does not change prices goto Conditions tab and press the update button (option G copy prices and redetermine taxes could be the appropiatte).
    As a suggestion please test carefully the scenario (taxes are involved) before making any change in Production documents).
    I believe it will work fine. Please rewards points if usefull.
    Best regards
    Max

  • "Error in Process" for POs after changing Tax codes and Vendor address

    All,
    We are in extended classic scenario and we have 2 POs with status "Error in Process"
    PO 1:
    The PO was ordered with 3 line items, Confirmed, Inovoiced. Later our accoutnig team realized there should not be tax for one of the line item in the PO. So they created Credit memo and asked our purchasing dept. to change PO from Taxable to Tax except.
    Now the porblem is, when PO chages to tax except in SRM, it is going to "Error in Process".
    What could be the reason?
    PO 2:
    The PO have 10 line items and Confirmed, No invoice is generated.
    Now the Purchsing want to change vendor address in the PO, they changed the vendor address in the PO.
    Now the porblem is, when PO changes in SRM, it is going to "Error in Process".
    I checked the RZ20 Traansaction in SRM, both POs have same errors:
    Backend application errors "Indicator for GR-based invoice verification used not allowed"*
    We removed 'Confirm Performance of Service/Goods Receipt' tick mark for the PO in SRM under follow on documents and it is throwing error saying it must be checked.
    Did any one got this error, what i need to check for this errors?. any help?
    Thanks
    Rams

    Hi,
    Once the PO is created . Confirmation made and invoice .Tax change will not be allowed.
    First reverse the Invoice.
    Cancel the confirmation
    then change in the P.O
    Do the Confirmation and invoice it will allow
    Regards
    G.Ganesh Kumar

  • How to change tax code in sc with BAPI_SCEC_CREATE or other function

    I'm creating shoppingcarts with BAPI_SCEC_CREATE but I can't figure out how I can give a taxcode to the function or with any other function like BBP_PD_SC_UPDATE?
    anybody got a clue how to change the taxcode of a shoppingcart ?
    kind regards
    arthur

    haven't looked correctly, in BBP_PD_SC_UPDATE
    it is possible to change the tax code

  • Tax Code removed on changing the posting Date in Purchase Order

    Dear All,
    This is with reference to the Purchase Order Document tax part, the document has been defined with the approval procedure and document series followed as annual series. The document series is linked to the period indicator as I am using the monthly series for the A/R & A/P Invoice.
    Now some Purchase Order was generated in the last month i.e. 30 NOV 07 which has gone for approval. These document are approved in the current month (Dec 07) & user are trying to add the records it displays the message as "Date deviates from permissible range [Purchase Order - Posting Date]  [Message 173-11]" as the period indicator is changed to Dec 07 in document numbering.
    The problem is when user changes the document date to Dec 07 for posting; system removes the tax codes, which is available in the document. Now as this is approved document user is not able to change or renter the tax codes.
    In this situation what can be done as the same case will again happen for the next month.
    Pls. provide the solution / work around for this problem.
    Regards,
    Yogesh Jadav

    hi yogesh,
    Cancel/Close the created purchase order.
    First you should change docduedate in posting period upto december 2007/end of fiscal year,by following the below path.
    (Administration->sytem intialization-> general settings--> posting period tab)
    Create a new purchase order.
    Send it for approval,authorizer can change date as required,
    once the posting date changes,tax code get refreshed,authorizer
    need to select tax code once again.
    <b>Tax code normally get refreshed when you change posting date it's normal
    system behaviour.</b>
    After authorizer does above changes,he can approve purchase order.
    Once purchase order is approved,orginator can add it as purchase order in draft stauts.
    <b>After approval we can not do any changes in purchase order.</b>
    Hope my solution will solve the problem.
    Thanks,
    With regards,
    A.Jeyakanthan

  • Change of tax code determination

    Hello,
    I want to change tax code determination when shipping to customers, where to setup this in SAP ?
    Regards.
    Zied.

    Hi,
    Tax codes come from the Tax Condition records. The general tax condition type is MWST and when you set the condition records for this condition type, you just provide the Tax code. The sysem brings the tax percentage and GL account associated with this Tax code in to the sales document.
    Tax codes are configured in the Trnsaction Code FTXP

Maybe you are looking for