Saving Display Variant

Hi,
Is it possible to save a display variant in an ALV block list?
Thanks

Hi,
I don't think it is possible to save display variants in block list.  I have tried a lot many times with no success.  Not very sure if i am missing something.
Regards
Rajesh

Similar Messages

  • Problem in saving ALV display variant with filter

    Hello,
    I'm displaying an ALV grid with function 'REUSE_ALV_GRID_DISPLAY'. When I load a diplay variant and apply a filter, I could save new layout. But when I run the report without a display variant, then apply a filter to the result, I couldn't save filter option when saving display variant. In the "save" tab of save layout dialog, filter checkbox is not displayed. This happens in 4.6C version. Is it a bug or am i missing a point.
    Thanks,
    Mustafa.

    Slm Burak,
    'IT_FILTER' parameter is empty. Users apply a filter but couldn't save filtered list variant. When they run the report with saved display variant, list is displayed without filters.

  • Line Item Display Variant MIRO-column position needs to be changed..

    Hi,
    What is the possible way of setting the column position in line item display variant in MIRO screen.
    I need to change the positions of couple of columns so need to have  one layout as per my requirement.
    Does this involve only confiuration or it also needs ABAP changes?
    Request to suggest in detail if any one has done it already.
    Thanks in advance.
    Reagrds,
    BM

    Hi Charlie,
    Thanks for this help.However I have couple of doubts.
    When I save the new variant it asks me for package or local object.
    Cutrrently I have selected n saved as local object but what is the real time scenarion.Do we need to select any package on this screen.I am not aware of these things in detail so nwant to know the difference between a local object and a package and is it functional consultant's task to do this or developers should do this since they can select the package
    Please advise on this.
    Thanks in advance.
    Regards,
    BM

  • Standard vs User Created FI Line Display Variants

    Hello folks,
    I'd like your opinion on the following problem:
    Requirement: Display variants which begin with a special character other than / that is not in the sap standard variant name space, and can
    only be defined by selected users.
    We have users in ecc 6.0 that may create and save User Specific display layouts (those beginning with an alpha character), but we need to have
    the same display layouts saved as User Independent, that is Shareable with all other users and still begin with an alpha character....    
    But we cannot give access to create/change Standard display layouts (those beginning with a slash / ), as our Standard display      
    layouts/variants must remain protected and changeable only by designated users.                                       
    Any ideias if this is possible?
    If it's not possible, no problem, I'll reward anyway.
    Thank you for your help.

    Officially... cross-posting between the forums is not allowed... but sometimes both a security (technical) and functional aspect is very helpfull.
    The ability for moderators to mirror threads is unfortunately not available... ... So I will lock this thread.
    Please use => Standard vs User Created FI Line Display Layouts/Variants for security contributions to this question.
    This keeps the answers together in one place....
    Cheers,
    Julius
    PS to the other thread:
      if sy-uname ne 'THE_BOSS'.
        i_save = 'U'.
      endif.

  • Copy User Specific ALV Display Variants

    Does anyone know if it is possible to copy one user's ALV display variant (that has been saved as a user-specific variant) for a particular program (in this case VA05) to another user?

    Hi Eric,
    I'm a bit busy now and I cannot give you a complete solution, but sure can give you some c(l)ue. Just see if you have some success. If you do not, then i wuill get back to you later.
    Refer to the follwoing SAP Tables and see if you have some luck.
    ==========================================================
    LTDX  --> Generic storage of display variants
    LTDXD --> Default display variants
    LTDXS --> SAP Default Display Variants
    LTDXT --> Display variant texts
    ==========================================================
    The idea is to try and manipulate the table entries for various users.
    Regards,
    Anand Mandalika.

  • Display variant in  ALV grid

    Hi ,
    i have developed an interactive report in which form the first grid display i will move to the second grid display.
    Problem:
                 For the first list there is an display variant. when i navigate to the second list it is using the same display variant form the first list ( this should not hapen ). so many of the fields are not be displayed in the second list.
                Is there any way to differentiate the display variant from first and second list.
    Please help me. sample code will be more helpful.
    Patil

    hi santhosh
        You can very well create 2 variants in your report for grid display...just restrict some fields n create 2 variants and while executing jus choose which variant you need to run..
    REWARD IT IF USEFUl...!!!!

  • How to get the fields in a display variant

    Hello gurus,
    I have created variants for an ALV display that I can select on my selection. This works fine.
    Now I need to know during the execution of the program what are the fields that have been selected in the display variant so that I can export the selected fields in an excel sheet that I send by mail. The file is currently being sent with all the possible fields .
    Is there a module function that allows the program to know which field is present in the display variant?
    Thanks,
    Parvez

    Hi,
    Try these:     REUSE_ALV_VARIANT_DEFAULT_GET.
         REUSE_ALV_VARIANT_F4.
    .also see the link for more Details:
    http://www.abapcode.info/2008/09/selecting-variants-for-initial-alv-list.html.
    Hope it helps.
    Regards,
    Rahul

  • How to get the name of the currently used display variant

    Dear all,
    I found the user-exit EXIT_SAPLGRAP_001 for programming download authorization.
    With us no standard user is allowd to download data from R/3. With the user-exit it would be possible to allow certain downloads. one problem i solved already.
    For programming the second authorization i need the name of the currently used display variant in RKPEP000. Where can i get the name. I tried user-exits for RKPEP000, but i didn't find the name. I didn't find it in SYST either.
    Thanks and reargs
    Monika

    First you need to enter those names. Right-click the songs (Windows) or go to File>Get Info (All Platforms), then go to the second tab from the left to insert the information.

  • Function Module that will retrieve the Field Catalogs of a Display Variant

    Hello Experts,
    Are there any function modules that I can use to retrieve the field catalogs (fields to be displayed in ALV report) by passing the display variant name?
    An RFC needs to apply this to determine which field(data) to be passed to XI (calling system) depending on user login.
    Thanks in advance!

    These are the various FM available for Variants (field Layout)
    REUSE_ALV_VARIANT_ALL_MAINTAIN Maintain all display variants for one object
    REUSE_ALV_VARIANT_DEFAULT_GET  Read default display variant (description only, w/o field catalog)
    REUSE_ALV_VARIANT_EXISTENCE    Checks whether a display variant exists
    REUSE_ALV_VARIANT_F4           Display variant selection dialog box
    REUSE_ALV_VARIANT_MAINTAIN     Definition of a display variant outside the list context
    REUSE_ALV_VARIANT_SAVE         Save a display variant
    REUSE_ALV_VARIANT_SELECT       Read a display variant
    Regards,
    Amit

  • Data of table control not saved in variant of report

    Hi ppl,
    I have created a report program with some selection parameters.
    Also, I have included a table control on the selection screen (using subscreen).
    The report works perfectly.
    But, when I press the SAVE button on the selection screen to save the data on the selection screen into a variant, the variant only stores the values of the parameters and select-options present on the screen. It is not capturing the data in the table control.
    Please let me know if I need to do some additional coding for this.
    Thanks,
    David.

    Hi David,
    I too struggled a lot to find the solution ....atlast got it....It possible by exporting and importing the table control values to Database Index.
    1. AT SELECTION SCREEN OUTPUT event  triggers when you SAVE and GET the variant.
    2. So write the logic in AT SELECTION-SCREEN OUTPUT event.
    CONSTANTS: c_vari TYPE char30 VALUE
                             '(SAPLSVAR)RSVAR-VARIANT'.
      FIELD-SYMBOLS: <lfs_vari> TYPE ANY.
      ASSIGN: (c_vari) TO <lfs_vari>.
      IF sy-subrc = 0.
        IF <lfs_vari> IS NOT INITIAL.
          IF ok_code = 'SPOS'.
            EXPORT gt_chars[] TO DATABASE vari(tc) ID <lfs_vari>.
          ELSEIF ok_code = space.
            IMPORT gt_chars[] FROM DATABASE vari(tc) ID <lfs_vari>.
          ENDIF.
        ENDIF.
      ENDIF.
    In the above logic if OK_CODE is 'SPOS', that is for saving the variant with the name <lfs_vari>.
    Similarly if the OK_CODE is other than, 'GET'....that is for retrieving the variant. But in case of getting the variant OK_CODE is not filled with 'GET', but variant will be filled. We should take variant filling as base and do as done above.
    It worked for me.....

  • Display variant for transaction FBL3N - can it be protected?

    Hi,
    I have made a display variant for transaction FBL3N (G/L account line item display).
    Can I protect this variant?
    I don't like other users to overwrite it.
    Thank you.
    Kind regards,
    Linda

    Hi Linda,
    Line layout variants depend on a few things.
    1 authorizations.
    you need to make sure general users cannot change the standard layout. This is done via settings, layout, administration.
    2. Personal variants, you can create your own variant and set it up just for yourself.
    This can be done by selecting the user specifc tick box. The naming will have to be different but a user wont be able to see or change your variant.
    3. Lastly you can set your variant in FB00, however all this does is assign a variant to a user, someone with either the correct authorization or a variant that is not a user specific one COULD be changed.
    Hope this helps.
    Please award points if useful.

  • ALV Display Variant copying between programs

    There is a report program say PROGRAM1 whose ALV display variants we want to copy to the ALV display variants of another program say PROGRAM2.
    Both these program share the same ALV output structure design. My questions are
    1) Can the display variants of an ALV be copied into another program.?
    2) Can this be managed programatically?

    Hi,
      Try using LVC_VARIANT_SELECT and LVC_VARIANT_SAVE fms.
      First call LVC_VARIANT_SELECT to read variant from the first program and then call LVC_VARIANT_SAVE to save it for the second program.
      Take a look at report BCALV_GRID_11 for reference
    Sri
    Message was edited by: Srikanth Pinnamaneni

  • ABAP Query display variant problem

    Hi,
      We have three different SAP clients development DV1, Staging ST1 and production PC1. I have created an abap query for which I m trying to create a global display variant (not user specific). I m able to do so easily in DV1 and PC1 systems. But when I try to create a display variant on ST1 by first running the report and then going to menu Settings->Layout->Save . I find that by default the User-Specific checkbox is selected and disabled. Because of this I can create only user specific display variants for my queries.
    Where can I change the settings so that when I go to the above menu the User-specific checkbox is enabled and I m able to create global display variants ?
    Thank you for reading.
    Krishna

    I am confuse after reading your question , any way we can adding "default" variant in SQ01. You can also assign the same variant in SE93 , when you create T-code for the specific query !!.
    Well if it doesn’t solve your problem ..please explain your question with the help of tr. codes and what you’re trying to do !!
    I’m sorry , its really making me knutt by reading your question again and again .
    Thanks
    Saquib
    Message was edited by: Saquib Khan

  • Running ME2M in the background - display variant

    Hello all,
    I try to run ME2M (purchasing report) in the background and receive the result with specific display variant.
    Does anybody know how I can tell the system to show the results with specific fields, not all of them ?
    Thanks,
    Isaac

    Hello Isaac,
    Enter T.code ME2M>Select Menu  GOTO/Variants/Save as variant  in menu bar>get into VARIANT ATTRIBUTES Screen.
    >Enter variant name (user defined)>Enter user defined text in meaning field>Select check box as reqiured like background  processing etc.>now select whichever fields you want to hide,display or other options by checking in check box on object for selection screen --->finally Save.
    After creating variant, you can get it through Variant icon (Shift+F5).
    Thanks,
    AK

  • Global display variant authorisations

    Morning
    Anyone know the authorisation to use to ensure that I can create global display variants for QM reports such as QA32?  I thought it may be SD_VARIANT_MAINTAIN but this does not seem to make any difference.
    Cheers
    Ian

    THanks for your help Raja
    In the end the solution was not far away.  A colleague of mine found in the area that I was in earlier. 
    Customizing->Quality Managment->Quality Inspection-> List Definition->Define Variants (List View Function).
    Select this and then choose QA32/33 Inspection Lots.  Then choose the bottom option Maintain Field Selection List.  You are then presented with the program selection screen as you are in the previous two options.  Crucially however, you need to execute the program and it then takes you into the list display maintenance.
    It was the last step that was the breakthrough.  I have documented it for future searches on the same subject.
    Cheers
    Ian

Maybe you are looking for