<?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: reg selection screen? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892722#M679832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select matnr werks from ur database table into itab &lt;/P&gt;&lt;P&gt;where matnr in s_matnr&lt;/P&gt;&lt;P&gt;and werks in s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im assuming that ur plant is not a paramter but a select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i didnt get the last part of ur question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2007 06:44:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-11T06:44:53Z</dc:date>
    <item>
      <title>reg selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892716#M679826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;im having material number and plant in my selection screen..&lt;/P&gt;&lt;P&gt;now after entering values for those fields in selection screen ,,i have to display the values in list output &amp;lt;b&amp;gt;for watever i have selected in the selection screen&amp;lt;/b&amp;gt; for matnr and werks via select-options..&lt;/P&gt;&lt;P&gt;and also i have to display the number of &amp;lt;b&amp;gt;material and plant combinations&amp;lt;/b&amp;gt; in the output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;jay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892716#M679826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T06:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: reg selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892717#M679827</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;After getting the data into your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before display the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete itab where not matnr in s_matnr.&lt;/P&gt;&lt;P&gt;delete itab where not werks in s_werks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:38:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892717#M679827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T06:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: reg selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892718#M679828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First definr the selection screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS :  MATNR FOR MARA-MATNR,&lt;/P&gt;&lt;P&gt;                                PLANT LIKE MARA-WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then write the select Querry to get the Data's to Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892718#M679828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T06:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: reg selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892719#M679829</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;this is the logic for number of records &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LV_COUNT = 0.&lt;/P&gt;&lt;P&gt;  LOOP  AT IT_OUTPUT INTO WA_OUTPUT.&lt;/P&gt;&lt;P&gt;    LV_COUNT = LV_COUNT + 1.&lt;/P&gt;&lt;P&gt;    WA_OUTPUT-COUNT = LV_COUNT.&lt;/P&gt;&lt;P&gt;    APPEND WA_OUTPUT TO IT_OUTPUT_1.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  REFRESH IT_OUTPUT.&lt;/P&gt;&lt;P&gt;  IT_OUTPUT = IT_OUTPUT_1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892719#M679829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T06:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: reg selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892720#M679830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write a select stmt with all the data that u want but in WHERE clause write&lt;/P&gt;&lt;P&gt;SELECT ....WHERE matnr in s_matnr AND werks in s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For getting the output combinations&lt;/P&gt;&lt;P&gt;The table in which u fetch all the data from above SELECT clause suppose it_tab&lt;/P&gt;&lt;P&gt;write a DESCRIBE stmr on it&lt;/P&gt;&lt;P&gt;data: N type I.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE it_tab LINES N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give u the number of o/p combinations in N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it answers ur query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:43:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892720#M679830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T06:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: reg selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892721#M679831</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;check the sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  get_selection_screen&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Subroutine to get the user selection on selection screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM get_selection_screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      curr_report     = sy-repid&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      selection_table = i_seltable&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      not_found       = 01&lt;/P&gt;&lt;P&gt;      no_report       = 02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;    REFRESH i_seltable.&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;ENDFORM.                    " get_selection_screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the seltable u will get the selected material number and plant and then pass them to below FM..it will display in the output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  display_selection_criteria&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Subroutine to display the selction criteria in the output&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM display_selection_criteria .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RS_LIST_SELECTION_TABLE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      report        = sy-repid&lt;/P&gt;&lt;P&gt;      seltext       = c_x&lt;/P&gt;&lt;P&gt;      newpage       = space&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      sel_tab       = i_seltable&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      sel_tab_empty = 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;P&gt;    REFRESH i_seltable.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:43:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892721#M679831</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-10-11T06:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: reg selection screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892722#M679832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select matnr werks from ur database table into itab &lt;/P&gt;&lt;P&gt;where matnr in s_matnr&lt;/P&gt;&lt;P&gt;and werks in s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im assuming that ur plant is not a paramter but a select option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i didnt get the last part of ur question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2007 06:44:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-selection-screen/m-p/2892722#M679832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-11T06:44:53Z</dc:date>
    </item>
  </channel>
</rss>

