Regarding : To find a company code/country key corresponding to a shipment.

Hi experts,
My requriement is to print the form for a shipment in a mutliple countries irrespective of the Log-On langauge.
Please let me know if there is a link between Shipment No.(TKNUM) and Company Code(Bukres)/Country Key(LAND1).
For example if a logon langauge is english we should be able to trigger the form and get the ouput form printed in german/english/spanish.
Useful answers and suggestions would be rewarded.
Thanks,
Naveen Sharma

Naveen
Get Delivery order number (VBELN) from Shipment Items Table VTTP. Get Sales Org (VKORG) from LIKP using Delivery Order Number.... Get Company Code from Sales Organization from table TVKO.
Thanks
Amol Lohade

Similar Messages

  • 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 company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

  • Table to find the company code's Local currency

    Can anyone tell me which table contains data for finding a company code's local currency
    thanks

    Hi Benson,
    You can find it in View V_001_B  Table T001
    Cheers
    Shony

  • Set tax departure country as company code country and not plants country

    set tax departure country as company code country instead of plants country, where do we configure this, plz let me know

    Hi,
    Check if yours C-Codes in F110 are in same Country.
    Go to SPRO:
    Enterrprise structure - Definition - Financial Accounting - Edit, Copy, Delete, Check Company Code - Edit Company Code Data.
    Regards

  • How to find out Company code from Plant in BW

    Hi,                                                      This is probably a very basic question.                                 
    In one of my ODSs, I have 0PLANT infoobject but do not have the Company Code. I thought 0COMP_CODE should have been an attribute of 0PLANT. But it is not and I am NOT finding anyway to derive the company code from the Plant code.                              
    I guess I can change my datasource to get that value but thought the Plant-->Company Code link is one of the most basic things in SAP R/3.    
    I cannot imagine it can be missed in the Business Content design by SAP.  
    So thought I would check with you to see if my expectation is correct.    
    If not, what might have been the reason behind the exclusion of the link between Plant and Company Code from the Business Content.                                                                               
    Thanks and regards,                                                       
    Atul Kulkarni

    Hi,
    we are running RETAIL and by design:
    a plant (0PLANT ) belongs to a sales organization (0SALESORG attr of 0PLANT) which belongs to a company code (0COMP_CODE attr of 0SALESORG)
    this defines a unique comp_code for a plant.
    You can therefore put the following two fields in an internal table of a start routine
    SELECT pPLANT sCOMP_CODE
    INTO CORRESPONDING FIELDS OF TABLE lt_internal
    FROM /BI0/PPLANT p
    INNER JOIN  /BI0/PSALESORG s ON sSALESORG = pSALESORG
      AND sOBJVERS= pOBJVERS
      AND s~OBJVERS = 'A'.
    and look it up in your IObj routine.
    In R/3 that's true WERKS (T001W9 belongs to a BWKEY (T001K) which belongs to a BUKRS.
    hope that helps...

  • Tax Code Mandatory in Purchase Order for specific Company Code / Country

    We are doing Roll Outs of SAP into different countries.
    In a particular Country / Company Code we want Tax Code to be mandatory in Purchase Order without disturbing the settings for other Country / Company Code.
    Can anyone provide some idea to resolve this?
    Thanks in advance

    Hi,
    You can create a seperate document type for that country and make it mandatory in the document specific screen varient
    SPRO>MM>PUR>PO>DEFINE SCEEN LAYOUT AT DOCUMENT LEVEL>COPY NBF
    Make tax code field mandatory and assign it to new document type for that country
    Or user user exit or BADI ME_PROCESS_PO_CUST
    Thanks
    Diwakar

  • Deactivation Impact of ISO Code and Vehicle country key

    Hello All,
    We have a requirement to use the BSEG-KIDNO in accounting document line item. This field has to do some calculation by using Validation exit. This calculation works fine except for certain countries like Sweden(SE), for which some standard function module is triggering. On further research we have found that by deactivating the country specific checks( Vehicle country key and ISO code) we can deactivate the standard function module and make our validation exit work. This can be acheived by making blank for  "Vehicle Country Key" and ''ISO Codeu201D in OY01 (IMG--> General setting --> Set country --> Define country) for Sweden.
    Could you please explain what will be the impact in other areas by deactivating ISO code and Vehicle country key in OY01.
    Appreciate your reply.
    Thanks in advance.
    Prasad

    Hi Prasad,
    You should not remove them since
    ISO
    The entry is used in countries of the European Community to check the
    VAT registration number (VAT reg.no.). You can store the VAT
    registration number in the master record of a customer or vendor, or for
    the company code.
    The ISO code is used as the country key when exchanging information via
    EDI. You must therefore specify the ISO code for each country in this
    field if you use EDI.
    The ISO code also controls which additional specifications are relevant
    for a company code. You can always only enter the additional details
    which are relevant for the company code country or for all countries.
    The assignment to the country takes place via the ISO code.
    Vehicle country key
        The vehicle country code is a standard key worldwide. It does not depend
        on the country in which the SAP System is installed.
        The key is therefore used as a basis for accessing country-specific
        check routines. Furthermore, it can also be used as a supplement to the
        postal code.
        This key should be specified for all entries in the country table.
    Can you check the OY17 setting under the Further Checks Bank data check box for working Country and Sweden?
    Reg
    Vishnu

  • Regarding company code in sales order

    Hi guys,
    From where we will be getting the <b>company code</b> into the sales order? And in sales order where can we find the company code for respective sales order?
    Regards
    Venkat

    Hi,
    Company code is linked to the sales organisation  through SPRO assignment.so that's how order is linked to company code.
    Check at header level billing tab page .fiels company code to be billed.
    reward points if useful
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • VAT registration number in combination with country and company code

    Hi,
    Is there configuration where we can define the VAT registration number with combination of country and company code.
    thanx in advance

    Hi,
    Thanx for the reply.bt the issue is like we have a condition type zvat where condition table have the following fields departure country and destination country,The country of our company code is GB and we maintain a record for condition type zvat i.e GB (departure country) to GB (destination country) 17.5%.While creating a contract if vat is applicable we told user to maintain country GB in both the fieds i.e tax departure country and tax destination country in billing tab at header level of the contract .It is working fine for other company where  company code country is different then GB.But for this where company code  country is GB.An error occurs i.e.There is no vat registration number fot this comapny code XXXX for  country GB.
    Now how should i go about it?

  • Email id and company code relationship

    Hi Experts
    How to find particular email id is belongs to which country. Is any table or FM availabe to find the company code, email relation.
    Pls help

    Hi Kumar,
    I assume you must have created customer master (XD01) and added email id for this customer. If this is the case you can go to table KNB1 and get the list of customers under company code and after getting this customer you can get their email id in ADR6 table.
    Once you get the customer from KNB1 pass this customer to kna1 and get the ADRNR field from there and now
    pass this adrnr to ADDRNUMBER of ADR6 and fetch smtp_addr to get the email iD.
    Regards,
    Pawan

  • "Bill to" Customer and sales order company code

    Hi friends,
    Can you please tell me that in sales order, what is the "Bill To" customer? Is it "Sold-to party" or "Ship-to party" or something else? In which table is it stored and what is the field name?
    In which table I can find the company code related to a sales order?
    Thanks and Regards,
    Netrey

    Hi Netrey,
    Ship-to-party is nothing but to which party the material has to be shipped
    Sold-to-party is nothing but to which party the material has be sold
    Regarding Bill-to-Party, go through the below example
    If a company has a headquarters in Banglore and it has branches in Chennai, Hyderabad and Pune.
    If the people from chennai branch require some goods and they will look for a vendor and they will buy from him .
    they will ask the vendor to send the bill to their headquarters in banglore and ship the goods to their chennai location.
    for the above example
    Ship-to-Party is chennai office
    Sold-to-Party is  chennai office
    Bill-to-party is Banglore Head quarters.
    Regarding the company code, it is stored in the table VBAK and the field name is
    BUKRS_VF.
    If i am wrong please correct me.
    Regards,
    Phani.

  • Separate Company code text for GL account for Selection and reports

    I have a requirement of having separate text apart from the one in Chart of accounts level in the GL account, which would vary for every company code as these companies are existing in different countries.
    I need your suggestions as to how to achieve this.
    Anand

    Hi
    I require the text at the company code level, Key word / translation is at chart of accounts level.
    As we are implementing for multiple countries each have a different nomenclature for the same account in there country, however the required language is english only.
    Anand

  • Creation of 2 new company codes in continuation with existing compny code.

    Hi
    Our company has got 2 locations but we are using only one company code for both the locations from the last 4 years.
    Now due to expansion of business we have extended our business to one more location. So.now are planning to use 3 company codes.
    Now I want to know the following things:-
    1. What are the things that are to be done before creating these two additional company codes?
    2. What will be the impact of  these new company codes on the existing company codes?
    3. How the present reports can be used for the new company codes?
    4. How the GL balances will be uploaded for the new compny codes?
    5. How the master data will be created for the new company codes?
    6. What will be the impact of the new company codes on other modules like MM, SD and HR which are already in use?
    Please guide me on the above issue co months of experience.
    considering the fact that I am a fresher in SAP FI and I have
    only 8 months of experience.
    Regards
    Vikram sairam

    Hi Vikcy,
    Company Code is legal Entity and core component in FI.
    Now u r planning create new company codes, just check below:
    01. Chart of Accounts:
         - You may use existing chart of account for new com. code
    02. Controlling Area:
          -  Check the feasibility of cross company code controlling or not. If you maintain one:one relation in existing controlling area, u need to create new one.
    03. SD:  Core component is Sale Organization.  U need to assign them to ur Company Codes. So check accordingly.
    03. MM/ PP:  Plants and Purchasing Organization need to assign to Company Codes.
    Hope it will give you idea on a whole to plan, how u need plan to go ahead.
    Regards,
    Venkat

  • New company integration - Should or not create a new company code?

    Hi Gurus,
    my customer is acquiring a new company and the related population will be integrated in our sap payroll system.
    The FI team is now asking for the creation of a new company code (the new population should be maintained separated from the old one, with a different PMO and budject) but the HR Department does not want to manage (for several internal reasons) a new company code.
    Now the question is: is it absolutely necessary to create a new company code or is it possible to manage this situation in another way (maybe linking the new population to a new personnel area, related to an already existing company code)? And what about the posting?
    From the payroll point of view, the new population should be managed exactly as the old population. It is just a question to maintain them separated from the FI point of view.
    Do you already faced a problem like this? And which is your feedback?
    Thanks and Regards,
    Gaetano

    Creation of new company code is depending on the legal reason...if you legal department and Finance users decide that this new company is a separate legal entity and Profit & Loss will reported separate, Tax Id number is different from parent company, then all this means that this newly acquired company will need a new company code in SAP. Then comes how they want to do the costing...that may also require them to report all the salary cost to this new company code.
    Whether it is a new company code or old company code...you would required to identify these new entity as Personnel area or personnel subarea right?
    If the Tax id number is different, then it is best recommended to create a separate enterprise structure and bring the employee under the new CC/PA/PSA.
    If the tax id is same, only for costing and PnL , then you can use the existing Enterprise structure and override the costing logic using the Substitute cost center or overriding BAdI in HR-FI posting.
    Let me know your feedback

Maybe you are looking for

  • Solaris 8 on Ultra 5

    I would like to know what the mimimum hardware requirements are for installing Solaris 8 on a Ultra-5.

  • Aperture GPS locations and iPhoto 09

    I use Aperture to handle all my RAW image files that have been geotagged using Maperture with the latitude and longitude information and was hoping that iPhoto 09 would pull in that information. But after playing with iPhoto for a little while it see

  • Kindly help me how to view html file in swing using jbutton

    hello..im a begginer at j2se language and im working on my school project..kindly help me how to view html files by clicking button at javax.swing..thanks

  • Help with basic ABAP code (merge internal tables, sort of...)

    Hello, Can someone please help write some basic code for a Basis guy with limited ABAP knowledge? Should be some easy points for an experienced ABAPer! I have identicaly structured internal tables I_A and I_B and I_C which have already been filled by

  • Adapter framework

    Hi all, Is there any blog that explains about adapter framework and adapter engine. If not, can someone please briefly explain me about adapter engine and the architecture? I have read the help.sap links. But still not clear.