<?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: MULTIPLE SELECTION IN DIALOG PROGRAMMING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207621#M764655</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 this function module :  'COMPLEX_SELECTIONS_DIALOG' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM call_dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES s_pernr FOR pa0001-pernr.&lt;/P&gt;&lt;P&gt;DATA tab_and_field  TYPE  rstabfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab_and_field-tablename = 'PA0001'.&lt;/P&gt;&lt;P&gt;tab_and_field-fieldname = 'PERNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_pernr-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_pernr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_pernr-low = 12345.&lt;/P&gt;&lt;P&gt;APPEND s_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- ls_options for remove options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;title = 'Personal Number'&lt;/P&gt;&lt;P&gt;*excluded_options = ls_options&lt;/P&gt;&lt;P&gt;tab_and_field = tab_and_field&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;range = s_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2008 13:39:51 GMT</pubDate>
    <dc:creator>Emre_tr</dc:creator>
    <dc:date>2008-03-24T13:39:51Z</dc:date>
    <item>
      <title>MULTIPLE SELECTION IN DIALOG PROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207618#M764652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello exports,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to provide an interface to user where he can Put multiple &lt;STRONG&gt;selected&lt;/STRONG&gt; invoice number at a time. (Like multiple selection in select option). It should be done in dialog programming.&lt;/P&gt;&lt;P&gt;plz suggest me .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Dec 2007 05:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207618#M764652</guid>
      <dc:creator>knitinkumarsethy</dc:creator>
      <dc:date>2007-12-29T05:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE SELECTION IN DIALOG PROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207619#M764653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use RANGES  or can use TYPE RANGE OF while declaring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:it_invoice    TYPE RANGE OF vbrk-vbeln,&lt;/P&gt;&lt;P&gt;.         wa_invoice LIKE   LINE     OF it_invoice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u need a bit of coding,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_invoice -sign   = 'I'. &lt;/P&gt;&lt;P&gt;wa_invoice -option = 'BT'.  i.e between&lt;/P&gt;&lt;P&gt;r_carrid_line-low    =  your screen fieldname inwhich the lower limit was selected&lt;/P&gt;&lt;P&gt;r_carrid_line-high   = your screen fieldname inwhich the higher limit was selected. &lt;/P&gt;&lt;P&gt;APPEND wa_invoice TO it_invoice. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u can use this internal table IT_INVOICE in query using operator IN in the WHERE caluse as u use with select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or  you can create a report program which has only a selection screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can EXPORT the object(select option name) to ur dialog program using IMPORT/EXPORT MEMORY ID .&lt;/P&gt;&lt;P&gt;But you need to declare the select options in ur dialog program with the same name and the structure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF rtab OCCURS {10|n}, &lt;/P&gt;&lt;P&gt;             sign   TYPE c LENGTH 1, &lt;/P&gt;&lt;P&gt;             option TYPE c LENGTH 2, &lt;/P&gt;&lt;P&gt;             low    LIKE dobj, &lt;/P&gt;&lt;P&gt;             high   LIKE dobj, &lt;/P&gt;&lt;P&gt;      END OF rtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Dec 2007 12:03:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207619#M764653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-30T12:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE SELECTION IN DIALOG PROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207620#M764654</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 use selection-screens in a subscreen of a dynpro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) define a subscreen (called subsi in this example)&lt;/P&gt;&lt;P&gt; in your dynpro   (called 0100 in this example)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) define the selection-screen in your programm like this:&lt;/P&gt;&lt;P&gt;&amp;#133;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_parm1  FOR ztable-parm1,&lt;/P&gt;&lt;P&gt;                             s_parm2  FOR ztable-parm2.    &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 101.&lt;/P&gt;&lt;P&gt;&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) define your PAI and PBO-moduls like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE status_0100.&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN subi INCLUDING sy-cprog '0101'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL SUBSCREEN subi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Dec 2007 12:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207620#M764654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-30T12:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: MULTIPLE SELECTION IN DIALOG PROGRAMMING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207621#M764655</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 this function module :  'COMPLEX_SELECTIONS_DIALOG' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM call_dialog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RANGES s_pernr FOR pa0001-pernr.&lt;/P&gt;&lt;P&gt;DATA tab_and_field  TYPE  rstabfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tab_and_field-tablename = 'PA0001'.&lt;/P&gt;&lt;P&gt;tab_and_field-fieldname = 'PERNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_pernr-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_pernr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_pernr-low = 12345.&lt;/P&gt;&lt;P&gt;APPEND s_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*-- ls_options for remove options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;title = 'Personal Number'&lt;/P&gt;&lt;P&gt;*excluded_options = ls_options&lt;/P&gt;&lt;P&gt;tab_and_field = tab_and_field&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;range = s_pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2008 13:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-selection-in-dialog-programming/m-p/3207621#M764655</guid>
      <dc:creator>Emre_tr</dc:creator>
      <dc:date>2008-03-24T13:39:51Z</dc:date>
    </item>
  </channel>
</rss>

