<?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: Check if screen exist in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929170#M385164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've managed to solve this issue using the function RS_SCREEN_LIST. This function takes as arguments a program name and a screen number. It returns a table with properties of the screen. If the column 'TYPE' of this table equals 'I', then it's a subscreen. It also has an exception 'Screen does'nt exist'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kr,&lt;/P&gt;&lt;P&gt;Björn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Feb 2007 11:37:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-22T11:37:11Z</dc:date>
    <item>
      <title>Check if screen exist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929167#M385161</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;I've made a kind of screen exist in my application. It calls a screen from an other report, but no I want to include a check if the screen exists in that report and if the screen is of the type subscreen. Any ideas on how to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kr,&lt;/P&gt;&lt;P&gt;Björn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 10:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929167#M385161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T10:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Check if screen exist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929168#M385162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bjorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the statement CALL SUBSCREEN...&lt;/P&gt;&lt;P&gt;Check the value of sy-subrc immediately after this statement.&lt;/P&gt;&lt;P&gt;If the value is non zero, then the subscreen does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 10:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929168#M385162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T10:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Check if screen exist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929169#M385163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I don't think this is possible for different reasons:&lt;/P&gt;&lt;P&gt;1. I don't want to call my subscreen yet&lt;/P&gt;&lt;P&gt;2. I'm using selection-screen tabbed block as subscreen area so I'm not going into PBO or PAI modules and there's the only place to call subscreens I think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kr,&lt;/P&gt;&lt;P&gt;Björn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 10:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929169#M385163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Check if screen exist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929170#M385164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've managed to solve this issue using the function RS_SCREEN_LIST. This function takes as arguments a program name and a screen number. It returns a table with properties of the screen. If the column 'TYPE' of this table equals 'I', then it's a subscreen. It also has an exception 'Screen does'nt exist'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kr,&lt;/P&gt;&lt;P&gt;Björn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2007 11:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/check-if-screen-exist/m-p/1929170#M385164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-22T11:37:11Z</dc:date>
    </item>
  </channel>
</rss>

