Default the Tax Code on a Shipment Cost Document

How do I set the tax code to default in the Shipment Cost Document under the Tax tab?  We're seeing different behavior depending on whether we're shipping from US to Canada or the other way around.  It must be configurable but I can't find it.  Please help as I've read many existing posts and can't find a resolution.
Here's what's happening:
B/L 122252 was shipped in Company 2000 from CA to US.  When I settle the cost document for these types of shipments, I have to delete the Tax Jurisdiction (US0000000) before I can complete it.  The Tax Code is also blank, when it should be I0 (Tax Exempt).
2.    B/L 122325 is in Company 1000, and is the reverse of the one above (US to Canada shipment). It has a Canadian Tax Jurisdiction with the Tax Code of I0, and it works fine. The Jurisdiction does not have to be deleted.
It seems that the issue with the Company 2000 shipments would be the Tax Code of I0 not being populated, when the shipment cost document is created.

I was able to add a record to the Condtions' table that solved half my problem.  The Tax Exempt code (I0) is now being added to the Canadian record like it is for the US record.  However, the Tax Jurisdiction field is still being populated and we want it to be blank.  Where does this field come from?    It's not in the condition record, and it's something different for the US ship cost doc than the Canadian record, so something's telling it what to put there.

Similar Messages

  • Tax code automatically to Freight costs document created thru VI01

    Dear friends,
    Could I determine tax code automatically into freight costs document when I create document in VI01 ?
    How could I do that ?
    This tax code goes to PO when PO created to pay this freight costs ?
    best regards,
    Ale

    Dear Alessandro,
    Herewith I attached the link which would help you.
    transaction codes..
    Please refer to this link. You will get better view. TQ
    rgds,
    nanthakumar

  • Is there a way to automate the tax code assignation on non PO documents lik

    I'm looking for a way to automate the tax code assignation on purchases, I'm aware of the condition techniques for POs, but I would like to understand if it can be also applied to the other document in purchases so we can have a totally automate process on tax code assignation.
    Documents like: Contracts, Info records, RFQ, Scheduling agreements, Outline Agremments

    What you need to do is to create condition tables & access sequences for condition type NAVS for purchasing documents like RFQ, Contract & Scheduling agreement. You can use the document types and document category to differentiate these. Obviously this is required only if your tax determination scenario is different between different document type, if the tax code to be determined is not linked to purchasing document type, then you only one access sequence which can have parameteris like PORG, vendor if required etc. which are common to all document types.
    Once this configuration is done, then you need to maintain condition records using transaction MEK1 and maintain the tax codes as per the combination of parameters.
    In case of Info-record, it is different as it is a master data and this automatic tax determination will not work there.

  • Error at the time of Shipment Cost Document Creation.

    Dear All,
    At the time of creation of shipment cost document I am getting the following error.Chk S Loc-VL02N/Maintain YRVX001/002.This error is coming after I have given GL Code and Cost Center.Please let me know what needs to be done to rectify the same.
    Kind Regards
    Atul

    Hi Veer,
    First Check in transaction SM59 that the connection between SAP and Vertex is working.If you are using vertex and it is properly connected, it can mean that the data you are entering  wrong data - such as the city and state do not match the zip code or is not an acceptable value. Check the US Postoffice web site to verify the data is accurate.
    Regards,
    Kitchlu

  • Automatic creation of PO from shipment cost document

    Dear Experts
    PLease let me know the settings with description to understand for the creation of PO from shipment cost document. It seems inegration with FI is also needed. Request your explanation with the settings in SPRO
    Thanks
    Ganesh

    For automatic Generation of Purchase Order
    SPRO > Logistics Execution > Transport > Shipment Costs > Shipment Cost Document > Shipment Cost Types and Item Categories > Define item Categories (T_56)
       In the Generate PO, Enter one of A, B, C.
           Do not generate purchase order
    A    Generate purchase order for validity period of 1 day
    B    Generate purchase order for validity period of 1 week
    C    Generate purchase order for validity period of 1 month
    For assigning posting in G/L Accounts
    SPRO > Logistics Execution > Transport > Shipment Costs > Shipment Cost Document > Shipment Cost Types and Item Categories > Assign shipment cost types and item categories
    Based on the item category created before, assign the valuation class.
    Assign the Valuation class to the Shipment header or leg (whichever is planned for ) and the item category you created before.
    Assigning the Shipment cost type to the shipment type
    SPRO > Logistics Execution > Transport > Shipment Costs > Shipment Cost Document > Shipment Cost Relevance and Default for Shipment Cost Type (T_57)
    Assign the Shipment cost type to the Shipment type and mark it as relevant for shipment cost.
    Checking the assignment of G/L Accounts to the Valuation Class
    SPRO > Logistics Execution > Transport > Shipment Costs > Settlement > Automatic G/L Account Determination
    Select the Account Assignment - GBB - Enter the Chart of Accounts - Check if VBR was assigned the G/L accounts for the Valuation class you specified before.

  • Service Entry sheet Creation for Shipment cost Document

    Dear All,
    While creating a shipment cost document .A service PO is getting generated in the back ground based on which a service entry sheet is created and LIV is made.But in the configuration we are mapping the Transportation planning point to Purchase organisation alone.
    Can some one let me know whether the generation of PO in the back ground for a shipment cost document in the back ground is a standard SAP feature if so can you tell me the configuration steps.
    Regards,
    K.Vivek

    Hi,
    Creation of Service PO in shipment cost document is based on the following SPRO setting or T-code.
    T code : T_56.
    SPRO > LE > Transportation > shipment cost Document > Shipment cost types and item categoires.
    Get into the details of item categoires, you can see the indicator Generate PO.
    hope this helps.
    Harish

  • 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 the system calculate the tax code in MIRO ?

    Hi
    I made PO in SAP  for material X and Entered the Tax Code I1 but When, i doing the MIRO in SAP, system automatically taking the another Tax code.Also i am trying to change the tax code in MIRO but s/m not allow to change the Tax code.
    I am not also maintained info record also.

    Hi,
    While doing MIRO the tax code will defaulted from PO for each line item , but to adjust the tax at last you should enter the tax code manually at header level in MIRO and post it.............
    In PO it will be defaulted if you maintain the tax code in Purchasing inforecord aor you should enter it manually.....

  • Change the tax code at order header level that reflect the change in all it

    Dear consultant,
    Change the tax code at order header level that reflect the change in all items lines under this order
    Facts:
    Define tax code,
    Assign it to bill & ship to customers,
    I do all setup in oracle receivable guide for defining tax
    Examples: I navigate to order management to create order
    First I select the customer and order type after that I navigate to tab line
    I enter the item in the first line the tax code coming by default
    I enter the second items line also the tax code coming by default etc three ,four, five until line 40
    Now I want to change the tax code for all items but not by enter and change it in each line? No,
    I want the way that I change Tax Code at order header after that the change is reflect in all items line
    Business Impacts:
    Suppose I create order include 40 items , I want to change the tax code that coming by default , that require me to enter in each line to change tax cod 40 times ,this not logic and not acceptable from my customer

    Hi,
    The defaulting rules apply only for the first time when you are adding new lines on to the Sales Order. Respective field vaues will be defaulted from the SO header level.
    In case, if you want to update all the 40 lines for Tax Code in one shot, then please select all the lines on the sales order, try Mass Change.
    (Navigation: Tools->Mass Change).
    Regards,
    Hemanth

  • How can i get the tax code from Condition record number

    Hi all,
    i have the Condition record number from which i have to get the tax code as i looked inthe KNOP that Condition record number there but no tax code is maintained there.
    so is there any other way to find the tax code for particular Condition record number
    Regards
    suresh

    hi suresh,
    can u tell me the field name for condition record number and in which table it is stored.
    because i knew one condition number which is stored in table EKKO and the field name is
    KNUMV- Number of the document condition.
    from ekko take relevant details and look for  ekpo where u find the tax code
    filed name of the tax code id MWSKZ- Tax on sales/purchases code

  • The tax code entered is not defined in the company code country.

    Dear sap guru's
    I am facing a problem while doing invoice or while cancelling the invoice or even during Subsequent Credit/Debit
    Tax code V0 in procedure  is invalid
       Message no. FF704
    Diagnosis
       The tax code entered is not defined in the company code country.
    System Response
    Procedure
       Check and, if necessary, correct the entry.
    Procedure for System Administration
       If it is not an input error, check and possibly change the system
       settings.
       To do this, choose Maintain entries (F5).
       1.  Check whether the required tax procedure has been allocated to the
           company code country. The Procedure field is on the detailed screen.
       2.  If you need a new tax code, you can create one yourself.
    For this i have checked the assignment of company code and tax code V0 in Tcode (OBCL)
    In FTXP the tax code is created in country IN, for the same tax procedure and the tax is a input tax.
    please suggest what could be the exact problem
    Regards
    Sujit

    Hi Sujit,
    1.Go to FTXP and create tax code V0 for country IN and procedure ZAXINN.
    2.In Txn: FV11, For the condition type- XXXX (You will get this in Txn: FTXP, against the tax type, you get the condition type OR in the PO-Item details- Invoice tab, next to field: Tax code, see the Tab-Taxes, click on it and will get the condition type) , maintain the country-IN, Tax code-V0 and the rate.
    3.Also things to be checked
    1> assign country to company code
    2> assign company code to tax code
    3> create tax code for country IN
    4.Under the following menu path, pls check if you have assigned your tax code to Company Code
    IMG>Logistics (General)>Tax on Goods Movement>India>Basic Settings>Determination of Excise Duty>Condition Based Excise Determination>Assign Tax Codes to Company Code
    Hope it clears,
    Rahul.

  • How to find out the condition type of the tax code in the PO document

    Hi friends,
    My questions is how to find out the condition type of the tax code in the PO document.
    When you use me23n to display one PO document. In the invoice tab, there is one text field named 'tax code' whose value could be T1, T2, J1, J2 and so on. Beside the text field, there is one button named taxes. When you click the button taxes, it will show you the condition type of the tax code. For example, if the tax code is 'T1', then its condition type 'mwcn'.
    I want to use the information on the PO to find out the value 'mwcn' of the tax code 'T1'. Could anybody help to describe the logic?it looks like the value is saved in the table konp. But I don't know the logic. Please describe. Thank you.

    Hi,
    Hope you have asked for select query..
    select single knumh from a003 into wa_knumh
      where mwskz = wa_itpotab-mwskz
      and kappl = 'TX'
      and aland = 'IN'.
    select single kbetr from konp into wa_kbetr
      where knumh = wa_knumh.
    cheers,
    Dep

  • Change the Tax Code-  In Sales Order i have  Tax code for VAT

    In Sales Order i have  Tax code for VAT ( Condition type JIVP) it is reflecting "P4" instead of "A4".
    Where the "P4" Tax code is picking in Sales Order.
    How to change the Tax Code.
    Urgent

    Hi CHAKRI,
                     Check if the condition record is maintained with the appropriate taxclasssification.If yes, Go to sales order in change mode,then goto-header-billing-alternate taxcalssification and modify tax classification.It will pick up right tax code.
    Regards
    Ram Pedarla

  • UDF For Retrieving the Tax Code based on PO

    Hi all,
    Mine is a file to Idoc scenario.
    I wrote a FM to retrieve the Tax Code based on PO .
    Created the udf which directly gets the Taxcode from the r/3 with out importing in to the imported objects,is this correct i never tried this before.
    Find the UDF for the Same.
    final String    CHANNEL_NAME = "GeneratedReceiverChannel_RFC",
         VALNOTFOUND = "VALUE_NOT_FOUND",
         SAPRFCNS = "urn:sap-com:document:sap:rfc:functions",
         TAG_FM = "Z_P_INT012_RFC_LOOKUP",
         TAG_TAX_CODE = "T_TAX_CODE",
         TAG_TAX_CODE_P = "TAX_CODE";
    AbstractTrace trace = container.getTrace();
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
              DocumentBuilder builder = null;
              factory.setNamespaceAware(false);
              factory.setValidating(false);
              try {
                   builder = factory.newDocumentBuilder();
              } catch (Exception e) {
                   trace.addWarning("Error creating DocumentBuilder - " + e.getMessage());
              Document docReq = null;
              try {
                   // Building up RFC Request Document
                   docReq = builder.newDocument();
                   Node root = docReq.appendChild(docReq.createElementNS(SAPRFCNS, TAG_FM));
                   Node nodeTbOpt = root.appendChild(docReq.createElement(TAG_TAX_CODE));
                   for (int i = 0; i < pernr.length; i++) {
                        Node nodeTbOptItem = nodeTbOpt.appendChild(docReq.createElement("item"));
                        nodeTbOptItem.appendChild(docReq.createElement(TAG_TAX_CODE_P)).appendChild(docReq.createTextNode(TAX_CODE<i>));
              } catch (Exception e) {
                   trace.addWarning("Error while building RFC Request  - " + e);
              trace.addInfo("RFC Request XML: " + docReq.toString());
                                                    //trace.addWarning("RFC Request XML: " + docReq.toString());
              // Lookup
              Payload load = null;
              try {
                   Channel channel = LookupService.getChannel(receiver[0], CHANNEL_NAME);
                   RfcAccessor accessor = LookupService.getRfcAccessor(channel);
                   InputStream is = new ByteArrayInputStream(docReq.toString().getBytes());
                   XmlPayload payload = LookupService.getXmlPayload(is);
                   load = accessor.call(payload);
              } catch (LookupException e) {
                   trace.addWarning("Error during lookup - " + e);
              // Parsing RFC Response Document
              Document docRsp = null;
              try {
                   docRsp = builder.parse(load.getContent());
              } catch (Exception e) {
                   trace.addWarning("Error when parsing RFC Response - " + e.getMessage());
              trace.addInfo("RFC Response XML: " + docRsp.toString());
                                                    //trace.addWarning("RFC Response XML: " + docRsp.toString());
              try {
                   NodeList res = docRsp.getElementsByTagName("item");
                   for(int i=0;i<res.getLength();i++){
                        NodeList itemNodes = res.item(i).getChildNodes();
                        Map itemMap = new HashMap();
                        for(int j=0;j<itemNodes.getLength();j++){
                             itemMap.put(itemNodes.item(j).getNodeName(), itemNodes.item(j).getFirstChild().getNodeValue());
                        rows.add(itemMap);
                                                            catch (Exception e) {
                   trace.addWarning("Result value not found in DOM - " + e);
                   result.addValue("true");
    Error:
    16:24:08 Start of test
    Source code has syntax error:  /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:598: 'class' or 'interface' expected public void TaxValues$(String[] a,String[] b,ResultList result,Container container){ ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:618: 'class' or 'interface' expected } ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:619: 'class' or 'interface' expected ^ 3 errors  Source code has syntax error:  /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:598: 'class' or 'interface' expected public void TaxValues$(String[] a,String[] b,ResultList result,Container container){ ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:618: 'class' or 'interface' expected } ^ /usr/sap/XD1/DVEBMGS30/j2ee/cluster/server0/./temp/classpath_resolver/Map283041f0edf311dd960b0003bacd2461/source/com/sap/xi/tf/_MM_INT012_INVOICE_DET_.java:619: 'class' or 'interface' expected ^ 3 errors
    16:24:11 End of test.

    Hi Potharaju,
    Why don't you try this, that really works:
    If you are using PI 7.1:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/33/1ec6ced273493a993a80c2301c03da/frameset.htm
    If you are using XI 3.0, PI 7.0
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    Try with these.
    Regards,
    Juan

  • User exit for ME21N for displaying the tax code from custom table

    Hi,
      I have a requirement, in our system, the inforecord is not maintain for all the material and vendor combination,  we have a custom table in which we have maintain the
    Compnay code, Pur. Org., Vendor code  Tax code,  juridiction code
    now we want that when a Po is created with ME21 or ME21N  the tax code and jurisdiction code should be come from this table  and if entry not found in this table then it should search as per the regular process like from last Po or info record.  then which user exit we can use for this.
    regards,
    zafar

    CLOSE

Maybe you are looking for