SRM 7.0 , Get company name based on company code

Hello friends,
Is ther any function module or table to read company name based on company code in SRM 7.0 ?
Kindly let me know your inputs.
Thanks.
Preethi.

Hi,
To find purchase group.
BBP_OM_FIND_PURCH_GRPS_BEI
To fund purchase org.
BBP_OM_FIND_PURCH_ORGS_BEI
To find company.
BBP_OM_FIND_COMPANIES
Regards,
Pedro Marques

Similar Messages

  • Dynamic display of the Company Name based on Org

    Hello All,
    I need to dynamically display the Company name based on the Org_id and the ORG is not being populated in the XML data file. How do i achieve this,please let me know.
    Thanks
    Rakesh

    Rakesh,
    It's like getting something from nothing (data template)... If you do not want to modify your report, then Vetri's option will be fine(your going to add not modify)...
    Or,. define a new Oracle report based on the seeded one then do modify...
    regards,
    Rownald

  • ISR FORM how to get Employee Name based on Login User From R3

    hi,,
    I am working on ISR Adobe Forms.In the form I have to display the Employee Name,according to the portal logged in user.I have written a Function Module which fetches the Employee Name, based on Employee Code(PERNR) .I will be viewing the form in portal, so the current logged in user's PERNR should be passed to  the BADI.How can I do this?
    Regards,
    Rheema Rahael.

    Hi Rheema,
    Write the code, in the initialisation method of the BADi, to fetch the personnel number for the respective sy-uname from the communications infotype.
    Hope this helps.
    - anto.
    Message was edited by:
            Antony John Isacc

  • FM to get open period based on company code

    Could you pls tell me the FM which can get open period based on the company code?
    right answer will be rewared for sure.
    Sujatha

    Hi,
    I m not sure. Just check this out.
    CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
        EXPORTING
          companycodeid = p_bukrs
          posting_date  = p_bedat
        IMPORTING
          fiscal_year   = gd_fiscalyr
          fiscal_period = gd_fiscalp.
    CALL FUNCTION 'DETERMINE_PERIOD'
        EXPORTING
          date                      = p_bedat
    *    PERIOD_IN                 = '000'
          version                   = gd_periv
       IMPORTING
          period                    = gd_fiscalp2
          year                      = gd_fiscalyr2
       EXCEPTIONS
          period_in_not_valid       = 1
          period_not_assigned       = 2
          version_undefined         = 3
          OTHERS                    = 4.
    check this link.
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    Regards
    Vadi
    Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 5:41 PM

  • Rename the Company Name in test company

    I did the backup then restore database from SQL Server. I noticed the test company has same Company Name only the Database Name is different from Original Database Name.  
    Can I rename the Company Name to distinguish with the Original Database now?  I get confused when I did some testing not even to users.
    Thanks,

    Not only you can, buhttps://forums.sdn.sap.com/post!reply.jspa?threadID=1175227#t also you must.  Otherwise you or other people will be confused sooner or later.  It is very easy to change company name.

  • Get time Zone based on Country code

    Hi All,
    I am looking for getting the time and date of a particular country based on country code in XI. For ex. if IN comes in payload then get IST (Date and time). Can we do that in UDF?
    Thanks & Regards,
    Venu V

    > I am looking for getting the time and date of a particular country based on country code in XI.
    How should that work? Have you thought about Russia? USA?
    Check java class Calendar and TimeZone:
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html
    http://java.sun.com/j2se/1.5.0/docs/api/java/util/TimeZone.html

  • To get address numbers based on building code

    Hi All,
    Here is my requirement.
    I need to select all address numbers from ADRC table based on building code.
    For instance, say I want all address numbers where building code = ABC.
    I can write a simple inner join query between ADRC & ADCP.
    But the problem is, the ADRC table can have multiple address numbers. Say,  for a specific Partner number & Person number, the ADRC table has following 3 entries. Lets say 3rd one is valid.
    Addr 1 = XYZ'.
    Addr2 = 'ABC'.
    Addr3 = 'MNO'.
    Now if I use that select query, it will fetch the second one, though it is the older one which is not valid anymore.
    Is there any fields in ADRC with which we can decide which is the recent valid address number?
    Kindly provide your valuable help for this scenario.

    Is there any fields in ADRC with which we can decide which is the recent valid address number?
    Would DATE_FROM and DATE_TO fields help you with validity of the address?

  • To get supplier name based on latest approved date

    hi
    in PO SUPER USER -Purchase Order Summary ,when we enter the item number in Item,rev field a new form Purchase Order Lines opens
    in this form there are many lines of PO numbers ,suppliers(vendors),approved date ,can we get the supplier name for which the approved date is most recent
    kindly guide
    thanking in advance

    hi
    in my system i can see the latest approved date wise but i have to add an inline query on the most recent vendor based on approved date to an already existing query
    meaning just the first row data(most recent supplier) should be captured in the query
    when i do the following query , i am taking an eg of the item_no 1020101001
    select msib.segment1,max(pha.approved_date) from
    po_headers_all pha,
    po_lines_all pla,
    po_vendors pv,
    mtl_system_items_b msib
    where
    pha.po_header_id = pla.po_header_id
    and pla.item_id = msib.inventory_item_id
    and pv.vendor_id=pha.vendor_id
    and msib.segment1='1020101001'
    --and pha.approved_date=max(pha.approved_date)
    group by
    --item_id.
    msib.segment1
    this is the output i get
    segment1           MAX(PHA.APPROVED_DATE)
    1020101001    1/9/2011 3:16:48 PMwhen i do the following query
    select msib.segment1,max(pha.approved_date) ,pv.vendor_name from
    po_headers_all pha,
    po_lines_all pla,
    po_vendors pv,
    mtl_system_items_b msib
    where
    pha.po_header_id = pla.po_header_id
    and pla.item_id = msib.inventory_item_id
    and pv.vendor_id=pha.vendor_id
    and msib.segment1='1020101001'
    --and pha.approved_date=max(pha.approved_date)
    group by
    --item_id.
    msib.segment1
    ,pv.vendor_name
    segment1           MAX(PHA.APPROVED_DATE)  VENDOR_NAME
    1020101001    7/21/2008 9:09:20 AM   TRIZAC  ABU DHABI
    1020101001   1/9/2011 3:16:48 PM        SAUDI CEMENT COMPANY
    1020101001   2/14/2010 4:03:46 PM     UNION CEMENT NORCEM CO.
    1020101001  5/19/2010 3:08:32 PM      AS CIMENTO SANAYI VE TICARET A.S.i require the most recent vendor_name for a particular item ( i require the output as below)
    segment1 MAX(PHA.APPROVED_DATE) VENDOR_NAME
    1020101001 1/9/2011 3:16:48 PM SAUDI CEMENT COMPANY
    kindly guide me
    thanking in advance

  • To Get Clander Id based upon company codes....

    hi all,
    i need to get the calender id based upon the company code.. is there any table for that...
    Example:  1000 for US,
                  2000 for CA(canada).
    helpfull answers will be rewarded...
    Regards,
    Murali.

    Hi guys.
    Murali, I apologize for this inconvenient (Im using your post)..but I cant make any post since today (with new sdn version)  
    pd: this is a test to check if I can post in an already created thread.

  • To get the amount based on the code

    hi all,
    i am using db10g.
    i have a query like below
    SELECT SUM(EID_AMOUNT),EID_INCR_CODE,EIH_EFF_DATE
    FROM EMPLOYEE_INC_HEADER,EMPLOYEE_INC_DETAILS
    WHERE EIH_EMP_CODE = EID_EMP_CODE
    AND EIH_EFF_DATE = EID_EFF_DATE
    AND EIH_EMP_CODE = '0026108'
    GROUP BY EID_INCR_CODE,EIH_EFF_DATE
    ORDER BY EID_INCR_CODE,EIH_EFF_DATEcurrently i am getting result set like this
    SUM(EID_AMOUNT) EID_INCR_CODE   EIH_EFF_D
                500 BASIC           01-JAN-09
                750 BASIC           01-MAY-09
                300 HTRAN           01-JAN-09
                500 HTRAN           01-MAY-09
                200 OTHERS          01-JAN-09
                350 OTHERS          01-MAY-09but i want to get the out put like
    SUM(EID_AMOUNT) EID_INCR_CODE   EIH_EFF_D
               1250 BASIC           01-JAN-09
                800 HTRAN           01-JAN-09
                550 OTHERS          01-JAN-09in otherwords i want get sum of amount for that incr_code and effective date will be the minimum date amoung which the data is fetched(in the example out of six resulted record '01-jan-09' is the least data).
    is there is any way where i can acheive the above?
    Please help..
    Thanks..

    Maybe
    select the_sum,
           EID_INCR_CODE,
           EIH_EFF_DATE
      from (SELECT SUM(EID_AMOUNT) over (partition by EID_INCR_CODE order by EIH_EFF_DATE) the_sum,
                   EID_INCR_CODE,
                   EIH_EFF_DATE,
                   row_number() over (partition by EID_INCR_CODE order by EIH_EFF_DATE) rn
              FROM EMPLOYEE_INC_HEADER,
                   EMPLOYEE_INC_DETAILS
             WHERE EIH_EMP_CODE = EID_EMP_CODE
               AND EIH_EFF_DATE = EID_EFF_DATE
               AND EIH_EMP_CODE = '0026108'
    where rn = 1
    ORDER BY EID_INCR_CODE,EIH_EFF_DATEor
    SELECT SUM(EID_AMOUNT) KEEP (DENSE_RANK FIRST ORDER BY EIH_EFF_DATE) the_sum,
           EID_INCR_CODE,
           EIH_EFF_DATE
      FROM EMPLOYEE_INC_HEADER,
           EMPLOYEE_INC_DETAILS
    WHERE EIH_EMP_CODE = EID_EMP_CODE
       AND EIH_EFF_DATE = EID_EFF_DATE
       AND EIH_EMP_CODE = '0026108'
    GROUP BY EID_INCR_CODE,EIH_EFF_DATE
    ORDER BY EID_INCR_CODE,EIH_EFF_DATERegards
    Etbin
    Edited by: Etbin on 13.11.2011 13:41
    aggregate solution added

  • D-U-N-S, how to write company name properly?

    I registered new company in Lithuania. Here we have new company tipe - Small Partnership. It is like micro LLC, but more simpler for little company up to 10 people. So the question is how to write a company name in legal entity field, to get D-U-N-S number in lookup tool? Maybe there is no difference how?
    Here are few examples, which is right?
    1. "Company Name", Small Partnership
    2. Small Partnership "Company Name"
    3. Company Name, Small Partnership
    4. "Company Name", SP
    ... and so on
    or simply:
    5. Company Name
    Or maybe:
    6. "Company Name", LLC - because this is similar type?
    7. ...
    Thanks for answers in advance,
    cursorplus

    Solved. I've sent all the information from the form to email ([email protected]) and just got the replay email:
    Your D-U-N-S Number request/update submitted on 8/23/2013 with ID Number ... has been completed. You may start using your number in 14 days.

  • Company name determined from the e-mail id???

    Hi,
    I read from the following blog that the company names are determined from the e-mail ids given in the business card.
    /people/eddy.declercq/blog/2006/06/30/the-firm
    Wouldnt it be better to get it from the URL of the company mentioned in the business card? What happens if i use my personal e-mail id for receiving my SDN mails?
    Thanks,
    Prasath N

    In that case their points are not applied to their company whole and when the new changes come out they would not be listed as part of that company.
    There are other possibilities we are looking into but any that provide for user input has the inherient problem that someone is going to type if different that you are,
    Company Name: ABC Technologies, Inc.
    Company Name: ABC Technologies
    Company Name: ABC
    Company Name: ABC Technologies Inc
    Company Name: ABC Technologies Inc.
    So what do we do cut it down to "ABC" and take all of that?
    Company Name: ABC WorldWide Distributions
    Opps now we have another problem.
    Email is not easier:
    [email protected]
    [email protected]
    [email protected]
    [email protected]
    Those all work too.
    The way we are doing it now is still riddled with the problems that people use their "local" email instead of the global company one or even worse they have no global company one and only local ones so for the company with 120 people spread across 4 countries they all show up under 4 different companies.
    So for now if you use a yahoo, gmail, hotmail, etc. you don't get listed and when the changes come out you won't show up under your company name as being part of the contribution of that company.
    My question out to all of you is why do you not use your company mail address? You can also set a mail agent to forward your mail to your private account when you go home in the evening.

  • IMac company name in set up

    Hi everyone
    I recently bought an iMac which I bought as I intend to develop iPhone games, when I was setting up my mac I think I put my intended company name in the company name field but I'm currently a student and the computer is my own private computer.
    I'm thinking of purchasing adobe student and teacher software, will the company name cause problems with student and teacher software installation, as the adobe site says, for use on your own private computer only ? if so is it possible to change the company name to nothing or private user without reinstalling the OS ?
    Thanks

    You shouldn't be having problems with a machine that just came out of the box. Your warranty includes 90 days of phone support. Call AppleCare.

  • How to get BP kind based on user name?

    Hi,
    How to get BP kind based on user name?
    Is there any table other than BUT000 which gives the Business partner no. and BP KIND?
    What is BLUEPRINT table?

    Hi John,
    do you mean Type:
    1     Person
    2     Organisation
    3     Group
    or Role like
    000000     Business Partner (General)
    BBP000     Vendor
    BBP001     Bidder
    BBP002     Portal Provider
    BBP003     Plant
    BBP004     Purchasing Company
    BEA001     Billing Unit
    BUP001     Contact Person
    BUP002     Prospect
    BUP003     Employee
    BUP004     Organizational Unit
    BUP005     Internet User
    The Role can be found in BUT100.
    Regards
    Gregor

  • How to get carrier company name on windows phone 8.1?

    how to get carrier company name on windows phone 8.1?

    excuse me, i referrer the link http://stackoverflow.com/questions/26973111/get-carrier-name-cellular-mobile-operator-name-using-windows-phone-8-1 to
    modify my universal app.
    but i always get 0 count from the GetNetworkNames() method. 
    if my sim card is for 3G, but i setting 4G in highest connection speed. i got the "the pipe is being closed".
    how can i solve the problem? thank you.

Maybe you are looking for

  • Viewing Multiple Photos

    How do I view multiple photos, side by side, so I can make a comparison and decide which ones I want to delete?  I used to be able to select them all with the shift or command keys and then bring them into the Edit screen.  Now only the first one com

  • Question Mark showing in the Quicktime icon

    Hi, I have setup on QTSS on my 10.4.8 server and put a movie into /shared/movies/testmovie.mov. I have also put one of the samples in there. I have set it to stream over http, but I just get a ? in the Quicktime logo. It won't even stream it from the

  • Filling an array from a field in the details section

    Hi. I'm a Crystal newbie. I'm using Crystal 11 Dev. I have some basic understanding of programming but I am clueless as to the organization and syntax used in Crystal scripts. Here's what I need to do. (I don't expect anyone to solve this for me, but

  • CS5 support is falling down - the famous firewire issue

    As a loyal user of Adobe professioanl editing solutions for the last 10 years this past month has been a nightmare.  When I inquired about upgrading to CS5 from CS3 I was advised during an online chat with an Adobe person here on the site to upgrade

  • IE 6 & IE& on same computer ?

    I am hesitant to try IE& since I have seen LOTS of post on problems....but..I want to be able to check IE7 in my DW MX2004 designs ? Anyone know a site or can tell me how (and if you can) to have 6 & 7 on the same computer...while leaving 6 for now a