How to set a variant View of ALV at runtime

Hi,
For each user, I have saved in a specific table the Configuration Key of The variant he has created.
At runtime I want to set this one in my ALV component.
I think to use the method if_salv_wd_comp_table_pers~set_standard_view of class CL_SALV_WD_C_TABLE but this class isn't implemented elsewhere SALV_WD_TABLE.
As anybody worked on this need, or something like ?
Thanks

I want to access attribute of  context node A in another context node B of the same view .
for that In my View impel class I have created a public static attribute which can be accessed from any where in the view .
I want to set the value of this public static attribute from the set method of the attribute of the context node  A .
which I can access in my other node B's attribute
cl.._impl=>attr_tmp = lv_varibleA  . for setting the value .
lv_variableB = Cl..._impl=>attr_tmp  for accessing the value .
will this work ???

Similar Messages

  • "I would like to know how to set the default view for the columns. Somewhere I read it could be done in by music icon under Library.  Can't find it.  Thanks

    "I would like to know how to set the default view for the columns that are shown in iTunes. Every time I open it, I have to either go to the options, or right-click to get the pop-up options, and delete "rating" and add "composer." I'd really like to just do it once and be done with it."  Somewhere I read you could do this by clicking on the Music icon under LIBRARY then arramge the columns.  Trouble is, I can't find a Musi Folder or icon in my user library.
    Any help would be appreiated.  OSX 10.9.2  iTunes version 11.1.5  Thanks!!! CW!

    From the iTunes menu bar try View>Show View Options.  Make sure what you want to see is checked and what you don't is unchecked.  You can do this (may need to do this) for any playlists, your main Library, etc.
    Good luck
    srb

  • How to set "Configuration Variant" for a sales order item using function

    Hello All,
    I use function module 'SD_SALES_DOCU_MAINTAIN'  to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
    Is their any idea or sample code?

    Hi Zhijun zhang,
    <u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
    <u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
    A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
    The first link will guide you by screen shot wise.
    Award points if it adds information.
    Thanks
    Mohan

  • LMS 3.2 - LMS Portal -- How to set 'My Portal' View as Default-View?

    Hi all,
    LMS Portal comes up with three default views (My Portal, CiscoWorks Portal, LMS).
    As within My Portal it is possible to change layout and sorting, I would like to set this view as
    the default view comming up at login.
    How can this be configured?
    Actually LMS View comes up.
    Thanks for any feedback

    You have to add the portlet Ciscoworks Admin to your portal
    With this portlet you can set the default view
    Add portlet -> Ciscoworks -> Other -> Ciscoworks Admin
    Cheers,
    Michel

  • How to set the default view (Alphabetic) in CCM ?

    Hi guys,
    Easy question for smart guys =)
    In CCM we have 2 views: groups and index (alphabetic).
    How can I set the default view ?  
    For example, I would like to have always the index view (alphabetic)
    Thanks for your help guys !
    regards,
    Diego

    Hi diego,
    I think you have to modify directly bsp for this.
    Regrads,
    Bertrand

  • How to set a Caption/title in ALv

    Hi frnds,
    Can you tell me how to set a caption/title to a ALV grid.
    Regards
    Anuj

    hi
    try like this
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED',
          i_title_vbak TYPE lvc_title VALUE 'SECOND LIST DISPLAYED'.
    populate additional paramete as follows.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       i_callback_pf_status_set          = 'PF_STATUS_SET'
         i_callback_user_command           = 'USER_COMMAND'
       i_callback_top_of_page            = 'TOP-OF-PAGE'
         i_grid_title                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    or if you want top of page
    populate the events table and use alv_commentary_write
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
      REFRESH it_listheader.
    try the below code u will get a clear picture
    report zalv no standard page heading.
    TYPE-POOLS : slis.
    TABLES: kna1.
    TYPES : BEGIN OF ty_kna1 ,
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            land1 LIKE kna1-land1,
            END OF ty_kna1.
    DATA: it_kna1 TYPE TABLE OF ty_kna1.
    DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat TYPE slis_fieldcat_alv.
    DATA : wa_layout TYPE slis_layout_alv .
    DATA : it_events TYPE  slis_t_event ,
           wa_events TYPE slis_alv_event.
    DATA : it_listheader TYPE slis_t_listheader,
           wa_listheader TYPE slis_listheader,
           it1_listheader TYPE slis_t_listheader,
           wa1_listheader TYPE slis_listheader.
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED'.
    INITIALIZATION.
      PERFORM getevents using it_events.
      PERFORM desinlayout.
    START-OF-SELECTION.
      PERFORM desinfieldcat.
      PERFORM datafetching.
      PERFORM display.
    *&      Form  desinfieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM desinfieldcat .
    wa_fieldcat-row_pos = 1.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-fieldname = 'KUNNR'.
      wa_fieldcat-seltext_l = 'Cust Num'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      wa_fieldcat-key = 'X'.
    wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 2.
      wa_fieldcat-col_pos = 2.
      wa_fieldcat-fieldname = 'NAME1'.
      wa_fieldcat-seltext_l = 'Name'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 35.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 3.
      wa_fieldcat-col_pos = 3.
      wa_fieldcat-fieldname = 'LAND1'.
      wa_fieldcat-seltext_l = 'Country'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " desinfieldcat
    *&      Form  datafetching
          text
    -->  p1        text
    <--  p2        text
    FORM datafetching .
      SELECT kunnr name1 land1
             FROM kna1
             INTO TABLE it_kna1
             UP TO 30 ROWS.
    ENDFORM.                    " datafetching
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       I_GRID_TITLE                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    ENDFORM.                    " display
    *&      Form  desinlayout
          text
    -->  p1        text
    <--  p2        text
    FORM desinlayout .
      wa_layout-zebra = 'X'.
      wa_layout-colwidth_optimize = 'X'.
    *wa_layout-edit = 'X'.
    ENDFORM.                    " desinlayout
    *&      Form  getevents
          text
    -->  p1        text
    <--  p2        text
    FORM getevents using p_it_events type slis_t_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
      IMPORTING
         et_events             = p_it_events
       EXCEPTIONS
         list_type_wrong       = 1
         OTHERS                = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    READ TABLE p_it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " getevents
    *&      Form  populatevents
          text
    -->  p1        text
    <--  p2        text
    FORM populatevents .
      READ TABLE it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " populatevents
    *&      Form  top-of-page
          text
    FORM TOP_OF_PAGE.
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      REFRESH it_listheader.
    ENDFORM.                    "top-of-page
    REWARD IF HELPFUL
    PRASANTH

  • How to Set Album list view as default

    MacBook Pro 3,1
    SL 10.6.7
    iTunes 10.3.1
    inverted-store-links
    if i use the »inverted-store-links« i always get the list-view instead the before used album-list.
    i think the same problem with playlists always shown in list-view by default.
    maybe there is a function at com.apple.itunes.plsit to set the default view.
    any other ideas are welcome.
    thanks
    chris

    you could use this script:
    Change Hidden iTunes Preferences v2.4 
    This application will allow you to invoke hidden iTunes preferences:
    Show "Library" playlist
    Changing view setting is global
    Allow half-stars in ratings
    Hide "Ping" buttons
    Show/hide arrow links -- to either search the iTunes Store or search your library
    Load complete iTunes Store preview before playing
    Create playlists for purchased song collections
    Play songs while importing or converting
    Create file names with track number
    Maintain grid view for Search results
    Option-click zoom button for Mini Player&
    Show buttons horizontally

  • How to Pre-Select a View for ALV dashboard at runtime

    Hello Experts,
    The requirement is to pre-select 1 view initially (out of several configured) for 'All' users and disable the 'View-selection' dropdown function in a standard ALV dashboard. So whenever the dashboard loads, a particular view has to be set automatically for all users.
    I need your help for the first part, which is to always pre-set a 'View' in a standard dashboard.
    I tried to implement the suggestion provided in the following thread:
    How to apply ALV view at runtime
    However I couldn't make this work in my case. I created a Post-Exit of a method in Comp Ctlr of dashboard (Initialize method) - where I receive the refrence 'IWCI_SALV_WD_TABLE'. Then calling the method 'GET_CONFIG_DATA' with action 'if_salv_wd_table=>set', I try to set the view, but it has no effect.
    Thanks a lot for your help,
    Abir

    Hi abir,
    Use this and alv1 is my alv component name
        DATA LO_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
        LO_CMP_USAGE =   WD_THIS->WD_CPUSE_ALV1( ).
        IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
          LO_CMP_USAGE->CREATE_COMPONENT( ).
        ENDIF.
        DATA LO_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
        LO_INTERFACECONTROLLER =   WD_THIS->WD_CPIFC_ALV1( ).
    LS_PARAM_IN TYPE IF_SALV_WD_TABLE=>S_TYPE_PARAM_CONFIG_IN.
    ls_param_in-default = "your view name " ( view is of type wdr_pers_variant)
        DATA LO_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LO_VALUE = LO_INTERFACECONTROLLER->GET_CONFIG_DATA( ls_param_in )
    Regards
    Srinivas
    Edited by: sanasrinivas on Dec 30, 2011 7:15 AM

  • How to set the output list in alv

    hai all,
    i have copied the standard alv program into customized and the out put of customized have changed . but the output listy of this customized program is to be changed like standard program . please tell me how to do this i have setting the current layout of it . it will display only for time been whemni come out of that program it will change .

    Hi,
    After changing the layout to desired output. Save the layout and set it as default. Then it will work for every time.
    Thanks
    Chandra

  • How to set the JavaHelp viewer

    Hi,
    Robohelp 7, Windows XP, installed with the TCS
    How do you point RoboHelp to a different JavaHelp viewer
    instance after it has been set initially? I was first using
    JavaHelp 1, but then installed JavaHelp 2, and I want to switch
    between the two for viewing, as I compile for the different
    versions. The only way I found to do it was to change the path to
    the active viewer which causes RoboHelp to lose it and to ask you
    again where it is.
    And by the way, I looked in the help for this and I got some
    whacked out non-scrollable window that seemed to search the Adobe
    website, rather than provide help. Am I doing something wrong? It
    didn't look like a help system at all.
    Thanks,
    Russ

    Hi Russ and welcome to our community
    Fellow Adobe Community Expert Peter Grainge has info on
    JavaHelp that may help. Not sure about switching viewers.
    For the help, click Tools * Options * General tab and choose
    the “Use offline help” option. Then close and restart
    RoboHelp to see the offline version of the help. It should be
    better.
    Here is the link to Peter's site:
    Click
    here to visit Peter's site.
    Cheers... Rick

  • How to set Authorisation to view and maintain employee data.

    Hi,
         I have a requirement to restrict the user to view and maintain all employee data except some manager position for some company codes. How can I do this .
    Cheers
    Senthil

    Hi,
    (This is what we had done....)
    Check the composite role : SAP_EMPLOYEE_ERP
    Create a Z role for SAP_EMPLOYEE_ERP;
    Will prompt you to copy the corresponding roles in it to z roles.
    The z-composite role is then assigned to the user.
    While creating an ESS user, to to restrict access to personnel master data, changes in the authorization P_ORGIN needs to be done.
    In our case, check the z-role created ; zSAP_ESSUSER_ERP.
    In Authorizations tab=>Display authorization data option => ;
    Expand Human Resources;
    In HR : Master data, you can find the various authorization assignments to P_ORIGIN;
    Authorization level (AUTHC)
    Infotype (INFTY)          
    Personnel Area (PERSA)
    Employee Group   (PERSG)
    Employee Subgroup  (PERSK)
    Subtype (SUBTY)
    Organizational Key (VDSK1)
    Authorization level (AUTHC) takes the values :
    • R (Read)          : for Read access
    • M (Matchcode) : for Read access to Input helps (F4)
    • W (Write)         : for Write access
    • S (Symmetric)  : for Write access using the Symmetric Double Verification Principle
    • *                      : always includes all other authorization levels simultaneously
    • E and D (Enqueue and Dequeue) :
    for Write access using the Asymmetrical Double Verification Principle. E allows the user to create and change locked data records and D allows the user to change lock indicators.
    In your case probably you need to consider for :
    Employee Group   (PERSG) / Employee Subgroup  (PERSK)
    the Authorization level set to R for the defined infotypes.
    This is again, Basis work....
    Please Check the links to get more clue :
    http://www.*********************/hr_security/hr_security.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/70/b7b83b5b831f3be10000000a114084/frameset.htm
    Hope this helps you!!
    Cheers and Good Luck!!
    Remi

  • How to set a colored Border in ALV OO aroung a row

    Hi there,
    i would like to know if it is possible to set a colored border around an entier row.
    I tried to debug er_data_change_protokol to figuere out how they do their cell bordering but i wasn't successful. Inet an FoSe didn't neither reveal anything, so befor i waste more time i ask the pro's.
    thanks in advance
    mathias

    Also refer:
    [http://abaplovers.blogspot.com/2008/05/changing-color-of-alv-grid-in-sap-abap.html]

  • How to set default folder view in Outlook PDF Portfolio?

    I'm using Acrobat 9.0 within MS Outlook 2007 to create a portfolio of a folder with subfolders. I would like the initial portfolio view to mimic a typical Outlook view with folder list and reading preview pane. I can create said view in the PDF file by splitting the window vertically and clicking my way to the desired folder level. But I cannot, for the life of me, figure out how to save those choices as a default under Portfolio Properties or elsewhere.  Can anyone offer advice?  Thanks.

    Can no one help me?  No one at all?

  • How to set IE compatibility view programmatically in Browser Helper Object?

    Goal: In IE11, I need to set "IE=EmulateIE7" compatibility view for particular websites.
    Adding an HTML meta header or a HTTP response header is not an option as we do not control the websites. Configuring IE (Tools > Compatibility View settings...) is not fine-grained enough as it truncates the website URL to the second and top level domains.
    My approach is to achieve the same but more fine-grained with the help of a Browser Helper Object (BHO). Is this possible at all?
    I created a C# Hello World BHO according to an online sample. It works in IE9. I haven't tested it in IE11 yet. Now I need to add some flesh to the bone. My idea is to register with the appropriate WebBrowser event, check the URL being retrieved, and then
    set a WebBrowser property to turn on compatibility view if necessary.
    Is this feasible?
    Which WebBrowser event would that be? DownloadBegin or DownloadEnd? Other?
    pure guess: WebBrowser.PutProperty("X-UA-Compatible", "IE=EmulateIE7")?
    Any ideas to cut down my trial-and-error space? Thanks a lot!
    PS: I (prematurely?) posted this question last night on stackoverflow.com.

    The compatibility list is more about developer and user preference and Microsoft tends to not provide API to override preferences. 
    If the user accepts launching a separate window to render the content in some alternative browser (pretty much like viewing source in Notepad) you can modify the browser emulation registry value before launching your own webbrowser control based application. 
    Visual C++ MVP

  • How to set default folder view to "list"

    Hi guys,
    This is regarding Tiger. I poked around in the Finder forum to no avail. Have any of you come up with anything that would force the default folder view to "list" view?
    Um, folders, they are found in the gui.
    Thanks for any thoughts, scripts, plists, insults welcome, have a Merry Christmas!

    "all windows"
    Unfortunately that did not work.
    While in the Finder from the menu bar go to Finder > Preferences > General tab. See the item "Open new windows in column view" Whatever that is affecting I suppose would be the place to start hacking away on. I haven't investigated that. Would have been nice if Apple added list view in there.
    I'll see if I can poke around a bit and find what file gets affected by setting that option. I'll post if I find something.

Maybe you are looking for

  • ITunes for the family

    My situation is that my son, now 12, has his own iPhone and has been purchasing his games, apps and music on my itunes account.  Am I able to transfer all his purchases to his new itunes account or is all his data and game progress gone?

  • Any way for Adobe PhotoShop Elements 6.0 to work on Windows 7 -64 bit?

    Adobe PhotoShop works OK on Windows XP. I can install on Windows 7 - 64 bit but it won't open.

  • Sandbox Error Violation issue connecting from Flash Builder

    I am trying to walk through the Getting started tutorials on the adobe developer site. I am using Flash Builder and I created a Flex 4 project. Other than that I pretty much followed the tutorial steps. In the debugger I am getting the following. Any

  • Download stops and I get err = 8008

    I purchased the TV Show "Fallen" and I've tried 5x's to download it. I've clicked "Checked Purchases" as iTunes advised, and still can't download the entire show. The error message says stopped (err=8008) What can I do? Will it fix itself?

  • Can't Download Creative Cloud

    Adobe Application Manager continually crashes.  I've tried over 5 times and have rebooted my computer and tried again.  I'm running a Mac and 0S X 10.9. If I manually run Adobe Application Manager the only options I have is to update CS6. This is ver