<?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 Screen handling problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894873#M374074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using tab strip in my program.I have diffrent tabs. I want make some fields as mandatory fields in some of the tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)If these fields are not filled how can i stop the program and ask the user to fill it.&lt;/P&gt;&lt;P&gt;2) After i stop the program my cursor position must be in the relavent tab and on the relavent field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i fulfill the above two things in the normal report programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note:I am not using dialog programming.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jan 2007 14:36:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-08T14:36:58Z</dc:date>
    <item>
      <title>Screen handling problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894873#M374074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using tab strip in my program.I have diffrent tabs. I want make some fields as mandatory fields in some of the tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)If these fields are not filled how can i stop the program and ask the user to fill it.&lt;/P&gt;&lt;P&gt;2) After i stop the program my cursor position must be in the relavent tab and on the relavent field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i fulfill the above two things in the normal report programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note:I am not using dialog programming.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894873#M374074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T14:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Screen handling problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894874#M374075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you sub-screen displayed in table sstrip is active.&lt;/P&gt;&lt;P&gt;the obligatory statement will work.&lt;/P&gt;&lt;P&gt;oe esle on start-of-selection&lt;/P&gt;&lt;P&gt;write a code to check is initia and give appropriate message to user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894874#M374075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T14:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Screen handling problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894875#M374076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001
       no standard page heading.

tables sscrfields.

selection-screen begin of screen 101 as subscreen.
selection-screen begin of block b1 with frame title text-001.
parameters: p_char1 type c.
selection-screen end of block b1.
selection-screen end of screen 101.

selection-screen begin of screen 102 as subscreen.
selection-screen begin of block b2 with frame title text-002.
parameters: p_char2 type c.
selection-screen end of block b2.
selection-screen end of screen 102.

selection-screen begin of screen 103 as subscreen.
selection-screen begin of block b3 with frame title text-003.
parameters: p_char3 type c.
selection-screen end of block b3.
selection-screen end of screen 103.

selection-screen begin of tabbed block one for 20 lines.
selection-screen tab (15) name1 user-command ucomm1
default screen 101.
selection-screen tab (17) name2 user-command ucomm2
default screen 102.
selection-screen tab (17) name3 user-command ucomm3
default screen 103.
selection-screen end of block one.

initialization.

  name1 = 'Tab 1'.
  name2 = 'Tab 2'.
  name3 = 'Tab 3'.

at selection-screen output.


at selection-screen.

  check sy-ucomm = space
     or sy-ucomm = 'ONLI'.


  if p_char2 is initial.
    sscrfields-ucomm = 'UCOMM2'.
    set cursor field 'P_CHAR2'.
    message i001(00) with 'P_CHAR2 is not valid'.
  endif.


start-of-selection.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 14:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894875#M374076</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-08T14:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Screen handling problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894876#M374077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this:&lt;/P&gt;&lt;P&gt;&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="2895683"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2007 15:19:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-handling-problem/m-p/1894876#M374077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-08T15:19:20Z</dc:date>
    </item>
  </channel>
</rss>

