Company code Business partner

Hi all...
i need to find the Business partner for the company...
help me on this...
thanks...

Hello,
Not sure you can get Business Partner in one shot...
But you could do as below:
1- get HR object data for your company code using HRP5500, then HRT5500 tables,
2- using PLVAR, OTYPE and OBJID values, call BBP_OBJECTBUPA_GETBUPAS function module,
3- use BUPAGUID value to call BBP_PARTNER_DETERMINE_ADDRESS function module for any existing partner function IV_PARTNER_FCT.
Regards.
Laurent.

Similar Messages

  • Invalid Code [Business Partner - Territory] , 'K00001'  [Message 173-36]

    Hi,
    While updating a BP the following error appears:
    Invalid Code [Business Partner - Territory] , 'K00001'  [Message 173-36]
    The error also appears after trying to create a BP.
    Our customer is running v2007A SP00 L49.
    I tested it in SP01 PL02, still the issue occurred.
    I also looked at the OCRD table, however I couldn't see anything strange.
    Any idea what's wrong?
    Kind regards,
    Charlotte Jansen

    Hello Jansen - a few things you might try:
    1 - go to Administration > Set Up > General > Territories.  Are there entries there???
    ( OR - maybe do a SELECT * FROM OTER T0 and see what it produces in the query results).
    2 - one time someone "deleted" the territory by entering spaces over the terriroty - how that did that I do not know.  We assigned a new territory and then changed it properly.
    Hope that helps...
    Zal Parchem

  • Relation Between Company code Business Area,Cost centre etc

    Hi Experts,
    Can anybody tell me How the following are related to each other the same is mentioned below.
    1.Company Code
    2.Business Area
    3.Profit Centre
    4.Cost Centre
    5.Cost elements
    AR

    Hi,
    Follow the Link, I think it may help you
    [http://wiki.sdn.sap.com/wiki/display/ERPFI/BuldingBlocks(Masterdata)ReleventtoControlling]

  • How to get business partner number of a Company code

    How to get Company code business partner number..
    Any FM or table name which can help us to get comapny code business partner number
    Actually we want to find the default address number of the company code.
    please suggest a way to find partner number of company code or directly to get default address number of the company code

    Hello LS Kumar,
    Try to use below Code may help:
    DATA ls_object              TYPE hrhctobjc.
    DATA ls_company             TYPE bbps_es_unit_id.
    DATA ls_company_bupa        TYPE hrobjbupas.
    ls_object-otype = is_org_unit_id-otype.   
    ls_object-objid = is_org_unit_id-objid.   
      CALL FUNCTION 'HR_OBJECTBUPA_GETBUPA'
        EXPORTING
          is_object               = ls_object
        IMPORTING
          es_hrobjbupa            = ls_company_bupa
        EXCEPTIONS
          object_type_not_allowed = 1
          OTHERS                  = 2.
      IF sy-subrc NE 0.
        RAISE EXCEPTION TYPE cx_bbp_es_not_found.
    endif.
    Which determines the company code of the user belongs to:
    CALL FUNCTION 'BBP_OM_DETERMINE_COMPANY'
          EXPORTING
            i_user_id = lv_user
          IMPORTING
            et_compc  =lt_compc
          EXCEPTIONS
            OTHERS    = 1.
    Regards,
    Sankarbabu

  • Global Company Code

    Hi All,
    While we transfer documents for customer Master and vendor Master and bank Master through ALE then it requires for 'Global Company code' which I have to assign under Company code global parameters.
    Can anyone explain me for what reason this customization required and will it affect any other  R/3 customization?
    Kindly clear my doubts.
    Thanks & Regards
    Ajoy

    Even if you do not have Special Purpose Ledger functionality, if you need to transfer company-code specific data between system using ALE (IDocs), you will have to define global company code (also called as cross-system company code) and assign it to company code.  Read the following SAP IMG activity documentation.
    There are global organizational units which must be named the same in all systems to avoid any errors occurring in the distributed environment. Local organizational units are assigned to global organizational units in the individual systems.
    There are global organizational units for the organizational units:
    Company code
    Business area
    If you want to use ALE, you have to assign the local organizational units to the global organizational units in your systems to ensure that they are used consistently in the distributed environment.
    Cross-system company codes are used in the distribution in financial accounting. There is exactly one central system for each cross-system company code in the distributed environment. One company code has to be assigned to this cross-system company code on each system involved in the distribution.
    When sending an IDoc with company code-dependent data, the company code is replaced with the cross-system company code in all company code fields. When receiving this kind of IDoc the reverse conversion takes place on the target system.

  • How to Restricting Buisness area in same company Code?

    Hi All,
    Can anybody tell me whether is it possible to restrict users from accessing diffrent buisness area within the same company code?
    regards,
    Amit

    Hi Amit,
    Use the following objects to restrict the access for Business area's:
    1. A_S_GSBER "Asset Master Data Maintenance: Company Code/Business Area"
    Object class is AM [Asset Accounting]
    2. J_3GABRLST "Call CEM Settlement List for Organizational Units" ---> Object class is "J3GD" [Industry Business Solutions - CEM]
    and there are other auth. objects for Bus.area's which might help you :
    1. F_BKPF_GSB
    2. F_FDES_GSB
    3. F_FDSB_GSB
    4. F_FDSR_GSB
    5. A_IMA_GSB
    6. A_IMPR_GSB
    Regards,
    Ashok
    "Award points if it is helpful"

  • I want my users (8 company code). each company see only theirs asset class

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
    i have 8 company to configuration.
    and each company have various kind of asset class. such as company A have 350 asset class. company B have 400 asset class.
    so i want my users (8 company code) . each company see only theirs asset class
    (company A can only see asset class of company A )
    how can i do ? 
    please help
    Thank you in advance

    Hi,
    you can restrict it through the user profiles. advise basis team to restrict based on the below 2 auth objects:-
    A_S_ANLKL  Asset Master Data Maint: Company Code/Asset Class
    A_S_GSBER  Asset Master Data Maintenance: Company Code/Business Area
    Rgds.

  • COPA Assessment - settlement to different Company codes char. values

    Hi,
    I have some doubts about the COPA assessment possibilities.
    I have such a case - where there is one common Controlling area for 3 company codes.
    The company code is a characteristic used in my Operating Concern.
    I would like to have such a possibility to run the assessment of Administration Cost center in Company code 1 - that would settle its costs to Characteristic values - a group of product indexes and to all company codes (not only to products sold in company code 1, but also in 2 and 3). Is it possible to do it in COPA assessment - or will the system give a warning or error message when trying to settle cost from CC in one comany code to characteristic values in different company codes.
    The key I would use for settlement would be the COGS value field.
    Best wishes,
    Karol

    <a href="http://help.sap.com/saphelp_46c/helpdata/en/7a/4c48c64a0111d1894c0000e829fbbd/frameset.htm">Logic for allocating to company codes, business areas and profit centers</a>
    The characteristics Company code, Business area and Profit center are <b>handled differently depending on whether they are specified explicitly</b> in the segment.
    <b>If you do not specify them as receiver characteristics,</b> they <b>are copied automatically from the sender to the receiver profitability segments.</b> If you use the receiver rule "Variable portions", the tracing factors are aggregated over all company codes, business areas and profit centers.
    <b>If you explicitly specify the characteristics as receivers,</b> distribution occurs using the receiver rule. <b>In particular, cross-company-code,</b> cross-business-area or cross-profit-center <b>postings can be created if the characteristics specified for the sender differ from those entered explicitly for the receiver</b>. In this case, the tracing factors used for the receiver rule "Variable portions" are selected for that particular company code, business area or profit center.

  • Company Code info in Business Partner Master Data

    Dear all,
    We are creating customer in CRM (5.0) system, which are flows down to back End ECC (6.0) system.
    now the requirement is company code and reconciliation details need to be maintained while creating customer master data, this info is a prerequisite to create sales orders in ECC and subsequent processes.
    We don't know how to maintain finance data in CRM Business Partner Master data.
    Please educate me how to maintain the required data, and what config need to done to solve our purpose.
    your suggestions will be highly appreciated.
    Thank you,
    Raghu ram.

    HI
    To my knowledge you cant maintain company code data in CRM, you can maintain general and sales area data from here and extend the company code data only in r/3.
    Regards,
    Karunakar.

  • Business Partner replication from ECC to CRM based on Company code

    Hi:
    I got this requirement where we need to transfer customers from ECC --> CRM. Customers specific to a company code.
    Trying to maintain Filters for  CUSTOMER_main--> KNB1- BUKRS to filter customers by a certain company code.  I get this error " Table not maintained in smoftables."
    Checked table " SMOFFILFLD" to see there are no entries for KNB1.
    While I could check with my superiors on restricting transfer of customers based on Sales area data, as KNVV and KNVP data is maintained.
    I would like to know if I can proceed with adding new table KNB1 to this table. If this is not recommended kindly suggest one.

    The list of standard FM you can find in sap note: Note 875420 - Business partner transfer to SAP GTS: Exchange Infrast. (XI).
    BR,
    Dzmitry

  • Creating Business Partner Through Code

    Hi Everyone
    I just wanted to know if any of you knew a way to create a business partner through code.
    If there is a way or a sample that anyone can provide that would greatly
    apreciated.
    What would mandatory fields be? I know CardCode would be one mandatory field but what else would be essential?

    Hi Sebastiano,
    If you only need to read the BP data from the 'source' company then you shouldn't need to log in to it. The RecordSet object should be capable of sending a SQL query that references the other database.
    For example:
    string sSQL = "select * from " + sSourceDatabase +"..OCRD where CardCode = '" + sMyBPCode +"'"
    where sSourceDatabase is the Database ID for the source company and sMyBPCode is the BP you wish to copy.
    Using this you should only need to log in to the company where the BP needs to be created. So the whole process should be something like this:
    1) Connect to second company
    2) Run the query to collect the BP data from the first company
    3) Create an instance of the BP object and use the recordset object to assign the properties
    4) Add the BP
    Hope this makes sense
    Owen
    P.S. The other option is to use XML. See this post:
    Copy items between databases

  • Business Partner-Standard Company ID

    In my scenario, there are 7 company codes and a consolidating Company. 
    In the customer/vendor master master, there is a field 'business partner'.  I have to input the Company ID in this field.  With the help function, it is known that it is used for elimination function in consolidation.
    However, I am not clear about how the system uses business partner field for elimination function.  I am also not clear for which type of customer/vendor master records, I should or I should not fill this field ?  Please help me out.

    For ADB-CDB inconsistency, did you try transaction CRMM_BUPA_SEND?
    Regards,
    Kaushal

  • Company code to be displayed in search help for vendors/Business partners

    Hi,
    We have a requirement to display the company code along with the vendor/business partner number when searching for preferred vendors while creating the shopping cart.
    In standard the search help exit used is BBP_F4IF_SHLP_EXIT_SOS. This search help does not have logic to find the company code for the vendor/business partner. It only finds and displays the purchasing organization.
    Can someone tell me where I find the company code agains the vendor?
    I tried searching in SRM and couldnt find the table where this relationship is found.
    Or is it that this data is not stored in SRM and we need to make an RFC call to R/3 using FM B470_VENDOR_GET_DATA.
    Please let me know!
    Thanks,
    Srivatsan

    I have the same problem due to multiple backends and 1 purchasing org to 2 company codes, have you got a fix for this yet would appricieate help if any one has ideas on this one
    Tom May
    <removed by moderator>

  • "Check Business Area of the company code" error while posting stock

    Hi Experts,
    While posting stock to a storage location of a plant , the system is giving me the following error message :
    "Check Business Area of the company code" .
    Would highly appreciate if I could get some info for this error message and how to resolve the same.
    Thanks & regards
    Vikas Hali

    hi
    i think division is missing in material master basic data , please enter division in basic data tab in material master then you will try ,
    then post the stock
    regards
    vijay

  • Wrong business area assigned to the company code

    Hi All ,
    I am getting error " Wrong business area assigned to the company code  " while posting a document in F- 02
    please advise

    Dear Balasubramaniyan,
    You can supress the field Business area field in Field status Groups.
    For this follow the following steps
    Please check TCode OBC4 for field status variants
    > Goto G001 (General) Field status group
    >Additional Account Assignment
    > Click supress in front of business area.
    In that case, F-02 will not even ask for business area.
    Also check whether Business area FS is ticked in front of your company code in TCode OB65
    You may also refer to the following thread
    How to assign business area to company code?
    I hope this solves your query.
    Thanks & Regards
    Saurabh
    Edited by: Saurabh Khandelwal on Nov 8, 2011 1:53 PM

Maybe you are looking for