Add Role To Business Partner

Hi,
I am using BAPI "BAPI_BUPA_ROLE_ADD_2" to add a Role to Business Partner.
When i try to do that manually using transaction BP, in change mode i select the role to be added and SAVE. The role gets added to the BP.
But when i try the same using BAPI, it does not work. The code is written as below.
-- code ---
DATA IT_BAPIRET2 TYPE TABLE OF BAPIRET2.
CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
  EXPORTING
    BUSINESSPARTNER     = '900001'
    BUSINESSPARTNERROLE = 'TR0809'
  TABLES
    RETURN              = IT_BAPIRET2.
COMMIT WORK.
After which i go to the Table BUT100, give the Business partner number, No records are found.
Please give me a solution or an alternative to add role to BP.
Regards,
Santosh

Hi,
IT_BAPIRET2  is Initial. No Error Messages.
I don't get any error messages. i.e.  IT_BAPIRET2 is not filled with any messages.
Additional Info:
Only when i run the BAPI directly from SE37 Tcode, first time IT_BAPIRET2  is initial. Second Time if i just come back ( without doing /NSE37 ), if i just execute , Then it says the Role 'T...' already exists.
But if i execuet the same BAPI again /NSE37 , IT_BAPIRET2  is initial.
Thought the reason would be because of Memory / Buffer.
After which i go to Tcode BP see if the role is added to the Partner number. It does not happen. Also tries looking into the Table BUT100, it does not appear there.
Then tried executing the BAPI from SE38 giving a commit work. Thinking Commit work is not happening when its being executed from SE37.
But the same result, is there anything which i have to look into.
Or an alternative function module which i can try.
please suggest.
regards,
Santosh

Similar Messages

  • Business Partner Role  and Business Partner Grouping

    Hello Everybody!
    Business Partner Role  and Business Partner Grouping.
    Which correlation ist between this attributes existing.
    In which table are this infos stored, In order create I can use
    e.g. BUPA_CREATE_FROM_DATA
    but how is the way inversely. Suppose I want to abtain the information
    about a existing business partner which group he has etc.
    Regards
    sas

    Dear Sas,
    Business Partner Grouping is used to determine the number ranges to be used by the business partner at the time of creation.
    Business Partner Role determines the subset of all the data available to be shown and edited.
    I will give you a very simple (but imaginary) example for understanding the role concept: the business partner in a role of employee might allow you to enter a department id. So this field should be available to you for input when you edit the business partner in the role of employee. But suppose the same business partner is also a person who is your customer. And your customer will require a default payment term. So this field should be available for input when you edit the business partner in the role of a customer. Also, some applications use these roles to determine if the business partner is suitable for particular transaction. In the above example, Payroll application will only allow those Business Partner to be used if they are maintained as an employee. Similarly the sales application can mandate that you can only sell a product to a business partner if he is maintain in a 'customer' role.
    Please understand the example above is not real but given for the understanding of the concept of role.
    You can use the function module 'BUPA_CENTRAL_GET_DETAIL' to find the business partner group. And you can use the function 'BUPA_ROLES_GET' to find the role assigned to a Business Partner.
    Regards, Rakesh

  • 'Standard Role' 'User' 'Business Partner' and 'Internet User'

    hii
    Currently I m working on E-Recruitment 6.0 BSP's..
    Can somebody explain me....
    1)
    'Role' 'User' 'Business Partner' and 'Internet User'
    Kindly help me undertand the relation between the above mentioned IDs and there creation
    2)
    I have created Business Partner(External Person) ID using BP(txn)...Kindly let me know how to create the 'Internet ID' and 'PW'
    So that I can use it for HRRCF_StART_EXT (BSP)
    kindly explian...or mail me any documention related to
    E-recruitment to my id [email protected]
    Looking for a immediate reply
    Regards,
    Raghav

    Role - is the same as the concept of role in R3. SAP Delivers some pre confogured authorisation profiles for some standard roles.
    Roles are assigned to user depending on the client's requirement.
    Business Partner is the same as BP in CRM. basically, the following will be BPs in ur system:
    Each independent user of the recruitment process - as BP Branch.
    All third party recruitment vendors as BP Type Agency.
    All employees will also be BP in the system.
    All external applicants.
    You can create internet user using the t code SU05. You can also use the R3 sytem user credentials to log on to the url application by configuring the system to use the SAP login. (this is done thru t code SICF)
    Hope this helps.

  • How to use EEWB to add fields in business partner page

    Hello All
    I am working on CRM 5.0 EEWB
    I am trying to add new field in the business partner page I followed the steps for creating the project and the extension but I faced some problems
    1-I chose the package BBP_BUPA_MAIN    BBP Business Partner General
    I created two transport requests for the workbench and the customizing
    2- I created an extension with EEW Bus. Object: BUPA and extension type: ADD_NEW_FIELDS
    3- I got an error that <b>"Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"</b>
    I tried to change the package but the same problem occurs and if I choose a custom made business package I get an error <b>"Extension type BUPA - ADD_NEW_FIELDS cannot be combined with package Z###"</b> but, before the wizard starts
    I want to know the exact steps to create new field using the EEWB
    Regards
    Jacopo Francois

    Hi,
    Error info:  "Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"
    Clearly states that you need to assign some different name to the package which is not reserved by SAP as Z### is already reserved by SAP and thus you will not be able to create the enhancement in the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • How check the user roles in Business Partner edition screen?

    Hello Masters,
    I'm having a little problem figuring out how to check the user roles to allow modification in some fields.
    At the 'Manage Organizational Data' screen ('Manage Business Partners' -> Business Partner Data -> edit). I need to check the user roles to let him change the 'Tax Numbers' values. The values can be changed only if the user is a administrator; otherwise it must only show the value.
    I checked the HTML Template and found where I can restrict this edition option, but the problem is that I don't know how to check the user roles here. Maybe there is a function to do this?
    Any ideas of how I can do it? Is there any magical BAdI to check this?
    Thanks in advance,
    José Omar

    Hi José Omar,
    there is no BADI for this...
    You have to change the standard code to display only tax data if the SY-UNAME does not have correct role.
    You can retrieve user roles with BAPI_USER_GET_DETAIL, or access directly the activity groups table.
    Rgds
    Christophe

  • Add fields to Business partner t-code BP

    Hi All,
    I have a requiremnt to create a BP in the counterpary role .
    1.This requirement involves to add some custom fields to the table control of the payment details table control in the company code view.I have tried EEWB and BPT ,but both of them creates a new customer data tabstrip .
    Any ways to add additional custom fields to the existing table control.
    2. where can we find the assignmet of fields to the field groups in r3 side to maintain the BP transaction.
    Regards,
    Prabhu.

    Hi Prabhu,
    Your approach is on the correct path. Basically, this is what you need to do -
    1. Create the new fields using EEW. Let this create a new tab.
    2. Hide this tab for all roles, EXCEPT the role for which you want to see it. You can do this in SPRO.
    3. You can assign fields to field groups in transaction BUPT-> Control-> expand the menus and you will see Screens, Sections, Views, Field groups... choose field groups and within this menu you can assign fields to field groups.
    Hope this helps you.
    Cheers,
    Rishu.

  • Role  in Business Partner

    Hi,
         I am able to see role types like plant,,Purchasing unit in T.Code BUSD,these roles are assigned to particulare category,For example role plant we can see in Organization only but not in person,Where we do these setting.
    And please give me menu path for T.Code BUSD.
    Regards
    Narayana

    Hi shalini,
            Thanks for the reply and can you please say me the menu path for T.code BUSD
    And can u please say the difference between 4.0 and 5.0 versions
    Regards
    Narayana
    Message was edited by:
            manam narayana
    Message was edited by:
            manam narayana

  • How to add territory in business partner

    Hi All,
    As per my client requirement I want to add a field as TERRITORY in BP GUI screen. how can I add this field in the screen though it is not available in field grouping in BP Cross Application Component. Can any1 tell the complete procedure to add this field to my BP GUI screen.
    Points will be rewarded.........
    Thanx In Advance
    Chiniu

    Hi sudheer,
    that I know. can u tell me how to do in ABAP.let me explain U
    TABLE                              FIELD NAME
    BUT000                              FIRST NAME
    IN SAME TABLE I WANT TO ADD THE FIELD AS    TERRITORY.
    How to add the same field in that particular table..
    Thnx in avvance
    Chinu

  • Business Partner Roles

    Hi Gurus
    We have two Business Roles and one Business Partner Role
    This Business Partner Role we assigned to Two Business Roles so In one business Role Business Partner Role all tabs will work but in other business Role same Business Partner Role some tabs he donu2019t open because he donu2019t have permutation to open those tab
    Ex: we have ABC Sold-to-party and we have xyz Business Role and also 123 Business Role
    If I use xyz Business Role all tabs will open in ABC Sold-to-party
    But if I open 123 Business Role some tabs ware not opening in ABC Sold-to-party In Web Client
    So for this what Configurations we have do
    Please Guide me how to Configure
    Thanks in Advance
    Shetty

    Thank you for your Quick Response
    My Quotation is
    we created one ABC Sold-to-Party
    so i have TWO Business Roles
    Mahesh is one Business Role
    Ramesh is one Business Role
    if i am  log in  through Mahesh Business Role in my Accounts ABC Sold-to-Party in this Business Partner Role Category i will see all Tabs
    But when i am   log in  throughRamesh Business Role in my Accounts ABC Sold-to-Party in this Business Partner Role Category i will see Some Tabs only
    so for this scenario what are the configurantion we have do
    Please Guide me
    Thanks in Advance
    Shetty

  • Add new folder/tab into business partner master data form

    Hi, All
    Please show code example: Add folder/tab "business partner master data" form
    add tab folder into "Accounting" this sub folder "General", "Tax", "Example Folder" <=
    Thank  you
    Mdiaw

    Welcome to the forums; this has been covered in lots of posts here so if you do a search you will find lots of replies:
    e.g
    Re: Adding subFolders under a Main Folder
    or
    Add new tabbed page
    or
    Re: Folder within Folder
    or many other returned by searching for "add folder"

  • How to switch off automatic creation of the business partner?

    Hello!
    Advise please why in erp after creation of the customer automatically form business partner? How to switch off automatic creation of the business partner? It very much disturbs, because business partner are created from crm. Because of automatic creation business partners are duplicated.

    Hi,
    I have made the following customizing settings to activate customer integration with business partner, but the problem is when I create a BP with a role (FI-Customer) the customer is not created automatically.
    1. Set BP Role Category for Direction BP to Customer
    Roles: FLCU00 - Business Partner FI Customer (FS: BP)
    FLCU01 - Business Partner Customer (FS: BP)
    2. Defined the Number assignment for Direction BP to customer
    4. Customer account group and numbering is also defined.
    3. Created a BP with BP Role FLCU00, I can see the Customer - General Data tab, but no customer was automatically generated by the system.
    Kindly let me know if any customizing I have missed.
    Regards
    Ameya

  • Error while creating Business partner

    Hello,
    I am getting an error while creating a role in Business Partner (T.code BP). The error is given below:
    Role 'contract partner' in IS-U not same as role from FS
    Message no. E9450
    Diagnosis
    In IS-U or IS-T, you are not permitted to allocate the role Contract Partner and a role from Financial Services (role category begins with 'FL' or 'TR') to a business partner. This is due a conflict with regard to the corresponding customers
    Procedure
    Create another business partner as a duplicate.
    Please assist.
    Thanks & Regards,
    Vineet

    Hi,
    The error prompts you that you can not create a business partner in financial roles (TR*, FL*) where a role of contract partner is already assigned to same partner.
    Please refer SAP Note - 1123452 and 1564107.
    Regards
    Prasad AV

  • Business Partner in Solution Manager

    Hi Experts,
    I met with a problem when I try to create a support message.
    I have created the business partner ID (31) for my user ID with the Role of Business Partner(Gen.) and Employee. I have also specify the <System ID><Installation Number><Client><User ID> (Separated by space in between) in the Identification tab with the ID type as CRM0001.
    I try to create a support message by entering the mandatory field and hit "Enter" button, then after that I click on the "Save" button. The system prompt an error message indicating that "Business Partner 31 cannot be the reporter". But if I just click "Save" button without hitting "Enter" after entering the mandatory field, I will not hit with this problem.
    Is there anything that I need to do in order to overcome this problem?
    Best regards,
    Xiu Lian

    Hi charan,
    Just in case if u have missed any of the below notes...
    Note 835936 - Business partner cannot be deleted/archived
    Note 415007 - Deletion of business partners
    Let us know if u have any help from these....
    VBr,
    Sri
    Award points for helpful answers

  • Need to change the business partner on multiple documents (SC's, PO's, etc)

    When a user leaves the organization, their business partner number is no longer valid.  Therefore, any documents they have created are no longer accessible for changes, good receipts, etc.  We are looking for a way that we can find all open SRM documents for a specific business partner and add a new business partner number to these documents in mass, rather than having to change each individual document one by one.

    Hi Patricia,
    This will be a new business requirement. Its a Enhancement.
    So you have to take technical people's help who can help you to develope the program.
    For example, if someone leaves the org then that PO has to be transfered to someone else, so this is called as PO onwership change. With the help of this program , you can put document no and new user id and execute it. it will transfer the ownership of the PO. Mass changes is also possible.
    Also to get the Goods receipients name , you can develop prg for PO status , which will give information about relevant SC, PO , Goods receipients name, G/ L account, account assignement etc.
    Its a totally new business requirement, which can be done with ABAP.
    I hope this helps you.
    Regards,
    Sheetal Salunkhe

  • Create Employee as a Business partner using BAPI

    Hi,
        I created a business partner using the BAPI,
    "BAPI_BUP_CREATE_FROM_DATA". I used this within a program. The business partner gets successfully created and gets reflected in the table BUT000. But I do not see it when I run the user exit "RPM_EMPDATA".Because of this I am not able to see the business partner inside cProjects. I am able to see the business partner inside the transaction BP. When I go into change mode and change the role (from Business partner role to Resource role),and when I save this business partner  I am able to see the details in the user exit RPM_EMPDATA. I am also able to assign this business partner to tasks in cProjects.
    Message was edited by:
            Sudheendra Puthuraya

    Hi sanjay,
    Thanks for ur reply.
    i just referred all the documents that you have mentioned in the previous suggestion.
    [ID 1400877.1] - This one doesnt help me and i have rehired the employee and checked but still facing the same issue in the supplier interface.
    [ID 433746.1] - This one refers to the creation supplier through forms and i have checked the same which has been mentioned in the document. Everything is fine which the front end creation too.
    But am still facing the same issue.
    Kindly suggest me the if the issue can be solved in someother ways.
    Thanks in Advance.
    Brgds
    Max

Maybe you are looking for