<?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: hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139238#M745977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this requirement use function module called ' popup&lt;/P&gt;&lt;P&gt;&lt;U&gt;to&lt;/U&gt;confirm'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code below for this FM,&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;DATA: l_ans.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;titlebar = 'BACK'&lt;/P&gt;&lt;P&gt;text_question = text-002&lt;/P&gt;&lt;P&gt;text_button_1 = 'YES'&lt;/P&gt;&lt;P&gt;text_button_2 = 'NO'&lt;/P&gt;&lt;P&gt;display_cancel_button = 'X'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;answer = l_ans&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;text_not_found = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc 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;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF l_ans = '1'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2007 11:32:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-17T11:32:40Z</dc:date>
    <item>
      <title>hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139237#M745976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;#149;	The entire Customer id&amp;#146;s on primary list with a hotspot.  On clicking it should throw a pop-up asking for fields to be displayed on secondary list.  The fields selected in the pop up should be shown on the secondary list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 11:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139237#M745976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139238#M745977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this requirement use function module called ' popup&lt;/P&gt;&lt;P&gt;&lt;U&gt;to&lt;/U&gt;confirm'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code below for this FM,&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;DATA: l_ans.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_TO_CONFIRM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;titlebar = 'BACK'&lt;/P&gt;&lt;P&gt;text_question = text-002&lt;/P&gt;&lt;P&gt;text_button_1 = 'YES'&lt;/P&gt;&lt;P&gt;text_button_2 = 'NO'&lt;/P&gt;&lt;P&gt;display_cancel_button = 'X'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;answer = l_ans&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;text_not_found = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc 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;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF l_ans = '1'.&lt;/P&gt;&lt;P&gt;LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 11:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139238#M745977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T11:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139239#M745978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this program.. you may get some idea...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BALV_POPUP_TO_SELECT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 11:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139239#M745978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T11:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139240#M745979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code which will display first primary list., then one pup-up window then last secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'BASIC'.&lt;/P&gt;&lt;P&gt;  WRITE 'Select line for a demonstration of windows'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'SELE'.&lt;/P&gt;&lt;P&gt;      IF sy-lsind = 1.&lt;/P&gt;&lt;P&gt;        SET PF-STATUS 'DIALOG'.&lt;/P&gt;&lt;P&gt;        SET TITLEBAR 'WI1'.&lt;/P&gt;&lt;P&gt;        WINDOW STARTING AT 5 3 ENDING AT 40 10.&lt;/P&gt;&lt;P&gt;        WRITE 'Select line for a second window'.&lt;/P&gt;&lt;P&gt;      ELSEIF sy-lsind = 2.&lt;/P&gt;&lt;P&gt;        SET PF-STATUS 'DIALOG' EXCLUDING 'SELE'.&lt;/P&gt;&lt;P&gt;        SET TITLEBAR 'WI2'.&lt;/P&gt;&lt;P&gt;        WRITE 'Last window'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried earlier as ur requirement but i am giving my idea may be it will help ful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can will display primary list with hotspot. Where after clicking you will get one pop-up window in that pop-up window display the fieldnames As checkbox  so that in that window all the field names will be shown as check box and select the required fields and click ok in next list it should display only the selected items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above code gives you basic idea how to display pop-up window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or else check this program name in SE38 -&amp;gt; &amp;lt;b&amp;gt;demo_list_window &amp;lt;/b&amp;gt; you will get the clear idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;please reward if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sunil kairam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2007 11:42:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3139240#M745979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-17T11:42:14Z</dc:date>
    </item>
  </channel>
</rss>

