<?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: Screen attributes at runtime. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109941#M982701</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 wanted to know caller program of the current screen and not current program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Prog A calls screen S and from screen S processing block a call to a function module F may be their which belongs to the program B. If my control is in function module F, then sy-cprog will be B, while I expect the value as A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anirudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2008 10:47:35 GMT</pubDate>
    <dc:creator>Anirudha</dc:creator>
    <dc:date>2008-07-08T10:47:35Z</dc:date>
    <item>
      <title>Screen attributes at runtime.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109938#M982698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the current screen number in an ABAP processing block in system variable sy-dynnr. I would like to know the screen attributes like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Which program has called this screen( As in the case of subscreen a different program may call it)&lt;/P&gt;&lt;P&gt;2. Screen type:&lt;/P&gt;&lt;P&gt;    IF it is a subscreen then which is the current container screen for it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to leave a SUBSCREEN ( As 'Leave SCREEN', 'LEAVE To SCREEN' can not be applied for subscreen).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 09:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109938#M982698</guid>
      <dc:creator>Anirudha</dc:creator>
      <dc:date>2008-07-08T09:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Screen attributes at runtime.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109939#M982699</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;In System field SY-CPROG you get the Program Name.&lt;/P&gt;&lt;P&gt;sy-dynnr give the Screen Number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no such Command to Leave Subscreen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a subscreen belongs to a normal screen You can use Leave to screen 0 or Leave screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:21:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109939#M982699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T10:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Screen attributes at runtime.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109940#M982700</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;SY-CPROG fetches you the current program where as SY-REPID fetches you the main program  ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:24:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109940#M982700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T10:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Screen attributes at runtime.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109941#M982701</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 wanted to know caller program of the current screen and not current program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Prog A calls screen S and from screen S processing block a call to a function module F may be their which belongs to the program B. If my control is in function module F, then sy-cprog will be B, while I expect the value as A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anirudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-attributes-at-runtime/m-p/4109941#M982701</guid>
      <dc:creator>Anirudha</dc:creator>
      <dc:date>2008-07-08T10:47:35Z</dc:date>
    </item>
  </channel>
</rss>

