<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Max Titov IV @ TechSplice &#187; hide</title>
	<atom:link href="http://www.blog.techsplice.com/archives/tag/hide/feed" rel="self" type="application/rss+xml" />
	<link>http://www.blog.techsplice.com</link>
	<description>The most beautiful music of all is the music of what happens.</description>
	<lastBuildDate>Tue, 20 Dec 2011 18:56:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SAP &#8211; ABAP &#8211; gui &#8211; hiding selection components</title>
		<link>http://www.blog.techsplice.com/archives/287</link>
		<comments>http://www.blog.techsplice.com/archives/287#comments</comments>
		<pubDate>Tue, 04 Aug 2009 20:52:01 +0000</pubDate>
		<dc:creator>maxtmax</dc:creator>
				<category><![CDATA[SAP/ABAP]]></category>
		<category><![CDATA[abap]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[programmer]]></category>
		<category><![CDATA[sap]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://www.blog.techsplice.com/?p=287</guid>
		<description><![CDATA[If you want to make your reports more functional you can start controling the properties of different components based on selections that are performed by the user. For instance in this post I&#8217;ll show you a quick example of how to hide a on-screen component based on user selection. PARAMETER: cb_a AS CHECKBOX DEFAULT 'X' [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to make your reports more functional you can start controling the properties of different components based on selections that are performed by the user.</p>
<p>For instance in this post I&#8217;ll show you a quick example of how to hide a on-screen component based on user selection.</p>
<pre class="prettyprint">PARAMETER:  cb_a AS CHECKBOX DEFAULT 'X'
<strong>            </strong>USER-COMMAND batch MODIF ID ida,
            cb_bAS CHECKBOX DEFAULT 'X'
            USER-COMMAND batch MODIF ID idb.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-group1 = 'IDA' AND cb_b NE 'X'.
<strong>      </strong>screen-<strong>active </strong>= 0.
      MODIFY SCREEN.
    ENDIF.

    IF screen-group1 = 'IDB' AND cb_a NE 'X'.
      screen-active = 0.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.</pre>
<p>This example will hide each of the check boxes depending on the selection of the other check-box.  If both are selected then both are visible, if one is un-checked then the other is hidden.</p>
<p>The active attribute controls the visibility of a particular screen component.  Explicitly: 0 = hidden, 1 = visible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.techsplice.com/archives/287/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.677 seconds -->

