<?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: How to make selection screen fields invisible based on  internal table data? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525242#M19039</link>
    <description>&lt;P&gt;Put your code between &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abaploop_at_screen.htm"&gt;LOOP AT SCREEN&lt;/A&gt; and ENDLOOP in the &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abapat_selection-screen_events.htm"&gt;PBO of the selection screen&lt;/A&gt;. Where are you stuck (camparing trailing number in fieldname with number of lines?)&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 13:07:08 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2017-11-29T13:07:08Z</dc:date>
    <item>
      <title>How to make selection screen fields invisible based on  internal table data?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525241#M19038</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
  &lt;P&gt;Could you please suggest me how to make " bottling line" parameters based on the internal table data. lets say there are different bottling lines for a plant. some plants are having 2 bottling lines and some 3. want to make invisible other bottling lines based on plant data. i have attached the image. below is my code.&lt;/P&gt;
  &lt;P&gt;SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;BR /&gt; &lt;BR /&gt; PARAMETERS: p_werks TYPE ztpp_overhead-werks OBLIGATORY,&lt;BR /&gt; p_empcat TYPE ztpp_overhead-zpp_head_id OBLIGATORY,&lt;BR /&gt; p_date TYPE ztpp_overhead-zpp_cons_date OBLIGATORY,&lt;BR /&gt; p_shift TYPE ztpp_overhead-shift OBLIGATORY.&lt;BR /&gt; &lt;BR /&gt; SELECTION-SCREEN : END OF BLOCK b1.&lt;BR /&gt; &lt;BR /&gt; SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.&lt;BR /&gt; &lt;BR /&gt; PARAMETERS: p_line1 TYPE zscenario AS LISTBOX VISIBLE LENGTH 10,&lt;BR /&gt; p_line2 TYPE zscenario AS LISTBOX VISIBLE LENGTH 10,&lt;BR /&gt; p_line3 TYPE zscenario AS LISTBOX VISIBLE LENGTH 10,&lt;BR /&gt; p_line4 TYPE zscenario AS LISTBOX VISIBLE LENGTH 10.&lt;BR /&gt; &lt;BR /&gt; SELECTION-SCREEN : END OF BLOCK b2.&lt;BR /&gt; &lt;BR /&gt; SELECTION-SCREEN : BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.&lt;BR /&gt; &lt;BR /&gt; PARAMETERS: p_file TYPE rlgrap-filename .&lt;BR /&gt; &lt;BR /&gt; SELECTION-SCREEN : END OF BLOCK b3.&lt;BR /&gt; &lt;BR /&gt; AT SELECTION-SCREEN.&lt;BR /&gt; &lt;BR /&gt; AT SELECTION-SCREEN OUTPUT.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; SELECT werks zline_no zline_type FROM zthr_line_master&lt;BR /&gt; INTO TABLE it_zthr_line_master&lt;BR /&gt; WHERE werks = p_werks.&lt;BR /&gt; &lt;BR /&gt; LOOP AT it_zthr_line_master INTO wa_zthr_line_master.&lt;BR /&gt; &lt;BR /&gt; LOOP AT SCREEN.&lt;BR /&gt;&lt;BR /&gt; MODIFY SCREEN.&lt;BR /&gt; &lt;BR /&gt; ENDLOOP.&lt;BR /&gt; &lt;BR /&gt; ENDLOOP.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 11:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525241#M19038</guid>
      <dc:creator>satish_kumar127</dc:creator>
      <dc:date>2017-11-29T11:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to make selection screen fields invisible based on  internal table data?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525242#M19039</link>
      <description>&lt;P&gt;Put your code between &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abaploop_at_screen.htm"&gt;LOOP AT SCREEN&lt;/A&gt; and ENDLOOP in the &lt;A href="https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/abapat_selection-screen_events.htm"&gt;PBO of the selection screen&lt;/A&gt;. Where are you stuck (camparing trailing number in fieldname with number of lines?)&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 13:07:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525242#M19039</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2017-11-29T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to make selection screen fields invisible based on  internal table data?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525243#M19040</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
  &lt;P&gt;I think you can get something from &lt;A href="https://blogs.sap.com/2012/08/17/dynamic-screen-programming-for-selection-screens/"&gt;here&lt;/A&gt;, &lt;A href="http://friendlyabaper.blogspot.co.il/2009/07/my-super-awesome-selection-screen.html"&gt;here &lt;/A&gt;and &lt;A href="http://www.saptechnical.com/Tutorials/ABAP/DynamicSScreen/demo.htm"&gt;here &lt;/A&gt;and the &lt;A href="http://bit.ly/2zBuK12"&gt;list&lt;/A&gt; goes on and on.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:03:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525243#M19040</guid>
      <dc:creator>iftah_peretz</dc:creator>
      <dc:date>2017-11-29T17:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to make selection screen fields invisible based on  internal table data?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525244#M19041</link>
      <description>&lt;P&gt;Hi Raymond,&lt;/P&gt;
  &lt;P&gt;Thnaks for the reply. My internal table " it_zthr_line_master" is having bottling lines data based on plant. i want to make my line parameters visible based on internal table data. if internal table is having 2 bottling lines then p_line1 and p_line2 should be visible and other 2 should be invisible. &lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 05:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525244#M19041</guid>
      <dc:creator>satish_kumar127</dc:creator>
      <dc:date>2017-11-30T05:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to make selection screen fields invisible based on  internal table data?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525245#M19042</link>
      <description>&lt;P&gt;What part of code aren't you able to write: setting SCREEN-INVISIBLE in the LOOP AT SCREEN/MODIFY SCREEN/ENDLOOP loop extracting the Nr from the fieldname and comparing with the nr of field to display (max number of lines in the plant selection I suppose) or what?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 06:23:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-make-selection-screen-fields-invisible-based-on-internal-table-data/m-p/525245#M19042</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2017-11-30T06:23:02Z</dc:date>
    </item>
  </channel>
</rss>

