Read Business Partner of an OrgUnit

Hi all,
does anybody know a function module to read the assigned business partner number to an organisation? That means, you have the org number, like O 5000*25 and you would like to know the business partner number, which you can see in ppoma_crm, when you select the org unit node.
Thx a lot!
Best regards,
Mireille

Hi Mireille
For that, I normally use:
- Function module (FM) CRM_ORGUNIT_GETBUPA to convert that org ID to business partner guid
- and then FM BUPA_NUMBERS_GET to convert business partner guid to business partner number
For the opposite, I also use:
- FM BUPA_NUMBERS_GET to convert business partner number to business partner guid
- FM CRM_BUPA_GET_HROBJECT to convert business partner guid to org ID
Check if this may help you
Kind regards,
Garcia

Similar Messages

  • Function modules in CRM (read Business Partner attributes)

    Hi,
    I would like to print a document in wich will be Business Partner attributes and other crmdata. Does anybody know how I can read the Business Partner marketing attributes. Can I use for this some function modules or else?
    Are there some documentations about all Function modules in CRM and what they do?
    Thanks,
    Malnor

    Hi Malnor,
    Marketing attributes of a BP can be found in table AUSP.
    You can build your own custom function module to read marketing attributes.
    Refer to the link below for sample code of a FM to read BP marketing attributes -
    [Custom Function module to read BP marketing attributes|http://divulgesap.com/blog.php?p=NDg=]
    Hope it helps.
    Regards,
    Ravi

  • How to read Business partner attachment in SAP-CRM

    Hi Experts,
         I am working in SAP CRM, i am uploading attachments for Business partner through T-code : BP.  My requirement is to read the attachment of the particular business partner in the form binary or XML. Please suggest some BAPI for class to read the attachment of business partner.
    Thanks and Regards,
    Peter Dinesh.

    Class CL_CRM_DOCUMENTS is the one that manages everything with attachments in BP transaction

  • Missing functionality: Business Partner Authorization -Read only is missing

    Version: SAP Business One 2007 A (8.00.177) SP:00 PL:38
    Description of requirements:
    Im missing the functionality -read only- at the authorisation to change the Business Partners
    It should be
    Leads: Full authorisation / no authorisation / read only
    Customers: Full authorisation / no authorisation / read only
    Suppliers: Full authorisation / no authorisation / read only
    Is there any way to implement these feature?
    Thanks
    Ludmilla Hauk
    Edited by: Ludmilla Hauk on Jul 29, 2008 10:34 AM

    Hi
    I have implemented the same in SAP B1 2005B, what I did is
    I have given the Read Only authorization for Business Partner and I have given the Full Authorization for BP Type (under Busniess Partner) Customer and Lead
    So, when the specific user logs into the system and open the Business Partner Master screen, the Add option will be disabled for the user and in find mode he/she can find only the Customer or Lead.  And after that when he/she chose any BP, he/she can only view.
    Thanks
    Anjan Bhowmick
    New-Age Business Consultants
    Bangalore, India

  • Authorizations: On Business Partner, there is no "read only" option

    Hi everybody,
    I am trying to allow users to see a Business Partner (for example, when creating a sales order, they should be able to search for a customer and to see details about it), but I don't want them to be able to create or update a Business partner.
    In SBO, there is no option "Read only" fro Business partner.
    We have "addind a business partner"               No or Full authorization
    and         "Business partner type"  Customers  No or Full authorization
    Do you have a solution for me ?

    Thats correct if you give ADD / UPDATE it applies to both Customers and Vendors.
    There is no setting by BP type, it applies for all BP's.
    I did not understand this "I didn't see that there is an authorization at "chapter" level..."
    In the Authorization window when you expand Business Partners you would see
    <li>Adding Business Partner
    <li> <h3> Business Partner Master Data </h3>
    At the Business Partner Master Data   change the setting to Read-Only

  • Read CRM Business Partner Classification data from buffer/memory

    Hi,
    Can anybody help me to read CRM Business Partner Classification data from buffer/memory ? I have a Z- function module in BDT but inside that, I am not able to read the classification data(4th tab). I have the Partner nu,mber and GUID.
    Thanks and regards
    Arijit Ghose

    Hi JE,
    Please let me know if you find the solution to this problem.
    Regards,
    Himanshu Sharma

  • How to read the business partner activity

    Hi experts,
    How to get the business partner(role:employee) assigned activities  in crm and how to create the activity .my requirment is change the assiged from old employee(bp) to new employee(bp). i have to develop the program. i searched some BAPI's.
    Please help on this.
    thanks,
    venu.

    Pls use the FM CRM_REPORT_CALL_RF. Pass the partner function to the exporting parameter table ir_partner_fct_h and partner number to the partner number to  ir_partner_id_h . You will get all the guid and then use CRM_ORDER_MAINTAIN to change the partner.
    CALL FUNCTION 'CRM_REPORT_CALL_RF'
        EXPORTING
          iv_stat_open            = 'X'
          iv_maximum_hits         = ' '
          ir_object_type_h        = it_act_objtype
          ir_partner_fct_h        = it_partner_fct_h
          ir_partner_id_h         = it_partner_id_h
        IMPORTING
          et_guidlist             = it_guid
        EXCEPTIONS
          parameter_error_partner = 1
          parameter_error_items   = 2
          parameter_error_ref_obj = 3
          OTHERS                  = 4.

  • Function module to read sales area data of a Business partner

    Hi,
    Could anyone please tell me if there is a functio module to read the sales area data of a business partner.
    Also, what tables contain the sales area data of a BP.
    Thanks,
    Sahil

    Hi Gregor,
    I was basically looking for a function module that would give me the details on the Billing Tab from the BP Sales area data.
    we can use BAPI_BUPA_FRG0030_GETDETAIL function module to retreive that data.
    Thanks,
    Sahil
    Message was edited by: sahil gupta

  • Problem in Creation of business partner

    i create business partner with the help of BAPI_ISUPARTNER_CREATE_FROM_DATA
    i want to add mobile number but there is no any field such like mobile number in address data table.
    But there is separate table of telephone data. When i use this table to store the mobile or telephone number at that time bapi stores the data on the telephone table in independent communication but not in direct communication fields .
    Please , suggest me what i do to store the data in direct communication instead of indirect communication.
    Thanks for review my post...

    Hi ilesh,
    There are 2 kinds of communication data -
    1. Address dependent- this is linked to the address, and would need to be created / changed using BUPA_ADDRESS_CHANGE. You need to pass the BP number and the address number to which you want to link the tel / mobile number.
    2. Address independent  - this is directly linked to the BP, without dependency on the BP's address. You can modify such data using BUPA_CENTRAL_CHANGE.
    Now, you can decide which fields you want filled, and accordingly use the correct FM. Second point - how to make sure the number gets created as a mobile, and not normal telephone. There is a field called R3 user in the table ADR2, and also in the Telephone structures that you fill while calling the FMs mentioned before. Make sure you pass the correct value of R3 user ( i think it is 2 for mobile, but you can check it by looking at the value range for this element in ADR2 through transaction SE11).By default, R3 user is 1, which denotes landline telephone. To create mobile numbers, pass R3 user = 2 (or whatever value you look up from the value range).
    This should solve your problem.
    Cheers,
    Rishu.

  • Creation of new fields for business partner relationship

    Hi experts,
    We are currently on SAP CRM 7.0 EHP1.
    We have a requirement to maintain a custom checkbox (Relevant for business) on each business partner relationship.
    Can you please let us know on how we can achive this requirement.
    Thanks in advance,
    Vamsi.
    Moderation: Duplicated. I lock this one and continue here: [Create a new field in Business Partner Relationships|Create a new field in Business Partner Relationships#10795912]
    Edited by: Joaquin Fornas on Nov 8, 2011 12:17 PM

    Please, anyone can help?
    Thanks!!

  • Creation of Business Partner through IDOC

    Dear All,
    I have to create a business partner which happens through Idoc of message type DEBCOR. My problem is that though I am getting the IDOC message as incoming type which is also getting processed however the creation of BP is not happening. Since IDOC is also showing in green as successfully processed, I dont have any clue where to check it. Any idea as to what could be the possible problem ?
    best regds
    Subha

    IDocs and BAPIs sometimes behave differently than transactions. You might need to add a user exit specifically for IDoc processing. Otherwise send a message to SAP and have them look at it.

  • Creation of Business Partner with External BP #,ID type and Identifications

    Hi Group,
    I have a query on creation of Business Partner with External BP #,ID type and Identification # (along with the Firstname,Lastname,Email, Phone & etc.,) things.
    the thing is that I was using a BAPI called "BAPI_BUPA_FS_CREATE_FROM_DATA", to create a BP and I was not able to have an option available for these things (External BP #,ID type and Identification # ) along with that BAPI.
    So please kindly let me know how these things can be fetched from a BAPI which can accomodate all the above things mentioned.
    Please kindly let me know how it can be achieved.
    thanks in advance.
    Regards,
    Vishnu.

    Hi Gerhard,
    Infact this reply was very useful, but ,while using the BAPI "BAPI_IDENTIFICATION_ADD" while creating the Id type and Id #s, this BAPI was not enabling this.
    I was trying to use this BAPI to create ID #, and it's desc, but, this BAPI was returning like "This BP # does not exist" (in some cases) and in some other cases, it is keeping quiet without giving any indication as whether the things have been updated or not... and also when I checked, things were not getting reflected.
    your help would be very much appreciated.
    thanks & regards,
    vishnu.

  • Can you assign multiple customer masters to one Business Partner in R/3?

    We are trying to configure SAP Business Partners in ECC5.0 but it seems the relationship between a business partner and a customer master is one-to-one so a business partenr cannot have multiple customers (table BD001 only allows for a single entry).  Does anyone know if it's possible to assign multiple customer masters to one business partner?  If so, is there any documentation available?
    Many thanks.

    We are trying to configure SAP Business Partners in ECC5.0 but it seems the relationship between a business partner and a customer master is one-to-one so a business partenr cannot have multiple customers (table BD001 only allows for a single entry).  Does anyone know if it's possible to assign multiple customer masters to one business partner?  If so, is there any documentation available?
    Many thanks.

  • Business Partner Role Specific Field View in WebClient

    Hello to everyone,
    I have a question that really needs a answer.  We are upgrading from SAP CRM v4 to SAP CRM v7.0 and as such we have a number of custom Business Partner Roles within the Person BP Type.  Against these custom roles we have developed custom field and tabs in order to separate the content within the BP Role further.
    After rolling off an implementation of SAP CRM v6.0 [2007], the following seems apparent:
    - Assignment of Roles is done via an assignment block in the Customer Maintenance view.
    - You can create Business Partners in different roles initially.
    - You cannot maintain Business Partner details in specific roles
    However, you cannot display the role specific fields as you can in the WinClient.  As an example, a Citizen Role BP will have different fields to that of a Teacher, but these roles could be assigned to one Business Partner.
    There does not seem to be any guidance as to how this is managed in the WebClient and as it seems a fundamental part fo the SAP CRM offering, you would have thought that this questions has been asked, but I have found no answers.
    I really hope anyone can help and appreciate any time and effort put into solving my question.
    Many Thanks,
    MatFlat.

    Hi MatFlat,
    Yes, your observation is right - in the Web UI, fiel grouping is not implemented for roles. This is because the role concept is quite different between SAP Gui and Web UI.
    In SAP gui, (CRM 4.0) roles had a functional meaning as well as a UI control. However, the concept was changed with Web UI. Now, roles have only a functional meaning, and no effect on the UI at all.
    If you want to implement role based field grouping in Web UI, you need to define your own methods in the implementation class.
    E.g : you can write code to influence the field properties based on the roles. I guess you can redefine the DO_PREPARE_OUTPUT  methods of the impl class.
    In order to get info about which roles the BP is maintained , you can use FM BUPA_ROLES_GET_2.
    Hope this helps you.
    Cheers,
    Rishu.

  • Problem with display of Chinese, Japanese, and Korean business partner name

    Hi All,
    I'm trying to understand how to get GTS to properly display the names of the business partners that are in Chinese, Japanese, or Korean.
    I have set my SAP gui localization as follows:
    - Select the Customize Local Layout, then Options, then the |18N tab,
    and check the Activate Multibyte Function box
    - Select the Customize Local Layout, then Character Set and check
    Unicode and Simplified Chinese
    In the source R/3 system for these partners, if I set my localization to the right language, the business partner's name and address would be displayed correctly in the C/J/K character sets when I select the appropriate version in International Version of the address.
    However, in GTS these names/addresses would just appear as nonsensical characters (like "·ÉÀûÆÖÕÕÃ÷µç×Ó£¨ÉϺ££©ÓÐÏÞ¹«Ë¾").
    For example, if I do a look up of a known Chinese BP by number, in the seach results window the Description field of that BP would just be garbage, but if I put the cursor over the Description field, then the correct Chinese display (matching what is in R/3) would appear for as long as the cursor is over that field. This indicates that the data was transferred correctly from R/3 to GTS, but some how the display does not default to the right character set.
    If I select that record, the resulting detailed display would also have garbage as the Name and Address. However, here putting the cursor over the fields still do not bring up the correct character displays, and I have found no way to get the correct displays to appear.
    Does any one know of a way to get the displays to show correctly in GTS?
    And can anyone explain why putting the cursor over the Description (in the BP search results window) would let the correct display pop up?
    Greatly appreciate any insight anyone can provide.
    Thanks,
    Rex

    Hi Rex - As per message - this looks to be an issue for BC-I18-UNI and not the GTS application:
    For general information purposes - last response from BC-I18-UNI development via oss message:
    "However, from readind the message, I believe I understood the reason for
    the described effect. I assume GGT is a non-Unicode system? If yes, this
    is my idea:
    The data stored in the BP tables, e.g. for number 2555442 have been
    entred manually, probably within a session using English as logon
    language. In this case the data are stored with a Latin-1 codepage. This
    means the stored data are actually Latin-1 data, not Chinese. By
    switching the font at front-end side to Chinese, the characters appear
    as correct Chinese, although they are still Latin-1.
    It is possible that different GUI components show different effects in
    this context, as the internal font switching mechanisms behave a bit
    different in different components, e.g. control based components are
    different from normal Dynpro-based fields.
    To have correct Chinese data, you need to logon with language Chinese.
    This holds for all non-Unicode systems. On Unicode systems, the logon
    language is arbitrary."

Maybe you are looking for

  • XMP Java Set and Get Question

    I am investigating the potential to set and read XMP metadata on TIFF, PDF, and EPS files for a workflow. I am a Perl/Java person, and upon investigating solutions found the Java XMP Parser. As I read, it appears that I need to create a RDF file. It

  • Odd message on startup

    I have had no kernel panics or unexpected shutdowns of my computer. Whenever I start the computer normally and enter my password, I get the following popup: The only problem is, there was no odd shut down nor did I ever shut it down because of a prob

  • NHSChoices not listed on my itemised bill

    Hi there, I made a call to NHS Choices (the old NHS Direct) on their freephone 111 number about 4 weeks ago, but cannot locate the call on my itemised bill. Is there a reason it would not be there? Many thanks, Kevin

  • [svn:osmf:] 10364: Latest updates to the Dynamic Streaming sample app , and a few bug fixes.

    Revision: 10364 Author:   [email protected] Date:     2009-09-17 14:49:03 -0700 (Thu, 17 Sep 2009) Log Message: Latest updates to the Dynamic Streaming sample app , and a few bug fixes. Modified Paths:     osmf/trunk/apps/samples/framework/DynamicStr

  • Keeping a title and table together?

    I have an xml file building a multiple tables. The form looks like Tablessubform containing category and EntryTable Tablessubform repeates per category and fills out the category name The entry table contains multiple rows of entries growing based on