Load layout according to User Id

Hi Gurus ,
I made an ALV and i want to load specific layouts according to the user that running the report.
For example ...
When User1   load the layout   /layout1 at start.
When User2   load the layout   /layout2 at start.
Can i do this .
Thanks a lot ......

Hi,
  You can load the layouts based on th e user using the parameter IS_VARIANT of FM REUSE_ALV_GRID.
Hope this helps.

Similar Messages

  • ALV report - copy layout to another user

    Hello,
    I have a question about ALV reports.
    In ALV we have option to select layout and save it by user-specific.
    How to copy this layout to another user?
    Is there some function/Bapi?
    Thanks in advance,
    Michal

    Hi Michael,
    Here are the steps I documented for managing this procedure:
    First Step is to READ the Layout into the Program
         The parameters for the layout can be found in table LTDX
    Goto SE37 and enter: LT_DBDATA_READ_FROM_LTDX
    When (READ) you will input information for the following parameters:
    Report Name
    Handle
    Log Group
    User
    Variant
    Type
    An example is shown below:
    <screen shots didn't load in my response> email if you'd like the document with screen shots>
    Execute.
    Now our next step is to WRITE the information from the program into table: LTDX
    While at the Function Builder Screen enter the new function module: LT_DBDATA_WRITE_TO_LTDX
    When you (WRITE) you will input information for the following parameters:
    Report Name
    Handle
    Log Group
    User
    Variant
    Type
    When completed, your input screen for (WRITE) should look like the screen below:
      <screen shots didn't load in my response> email if you'd like the document with screen shots>
    IMPORTANT     When entering information for IS_VARKEY, remember to use the u201Cnew useru201D ID
    When entering information for IS_VARIANT, remember to enter information exactly as found in table LTDX and remember that the parameter:  DEPENDVARS may be needed to complete your entry
    Now Execute the Function Module.  When completed go to table: LTDX and confirm that your new entry has been added.
    Pre Checklist:
    1.)     Capture entries (users) you want to copy from table: LTDX
    2.)     Make sure you have access to execute function modules/eCATT scripts
    3.)     Make sure you have table display access (needed to find and validate updates)
    If you'd like the documentation with screen shots please reply with your email address.
    Cheers,
    Robert

  • Set default Skin and Layout for all users

    Hi all,
    Im using UCM 10GR3 and i must set an default skin and layout for all users.
    Into General Configurations Field > System Variables i set
    LMDefaultSkin=MySkin
    LMDefaultLayout=MyLayout
    But this didnt work. Anybody have a clue?
    My skin is working fine but i have to change via My Profile.
    Best Regards
    Daniel

    only new users.
    According to metalink, each one of these will overwrite existing user settings.
    XuiSearchTemplate=slim
    XuiSearchTemplate=dam
    XuiSearchTemplate=myview
    XuiSearchTemplate=none

  • Load testing with concurrent users on HTTP Web

    Hello,
    I am trying to do load testing my PHP Web Application.
    I record (with Firefox) and developed the testing script with OpenScript,
    but I found that I could only test with "Iteration" feature.
    Is there any way to do load testing with concurrent users ( multi users login at the same time ) which defined in databank?
    Thanks for help.

    Hi
    You need to load the script into OLT (Oracle Load Testing) you can download it from here you need the first link Oracle Application Testing Suite and run the OATSxxx.exe to install OLT.
    Regards
    Alex

  • Load ATV on both user accounts?

    Newbie question:
    What are my options? I have separate accts setup on my iMac. One for my wife and one for me.
    Her account holds main iTunes library and mine has main iPhoto library. What is best way to connect and sync ATV? I just purchased and have not configured yet.
    1. Can I load ATV on both user accounts?
    2. Should I place iTunes and iPhoto into a SHARED folder on one account?
    3. Do I need to TELL ATV where to find the iTunes library and iPhoto library?
    4. Would I need to do fast switching if I want to use iTunes on her acct then switch to see photos from my account?
    Thanks

    CAPAHO,
    Wrong place for this post but new to forums and do not know how to contact you directly.
    I believe you have an Onkyo you use for your HDMI Inputs and HDMI Output to TV.
    I just connected my ATV last night and had video and audio fine.
    This morning, turned on ATV, Onkyo and Samsung TV and got video fine on ATV but no audio. My Onkyo says "No Signal". Tried cycling through digital inputs and listening modes but no luck. Turned off/on Onkyo and still not working. Any ideas?
    I will probably address this topic in new post

  • How can I set default toolbar layout for all users in my system?

    Hi everybody! I am running a local ubuntu server at my office. I can set some defaults preferences (about:config) for all new users in the system by defining those prefs in the /etc/firefox/syspref.js.
    Now, I want to define default toolbar layout in a similar way (maybe not needed but fun), to copy the toolbar layout for my user. Is there a general way to do that?
    thank you in advance!

    You can try to create a default template folder (defaults/profile) in the Firefox and place the file(s) in that folder for newly created profile.
    The only way to customize an existing profile is to copy files directly to it.

  • Formatting a date according with user settings (user defaults)

    Hi All,
    I need to format a date I receive via JS in YYYYMMDD format according with user defaults <b>without</b> server side action (I know, this is not a good issue, but they want it).
    My solution is to write a JS function (there are a lot of it on WWW) which accepts two strings and formats the first according to the second, something like:
    userFormattedDate = formatDate('20060613','DD.MM.YYYY');
    paying attention to generate 'DD.MM.YYYY' string on server side, according to user settings.
    But if this isn't a weblog, where is the question? :-D
    The question is: is there a JS function (in DatePicker or dateNavigator BSP) provided by standard libraries which serves similar functionality?
    Does exist a JS public standard library?
    Thanks.
    Dany

    Hi Durairaj,
    Tags <% %> are for server side actions.
    The question is about obtaining the same effect, but client side.
    Thanks.
    Dany

  • Loading XML based on User Decision

    Hello-
    I am working on a Flash project that involves an intro movie,
    which - when done - leads to a "decision" screen where the user
    chooses what kind of "visitor" they are. In other words, an intro
    movie will play and then lead to a screen with three choices: "I am
    this", "I am this", or "I am this".
    No matter what they choose, the area and graphics they are
    taken to is the same (a flash map with rollover content pop-ups).
    But, based on what kind of user they selected in the previous
    screen, the content will vary slightly on this map. I could just
    have three scenes for the three different users using the same
    graphics and map (but with different content in each), but that
    seems to be a waste. Is there a way to have the Flash map appear
    with the correct content based on the user decision from the
    previous screen?
    An example would be this:
    User A watches the intro movie and decides they are "Visitor
    A". They click on that button and are taken to the Flash map with
    their customized content (hopefully loaded via XML). User B watches
    the same intro movie, but this time chooses "User B". They are
    taken to the same map and area (within the same scene or clip), but
    contains slightly different content.
    Any help would be much appreciated. Thanks!

    This sounds perfect... But, I simply don't know how to code
    such a thing. Could anyone offer help with the script or point me
    to a tutorial?
    Thanks again.

  • Manage different layout according to Sales stage

    Hi everybody,
    I need to manage different opportunity layouts according to my sales stage.
    How this need can be realizable?

    Dynamic layouts are only possible on Opportunity for the field Opportunity Type. You could repurpose that field to allow for your different layouts, but I would consider that option very carefully before doing so. You need to be sure that repurposing that field won't negatively impact existing functionality.
    I don't know what your requirements are, so I'm not certain about what you are trying to achieve. Be aware that you have some capability associated with Sales Processes that may be of use to you. You need to review the Sales Process functionality to see if it will help with your requirements at all.
    Good Luck,
    Thom

  • Takes longer then normal to load hotmail after submitting user credentials and doing this on other websites

    firefox takes longer to load webpages after submiting user credentails on websites such as hotmail or banking websites. this has been doing this since i upgraded firefox. also been experiencing alot of firefox crashes since the upgrade. firefox is usually a better and faster brouwser then IE9.

    -> Tap ALT key or press F10 to show the Menu Bar
    -> go to Help Menu -> select "Restart with Add-ons Disabled"
    Firefox will close then it will open up with just basic Firefox. Now do this:
    -> Update ALL your Firefox Plug-ins https://www.mozilla.com/en-US/plugincheck/
    -> go to View Menu -> Toolbars -> unselect All Unwanted toolbars
    -> go Tools Menu -> Clear Recent History -> ''Time range to clear: '''select EVERYTHING''''' -> click Details (small arrow) button -> place Checkmarks on '''Cookies & Cache''' -> click "Clear Now"
    -> go to Tools Menu -> Options -> Content -> place Checkmarks on:
    1) Block Pop-up windows 2) Load images automatically 3) Enable JavaScript
    -> go to Tools Menu -> Options -> Privacy -> History section -> ''Firefox will: '''select "Use custom settings for history"''''' -> REMOVE Checkmark from "Permanent Private Browsing mode" -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> select "Exceptions..." button -> Click "Remove All Sites" at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire"
    -> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
    -> go to Tools Menu -> Options -> Security -> place Checkmarks on:
    1) Warn me when sites try to install add-ons 2) Block reported attack sites 3) Block reported web forgeries 4) Remember Passwords for sites
    -> Click OK on Options window
    -> click the Favicon (small drop down menu icon) on Firefox SearchBar (its position is on the Right side of the Address Bar) -> click "Manage Search Engines" -> select all Unwanted Search Engines and click Remove -> click OK
    -> go to Tools Menu -> Add-ons -> Extensions section -> REMOVE All Unwanted/Suspicious Extensions (Add-ons) -> Restart Firefox
    You can enable your Known & Trustworthy Add-ons later. Check and tell if its working.

  • Layout is it User-specific or Standard ?

    I have an ALV report that contains user specific layout and standard layout. My question is if user enters the layout name in the selection screen . i wanted to know whether the layout is user-specific or standard layout.
    How we can differentiate this ?

    Layouts can be saved for specific users or for all users.
    User-specific layouts are only visible to the users who have created them.
    Layouts for all users can be selected by all users. These layouts always start with a forward slash in the name (for example,  /Standard).
    The layouts are report-dependent and you can only create, change or delete them within the display of the respective ALV list. User-specific layouts can only be changed or deleted by the user who created them.
    To save layouts for all users, you need the authorization S_ALV_LAYO with activity 23 as of Release 4.6C. You can only go to the layout administration if you have this authorization.
    You must maintain the authorization object S_ALV_LAYO using the user administration.
    If you would like to use or save the Excel view in your layout, you also require the additional authorization S_BDS_DS with activity 01,02,03,06,30; CLASSNAME ALVLAYOUTTEMPLATES and CLASSTYPE OT.
    Furthermore, there are applications that have their own authorization checks installed.
    In some ALV lists, you can only save user-specific layouts. In these cases, the indicator "user-specific" is active , on a grey background and unable to be changed. This is related to the parameter I_SAVE. This controls which options you have to save the layout.
    To be able to define default layouts, the parameter I_DEFAULT must have the value 'X'.
    Notes 409190 and 601803 also provide further information on authorizations.
    For further details ..
    check saptechies.com
    Regards
    Manthan.

  • Function module converts sy-datum to date according to user settings in SAP

    Hi experts,
    I need such a function module which converts sy-datum to a date format
    according to user settings in SAP.
    Thanks,
    Yogesh

    Use these function modules.
    CONVERSION_EXIT_PDATE_OUTPUT
    CONVERT_DATE_TO_EXTERNAL
    Please mark points if the solution was useful.
    Regards,
    Manoj

  • Add Query Print Layout at the User Menu

    Hi,
    I want to add a specific Query Print Layout in the user Menu.
    Is there any option?
    Thanks in advance

    Hi......
    I Dont think its possible in QPLD to give authorization for a Particular Query Print Layout.
    I'm not sure whether its possible in case of Crystal Report or not.....
    Regards,
    Rahul

  • How to retrieve password character according to user logged on ?

    Hi,
    Can anybody help on this issue .
    How to retrieve password character according to user logged on ?
    I have a program will runs on multiple logins.I like restrict so that only an admin can  retrieve the password.
    How to do it ?

    > I have a report program which uploads sensitive information to presentation server.The program is also used by multiple users for other use.(billing info on excel sheet)
    That is the bugger with generic (executable) functionality. When used for multiple requirements which are too far from each other then they break or the "lowest common denominator" calls the shots.
    If this data is being uploaded from the application server, then why don't you just protect it there. The S_DATASET for that program context will not be very usefull, because it is generic.... so you can look into using S_PATH.
    > Since a user might have already logged on to system i can only ask a password as a authorization to run the program.
    Again, this means that anyone who knows the generic password (or can display / debug the code) will be able to access the data.
    A better variant of the same would be to create a symbolic service user, and prompt for that user's password before the data is downloaded. You can then use standard functions for prompting for passwords, which also update the lock counter.
    => If the password is locked due to incorrect logins, then the program is locked for this functionality as well.
    => You can periodically lock / unlock / change the access to the program, by administrating the service user in SU01.
    => Do not give this service user any authority at all - you only want to prompt for knowledge of the password, but not actually log the user itself onto the system. (see report RDDPWCHK for some example coding)
    In German this is called "von hinten durch die brust", which means something like "unusual approach but still works anyway".
    > I like to restrict access of retrieving the password  only to a  basis team.(others user can run the program)
    I would still protect the source data itself using unique authority to access it, and then control that.
    Cheers,
    Julius

  • Value conversion according to User default

    Hi,
    I have a Problem in a BDC. I am trying to populate pick quantity filed in my BDC ( Tcode VL02N ) the BDC works fine for a particular user default setting( NNN,NNN.NN ). But is the same program is used by some other user whose Default settings are different ( NNN.NNN,NN ) BDC fails .
    I need to convert the value based on user default before passing it to the field in BDC.
    pl. suggest me the solution .
    Thanks.
    Hitesh

    Hi
    Try to use the WRITE command before transfering the value to BDC table
    DATA: QUANTITY(20) TYPE C.
    WRITE <QUANTITY> UNIT <UNIT> TO QUANTITY.
    <BDC>-VALUE = QUANTITY.
    APPEND <BDC>.
    In this way the WRITE statament'll write the quantity in the format according to user default parameters.
    Max

Maybe you are looking for