How to render web items based on the authorisation profile of the user

Hello,
Is there any way to render web items based on the authorisation profile of the user. The only way i can think of is:
- Write ABAP to look up into the security mapping tables.
- Convert the ABAP report into RFC-Enabled FM. The selection variables will be part of the import/export parameters of FM and table can be used to display the result.
- Create HTML template using WAD, write Java Script to call the FM and map the import/export parameter. Display the result in Table.
But i don't know How to use the Java Script to call Function Module (FM) and get back the authorization through parameter.
Is anyone know about it or is there any other method to do it? I can't find any solution and it is very critical for me.
Any help is highly appreciated.
Rajat

Hi Rajat,
Do you mean that you want certain users to be able to use only certain web items? I think you can use the libraries for that and assign them to roles:
http://help.sap.com/saphelp_nw04/helpdata/en/4e/0f813b420ce60ee10000000a114084/content.htm
Hope this helps...

Similar Messages

  • How to create Text Web item based on characteristics text!

    Hi
      In a template, I have a hierarchy object Region which is in the left panel, then on the right i have table displaying with dataprovider.
    When the user select the hierarchy Region say Australia , then on the right I add the text web item, based on which the user selected, my text on righ side becomes australia, if they select Europe, then it should display europe.
    Give me some solutions
    Thanks
    BI Learner

    No one answered...

  • How to create dynamic context based on a structure defined in the program?

    Hi Experts,
             I need to create a dynamic context based on a structure wa_struc which i have define programatically.
    When I pass wa_struc to structure_name parameter of create_nodeinfo_from_struc, i get a runtime error:
    "Parameter STRUCTURE_NAME contains an invalid value wa_struc."
    How to create dynamic context based on a structure defined in the program?
    I have written the code like this:
    TYPES: BEGIN OF t_type,
                v_carrid TYPE sflight-carrid,
                v_connid TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
             wa_struc type t_type.
      data: dyn_node   type ref to if_wd_context_node.
      data: rootnode_info   type ref to if_wd_context_node_info.
      rootnode_info = wd_context->get_node_info( ).
      clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    cl_wd_dynamic_tool=>create_nodeinfo_from_struct(
      parent_info = rootnode_info
      node_name = 'dynflight'
      structure_name = 'wa_struc'
      is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( name = 'dynflight' ).
    dyn_node->bind_table( i_struc ).
    Thanks
    Gopal
    Message was edited by: gopalkrishna baliga

    Hi Michelle,
              First of all Special thanks for your informative answers to my other forum questions. I really appreciate your help.
    Coming back to this question I am still waiting for an answer. Please help. Note that my structure is not in a dictionary.
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    I have updated my code like the following and I am getting error:
    TYPES: BEGIN OF t_type,
    CARRID TYPE sflight-carrid,
    CONNID TYPE sflight-connid,
    END OF t_type.
    Data: i_struc type table of t_type,
    dyn_node type ref to if_wd_context_node,
    rootnode_info type ref to if_wd_context_node_info,
    i_node_att type wdr_context_attr_info_map,
    wa_node_att type line of wdr_context_attr_info_map.
    wa_node_att-name = 'CARRID'.
    wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
    insert wa_node_att into table i_node_att.
    wa_node_att-name = 'CONNID'.
    wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
    insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
    select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
    attributes = i_node_att
    is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    But now I am getting the following error :
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    -Gopal
    Message was edited by: gopalkrishna baliga

  • How do I use the same profile for two users on the same computer

    I use my laptop both at home and at work. And in each venue I use a different user log on. But I wish to have firefox use the same profile for each user log on. How can I get firefox to point to the same profile for each user?

    Note that only one user (Firefox instance) can use a profile folder at the time, so if you would switch the Windows user to another account then you would first have to close Firefox.
    * http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Bypassing_the_Profile_Manager

  • HT201304 Is it possible to restrict access to specific IOS apps based on the WIFI profile that a user has connected to?

    Is it possible to restrict access to specific IOS apps based on the WIFI profile that a user has connected to?

    you might be able to block it if the app uses Internet access
    and depending on your wireless you might be able to block a specific user
    accessing the backend host that the app uses
    some firewalls offer application filtering but I'm not aware of any that work with ios apps

  • How to alter the default profile for multiple users

    I am trying to alter the default profile assigned to users during user creation to a new profile. I know to change the profile for one user using the syntax
    alter user abc profile profileabc
    The issue I have is that there are 100's of users under default profile and changing for each of them manually would be difficult. The approach that I see is to write a shell script where I connect to the db and get a list of all the users with default profile. Then I loop through the file making connection to the db each time and executing the alter statement.
    Please help if you think that there can be a more efficient approach to this.
    Thanks

    alter user abc profile profileabcspool newsql.sql
    select 'ALTER USER '|| USERNAME || ' PROFILE NEWPROFILE;' FROM DBA_USERS;
    SPOOL OFF
    @newsql.sql

  • Windows cannot load the user's profile but has logged you on with the default profile for the system.

    My Windows 7  crashed a couple days ago after a windows update, I got this message.
    Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    I restarted the machine and got this message
    Windows was unable to load the registry. This problem is often caused by insufficient memory or insufficient security rights.
    DETAIL - The process cannot access the file because it is being used by another process. for C:\Users\TEMP\ntuser.dat
    I checked the event Log I found these .
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    Windows has backed up this user profile. Windows will automatically try to use the backup profile the next time this user logs on.
    Windows cannot load the locally stored profile. Possible causes of this error include insufficient security rights or a corrupt local profile.
     DETAIL - The process cannot access the file because it is being used by another process.
    This is the first error in the event viewer after a successful logon
    The description for Event ID 34 from source ccSvcHst cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
     If the event originated on another computer, the display information had to be saved with the event.
    ccSetMgr
    Windows cannot load the user's profile but has logged you on with the default profile for the system.
    DETAIL - Access is denied.
    Looking at the Logs all I can tell is that after the Desktop Window Manager started if caused this error.
    The winlogon notification subscriber <SessionEnv> was unavailable to handle a notification event.
    then this one
    The Desktop Window Manager has exited with code (0x40010004)
    Then this before it shutdown.
    The User Profile Service has stopped.
    I started up the PC and the first message I got was
    How can I get access to my user profile? do I need to createa new Administrator account? Please help
    The EventSystem sub system is suppressing duplicate event log entries for a duration of 86400 seconds. The suppression timeout can be controlled by a REG_DWORD value named SuppressDuplicateDuration under the following registry key: HKLM\Software\Microsoft\EventSystem\EventLog.

    hi do the following
    1. In Search programs and files (Windows 7) area, type in regedit, and press Enter.
    2. If prompted click yes,
    3.  expand the following HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
    4. click the sid that related to your admin profile (if you not sure, click each sid and in turn look to the right hand side of registry editor it will show who that sid is related to one of the registry files should hae in description localhost\admin or
    something similair)
    5. right click the sid and press delete.
    6. restart your machine and log back on with the admin account, this will then rebuild the admin profile... dont worry when it loads and none of your personal settings are saved or files or folders... go to c:\users
    in here you will see two folders for the admin account, one will be just admin and the other most likely admin.localhost
    i cant remember which one is which but just check both, one will still have all your files and folders in it.
    i suggest making a backup of your data before doing this incase something does go wrong, but ive had this happen many times in a domain enviorment and has worked for me everytime.

  • The factory profile for the display could not be found.

    Whenever I try to color calibrate my Mid 2010 iMac I get the error message "The factory profile for the display could not be found". When you look at the profile settings for the display a color sync profile is set, but the setting for the factory profile is blank. I know where the color sync profiles are stored but it seems to me that the display has lost the setting to the factory profile. Can anyone tell me what the default factory profile setting should be? and how do you restore the setting? (note: I seem to have all the ICC files, it's the default factory setting itself that is missing)

    There seems to be a lot of posts about this issue dotted around the net with no-one able to come up with a solution. So I found a solution myself! =P
    1) Download a copy of Plistedit Pro. It's shareware, so donate!
    2) Edit /Library/Preferences/.GlobalPreferences.plist (you will need to create a copy of the file, edit the copy and then copy back)
    Using the plist editor find the coloursync entry for your device and simply edit the factory default entry to point to a valid colorsync profile file (.icc).
    I can now colour calibrate my iMac again. Phew!!!

  • Can Not Calibrate the display. The factory profile for the display...

    I have an apple cinema display 20" and a mac powerbook g4 (1.25 GHx PowerPC g4, 1.25 GB DDR SDRAM) with os 10.4.9. All of my software is up to is date.
    I used to be able to calibrate my colorsync profiles. My computer's hard drive recently failed and I had it replaced and the system re-installed (If any of you live in NYC, I took it to tek Serve, and they know what they are doing).
    Now when I try to calinbrate my monitor I get the error "Can Not Calibrate the display. The factory profile for the display could not be found." Like I said I have updated to 10.4.9 but this hasnt solved my problem. I have restarted my computer, and this has also not solved my problem.
    Any help!?! Please! This is important to me as I do color work for print and I need to see colors accurately When I use my computer.

    I fixed it already. There was indeed a problem in the preferences. In my case I removed the whole preferences folrder to the desktop (which forces the computer to rebuild it fresh) and it worked fine! Then one at a time 'as it was needed, I put back the preferences for other applications (mail, itunes etc). Turns out no preferences was better than whatever corrupted preference was in there causing the problem. You know what I mean. If no preferences are there the applications start over building it new automatically. So it was like a preferences restart. sorta.
    Unfortunately, since I dont have applecare I had to spend 50 bucks on the phone with apple to figure this out. It's amazing how long it took them to actually pinpoint the problem. Hopefully if anyone gets that error in the future they'll find this post on google and save some bucks.

  • TS1702 We use one ID for  the Apps store for 2 iPhones. In the second profile on the Macit is impossible to update apps there is a mistake. What is the decision?

    We use one ID for  the Apps store for 2 iPhones. In the second profile on the Macit is impossible to update apps there is a mistake. What is the decision?

    This happens when you both use the same Apple ID for iMessage.  To fix this you have two choices:
    On one of the phones go to Settings>Messages>Send & Receive, tap the ID, sign out, then sign back in with a different ID.  Note: you can still share the same ID for purchasing in Settings>iTunes & App Stores; or
    On both phones go to Settings>Messages>Send & Receive and uncheck the email address(es) shown under "You can be reached by iMessage at".  Also uncheck the other phone's phone number, if present.

  • Changing the display profile for multiple users at once.

    Is it possible to change the display profile for multiple users at once? We would like ot be able ot add tabs and channels globally, but right now we can anly do it for once user at a time. Also, is it possible to have certain generic display profiles that all users use? like an admin profile and a tech support profile and a normal suer profile? Any help is appreciated...

    Yes this possible using the dpadmin batch command.
    Please check the dpadmin documentation for the batch command.
    For generic display profile what you can do is create users and assign the user particular roles. The display you would be creating would be for the roles. The users belonging to that role would inherit that display profile.
    HTH ..

  • Camera Raw RC 8.6 does not automatically locate the lens profile for the new Canon 16-35mm f4 lens.  The profile is in RC 8.6

    I have loaded Camera Raw RC 8.6.  It can not automatically locate the new Canon 16-35mm f4 lens, although the lens profile can be manually found.

    Hi
    I forgot to answer one question.
    When I have a file from the Canon 16-35mm f4 lens in Camera Raw and go to 
    Lens Correction and check the box Enable Lens Profile Corrections, when I
    select  the model in the first box as Canon, it picks the wrong 16-35mm lens. 
    It  picks the f2.8.  I hope that you can get this fixed in Raw 8.6.  It is 
    a major headache for the user of this new lens.
    In a message dated 7/28/2014 3:10:44 P.M. Central Daylight Time, 
    [email protected] writes:
    Camera  Raw RC 8.6 does not automatically locate the lens profile for the
    new  Canon 16-35mm f4 lens.  The profile is in RC 8.6
    created by ccastleb (https://forums.adobe.com/people/ccastleb)  in Adobe 
    Camera Raw - View the full  discussion
    (https://forums.adobe.com/message/6591754#6591754)

  • Can Anyone provide me with the sound card specs for a 2GHz MacBook Intel Core 2 Duo? The system profiler lists the audio card as Intel High Definition Audio: audiocode 63

    Can Anyone provide me with the sound card specs for a 2GHz MacBook Intel Core 2 Duo? The system profiler lists the audio card as Intel High Definition Audio: audiocode 63

    ok thankx!  but i must to know the output impendatie of my  audio card= intel high definition audio? can somebody help me
    this is my mac book
    http://www.everymac.com/systems/apple/macbook/specs/macbook-core-2-duo-2.0-alumi num-13-late-2008-unibody-specs.html

  • Who are the authorised resellers in the philippines of iphone 5s 16gb

    because i buy my apple iphone 5s 16gb and after 2 months the lcd is have a problem it is a warranty covered and the store tell me that i can back this iphone where the is released and that is in the north korea, can i know the address of iphone store in north korea to check and repair my phone.
    and ask the apple who was the only authorised resellers in the philppines because the store that i buy my iphone is not authorised so im comfused to that, so that please tell me who was the authorised reseller in the philippines and what are the things to do to the not authorised reseller but my iphone is registered to the apple.

    A)  We are not Apple employees.  We are other iPhone users like you, trying to assist others with hardware problems.
    B)  Your Apple warranty is valid only in the country* in which the phone was originally purchased.  If you didn't buy from Apple or an authorized agent, then the warranty is valid only in the country in which that seller bought the phone.  Apple will not accept international shipments, so the phone must be delivered to Apple from within that country.
    C)  Here is a list of authorized Apple resellers:  https://locate.apple.com/country
    *EU is considered one country for warranty purposes.

  • How to Render Webi, Crystal Report ,Xcelcius and Pioneer on the NW Portal

    Gurus,
    How to render each of the products mentioned below on the portal ,or what are the possible ways and best approach.
    example - Iview or just Link on the Netweaver  portal
    Webi
    Crystal Report
    Xcelcius
    Pioneer
    Thanks in advance

    hi,
    at the end an iView is nothing else than just a container so it is up to you to decide how you want to show the content - as a link to a new page or as an embedded page or as iView...... that should be based on the requirements.
    Ingo

Maybe you are looking for

  • Can't watch NBA League Pass on WiFi

    I am experiencing the following with NBA League Pass: 1) On TV: I can watch all teams. 2) On my iPad and iPhone with AT&T cellular data: I can watch all teams.  But this is too expensive, as one game will eat up 3 Gigs of data. 3) On my computer, iPa

  • IMac Superdrive

    I have tryed looking for input on how to erase the firmware and reinstall it to reset it from being corrupt like most PC computers when the hardware starts acting werid but no solutions on how to. Currently the CD=Rom does not load CD's or DVD's only

  • I want to change my iCloud from being primary

    I want to change my primary email to my alternative email and make my Gmail the primary

  • Snow Base Station Connection Flashes In and Out

    I just got a 'new' snow base station, and once I set it up, its connection cycles in and out and in and out. AP Grapher shows spikes in noise, signal, quality, everything. Connection last less than a second, drops for maybe a full second, connects ag

  • How do I get my task bar to stop disappearing?

    Can someone tell me how to get my taskbar from disappearing?  I've done something to make it disappear when my mouse moves away from it, and I don't know how to fix it.  Can someone provide me with the steps to get it back?