"alv grid" layout as default does not work

I created a layout for my ALV and saved it. It is supossed to appear as default but every time I restart the ALV the layout is gone and I have to select it again. Do I have to do something else besides putting it as default in the "Layout choose" selection? Thanks in advance.

Hello,
Did you pass the parameters: IS_LAYOUT & I_SAVE to the ALV function module?
  FP_ST_LAYOUT-ZEBRA = C_X.
  FP_ST_LAYOUT-COLWIDTH_OPTIMIZE = C_X.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM       = SY-REPID
      IS_LAYOUT                = FP_ST_LAYOUT
      IT_FIELDCAT              = FP_IT_FIELDCAT
      I_SAVE                   = 'A'
    TABLES
      T_OUTTAB                 = FP_IT_OUTPUT
    EXCEPTIONS
      PROGRAM_ERROR            = 1
      OTHERS                   = 2.
  IF SY-SUBRC <> 0.
*   Error in calling Standard ALV Functional Module
    MESSAGE I019. "Error Occured in ALV Function Module
    LEAVE LIST-PROCESSING.
  ENDIF.
Hope this helps.
BR,
Suhas

Similar Messages

  • The troubleshooting options for setting firefox as default does not work

    When I go to my Home-Welsome to Century Link-Mozilla Firefox; a tab comes up saying "setting firefox as the default browser does not work". I tried all the various troubleshooting options. They did not work.

    Hello,
    Did you pass the parameters: IS_LAYOUT & I_SAVE to the ALV function module?
      FP_ST_LAYOUT-ZEBRA = C_X.
      FP_ST_LAYOUT-COLWIDTH_OPTIMIZE = C_X.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM       = SY-REPID
          IS_LAYOUT                = FP_ST_LAYOUT
          IT_FIELDCAT              = FP_IT_FIELDCAT
          I_SAVE                   = 'A'
        TABLES
          T_OUTTAB                 = FP_IT_OUTPUT
        EXCEPTIONS
          PROGRAM_ERROR            = 1
          OTHERS                   = 2.
      IF SY-SUBRC <> 0.
    *   Error in calling Standard ALV Functional Module
        MESSAGE I019. "Error Occured in ALV Function Module
        LEAVE LIST-PROCESSING.
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • Command to set firefox as default does not work

    After setting chrome as my default browser, I want to set Firefox as my default browser from the command line on windows.
    According to http://kb.mozillazine.org/Default_browser I ran
    firefox.exe -silent -setDefaultBrowser
    But that does not work. Chrome stays as the default browser. Setting FF as the default from the FF dialog (asking to set as default) works but I want to do it from the commandline.

    We have a support article on that: [[Make Firefox the default browser on Android]]. When trying to determine the current default browser app, I think Samsung's is called "Internet".

  • Save as default does not work

    Pages 09 constantly defaults to US Letter.  I've tried to change to US Letter Borderless but the 'Save as Default' on Page Setup does not work.  I've reloaded Pages to no avail.
    Any tips, tricks or suggestions?

    Is it an already saved document you are having problem with or one of the templates? How do you know that it doesn't default to Borderless? But when I try on Snow Leopard it doesn't remember borderless either.

  • Alv grid layout as default.

    In an alv grid you can personalize the layout (Change layout, save layout). Is it possible to somehow add this saved layout to the report so that it will be shown as the defaylt layout for eveyone that runs the report?
    Best Regards Claes

    Hello Rich Heilman and thank you for your help.
    I solved the problem as you suggested in the first example. This has worked great but now i need to set different layouts depending of what the user chooses. This i have not solved yet.
    Is there anything else that I need to do except create the layouts with those names <i>/Y23HPAREsum</i> and <i>Y23HPAREind</i> as you se in the code below?
    data:  variant type disvariant.
           variant-report = sy-repid.
      if p_sum eq 'X'.
           variant-VARIANT = '<i>/Y23HPAREsum</i>'.
           else.
           variant-VARIANT = '<i>Y23HPAREind</i>'.
      endif.
    form reuse_alv_list_display.
      data : l_repid like sy-repid.
      move sy-repid to l_repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program     =   l_repid
          i_callback_top_of_page =   st_formname_top_of_page
          it_fieldcat            =   st_fieldcat[]
            i_save               =   'X'
            is_variant           =   variant
        tables
          t_outtab               = lt_rec.
    endform.                               " REUSE_ALV_LIST_DISPLAY
    Best Regards Claes

  • Generate image assets "default" does not work in CC but does in CC 2014

    When I use "default -this" in a layer in photoshop cc it does not change the file names. In CC 2014 the same file works as expect.

    I installed Image Processor Pro quite some time ago. I extracted the extension package and just copied the two files "Image Processor Pro.xml" and "Image Processor Pro.jsx" into Photoshop's versions Presets\Scripts. I normally install things I add to Photoshop into my own folders outside any Adobe installation folder.   Image Processor Pro  is an exception because I did not want to modify X's code.  Image Processor Pro is coded in a way to find which version of Photoshop is being run from and looks for its default xml file in that version Presets\scripts\ folder.
    The script may save your modficaions to its defalt xml file into you user ID application data areas. And you can save you own Image Processor Pro presets configurations.
    I run Windows not Mac though.

  • Align to pixel grid for new object does not work

    I have set my document to align new objects (shapes) to pixel grid under the advanced settings
    I have gone into the options on the transform panel and set the check box to say all new objects should also align to pixel grid
    But when I create a shape it doesn't work, I end up with shapes with 3 digit decimal sub pixel sizes. eg. 34.536px
    If I want an object to align to pixel grid I'm having to set it individually for each object.
    Is this a bug that will get fixed or is there some work around, it's frustrating to have to set the feature for every single object I create

    Align new Objects to pixel grid setting works perfectly for all tools in Adobe Illustrator CC (17). In Illustrator 2014 CC (18) the rectangle and rounded rectangle tool do not automatically align to pixel.
    This thread says it's because of the new Live Rectangle tool objects are exempt from the Align to Pixel grid until you release them by expanding them.
    Bug? Illustrator CC 2014 and Pixel Grid settings not working.
    I'll be using the old version until Adobe 'fixes' this.

  • Show View Options (DEFAULT) DOES NOT work

    I'm pulling out my hair trying to get my Finder "show view options" to default. This worked fine in Leopard, but in Snow Leopard, the make "default" option doesn't seem to work. I'm using an erase and install version of Snow Leopard. I've used Cocktail and SWIPE to delete all DS_Store files and still it seems the default option won't work.
    I can choose my settings, then make default. Some folders will accept it and others won't. I've searched the web and see others with the same problem. Is there an easy solution? Switching through folders only to have different finder views is really annoying.
    Bryan

    Thanks KT-- I finally got it. After using Cocktail, DS_Store Terminator, another app, and a terminal command, then finally a restart, all seems well. I finally have all of my finder windows to my default view.
    I'll bet Cocktail and then a restart would have worked though, but I didn't restart until the last step.
    Anyway, it's good now.
    Bryan

  • Report and Layout Import Wizard does not work

    We used the Report and Layout Import Wizard extensively in 8.80 with no problems encountered.
    We are now upgraded to 8.81 PL07.  This is the first attempt at using the wizard in 8.81.  The intro window of the wizard, with 'To Start, use the "Next" button' message is as far as I can get.  The "Next" and "Cancel" buttons are inoperative - when I click them, there is no response (but they are not greyed out).  The program has not crashed - I can move the window, and the "X" close button at top right works, but nothing else does.  I am logged in as a superuser, running B1 in an RDP session on the server, same as under 8.80.
    Any ideas out there?

    Hi,
    This is a 8.81 PL07 bug!
    I had the same problem this week, and i found the note [1615932 - Buttons "Cancel" and "Next" are inactive in Report and layout import wizard window], that says that it is corrected on PL08!
    Regards,
    Alice

  • Column order in ALV using in portal environment does not work

    Hello,
    I set the columns order of an ALV table ( in WD ABAP ).  For one portal user these settings are not applied. ( columns seems to be in random order )  For the other users it works fine. I tried to see the differences between the portal users, but did not find anything.
    I guess it is some portal user personalization setting problem.
    Anyone knows how to fix this?
    Thanks,
    Tamas

    Tamas,
    I think user has done some personalisation or if you are Netweaver 701 you can rearrange the columns in a table
    Thanks
    Bala Duvvuri

  • Layout Options - Page Order Does Not Work Correctly

    I have a Photosmart C7280 All-in-One printer.  The Layout Option - Page Order does not work as expected.  The User Guide (page 95) states that the default for a multiple page document is to print first page first.  The manual states that to print last page first requires one to change the Page Order to "Back to Front".  For my Excel, Word, Internet Explorer and PDF pages, I need to leave the Page Order as "Front to Back" if I want the last page to print first.  This makes no sense.  In addition, I can't get my Quicken reports to print last page first no matter what I try.  Does anyone no why the Page Order does not work as expected for Excel, Word, IE and PDF, and does not work at all for Quicken?

    Keisha,
    If you uncheck the "show" option, then the corresponding HTML for that item is not rendered on the page. Thus, when you try to inspect that item via APEX_APPLICATION.G_F02, it simply doesn't exist.
    One trick that I use when I want to have hidden items on the page, but not make them take up any space, is to concatenate them to items that will be visible.
    Using your query as an example, I would re-write it like this:
    SELECT APEX_ITEM.CHECKBOX(1,ROWNUM,'CHECKED')ATTENDED,
    APEX_ITEM.HIDDEN(2,C.PARTY_ID)
      || APEX_ITEM.HIDDEN(3,C.PARTY_TYPE_CODE)
      || C.PARTY_TYPE_CODE PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS NAME,
    C.PARTY_CASE_ID
    FROM CASE.PARTY C
    INNER JOIN DN.PERSON S
    ON C.PARTY_ID = S.PERSON_ID
    WHERE C.PARTY_CASE_ID = :P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO = :P18_SEQThus, the second APEX report column will contain the HTML for the hidden items PARTY_ID & PARTY_TYPE_CODE, as well as the value for PARTY_TYPE_CODE. When you submit the page, you should not encounter any issues.
    Thanks,
    - Scott -
    http://sumnertechnologies.com/
    http://spendolini.blogspot.com/

  • Printing the document grid does not work

    Hi,
    I got here a lot of master documents. The design is built with a squre document grid. I need to print or export it as PDF. But activating the checkbox does not work. Is it possible to print it? Ruler guides and the base grid are working. But I need to print the document grid.
    Is there any possiblility to to this?
    Thanks
    DerSiedler

    Printing the document grid is not an option, but you might be able to work around it by creating your own grid using Layout > Create Guides... then printing the visible guides.
    I'd do that on a separate layer. If you want  the grid, but not other guide, make a real grid with colored strokes using step and repeat, again on a separate layer.

  • Keyboard layout switching does not work if I connect a second keyboard

    When I connect an external keyboard (a very ordinary Dell keyboard, no extra keys or something unusual) to my laptop, XFCE keyboard layout switcher disappears from a the and keyboard shortkut meant to switch also does not work. Rebooting with the keyboard initially attached does not help. Any ideas how to fix?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Lead Selection does not work after setting filter for ALV.

    Hi, Can you please suggest on below scenario :
    I have a Node with a sub node in it .
    I am using the supply function on Sub Node to retrieve the date based on Parent Node.
    There are two ALV's to display parent and item data. The issue is when a filter(user defined filter) is done on Parent table, the supply function does not work. The value is that of the selected row before setting the filter. Even after removing the filter, the item data is stuck and does not change on Lead Selection.
    One thing I noticed is if the child table is a table UI, there is no issue. The only problem is when the second table is ALV
    Thanks In Advance

    Hi Prashanthi,
    Your issue can be resolved as below
    Create an event handler method 'set_alv_data'  for the event 'ON_LEAD_SELECT' of parent alv
    Write the below code inside the event handler method
    METHOD set_alv_data.
      DATA lo_node TYPE REF TO if_wd_context_node.
      DATA lv_path TYPE string.
      DATA lv_index TYPE string.
      lv_index = r_param->index.
      CONDENSE lv_index.
      CONCATENATE wd_this->wdctx_my_parent_node
      lv_index
      wd_this->wdctx_my_child_node
      INTO lv_path SEPARATED BY '.'.
      lo_node = wd_context->path_get_node(
          path                          = lv_path
      DATA lo_interface TYPE REF TO iwci_salv_wd_table.
      lo_interface = wd_this->wd_cpifc_alv_child( ). "get the ref of alv comp of child
      lo_interface->set_data(
        EXPORTING
    *    only_if_new_descr =
          r_node_data       = lo_node
    ENDMETHOD.
    The above code sets the data node of child alv based on lead selection of parent alv data.
    Note: Replace 'parent_node', 'child_node'  with your nodes & 'alv_child' with your alv component name of child alv.
    If you want to control the data of child alv on filter function, you can use the event ON_STD_FUNCTION_AFTE and once you define the filter you get the r_param->id = 'SALV_WD_FILTER_DEFINE'  & now you can clear data of child alv.
    Hope this helps you.
    Regards,
    Rama

  • Output of a "report_attribute_error_message" in a sorted ALV does not work!

    Hi all/SAP,
    in my thread editable ALV - how to throw an error message for a specific line & field I figured out, that the output of a "report_attribute_error_message" in the ON_DATA_CHECK event of an editable ALV does not work, if sorting is active for a column.
    Thanks to The specified item was not found. for reproducing this problem.
    A similar problem exists, using an aggregation of a column. This will lead to a runtime exception.
    I've found no fix in the OSS to this problem.
    So is there a way to use sorting together with the output of a "report_attribute_error_message"
    or if this is a bug, can/will this be fixed in the (near) future?
    Thanks,
    Andreas

    Hi,
    Yes, it doesnot work with those (RB,CB) UI elements...Have you checked for any note..I have also tried but no luck..
    Regards,
    Lekha.

Maybe you are looking for