<?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: Problem with tab strip in report programing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736128#M320146</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 have faced the same problem about 6 months back. So, to solve it, don't make the fields obligatory from the screen painter or anywhere else. Instead use flags to achieve the same result. Whenever an user clicks on the second/third/fourth tab, before calling the respective subscreen, check for those fields. If those fields are initial or user has entered some invalid values, dont call the subscreen for second/third/fourth tab. Instead, give an error message. Also, make the active-tab as whichever tab is active. This will solve your problem. Also, you will get an error message for a particular tab on that tab only &amp;amp; not on any other tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the answer is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Dec 2006 20:49:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-30T20:49:54Z</dc:date>
    <item>
      <title>Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736123#M320141</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 have coded 4 tab strips in a report program.Each tab has some obligatory fields.&lt;/P&gt;&lt;P&gt;My requirement is user must fill all obligatory fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose if I enter values only one tab and execute , its not asking the obligatory fields in other tabs.may be this is the behaviour of tab strips.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check the obligatory fields,I  wrote cheks in at selection screen with error message.In this case, suppose I didnt enter values in 2nd tab, the error message is coming under 1st tab screen and I am not able to select the 2nd tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body tells me how to overcome this issu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pavan meda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 11:04:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736123#M320141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-30T11:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736124#M320142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in this case why are you using tabstrip? You are not displaying the fields to the user but saying its mandatory :-(...not a good idea to use tab strip...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go for normal selection wcreen with radio buttons and using modif id by enabling relevant selection fields..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 11:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736124#M320142</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-12-30T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736125#M320143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pavan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding of your program, the AT-SELECTION SCREEN is getting executed for all the tab-strips. Instead of that you can try grouping the obligatory fields in different tab-strips under different group names and then write AT-SELECTION SCREEN for each group separately. Check the additions available with AT-SELECTION SCREEN for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Vaishali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 11:42:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736125#M320143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-30T11:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736126#M320144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi If you have given Check routine and error message after entering the routine it will stop the processing at error message. so that only it is not going to second tabstrip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so dont give error messages in routines(at least for obligatory field check).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto the subscreens you are using in the tabstrips through screen painter&lt;/P&gt;&lt;P&gt; and there goto attributes. In that select PROGRAM Tab.In that below input check box one drop down field with name INPUT. Select it to REQUIRED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other wise you can do it throght this&lt;/P&gt;&lt;P&gt;In subscreen&lt;/P&gt;&lt;P&gt;ELEMENT LIST -&amp;gt;Special Attr. -&amp;gt;INPUT    Change this drop down menu to REQUIRED. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to do it for all the fields which are obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case control will move to the particular tabstrip and particular field and asks for input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By&lt;/P&gt;&lt;P&gt;Yuvaram&lt;/P&gt;&lt;P&gt;reward if Helpful &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 11:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736126#M320144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-30T11:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736127#M320145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Manohar. The users will not appreciate it If you force them to press multiple tabs to enter the required fields. Try putting the usual fields (including all mandatory ones on the first tab. The other tabs should be reserved for selection criteria that are not often used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 18:12:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736127#M320145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-30T18:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736128#M320146</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 have faced the same problem about 6 months back. So, to solve it, don't make the fields obligatory from the screen painter or anywhere else. Instead use flags to achieve the same result. Whenever an user clicks on the second/third/fourth tab, before calling the respective subscreen, check for those fields. If those fields are initial or user has entered some invalid values, dont call the subscreen for second/third/fourth tab. Instead, give an error message. Also, make the active-tab as whichever tab is active. This will solve your problem. Also, you will get an error message for a particular tab on that tab only &amp;amp; not on any other tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if the answer is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mukul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Dec 2006 20:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736128#M320146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-30T20:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736129#M320147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, user only suggested the tab strips.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2007 03:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736129#M320147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-01T03:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736130#M320148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So explain to the user the problems they will have using tabstrips. You can save time for both of you by avoiding this.&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, 01 Jan 2007 18:03:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736130#M320148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-01T18:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with tab strip in report programing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736131#M320149</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;Check this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically you have to check the sy-ucomm not equal to the tab button function code (marked in bold)....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: The only thing is I have to press the second button twice to get to the second tab..But it works..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF TABBED BLOCK tb1 FOR 10 LINES.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (30) tab1  USER-COMMAND tab1  DEFAULT SCREEN 1001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN TAB (30) tab2  USER-COMMAND tab2  DEFAULT SCREEN 1002.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK tb1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_1 TYPE matnr.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1002 AS SUBSCREEN.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_2 TYPE kunnr.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;  tab1 = 'Material'.&lt;/P&gt;&lt;P&gt;  tab2 = 'Customer'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  CHECK sy-ucomm &amp;lt;&amp;gt; 'TAB1' AND sy-ucomm &amp;lt;&amp;gt; 'TAB2'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_1 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE e000 WITH 'Required entry'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_2 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MESSAGE e000 WITH 'Required entry'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  WRITE: / p_1.&lt;/P&gt;&lt;P&gt;  WRITE: / p_2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jan 2007 18:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-tab-strip-in-report-programing/m-p/1736131#M320149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-01T18:43:02Z</dc:date>
    </item>
  </channel>
</rss>

