<?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: selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725493#M316341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_GET_VALUES is definitely the required FM to display a popup with required set of input the user needs to enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this code. &lt;/P&gt;&lt;P&gt;This will popup a dialog window with CARRID and CONNID values , which you can change to suit your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZSHAIL_1 .&lt;/P&gt;&lt;P&gt;data: itab type table of sval with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-tabname = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;itab-fieldname = 'CARRID'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;itab-tabname = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;itab-fieldname = 'CONNID'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_GET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUE_CHECK = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;popup_title = 'hello'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;START_COLUMN = '5'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;START_ROW = '5'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RETURNCODE =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;fields = itab[]&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERROR_IN_FIELDS = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is solved.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Award points if found useful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2006 19:27:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-02T19:27:11Z</dc:date>
    <item>
      <title>selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725489#M316337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a parameter customer number ,for a particular value of a customer a window has to pop up asking the user to enter zip code and region.I know that i have to use at selection-screen output for that but what is the exact statement for getting the pop up window with those two parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 19:03:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725489#M316337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T19:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725490#M316338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At selection screen output will be used here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that you can call &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'POPUP_GET_VALUES'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this function module it will explain how to get popup values.. you can use any number of parameters in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prince.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 19:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725490#M316338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T19:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725491#M316339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001 .

data: ivals type table of sval with header line.

data: p_pstlz type kna1-pstlz,
      p_regio type kna1-regio.


parameters: p_kunnr type kna1-kunnr.

at selection-screen.



  ivals-tabname = 'KNA1'.
  ivals-fieldname = 'PSTLZ'.
  append ivals.

  ivals-tabname = 'KNA1'.
  ivals-fieldname = 'REGIO'.
  append ivals.

  call function 'POPUP_GET_VALUES'
    exporting
*   NO_VALUE_CHECK        = ' '
      popup_title           = 'Enter Zip and Region'
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            =
    tables
      fields                = ivals
   exceptions
     error_in_fields       = 1
     others                = 2
            .

  read table ivals with key fieldname = 'PSTLZ'.
  if sy-subrc  = 0.
    p_pstlz = ivals-value.
  endif.

  read table ivals with key fieldname = 'REGIO'.
  if sy-subrc  = 0.
    p_regio = ivals-value.
  endif.


start-of-selection.

  write:/ p_kunnr, p_pstlz, p_regio.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 19:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725491#M316339</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-11-02T19:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725492#M316340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try FM G_POPUP_FOR_ENTERING_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 19:23:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725492#M316340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T19:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725493#M316341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priyanka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_GET_VALUES is definitely the required FM to display a popup with required set of input the user needs to enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just check this code. &lt;/P&gt;&lt;P&gt;This will popup a dialog window with CARRID and CONNID values , which you can change to suit your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZSHAIL_1 .&lt;/P&gt;&lt;P&gt;data: itab type table of sval with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-tabname = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;itab-fieldname = 'CARRID'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;clear itab.&lt;/P&gt;&lt;P&gt;itab-tabname = 'SFLIGHT'.&lt;/P&gt;&lt;P&gt;itab-fieldname = 'CONNID'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_GET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUE_CHECK = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;popup_title = 'hello'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;START_COLUMN = '5'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;START_ROW = '5'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RETURNCODE =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;fields = itab[]&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;ERROR_IN_FIELDS = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is solved.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Award points if found useful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;SP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 19:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725493#M316341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T19:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725494#M316342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way of making those fields mandatory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 19:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1725494#M316342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T19:52:21Z</dc:date>
    </item>
  </channel>
</rss>

