Specifying different initial views for different users in ALV web dynpro

Hi Friends,
I need to have 2 different initial view for my web dynpro application eg: View1 and View2. There will 2 group of users using the respective Views. However the first group should not be able to see other view(View2) and vice versa.
Please tell me whether it is possible and if yes then how to do it.
Regards,
Saud

Hi,
the ALV component has a public attribute - R_COMPONENT which is of type ref to IF_SALV_WD_COMPONENT_TABLE
you can call GET_PERSONALISATION on this reference to return a reference to the interface IF_SALV_WD_COMP_TABLE_PERS. This in turn has a method - SET_STANDARD_VIEW.
I think that this should allow you to set which ever view you want.
Hope it helps,
Chris

Similar Messages

  • Using different configured views for different user group in crm2007

    Hello SAP Expert,
    Want to clarify if the BADI (Configuration Access Determination BADI ; BSP_DLC_ACCESS_ENHANCEMENT)  is used as design time or Run time. By looking the help of this BADI it says "This Business Add-In (BAdI) is used in the UI Configuration Tool (CRM-FRW-CON) component." Looks like this is at configuration time not at run time.
    The actual requirement is that for a set of users which work on a particular department, we want to have some extra information on 2 views and rest of the views they would be using same as entire organization. We are inclined towards using config role rather than zviews. If we were to use zviews then it would not be a difficult one.
    We were thinking of a mechanism to show the configured view based on user's Business Role at runtime. e.g. we have 2 roles A and B. Role A user have only 2 views specific to them and all other views they use same as Role B. We do not want to use ZView rather use Role Config Key to distinguish the views. What I was thinking that we should be able to create these 2 views with Config Role A and all  views (including these 2) with Config Role B. On Business Role A and Business Role B both, We will assign Config Role "B". but at runtime system should determine if the Business Role is A and Component is CMP1 then use the view V1 with Config Role A not the default view with config role B. (we can maintain that information in a Z table). This is not based on runtime profile but to use configured view at runtime.
    Any thoughts/ help really appreciated.
    Best regards,

    Hi Amithab,
    you can use badi CRM_BP_UIU_VIEW_CONFIG  of enhancement spot CRM_UIU_BP_ENHANCEMENT for your requirements. Please read the badi documentation because you need also a implementation of badi CRM_BP_UIU_CONFIG_CALLBACK (same spot). SAP considers badi CRM_BP_UIU_VIEW_CONFIG only for use at dynamically loading different configuartions of view details for business partners or contact persons at runtime. But you can use your badi implementation also for other views. You have to redefine method DO_CONFIG_DETERMINATION in your views. And call your badi from there. For this copy&paste the logic of DO_CONFIG_DETERMINATION of bp details to the views you have to load dynamically at runtime.
    We have used this approach for access controll and granting special access to views dependent on different employee functions.
    Best regards
    Michael

  • Different column views for different mailboxes?

    Is it possible to view different columns for different mailboxes?
    Normally, the "Sent" mailbox displays only "To," not "From;" and the other mailboxes display only "From" and not "To." That's fine. But I have another mailbox I've created where I've stored old sent mail, and I only want to see the "To" column, not the "From" column in that mailbox. When I select that mailbox and then choose View-Columns, whatever I choose is applied to the "In" box, and all the other mailboxes (except "Sent" )... is there another way to do this?
    G3 B&W   Mac OS X (10.3.9)  

    Column view settings are stored globally for all mailboxes. You cannot change them for one mailbox without also affecting the rest, except Mail allows you to have slightly different From/To and Date Sent/Date Received settings for Sent.

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • So how to specify different answer file for different install images in WDS snap-in?

    hello
    in WDS snap-in, in properties on server name, on client tab, we can define an answer file for unattended windows installation on WDS clients.
    my question is, maybe we have added multiple images in WDS snap-in (win xp image, win 7 , win 2008,...)
    now this one answer file applies to all of them ?
    so how to specify different answer file for different install images in WDS snap-in?
    thanks in advanced 

    Under the "Client" tab of WDS, you should only use an answer-file with settings relevant for the installation. This would be credentials for the WDS deployment share, international settings used during the setup and possibly also destination drive
    details (if you want the installation to take care of partitioning the disk etc). The settings relevant for unattend-files used under "Client" would only be of those in phase 1 (WinPE).
    However, if you would like to have specific unattend file for every installation, e.g. Win7, Server 2008, Win 8 etc, you can browse to the image under "Install Images" under the image Groups. There you can select properties for every image and
    have a personal unattend-file.
    hi Joel
    very cool. thanks a lot, that really helped me.
    best regards

  • Design: different AP Groups for different SSIDs?!

    Imagine I have different requirements for the AP Groups for different SSIDs
    I suppose I can't have different AP Groups for different SSIDs?!
    Imagine I have to many Clients to use one single VLAN for one SSID. So I will use AP Groups.
    For SSID”X”
    Let's say I have 5 buildings with 800 Users, so I make a AP Group per Building and tell those APs that they are in that group.
    For SSID”Y”
    All though I have this SSID also in all 5 buildings, I only have very view Users, so I could make one single VLAN which makes everything easier.
    Am I obligated now to create 5 VLANs for SSID”Y” too?!
    *This is a made up example. In reality I would make different numbers of AP Groups for different SSIDs because I have significantly different number of Clients… and traffic characteristics (more or less broadcast).
    But it's also about the size of the VLANs, do I make a view large Broadcast Domains (VLANs) or more small ones.
    Greetings, Andi

    You can have a setup like this if you want:
    AP Group 1
    SSID X Vlan 10
    SSID Y Vlan 21
    SSID Z Vlan 31
    AP Group 2
    SSID X Vlan 10
    SSID Y Vlan 22
    SSID Z Vlan 31
    AP Group 3
    SSID X Vlan 10
    SSID Y Vlan 23
    SSID Z Vlan 32
    AP Group 4
    SSID X Vlan 10
    SSID Y Vlan 24
    SSID Z Vlan 32
    AP Group 5
    SSID X Vlan 10
    SSID Y Vlan 25
    SSID Z Vlan 33
    AP Group 6
    SSID X Vlan 10
    SSID Y Vlan 26
    SSID Z Vlan 33
    Here is a link, which you probably already saw.
    http://www.cisco.com/en/US/tech/tk722/tk809/technologies_configuration_example09186a008073c723.shtml

  • Different mail ID for different workflows

    Hi All,
    As per my knowledge if we use mail task in work flow a e-mail will be triggered from mail ID maintained for user wf_batch , is there any way to send mail through different mail iD for different workflows by using mail tasks only, not by using a separate task and using some function modules in that to send mails.
    Thanks
    Vinod

    Hi,
    I have done this once. It is not the best I admit as many things must be considered, yet it worked.
    In the binding of an activity step, prior to the mail send step, I have included the calling to a custom FM.
    In this FM I have dinamically changed the mail address of WF-BATCH (the address was set in an ad-hoc paramenter.
    Then right after the mail send step, again in the following binding, I have run the very same FM, with different paramenters of course, to put the address back to where it was.
    Corrado

  • How to put different component quantity for different  subcontracting vendo

    How to put different component quantity for different  subcontracting vendor

    Hi,
    To achieve this, you have to create alternative BOMs for the assembly with different component quantities.
    First create in Alternative BOMs in CS01
    1. C223 - Create Production Versions for the the assembly for each Alternative BOMs
    For e.g. 0001 for Alternative BOM 1 and 0002 for Alternative BOM 2 and so on...
    Production Version 0001 - For Vendor 1
    Production Version 0002 - For Vendor 2 and so on...
    2. ME11 - Create Subcontracting Purchase Info record for assembly, plant, purchase org and vendor 1 (Here in "Purchasing Data 1" screen, specify the Production Version "0001"), similarly for vendor 2, specify production version "0002" and so on...
    3. ME21N - In PO, system will propose the BOM as per Production Version which is assigned in Purchase Info record for the vendor, material (assembly), plant and purchase organization.

  • Different zoom levels for different clips in the same project?

    Hi
    I am making a movie with videos from two different cameras. As a result some of the clips are cut down in size to a small portion of the screen. This can be solved if it is possible to use different zoom levels for different clips in the same project. I have not been able to do this. Is it possible?
    kind regards
    Soren

    You can scale the small clips up to the same size of the larger one... but you will get a quality loss.
    Using Motion or Scale to Frame Size commands
    Better to scale the large ones down to a Sequence that matches the smaller clip dimensions.

  • Access users in a Web Dynpro application on different WAS ??????

    Hi,
    Scenario - I have a local WAS on which i have deployed a Web Dynpro Based application.
    There is another WAS on which I have portal installed. I need to access the roles assigned to a particular user in my Web Dynpro application.
    Query -
    I need to know can i access the roles assigned to a user on a different WAS in a Web Dynpro based application running on a different WAS.
    Thanks and Regards,
    Amol Ghodekar.

    Amol,
    as this questions existed twice, I've deleted one.
    As roles are in the UME, you can access them. But why do you want to do this? You could login to that user, but then the question is what you want to do....
    Regards,
    Benny

  • Different Cost Centers for Different Line Items in a single Reservation

    Hello Gurus,
    When we create a Material Reservation, we give the cost center at the header level and that cost center is accounted for each of the line items in the reservation. But when the reservation has many line items which depend on different cost centers,  there is a need to enter different cost centers for different line items in the same Material Reservation. How can this be done? Please suggest.

    Hi,
    It's a standard restriction in SAP functionality  where one reservation document can only accommodate one cost center.
    You can not maintain multiple cost centres for individual line items.
    You have to create seperate Reservations for each cost centre.
    check below thread:
    ONE RESERVATION FOR DIFF COST CENTERS
    Umakanth R
    Edited by: Umakanth R on Dec 8, 2011 7:53 AM

  • GRC 10: Initial password for multiple users creation in a ARQ request???

    Hi All,
    I was trying to create a request in ARQ for multiple users. I noticed that, I could add all the necessary required information for multiple users using the template. I added the roles as well. However, I could not set the initial password for multiple users as the tab "User System Details" (where the initial password is provided for a single user) is disabled!!!
    The users were successfully created in the R/3 system. However, due to non-availability of initial password, these users could not log into the R/3 system.
    May I know how to set the initial password for multiple users?
    Regards,
    faisal

    Vit,
    I was trying to test this multiple user creation scenario. But I am surprise to get a template where in I have only below mentioned fields:
    1. User Name
    2. User Id
    3. Email
    I filled these details and uploaded. Then filled the "User Access" details. While submitting the request, I got the error:
    "Last name is not mentioned for user id XXX"
    But there is not such column in provided template by GRC!
    I added 2 columns: First Name and Last Name and saved it and uploaded again. These details are not picked up!
    Following are the only columns shown:
    1. User Name
    2. User Id
    3. Email
    4. Manager
    Out of above, only "Manager" field is editable and others are disabled.
    Last time I remember, I has got complete template with all the columns. Unfortunately, I have deleted it and not available with me now.
    Any idea you have why am I getting such incomplete template?
    Regards,
    faisal

  • JTree: How to set different cell editor for different tree Nodes.

    I have a JTree and I want to set different cell editors for different node depending on some condition. E.g. I want to set ComboBox as editor for leaf node but each leaf node will have its own set of data.
    Any help or pointer?
    Thanks in advance
    Sachin

    take there:
    http://www.mutualinstrument.com/Easy/FAQ/Tree/tree.html

  • Different Number range for different objects

    HI Gurus
    Could you please explain how can we make different Number range for different objects(O,S,P).Can we do with standards or we can go for UserExit??.
    Your early Advise will be appreciated.
    Thanks
    Chandra

    Hi Chandra,
    SM31 -> T77IV : 01S -> Number Range Maintenance.
    (or SPRO -> Pers Man -> Org Man -> Basic Settings -> Maintain Number Ranges)
    For the subgroups
    01C (plan variant 01, Object type C) Job
    01O (plan variant 01, Object type O) Org unit
    01S (plan variant 01, Object type S) Position
    Define the following number ranges respectively.
    (EX 60000000 69999999)
    (EX 70000000 79999999)
    (EX 80000000 89999999)
    Regards,
    Dilek

  • How to hide the Columns and Views for Login user in SharePoint 2013

    Hi Friends,
    How to hide the Columns and Views for Login user in SharePoint 2013? Is it possible using OOB features? If not possible how can we hide the Columns and Views for Login user?
    Could you please help on this.
    Thanks,
    Tiru
    Tiru

    Hello Tirupal,
    There is no OOB way to do this.
    Please check this codeplex solution to achieve the same.
    https://sp2013columnpermission.codeplex.com/
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

Maybe you are looking for

  • Problems with the O2 blackberry data package on my Curve 3G.

    I have already informed O2 about this but they claim that I should be used the blackberry support services, but nothing there helps me! I got my Blackberry Curve 3G on September 9th this year and I put on the Blackberry Data Package bolt-on onto my p

  • LaserJet 2100 Paper Feed Issue

    Our company has an HP LaserJet 2100 printer. The problem is every 10 pages or so, the paper will feed through crooked causing the print to be off center and the edge to become crinkled. I replaced the paper with a different ream and a different stock

  • Default button activation

    Hello, On a page, I put one TextField and 2 buttons. I have an Action Event handler for each button. When I type some text in the TextField and press the key "enter", it is always the action event method of the first button in the "outline" window wh

  • Blackberry Desktop Manager - Windows Installer keeps popping up

    Recently upgraded from BB Desktop manager 5 to 7 and have been having nothing but issues. One user constantly receives a "Windows Installer" pop-up looking to configure or reinstall Desktop 5.0. This does not happen for any other user on this machine

  • Is AppleCare (Education) can be activated with normal purchased macbook?

    Hi, I bought my macbook pro retina 15" about 11 months ago (as normal customer) and I want to activate AppleCare for it. Few hours ago, I purchased AppleCare Protection Plan, but as now I am a student in sweden, I purchased it as educational product.