<?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: Layout default option on the selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904839#M1481967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply. But my requirement is slightly different.&lt;/P&gt;&lt;P&gt;I want the default layout option set in the report to come by default in the layout selection box on the Selection Screen.&lt;/P&gt;&lt;P&gt;Means whenever user runs the TCODE he wouldn't have to choose any layout. It will display in the default layout, if the user doesn't makes any selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 May 2010 13:13:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-13T13:13:07Z</dc:date>
    <item>
      <title>Layout default option on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904835#M1481963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have given a Select Layout box on the Selection screen of my ALV report. How can I pass the default layout value, already set in the report to the box on the selection screen as the default value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 11:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904835#M1481963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T11:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Layout default option on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904836#M1481964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which one are you using on the selection screen to select the layout.. &lt;/P&gt;&lt;P&gt;Radio Buttons..? Chcek Boxes..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 11:50:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904836#M1481964</guid>
      <dc:creator>UdayS</dc:creator>
      <dc:date>2010-05-13T11:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Layout default option on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904837#M1481965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: RS_VARIANT LIKE DISVARIANT.

SELECTION-SCREEN : BEGIN OF BLOCK B10 WITH FRAME TITLE TEXT-024.
    PARAMETERS       : PA_VARI  TYPE SLIS_VARI.
SELECTION-SCREEN : END OF BLOCK B10.

FORM ALV_VARIANT_F4  CHANGING P_PA_VARI.
  DATA: "RS_VARIANT LIKE DISVARIANT,
         NOF4       TYPE C,
         G_REPID    TYPE SY-REPID.
  MOVE SY-REPID TO G_REPID.
  CLEAR NOF4.

  LOOP AT SCREEN.
    IF SCREEN-NAME    = PA_VARI.
      IF SCREEN-INPUT = 0.
        NOF4 = 'X'.
      ENDIF.
    ENDIF.
  ENDLOOP.

  RS_VARIANT-REPORT   = G_REPID.
  RS_VARIANT-USERNAME = SY-UNAME.

  CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
    EXPORTING
      IS_VARIANT = RS_VARIANT
      I_SAVE     = 'A'
    IMPORTING
      ES_VARIANT = RS_VARIANT
    EXCEPTIONS
      OTHERS     = 1.

  IF SY-SUBRC = 0 AND NOF4 EQ SPACE.
    PA_VARI = RS_VARIANT-VARIANT.
  ENDIF.
ENDFORM.                    " ALV_VARIANT_F4
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Following code is used to get the Layout selection box on the selection screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 11:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904837#M1481965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T11:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Layout default option on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904838#M1481966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi goenkavishal , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you like to place some value in the parameter by default...? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex : when you execute it..in the Parameter it should display some value like 'ABCD' or '0567'...? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:  p_curr(16) TYPE p DECIMALS 2 DEFAULT '123456.78.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if this is not your requirement...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kittu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 13:05:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904838#M1481966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T13:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Layout default option on the selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904839#M1481967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply. But my requirement is slightly different.&lt;/P&gt;&lt;P&gt;I want the default layout option set in the report to come by default in the layout selection box on the Selection Screen.&lt;/P&gt;&lt;P&gt;Means whenever user runs the TCODE he wouldn't have to choose any layout. It will display in the default layout, if the user doesn't makes any selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 13:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/layout-default-option-on-the-selection-screen/m-p/6904839#M1481967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T13:13:07Z</dc:date>
    </item>
  </channel>
</rss>

