<?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 PopUP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616227#M275972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    at selection-screen.&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'UPDATE TERMINATION'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            TITEL  = TEXT-021&lt;/P&gt;&lt;P&gt;            TXT1   = WSC-MESSAGE2&lt;/P&gt;&lt;P&gt;            TXT2   = WSC-LOCK_MESSAGE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'All Changes have been Retained on the Screen.'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            TXT3   = TEXT-022&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'Rectify the Problem ??? and Try to SAVE again'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            TXT4   = TEXT-023&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 1.  &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 15:19:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T15:19:48Z</dc:date>
    <item>
      <title>Selection Screen PopUP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616224#M275969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a req. where in we have CompanyCode as Parameter and Documet# as selection-option on the selection screen.&lt;/P&gt;&lt;P&gt;As an Selection screen check the user would like to validate the Document#s (Multiple)entered across the Company Code entered and if the entered document No. does not pertain to that CompanyCode then a PouUp has to be displayed with all the Document# that failed the validation.&lt;/P&gt;&lt;P&gt;So, the popup should display:&lt;/P&gt;&lt;P&gt;Document 0000000001&lt;/P&gt;&lt;P&gt;         0000000002&lt;/P&gt;&lt;P&gt;         0000000010&lt;/P&gt;&lt;P&gt;does not pertain to CC &amp;amp;n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please let me know the FM that could be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankx,&lt;/P&gt;&lt;P&gt;-PSK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 15:14:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616224#M275969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T15:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PopUP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616225#M275970</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; use the function module POPUP_WITH_TABLE_DISPLAY to display multiple lines..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 15:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616225#M275970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T15:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PopUP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616226#M275971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think in this case this function module will be suitable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;POPUP_WITH_TABLE_DISPLAY_OK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 15:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616226#M275971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T15:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PopUP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616227#M275972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    at selection-screen.&lt;/P&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'UPDATE TERMINATION'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            TITEL  = TEXT-021&lt;/P&gt;&lt;P&gt;            TXT1   = WSC-MESSAGE2&lt;/P&gt;&lt;P&gt;            TXT2   = WSC-LOCK_MESSAGE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'All Changes have been Retained on the Screen.'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            TXT3   = TEXT-022&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;'Rectify the Problem ??? and Try to SAVE again'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            TXT4   = TEXT-023&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 1.  &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 15:19:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616227#M275972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T15:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PopUP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616228#M275973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    you can use &lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;   at selection screen.&lt;/P&gt;&lt;P&gt;   loop at s_matnr.&lt;/P&gt;&lt;P&gt;     select matnr from mara where matnr = S_matnr-low.&lt;/P&gt;&lt;P&gt;      if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;       itab1-matnr = s_matnr-low.&lt;/P&gt;&lt;P&gt;        append itab. &lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   loop at itab1.&lt;/P&gt;&lt;P&gt;    concatenate lv_message itab1-matnr into lv_message &lt;/P&gt;&lt;P&gt;     separated by  space.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;   concatenate lv_message 'does not  pertain to CC' into&lt;/P&gt;&lt;P&gt;          lv_message separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  message i000(zz) with lv_message .&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 15:29:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616228#M275973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T15:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PopUP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616229#M275974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use the ALV Popup. Here is an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT ZRICH_0001 .

type-pools: slis.

data: begin of ialv occurs 0,
*      check type c,
      value1(10) type c,
      value2(20) type c,
      end of ialv.

data: ifldc type slis_t_fieldcat_alv .
data: xfldc type slis_fieldcat_alv .


parameters: p_check.


at selection-screen.

ialv-value1 = 'ABC'.
ialv-value2 = 'Desc ABC'.
append ialv.

ialv-value1 = 'DEF'.
ialv-value2 = 'Desc DEF'.
append ialv.

*clear xfldc.
*xfldc-reptext_ddic    = ' '.
*xfldc-fieldname  = 'CHECK'.
*xfldc-tabname   = 'IALV'.
*xfldc-outputlen  = '1'.
*append xfldc to ifldc.

clear xfldc.
xfldc-reptext_ddic    = 'Value1'.
xfldc-fieldname  = 'VALUE1'.
xfldc-tabname   = 'IALV'.
xfldc-outputlen  = '10'.
append xfldc to ifldc.

clear xfldc.
xfldc-reptext_ddic    = 'Value2'.
xfldc-fieldname  = 'VALUE2'.
xfldc-tabname   = 'IALV'.
xfldc-outputlen  = '20'.
append xfldc to ifldc.


call function 'REUSE_ALV_POPUP_TO_SELECT'
     exporting
*          i_checkbox_fieldname = 'CHECK'
          i_tabname            = 'IALV'
          it_fieldcat          = ifldc
     tables
          t_outtab             = iALV
     exceptions
          program_error        = 1
          others               = 2.

check sy-subrc  = 0.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the program, and at the selection screen hit enter, the ALV will be fired.&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>Wed, 18 Oct 2006 15:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616229#M275974</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-18T15:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen PopUP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616230#M275975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use the below FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTion-screen.&lt;/P&gt;&lt;P&gt;*validate the document.&lt;/P&gt;&lt;P&gt;If error.&lt;/P&gt;&lt;P&gt;   populate internal table LSLOC.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;describe table lsloc lines lcnt.&lt;/P&gt;&lt;P&gt;if lcnt &amp;gt; 0.&lt;/P&gt;&lt;P&gt;call function 'POPUP_WITH_TABLE'&lt;/P&gt;&lt;P&gt;        exporting&lt;/P&gt;&lt;P&gt;          endpos_col = LEC&lt;/P&gt;&lt;P&gt;          endpos_row = LER&lt;/P&gt;&lt;P&gt;          startpos_col = LSC &lt;/P&gt;&lt;P&gt;          startpos_row = LSR&lt;/P&gt;&lt;P&gt;          titletext = TEXT-021 "title&lt;/P&gt;&lt;P&gt;        importing&lt;/P&gt;&lt;P&gt;          choice = lchoice&lt;/P&gt;&lt;P&gt;        tables&lt;/P&gt;&lt;P&gt;          valuetab = LSLOC "internal table&lt;/P&gt;&lt;P&gt;        exceptions&lt;/P&gt;&lt;P&gt;          break_off = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 15:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-popup/m-p/1616230#M275975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T15:35:52Z</dc:date>
    </item>
  </channel>
</rss>

