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

Similar Messages

  • On the web how can I check the user role to display the form suitable for this role i

    Hello
    How can I check on the web the use role to display the a form for each role
    Example
    If the admin login I display admin_form.fmb and if user login I display
    user_form.fmb
    Thankx
    Tamer

    In my forms I hide tab pages according the role using something like the following script in the WHEN_NEW_FORM_INSTANCE trigger.
    So the user can not navigate to tabs which are vorbiden by his role.
    CURSOR users_roles_cur IS SELECT granted_role FROM user_role_privs
    WHERE username=(SELECT user FROM dual);
    user_roles_rec users_roles_cur%ROWTYPE;
    IF users_roles_cur%ISOPEN
    THEN
    CLOSE users_roles_cur;
    END IF;
    OPEN users_roles_cur;
    LOOP
    FETCH users_roles_cur INTO user_roles_rec;
    EXIT WHEN users_roles_cur%NOTFOUND;
    MESSAGE (user_roles_rec.granted_role);
    PAUSE;
    IF RTRIM(user_roles_rec.granted_role,' ') = 'BLA-BLA'
    THEN
    tb_pg_id := FIND_TAB_PAGE('activity');
    IF GET_TAB_PAGE_PROPERTY(tb_pg_id, visible) = 'FALSE' THEN
    SET_TAB_PAGE_PROPERTY(tb_pg_id, visible, property_true);
    END IF;
    END IF;
    END LOOP;
    CLOSE users_roles_cur;
    Other solution may be is to use an initial form which only will detect the user role and run the appropriate form.
    Other solutions are also possible.
    Joseph

  • Check the user's entry from query selection screen

    Hi,
    Is there a way to check the user's entry at the selection screen? I created an exit variable and did some code to default a date to the selection screen. What if the user enters some other date, and I would want to check the value of this entry, where would I do this?
    Thanks,
    RT

    RT,
    This can easily be done. You can read the variable after the user has entered some different value.
    I_STEP = 2.
    Read table i_t_var_range with key vnam =<your variable name >
    Hope it helps.
    Thx,
    Soumya

  • How to maintain the contact person in Business Partner ?

    Hi Experts,
    Could you help to resolving the below Requirement.
    __  +Requirement:+__
    How to maintain the contact person in Business Partner ?
    How to get the Contact person in Is-Media Documents?
    Thanks& Regards
    Venkat

    Dear Venkat,
    In SD Customer Master data, we can maintain Contact Person in General Data tab page.
    For my knowledge, we can not find u201CContact Personu201D field in ISM Business Partner u2013 General Data. Correct me if I am wrong.
    Mostly user enters the contact person details in u201CSearch Term 1/ 2 fieldu201D in Address tab page in ISM Business Partner u2013 General Data tab page. While creating ISM Billing Document for this Business Partner, system prints this contact person details in ISM Invoices.
    (Or)
    While creating ISM Order, user can maintain Contact Person name in Header Details(Click on u201CGo to >Header>Details>Purchase Order Data>Cont.Person)
    If you maintain Contact Person name in Header Details also, system print this contact person details in ISM Invoices.
    Check from your end.
    Best Regards,
    Chandramohan

  • New user created. How to create Central Person and Business partner

    Hi,
    I got a new users created in SRM 5.0 .how to create Central person and business partner.
    Without CP & BP we cannot work. please guide.
    Regards
    G.Ganesh Kumar

    HI GANESH
    As you aware , assign the user to organisation structure via users_gen , the system will create a BP and Central Person , Position and user for you.
    br
    muthu

  • How to assign a Bex report to the user role

    Hi Expert
    in the Excel, when you open a query, the system will display history, faviourate, infoarea, role button on the left side of the popup screen. if you click the role button, you can see the user authorized Bex report. now I have created a Bex report and I want to assign it to the user role.
    how to do that?
    does anyboday know which transcation or setting can solve this problem?
    thank you in advance!

    Hi,
    You need to add the object S_RS_COMP:
    S_RS_COMP: Authorizations for using different components for the query definition. This authorization object is very important for reporting
    The authorization object S_RS_COMP restricts query component activities. For example, it restricts if someone can create queries, change queries, or execute queries. You can restrict query creation, change, and execution by the InfoArea and InfoCube. If your company has one InfoCube for sales information and another for financial data, you can restrict a user to only those queries written for the sales InfoCube or the financial InfoCube.
    You could also use S_RS_COMP if you want to protect by query name. For example, you have an InfoCube for sales data. Every sales manager needs access to this InfoCube. However, sales managers in different lines of business are not allowed to execute the same query.
    Please visit:
    http://www.*********************/bw_security/bw_security_auth_obj_2.htm
    to know more about BW Objects.
    Hope it helps.
    Please award points if it is useful.
    Thanks & Regards,
    Santosh

  • Preparing the Assignment of the BW/SUS User to a Business Partner ID

    Hello people, i need help in this following scenario...any help would be
    deeply appreciated.
    When a new user is created in the
    SAP SUS system, it will automatically be created in SAP
    BW,
    too.
    At the same time, an internal table (SRM_USER_SUPBPID) is filled automatically. The table
    contains the assignment between the automatically created
    SAP BW user and the
    corresponding Business Partner ID of the supplier company.
    Procedure
    Make su...
    1. Make sure that the BAdI SMUM_USR_CREATE_POST has been transported into your
    SAP BW system and has been activated. This BAdI is required for the automatic
    creation of a
    BW user.
    Menu Path in the BW System Transaction Code
    Business Add-Ins: Initial Definition
    Maintenance Screen
    SE18
    2. Make sure that the implementation RSSBR_SMUM_CRM_SUS for the BAdI
    SMUM_USR_CREATE_POST is activated in your
    SAP BW system. To activate it, use
    transaction SE19, enter
    RSSBR_SMUM_CRM_SUS and click on Change . Then choose
    Activate
    . This implementation is necessary for the assignment of the SAP BW user to
    a business partner in the internal table.
    regards
    sandeep salaria

    hi,
    In Web UI scenario:
    If you have BuilEmp object, then you can get BP_NUMBER using the relation BuilEmpToHeaderRel.
    for ex:
    lr_header ?= lr_builemp->get_related_entity(  iv_relation_name = 'BuilEmpToHeaderRel' ).
    lv_bp_number = lr_header->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).
    regards
    Ismail

  • How to check the user hits to the sites (most often,frequently used sites) in sharepoint 2010?

    HI,
    How to check the user hits to the sites (most often,frequently used sites) in sharepoint 2010?
    could you please help on the above?

    Hello Sudhir muvva,
    Just to be sure, the default Web Analytics reports don't meet your requirements?
    http://blogs.msdn.com/b/ecm/archive/2010/03/21/introducing-web-analytics-in-sharepoint-2010.aspx
    Does reports have subjects like top pages and number of page views.
    - Dennis | Netherlands | Blog |
    Twitter

  • How do I see the users/roles which have quota access to a Tablespace?

    How do I see the users/roles which have quota access to a Tablespace?
    Thanks

    Thank you very much.
    select username from dba_ts_quotas where tablespace_name='&tablespacename';
    did the job!
    regards

  • I just bought macbook pro with 10.8.3 os. When i start the system, all applications automatically start up as well! How can I turn them off. I checked the user settings and no application is set tom open automatically!

    I just bought macbook pro with 10.8.3 os. When i start the system, all applications automatically start up as well! How can I turn them off. I checked the user settings and no application is set tom open automatically!

    You have 14 days to return the computer w/no questions asked.  Plus you have 90 days of FREE phone tech support on top of your standard 1 year warranty unless you also purchased AppleCare which gives you an additional 2 years of coverage plus FREE phone support.
    Strongly suggest that you take FULL advantage of the above before it runs out.  Let Apple deal w/the problems.

  • How to check the user is using mobile to browse my website??

    Dear all,
    i am new in Java.Pls help!!i want to check the user is use what tools to browse my website...i mean if the user is using mobile to vist my website(eg:http://www.abc.com), it will rediect the mobile user to a webpage only for mobile user,otherwise,it will redirect to normal page for normal user(use browser such as ie,netscape)...
    how to do it? which function did i use?please give me some tips!!!
    Java baby , Frankie

    Check the User-Agent header of your request. Most phones will identify themselves through it.

  • How to setting for the number range for Business Partner

    Dear Sir,
    I create the new role for Business Parnter , However, I would like to set the new number range for that buiness Partner with that role.
    Please kindly advise what is the step to do.
    Thank you and best regards,
    Vimol

    Hi Vimol,
    In CRM  standard system it is not possible to link specific role with specific grouping. 
    To achive the same go to following IMG path:
    SAP Implementation Guide>Cross-Application Components>SAP Business Partner>Business Partner>Basic Settings>Number Ranges and Groupings>
    Define Groupings and Assign Number Ranges
    Hope you selected the opton button for column 'Int Std.
    I already suggested a work around above.
    Best Regards,
    Satish Mathala

  • 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

  • Documetations about the complex interface for business partner

    Hi Folks,
    did anyone knows, were I can find some documentations about "how to use the complex interface for business partner"?
    Kind regards
    Thomas

    The above problems through Notes: 810634 has been resolved!
    The return message is "Instance BJXE001005 belonging to object type BusinessPartnerFS was created".
    But the BP "BJXE001005" has not been established in CRM.
    How to i?
    When i use parameters "roles", the return message is "No update is defined for BP role"?
    How to i?
    Thanks you!
    Do you have any examples I reference to the code?
    Thanks a lot.
    Edited by: Ken.Li on Apr 13, 2008 9:05 AM
    Edited by: Ken.Li on Apr 13, 2008 10:17 AM
    Edited by: Ken.Li on Apr 13, 2008 10:33 AM

  • How to attach files to a business partner in CRM

    Hi experts,
    The aim is to develop a program with the same functionality as the way CRM  attaches files to business partners (via a browser).
    For example, I want to attach an excel file ( or whatever ) to a given Account ID via a program, so when refreshing the browser it appears there.
    What steps do I have to do to achieve this?
    I read that I should use the class CL_CRM_DOCUMENTS and the method CREATE_WITH_FILE, but I don't know how to link the document with the Account ID (BP)

    Going ahead in the development of the program I have found a new problem to face.
    When seeing the details of a business partner, if I execute the program to attach new files and afterwards go back and get in again in the BP details to see the new attached files, these files aren't refreshed in the DocList.
    To see them i have to log out and log in again. In that case i can see the new attached files.
    I have seen the method CRM uses to do this. The name of the  method  triggered when pushing on the button is OP_ADDDOC2DOCLIST( ).
    Do I have to use this method to refresh the DocList so i can see the attached files without having to log out?
    Thank you again.

Maybe you are looking for

  • How do I stop Firefox from auto-loading websites on startup? Why doesn't it use the cache?

    When I open up Firefox, I see a row of "loading circles" swishing around. I don't want my browser to do this, because it slows down my internet connection, it's unnecessary 95% of the time (I often keep tabs open just to have quick access to some tex

  • Images in table rows/columns

    Hi I am new to this and seem to struggle on what I think should be easy! I have one client with many pictures I want to display 4 pictures in a row, repeating the rows until all the images for that client are displayed. Can anyone point me in the rig

  • Business Package for Projects 50.3

    Hi. We are about to use the above business package but get an error message in the external service iViews included in the cProjects workset. Error message: SAPApplication Backward Compatibility Component When we assign the System Administration role

  • Smartform printing more pages

    hi all I am new in smartform and form printing in general, and I have a problem: I need to print a smartform with two kind of pages and each kind can stay on more pages. So I thought that I have to create 4 pages: KIND_1_FIRST KIND_1_NEXT KIND_2_FIRS

  • Cant Find printer on Adobe reader

    Hi I can print from other file like word, excel, etc but cant find the printer listed in the adobe reader printer list. Please help. Thanks Terrin