<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ALV Layout in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994288#M1343118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make fields f3 and f4 as invisible while creating field catalog, collect the data for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user selects the option to view them. Just make these visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2009 03:50:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-31T03:50:57Z</dc:date>
    <item>
      <title>ALV Layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994285#M1343115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program I've some fields like : f1, f2, f3,f4,f5 and I create fieldcat for these fields. When calling ALV_GRID_DISPLAY all the fields will be displayed, but our client wants that , by default just f1,f2,f3 displayed, howerver they can select the others fields such as : f3, f4 to be displayed and saved as variant, could you please show me how to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 02:35:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994285#M1343115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T02:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994286#M1343116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi, 
&amp;lt;li&amp;gt;Just execute the below program without giving anything on the selection screen.
&lt;PRE&gt;&lt;CODE&gt; REPORT  ztest_notepad.
 DATA: BEGIN OF it_t100 OCCURS 0,
         sprsl TYPE t100-sprsl,
         arbgb TYPE t100-arbgb,
         msgnr TYPE t100-msgnr,
         text TYPE t100-text,
       END OF it_t100.
 TYPE-POOLS :slis.
 DATA:wa_variant TYPE disvariant.
 PARAMETERS : p_var TYPE disvariant-variant.
"F4 help for Variant
 AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_var.
   DATA:g_exit.
   wa_variant-report = sy-repid.
   CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
     EXPORTING
       is_variant = wa_variant
       i_save     = 'X'
     IMPORTING
       e_exit     = g_exit
       es_variant = wa_variant.
   IF sy-subrc EQ 0.
     IF g_exit = space.
       p_var = wa_variant-variant.
     ENDIF.
   ENDIF.
 "START-OF-SELECTION
 START-OF-SELECTION.
   SELECT * FROM t100 INTO TABLE it_t100 UP TO 100 ROWS.
   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
     EXPORTING
       i_callback_program = sy-repid
       i_structure_name   = 'T100'
       i_default          = 'X'        "Initial variant active
       i_save             = 'X'        "Display variants can be saved as standard display variants.
       is_variant         = wa_variant
     TABLES
       t_outtab           = it_t100.&lt;/CODE&gt;&lt;/PRE&gt;
&amp;lt;li&amp;gt;To save layouts follow the screen shots below
 [ screen 1|http://2.bp.blogspot.com/_O5f8iAlgdNQ/SmbgDhz7vdI/AAAAAAAAFDI/xp7xxBdxWDo/s1600-h/1-714796.JPG]
  [screen 2|http://3.bp.blogspot.com/_O5f8iAlgdNQ/SmbgENdq9BI/AAAAAAAAFDY/Z8SnywJz9Rc/s1600-h/3-716761.JPG] 
 [ screen 3|http://3.bp.blogspot.com/_O5f8iAlgdNQ/SmbgEXxtY-I/AAAAAAAAFDg/APxJMLrB_CM/s1600-h/4-717734.JPG]
  [screen 4|http://3.bp.blogspot.com/_O5f8iAlgdNQ/SmbgEyxfXfI/AAAAAAAAFDw/3IHLF0hymlo/s1600-h/6-719115.JPG]

I hope that you will get it. 

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 03:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994286#M1343116</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2009-07-31T03:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994287#M1343117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use 'REUSE_ALV_VARIANT_F4'&lt;/P&gt;&lt;P&gt;Please refer this similar thread &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1370389"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 03:48:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994287#M1343117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T03:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Layout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994288#M1343118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make fields f3 and f4 as invisible while creating field catalog, collect the data for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When user selects the option to view them. Just make these visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it Helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2009 03:50:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-layout/m-p/5994288#M1343118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-31T03:50:57Z</dc:date>
    </item>
  </channel>
</rss>

