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

Similar Messages

  • How to get vendor and company code based on logistic invoice document

    how to get vendor and company code based on logistic invoice document in abap/4?

    Hello Kumar
    When you call BAPI_INCOMINGINVOICE_GETDETAIL using
    INVOICENUMBER = <number of invoice>
    FISCALYEAR = <fiscal year>
    the returned HEADERDATA contains what you are looking for:
    HEADERDATA-COMP_CODE
    HEADERDATA-DIFF_INF
    Regards
      Uwe

  • FROM WHICH TABLE I CAN FIND  GL ACCOUNT NUMBER AND COMPANY CODE OF A PARTI

    FROM WHICH TABLE I CAN FIND  GL ACCOUNT NUMBER AND COMPANY CODE OF A PARTICULAR CUSTOMER?..I AM TRYING TO POST AN IDOC ..SO DATA HAS TO BE PROPER.JUST TELL THE SOLUTION

    Hi rendeep,
    1. LFB1
       this is the required table.
    2. field is AKONT
    3. The account number can be different
       for different companies.,
       hence it depnds upon combination of
       LIFNR
       BUKRS
    regards,
    amit m.

  • Database table/FM to find relation between plant and company code in SRM

    Hi,
    I have a requirement where I need to determine the relation between the plant and company code in SRM.
    The plant and company code both belong to R/3. We are replicating the plant by using the report BBP_LOCATIONS_GET_ALL.
    This plant is now available as a BP in SRM. But from which SRM table or using which SRM FM can I get the relation between this and the company code?
    Thanks,
    Srivatsan

    Hi
    <b>Check table BBP_LOCMAP. (Plants) -  Manage Table Business Partner   > System   > Location
    BBP_COMPCODE_FAV               User-Specific Favorites for Permitted Company code.</b>
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Bapi_Acc_Document_Post - E 018 : Invalid tax code and company code combination

    Hi All,
    I need the help of this forum once again.
    I am using bapi Bapi_Acc_Document_Post to create KR documents in SAP. The bapi works absolutely fine except for one scenario:
    For a particular type of invoice coded to Company "XXXX" with lines having tax code "I0", the bapi returns error message "E 018 : Invalid tax code and company code combination". The tax code "I0" and the company code "XXXX" has been mapped in SAP and if I try to create the invoice manually in SAP using the GUI, the invoice gets created without any issue.
    I have tried searching the forum but could not find any post on this topic.
    Therefore, requesting the masters to please help me out on this.
    Best Regards
    Sutirtha Roy

    Hi Gowthami,
    how have you solved your problem, because I am facing the similiar issue and trying desperately to post the following combination with BAPI_ACC_POST_DOCUMENT:
    001 40       490100     Aufw. aus Marge PP              R2                 15,92
    002 31       10000003   Kreditor                                R2                 15,92-
    003 50       175060     Abzugsverfahren USt            R2                  3,18-
    004 40       154060     Abzugsverfahren Vst             R2                  3,18
    THANX!
    Regards
    Marko

  • Email ID and Swift code through Vendor Mass  MAintenance XK99

    Dear experts, is there a way to mass update Vendor email lD and swift code through XK99?
    I found all other fields, but not these two. What could be the work around if not possible through XK99?
    Thank you and Warm regards,
    Sumit.

    It's not possible to update thro XK99.
    You need to run a BDC to update this data frm relevant tables. eg: LFB1 table you get one unique ID( Personal No.) for each vendor. This you input in relevant Address table (say ADRC) to update the Address
    Umakanth

  • 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?

  • Upload of chart of accounts at coa and company code level

    dear all
    can you tell me how it is best to upload a new chart of accounts both as a chart of accounts level and company code. i am planning to use lsmw but shoud i upload chart of accounts first then company code level?
    with many thanks
    Peter

    Hello Peter,
    If you have single company code then create one LSMW for transaction "FS00" it upload the COA both at company code and COA level. If you have morethan one company code and you want to upload same COA to both company codes then better first COA level with FSP0 then company code level with FSS0 because here you can extend the required GL's from COA to COmpany code.
    Regards
    Swapna

  • Table that gives the relation between plant and company code

    Hi gurus,
    I actually have plant number and using this plant value i need to get the company code.
    Is there any table that gives the relation between plant and company code. So,that i can get the company code details.
    Thanks in advance.

    Hi Bhanuphani,
    Use  T001K  where BWKEY is the plant
    Reward if useful
    Thanks Arjun

  • Valuation at plant level and company code level

    Hi,
    Can someone explain me the difference between the valuation at plant level and company code level with a real world example?
    Regards,
    Malsha Kalubowila

    Hi,
    Inventory can be valuated at two levels either at company code level or at plant level. If you select valuation at company code level, all materials across all the plants will have same material price since valuation is at only company code level.
    Say for example Company code 1000 is buying a material which unit price is Rs. 10 from a vendor who supplies to two different plant A & B of company code 1000.  Assume Plant A is situated near vendor premises itself (so freight cost is Re 1 extra)  whereas plant B is situated at far away from vendor place (so freight cost rs 2 extra) and both cases freight cost is borne by the company and not by vendor.
    Assuming you have selected valuation at plant level, now in plant A same material will be valauted at Rs. 11 (10 +1) whereas at plant B it is valuated at Rs. 12 (10+2).
    Whereas if you have selected valuation at company code level, price will not be valuated at plant level rather at company code level which will get updated at moving average price in this case.
    So it is always best practice to select valuation at plant level rather than at company code level.
    Reg
    Karthikeyan G

  • Purchasing Organization to Company code relationship question

    My client is running EEC 6.0 in production.  When the original configuration was done, the purchasing organization was incorrectly assigned to the company code (table V_T024E_Assign; menu path: IMG > Enterprise Structure > Assignment > Materials Management > Assign Purchasing Organization to company code).  This should have been left blank since we wanted the purchasing organization to serve multiple company codes.  I know that I can blank out the company code and assign each plant ( e.g.  plants for company code 1 and plants for company code 2) to the purchasing organization.
    The question that I have is:  What impact would this change have on any of the existing purchasing related transactions currently in the system (e.g. purchase orders, invoices, receipts, issues)?  Would it cause any problems?
    Any assistance is answer this would be appreciated.  If you need more information, please let me know.
    Greg Brown
    FI/CO consultant

    (1) You can assign a purchasing organization to one company code. This is company-specific purchasing.
    (2) You can assign a purchasing organization to no company code but to plants.
    This purchasing organization can then procure for all plants assigned to it, irrespective of the company code to which the plant belongs.
    Since each plant must be assigned to a company code, the company code can be determined via the plant in each procurement transaction, even if the procuring purchasing organization is not assigned to a company code.
    A purchasing organization must be assigned to one or more plants. This is plant-specific purchasing.
    When you will delete the realtion of P.Org and Company code. It will shift to the second situation where P.Org is assigned to Plant and since Plants are assigned to company code so it will refer to the respective company code.
    Thanks,
    Birender Agnihotri

  • Need a output based on document no and company code

    Hello All,
    I am new to BI and appreciate your cooperation
    I have a requirement where in I need a total count based on Document no and company code in the Report where in a document no can exist in multiple company code
    Say for eg
    Doc No CompanyCode
    123456          1000
    123456          2000   
    222222          2000
    333333          2000    
    Now I need the count based on document no and company code in the report. Kindly advice
    Thank you
    Poonam

    Hi Poonam,
    I don't know if this is possible in Query Designer level..
    Here is my suggestion:
    1. Create a new infoobject that will be used for the combined Doc No and Comp Code
    2. In transformation level, create a field routine that will CONCATENATE the Doc No and Comp Code in the infoobject you have created in STEP 1
    3. In Query Designer, make a FORMULA VARIABLE and choose REPLACEMENT PATH (select the infoobject you have created in STEP 1)
    4. In replacement path tab, choose INFOOBJECT, then ATTRIBUTE, and select CONSTANT 1 (forgot the exact name but there is constant 1 something in the selection)
    5. Create a global CKF with this formula (FORMULA VARIABLE * 1), this is necessary because sometimes the FV doesn't work without doing this
    6. Use the global CKF in your keyfigure structure, it will show the number of UNIQUE combination of Doc No and Comp Code
    Regards,
    Loed

  • Company and company code

    Hi friends
      Can any one tell me the usefullness and functionalities of a company and company code.
    Regards
    Balu

    hi,
    <b>company & company code:</b>
    The smallest organizational unit for which individual financial statements can be drawn up according to the relevant commercial law.
    A company can consist of one or more company codes.
    All company codes within a company must use the same transaction chart of accounts and the same fiscal year
    breakdown. The company code currencies can be different.
    A company has one local currency in which its transaction figures are recorded.
    company code is highest level of organisation unit in FICO
    regards,
    Arun prasad
    Message was edited by:
            arun prasad

  • PLant and Company Code

    Hi experts
    In which Table can I get Both Plant and Company Codes.
    Message was edited by:
            Kapil

    Hi,
      Use VBAK and VBAP and u can use MSEG
    Regards,
    Prashant
    Message was edited by:
            Prashant Patil

  • Client level setting and company code level setting

    Hi Friends,
    Can you tell me the client level settings and company code level settings in Configuration and master data?
    Ex : Material type configuration - client level
    Thanks in advance
    Rgds
    Madhavan

    Dear,
    For complete detailed information about SAP MM configuration, you can find on first thread or self exploration through net search.
    Please have a look at: http://help.sap.com/SAPHelp_46c/helpdata/EN/e0/71369adc56d11195100060b03c6b76/frameset.htm
    Regards,
    Syed Hussain.

Maybe you are looking for