<?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: DB Call screen / Set screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284416#M153508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In any ABAP program that can have its own screens (type 1, M, or F), you can use the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL SCREEN &amp;lt;dynnr&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement to call a screen and its subsequent sequence within that program. The flow logic of each screen calls dialog modules in the program that called the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the screen sequence ends, control returns to the statement after the original CALL SCREEN statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;set screen&amp;lt;/b&amp;gt; Sets the next screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax SET SCREEN &amp;lt;scr&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temporarily overwrites the statically-defined next screen with &amp;lt;scr&amp;gt;. &amp;lt;scr&amp;gt; is processed after the current screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 for third answer u have to use&lt;/P&gt;&lt;P&gt;u have to use modication id all threee button&lt;/P&gt;&lt;P&gt;and event&lt;/P&gt;&lt;P&gt;at selection screen at output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;check modification id if matches&lt;/P&gt;&lt;P&gt;screen-active = '1'.&lt;/P&gt;&lt;P&gt;screen-input = '1'&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;screen-input = '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2006 12:41:19 GMT</pubDate>
    <dc:creator>vinod_gunaware2</dc:creator>
    <dc:date>2006-04-04T12:41:19Z</dc:date>
    <item>
      <title>DB Call screen / Set screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284411#M153503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL,&lt;/P&gt;&lt;P&gt; Can u tell me &lt;/P&gt;&lt;P&gt;1.the Difference between Call screen / Set screen.&lt;/P&gt;&lt;P&gt;2.IF I click a pushbutton in selection-screen , I should get another 2 pushbutton on the same screen.What is the event used??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can U help me ASAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 12:16:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284411#M153503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T12:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: DB Call screen / Set screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284412#M153504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET SCREEN scr. &lt;/P&gt;&lt;P&gt;In ABAP/4 dialogs, this sets the next screen number. &lt;/P&gt;&lt;P&gt;The system processes the screen with the number scr immediately after the current screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN scr. &lt;/P&gt;&lt;P&gt;Calls the screen scr; scr is the number of a screen of the main program. You use SET SCREEN 0. or LEAVE SCREEN. to define the return from the CALL screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your second question ,&lt;/P&gt;&lt;P&gt;you should use dynamic screen modifications in at selection screen output event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name1 = &amp;lt;name&amp;gt;&lt;/P&gt;&lt;P&gt;screen-invisible = 0.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 12:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284412#M153504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T12:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: DB Call screen / Set screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284413#M153505</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;Pls chek this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1151224"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 12:25:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284413#M153505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T12:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: DB Call screen / Set screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284414#M153506</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;1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command CALL SCREEN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's to call new screen in a new internal mode, in this way the system create a link between the called screen and the calling point and it doesn't indicate the screen when it has to back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if it uses: CALL SCREEN XXXX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it can use SET SCREEN 0. LEAVE SCREEN. (or LEAVE TO SCREEN 0). The system'll autimatically back to the calling point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problems: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the system can manage only a certain number of internal mode so a dump can occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All command CALL defines the end of a LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command SET SCREEN:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It actives the following screen, but the system'll go to there only   by command LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET SCREEN XXXX. LEAVE SCREEN. &lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case the new screen isn't open in an internal mode, so it needs a new command SET SCREEN.... to back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prefer to use SET SCREEN... if the program has to manage several screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. AT SELECTION-SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 12:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284414#M153506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T12:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: DB Call screen / Set screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284415#M153507</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;Answer of second question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS :  Reward Points, if you find useful..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;****************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: SSCRFIELDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:   1_PRESS TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_NUM TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON /10(20) B11 USER-COMMAND B1 MODIF ID GP1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON /10(20) B12 USER-COMMAND B1 MODIF ID GP2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON /10(20) B13 USER-COMMAND B1 MODIF ID GP2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  B11 = 'test'.&lt;/P&gt;&lt;P&gt;  B12  = 'but 2'.&lt;/P&gt;&lt;P&gt;  B13  = 'but 3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  CASE SSCRFIELDS-UCOMM.&lt;/P&gt;&lt;P&gt;    WHEN 'B1'.&lt;/P&gt;&lt;P&gt;     1_PRESS = 'X'.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  IF 1_PRESS = 'X'.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-GROUP1 = 'GP1'.&lt;/P&gt;&lt;P&gt;      SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-GROUP1 = 'GP2'.&lt;/P&gt;&lt;P&gt;      SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 12:34:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284415#M153507</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2006-04-04T12:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: DB Call screen / Set screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284416#M153508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In any ABAP program that can have its own screens (type 1, M, or F), you can use the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;CALL SCREEN &amp;lt;dynnr&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;statement to call a screen and its subsequent sequence within that program. The flow logic of each screen calls dialog modules in the program that called the screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the screen sequence ends, control returns to the statement after the original CALL SCREEN statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;set screen&amp;lt;/b&amp;gt; Sets the next screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax SET SCREEN &amp;lt;scr&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temporarily overwrites the statically-defined next screen with &amp;lt;scr&amp;gt;. &amp;lt;scr&amp;gt; is processed after the current screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 for third answer u have to use&lt;/P&gt;&lt;P&gt;u have to use modication id all threee button&lt;/P&gt;&lt;P&gt;and event&lt;/P&gt;&lt;P&gt;at selection screen at output.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;check modification id if matches&lt;/P&gt;&lt;P&gt;screen-active = '1'.&lt;/P&gt;&lt;P&gt;screen-input = '1'&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;screen-active = '0'.&lt;/P&gt;&lt;P&gt;screen-input = '0'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 12:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db-call-screen-set-screen/m-p/1284416#M153508</guid>
      <dc:creator>vinod_gunaware2</dc:creator>
      <dc:date>2006-04-04T12:41:19Z</dc:date>
    </item>
  </channel>
</rss>

