Save and select layout

hi experts,
i had an requirement to display save layout and select layout in the application toolbar of alv grid display.
please help me.
regards,
karthik

hello,
First declare variable disvariant:
data: gs_disvariant type disvariant value sy-repid.
then you must set is_variant and i_save parameters in alv grid.
call method go_grid->set_table_for_first_display
    exporting
      is_variant                    = gs_disvariant
      i_save                        = 'A'
      is_layout                     = gs_layout
    changing
      it_outtab                     = gt_outtab
      it_fieldcatalog               = gt_fieldcat[]      .

Similar Messages

  • How to get save and select layout ? Please help!

    what parameters do i need to pass ? in set_table_for_first_display .
    please help!
      IF r_container IS INITIAL.
        CREATE OBJECT r_container
        EXPORTING container_name ='CONTAINER_1' .
        CREATE OBJECT r_grid
        EXPORTING i_parent = r_container.
        CALL METHOD r_grid->set_table_for_first_display
          EXPORTING
            i_structure_name = 'ZPO_INV_ALV'
                        CHANGING
            it_outtab        = t_alv_data.
    Edited by: Matt on Apr 8, 2009 2:12 PM - excessive use of ! and ? removed.  Code tags added.

    check this
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    *   I_INTERFACE_CHECK                 = ' '
    *   I_BYPASSING_BUFFER                = ' '
    *   I_BUFFER_ACTIVE                   = ' '
        I_CALLBACK_PROGRAM                = report_id
    *   I_CALLBACK_PF_STATUS_SET          = ' '
    *   I_CALLBACK_USER_COMMAND           = ' '
    *   I_CALLBACK_TOP_OF_PAGE            = ' '
    *   I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
    *   I_CALLBACK_HTML_END_OF_LIST       = ' '
    *   I_STRUCTURE_NAME                  =
    *   I_BACKGROUND_ID                   = ' '
    *   I_GRID_TITLE                      =
    *   I_GRID_SETTINGS                   =
    *   IS_LAYOUT                         =
        IT_FIELDCAT                       =  it_fieldcat
    *   IT_EXCLUDING                      =
    *   IT_SPECIAL_GROUPS                 =
    *   IT_SORT                           =
    *   IT_FILTER                         =
    *   IS_SEL_HIDE                       =
    *   I_DEFAULT                         = 'X'
        *I_SAVE                            = 'A'*
    *   IS_VARIANT                        =
    *   IT_EVENTS                         =
    *   IT_EVENT_EXIT                     =
    *   IS_PRINT                          =
    *   IS_REPREP_ID                      =
    *   I_SCREEN_START_COLUMN             = 0
    *   I_SCREEN_START_LINE               = 0
    *   I_SCREEN_END_COLUMN               = 0
    *   I_SCREEN_END_LINE                 = 0
    *   I_HTML_HEIGHT_TOP                 = 0
    *   I_HTML_HEIGHT_END                 = 0
    *   IT_ALV_GRAPHICS                   =
    *   IT_HYPERLINK                      =
    *   IT_ADD_FIELDCAT                   =
    *   IT_EXCEPT_QINFO                   =
    *   IR_SALV_FULLSCREEN_ADAPTER        =
    * IMPORTING
    *   E_EXIT_CAUSED_BY_CALLER           =
    *   ES_EXIT_CAUSED_BY_USER            =
      TABLES
        t_outtab                          = it_FINAL
    * EXCEPTIONS
    *   PROGRAM_ERROR                     = 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.

  • CJI3 - Save and delete layouts...

    Hi... I need to save a layout under cji3. I have two queries:
    i) How to save and set it to default?
    ii) How to delete it once I have saved it? Having done this, is it possible to have any of the existing ones as default...
    Thanks

    Hi,
    in the same way as in many other applications.
    If you have the layout on the screen tick the button "save layout" (or go to "settings / layout / save). Enter a layout name + description. If you flag the layout as "user-specific", it only appears for the user who created it, if you flag the layout as "default-setting" it is defaulted.
    To delete a layout go again to "Settings / layout / manage" mark the layout to be deleted and delete it. By double-clicking the field "default-setting" you can determine another layout as default layout.
    All these options can be restricted by authorization concept...
    Best regards, Christian

  • Audio volume not save and keyboard layout configuration problems

    Hello all,
    I needed to register again because my old account seems not to be working
    After almost 2 years without Arch due to work now I'm back to Arch again.
    Everything has changed... now there is Systemd and even the installation it's different so I will need some helps from the experienced users
    The installation was done yesterday and I found two issues that are really annoying me.
    The first one... keyboard layout... Yes it's incredibly... I only want my system in english and my keyboard in norwegian... But all are problems for that. Before telling me to read more or search for information.... I will tell you that I waster 2 hours yesterday only for that... With no success at all.
    The second one... even more stupid... why my pulseaudio keep the volumen at 100%? I tried different things... but not success at all.
    So please, can you help me?
    I will provide all the information you need.
    Thanks a lot and so happy to be back here
    Best regards,
    TheArcher
    Last edited by thearcherblog (2014-10-30 17:07:09)

    Hello Runical,
    To be honest I was following a guide to install the system and everything works ok but according to journalctl I have some problems with pulseaudio so I guess that can be the original problem.
    I will paste it here:
    $ journalctl -b | grep pulse
    Oct 30 13:04:30 arch.colonialOne rtkit-daemon[458]: Successfully made thread 457 of process 457 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 482 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 483 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 487 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 488 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 533 of process 457 (/usr/bin/pulseaudio) owned by '120' RT at priority 5.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] main.c: Module load failed.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[457]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.bluez.service failed to load: No such file or directory.
    Oct 30 13:04:32 arch.colonialOne rtkit-daemon[458]: Successfully made thread 536 of process 536 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
    Oct 30 13:04:32 arch.colonialOne pulseaudio[536]: [pulseaudio] pid.c: Daemon already running.
    Regards,
    TheArcher
    Last edited by thearcherblog (2014-10-31 06:59:20)

  • T-code: FBL1N  - Change Layout , Select Layout and Save Layout

    hi all,
    T-code: FBL1N  - Change Layout , Select Layout and Save Layout
    3 of the layout was grey out and does not allow me to choose.
    Anyone can help?
    Thanks.
    Joo

    Hi KK,
    Pls follow the steps below:
    1. In the SAP Screen where u get the Change layout icon is grey out.
    2. Pls type /nSU53.
    3. After that pls open a new session.
    4. Pls type SUIM
    5. Now, select the "ROLES"
    6. Enter your SAP ID and the T-code and click execute
    7. The roles will displayed and kindly double click it.
    8. Go to the authorization object tab
    9. Select display authorization object (Bottom left)
    10.Select FIND and enter the authorization object where you can get from /nSU53. The authorization object is start with F_*.
    11.Now, click on the display and you can see the authorization object is missing.
    12.You can sent the screen shot and request the SAP FICO Functional Team to maintain it in the SAP System.
    Assign points if useful
    Thanks.
    Joo

  • Save Layout and change Layout button.

    Hi Guys,
                Im calling the below method of class: cl_gui_alv_grid.
        gs_variant_lic-report = sy-repid.
        gs_variant_lic-username = sy-uname.
          CALL METHOD gi_alv_lic->set_table_for_first_display
            EXPORTING
              i_structure_name         = 'Z_STRUC'
              is_variant                    = gs_variant_lic
              i_save                        = 'A'
              is_layout                    = ls_layout
    However, the Select layout and Save Layout button dont appear.
    Instead i get the button 'Choose Layout'.
    If i dont pass gs_variant, i get single button 'Change Layout'.
    My requirement is to get 3 buttons: 'Change Layout', 'Select Layout' and 'Save Layout'.
    How can i achieve that?
    Thanks,
    Rohit.

    Please share how did u solved it?

  • TWO CRITICAL BUGS: 1) File, "Save Page As" and 2) right-click the picture and select "Save Image As", both do not work at all in Firefox 27, 28, and 29!

    Note: capitals are used only to highlight important words.
    PLEASE, TAKE THESE COMMENTS ON TWO CRITICAL BUGS VERY SERIOUSLY BECAUSE THE BUGS DESCRIBED BELOW ARE SO CRITICAL THAT I CANNOT USE THE LATEST VERSION OF FIREFOX UNLESS THEY DO NOT APPEAR IN THE LATEST VERSION AND THEREFORE I AM FORCED TO REVERT BACK TO FIREFOX 26.
    I have Windows 7 64-bit and Firefox 26. I could not install Firefox 27, 28, and 29 due to the persistent presence of the two critical bugs described below. I have 8 GB of RAM and an Intel quad-core processor and a lot of hard disk space available.
    I installed Firefox 27 and then Firefox 28 a while back and these two bugs described below were still present and now I have just checked again with Firefox 29 by installing it and yet again, these two bugs described below are present!! UNBELIEVABLE THAT THESE TWO CRITICAL BUGS ARE STILL PRESENT IN FIREFOX 29 WHEN I CLEARLY INFORMED YOU ABOUT THEM IN THE HELP, SUBMIT LINK OF FIREFOX!!
    I am forced to revert to Firefox 26!
    First, I use Windows 7 64-bit and I always use Firefox with at least 120 tabs opened. BUT I have 8 GB of RAM, an Intel core i7 quad-core processor and more than 1 TB of hard disk space. Consequently, I do not understand why I would have these two critical bugs.
    With Firefox 26, I also have at least 120 tabs opened when I start Firefox and I do not have the two critical bugs described below, therefore I do not believe that the number of tabs is the reason of the two critical bugs that are present in Firefox 27, 28, and 29.
    ---FIRST CRITICAL BUG:
    When I open ANY web page and do File, "Save Page As", the window that is supposed to open to locate the folder where I want to save this web page does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---SECOND CRITICAL BUG:
    When I use Google Images, for instance entering model in the search field of Google Images and then pressing enter.
    Then I select any picture, open to a new tab this selected picture, then open a new tab by selecting the option View for this picture. Then right-click the picture and select "Save Image As".
    Again, the window that is supposed to open to locate the folder where I want to save this picture does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---THESE TWO CRITICAL BUGS DO NOT APPEAR WHEN I USE INTERNET EXPLORER 11.
    I have no idea if you will be able to reproduce these two critical BUGS but I can assure you that they are not present when I use Firefox 26 and they are present when I use Firefox 27, 28, and 29. More, be aware that I have at least 100 tabs opened but I also have this same number of tabs opened in Firefox 26 and yet I do not experience these two critical bugs when I have Firefox 26!
    Once again, these two bugs touch at two vital, critical very basic functions of Firefox and therefore I will NOT be able to use any version above 26 if these two bugs are still present, as they are present in Firefox 27, 28, and now 29!!!
    Please, make it a priority to solve these two critical bugs. Thanks.
    I did read a post related to the same issues “Firefox stops responding when trying to "save page" or "save image" | Firefox Support Forum | Mozilla Support” at https://support.mozilla.org/en-US/questions/991630?esab=a&as=aaq
    I am still reading it again to try to figure out exactly what the person did to make his problems be solved, as the post is not clear at all on what solved the problems!
    In any case, all the suggestions proposed in this post do not work and I surely cannot do a system restore when it is obvious that the two bugs do not appear in Internet Explorer.

    First, I sent an email to the author of PhotoME to inform him of the serious issues his addon caused with Firefox latest versions.
    Now, for those of you who do not have the PhotoME addon and yet experience the same problem that I had and that I described above, I suggest the following strategy.
    As PhotoME did cause these problems with Firefox latest versions, I am pretty covinved other addons probably might cause these problems too. Therefore, adopt the following method.
    Test one addon at a time to see if this particular addon is behind your Firefox issues like the ones I had.
    So, disable one addon only at a time. Then close your Firefox and restart it from scratch and see if you still have your Firefox problems. You must restart the Firefox browser from scratch. If you still have these Firefox problems, re-enable the disabled addon, restart your Firefox (again!) and repeat the same method for every single addon that you have.
    Try to be selective by choosing first addons that are more likely to cause your Firefox problems such as not very well-known or not very popular addons (like it was the case for the PhotoME addon).
    If this method works or if it does not work, report it on this web page so that others can be helped with your comments.
    I hope this method will help you because I was really upset that I had these Firefox problems and I first thought it was the fault of Firefox, only to discover later that this PhotoME addon was the culprit and had caused me such upset.

  • I'm using Firefox version 3.6 on my '02 Mac G4. When I installed it, it worked fine, But then all of a sudden the "save" and "save as" windows stopped coming up at all when I selected "save" anywhere in Firefox. What happened and how do I fix it?

    I downloaded and installed Firefox on my '02 Mac G4. It worked great. Now I have version 3.6. But my weird problem is one day when I ran it, the "save" and "save as" windows stopped popping up at all. I'd left click a picture and select "save as" and nothing would happen. I'd go to the menu and select "save" and still no window would pop up. It would just act as if nothing had been clicked. No loading icon or anything and no "save as" window. I've never been able to get it to work. The volunteer in the live support chat typed "That IS weird.." I tried his suggestion but it did nothing. I may have deleted the plist preferences file in the preferences library folder to get it started again after a freeze up threw it out of whack but I've never had this happen before.And i've tried doing that again to see if that would restore it. But the plist always regenerates itself and the "save as " window still never appears when I run Firefox. The "save" window works just fine in every other program on my Mac, but not in Firefox. Weird..

    Leliforever, cheek you list of installed add-ons, the Ask toolbar can be installed without the users knowledge.
    For checking other extensions that may cause this, follow the procedure in this link - https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • In Yosemite Mail, the control click option no longer works when clicking on attachments, that previously allowed you to save, quicklook, and select app to open with. Any solutions?

    In Yosemite Mail, the control click option no longer works when clicking on attachments, that previously allowed you to save, quicklook, and select app to open with etc. Any solutions?

    Hi
    It shows just 4 always as an option in the "open with" lsit. Also I haven't downloaded any apps for a while so why would it start now?
    Do you know how I can estabilsh how many apps are counting toward this 10 and what they are?

  • I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    I am running 4.0.1 and when I download something the Download box stays blank-even though I have selected in General Preferences 'Show the downloads window when downloading a file' AND selected 'Save files to Downloads'....???

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • When attempting to "save as" a word document and selecting micrsoft word as the "save as type", it no longer will save it in a word icon document, the icon is just a blank document symbol and thus cannot email this document as before.

    when attempting to "save as" a word document and selecting micrsoft word as the "save as type", it no longer will save it in a word icon document, the icon is just a blank document symbol and thus cannot email this document

    Here are my two cents.
    The resources defining the file formats which Pages may import or export are stored in the file :
    Macintosh HD:Applications:iWork '09:Pages.app:Contents:Info.plist
    Assuming that you didn't installed the Developer tools, go to my iDisk (address below)
    Download :
    Pref Setter.app.zip
    Unpack the archive.
    Open the file "Info.plist" with Pref Setter.
    Open the entry entitled :  CFBundleDocumentsTypes
    Open the items 9, 10, 11, 12
    The normal contents is :
    Double check the parameters available for items 9 & 10.
    What you get may be linked to some oddity in these resources.
    Yvan KOENIG (VALLAURIS, France) samedi 1 octobre 2011 18:00:23
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Why can't I get the advanced selection available in EPUB export options in illustrator CC?  It's just not there.... Neither is the image selection available.  Only Epub reflowable and fixed layout, but not EPUB...

    Why can't I get the advanced selection available in epub export options in illustrator cc? It's not there and neither is image selection.  only epub reflowable and fixed layout but not just epub.. I don't know where it is to do some book exercises for my studies.  Very frustrating.

    This is the EPUB forum: InDesign EPUB

  • Save last selected and state for Tree Component?

    I have a Tree component that refreshes its data everytime I
    open the Tab containing it (doing a SQL call to return an index of
    models). The problem is that everytime the dataProvider changes (a
    new one overwrites the old one) with databinding, even if the data
    is exactly the same, it loses its old state and selected node. Is
    there any way to save this state/selected node when the
    dataProvider updates?

    good article on all aspects of trees including your issue.
    http://www.adobe.com/devnet/flex/quickstart/working_with_tree/

  • Authorization for "Select Layout and Print"

    I am using Business One 8.8 PL 18.  The option under the File menu for "Select Layout and Print" is available for super-users and some other users.  We want it to be available for all users.  What authorization setting controls this function?  Thanks.
    Marcia

    Under "General" section, assign "Full Authorization" rights to "Print Layout Designer"
    George

  • How to save the variant and select it for displaying output

    For       ALV variant use the FM_REUSE_ALV_VARIANT_F4 and REUSE_ALV_VARIANT_DEFAULT_GET to allow the user to save the variant and select it for displaying output.If   any of the data (Z fields in VBAP) is blank,the cell in the column must be highlighted in red.

    Hi,
       Refer thsi code
    DATA : wa_variant  TYPE disvariant,       "Work area for variant
           wa_variant1 TYPE disvariant,       "Work area for variant
    *&      Form  sub_get_default_variant                                  *
    This form will initialize the variant                               *
    FORM sub_get_default_variant .
    *--Clear
      CLEAR wa_variant.
    *--Pass the report name
      v_repid = sy-repid.                     "Report ID
      wa_variant-report = v_repid.
    *--Call the function module to get the default variant
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save        = c_save
        CHANGING
          cs_variant    = wa_variant1
        EXCEPTIONS
          wrong_input   = 1
          not_found     = 2
          program_error = 3
          OTHERS        = 4.
    *--Check Subrc
      IF sy-subrc = 0.
        p_varnt = wa_variant-variant.
      ENDIF.
    ENDFORM.                                  "sub_get_default_variant
    Regards,
    Prashant

Maybe you are looking for