<?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: Tabstrip with mandatory fields(disabling) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050121#M1352221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;disabling the field which is mandatory will not skip the field check,&lt;/P&gt;&lt;P&gt; we have to use AT_EXIT_COMMAND,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2013 12:45:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-11T12:45:02Z</dc:date>
    <item>
      <title>Tabstrip with mandatory fields(disabling)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050118#M1352218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created selection screen with 2 tab stips. There are some mandatory fields on both the strips. Suppose i want to navigate to Strip to with out filling mandatory fields in strip one, the program will not allow. How can i achieve this. Can we disable madatory fields dynamically??? &lt;/P&gt;&lt;P&gt;If i click on Strip 2 mandatrory fields on Strip 1 should be disabled and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provide me some solutions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 11:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050118#M1352218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T11:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip with mandatory fields(disabling)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050119#M1352219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Check in the Program itself don't give in the Tab strip fields as mandatory.&lt;/P&gt;&lt;P&gt;have a module in the pai and check mandatory there.&lt;/P&gt;&lt;P&gt;just see below example,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
-----Name.
  IF zres_k-name IS INITIAL.
    MESSAGE 'Name cann''t be blank' TYPE 'S'
                            DISPLAY LIKE 'E'.
    v_error = 'X'.
*    ok_code = 'PERDET'.
    resumetab-activetab = 'PERDET'.
    v_dummy = 'OTHERS'.
    EXIT.
*-----Date of Birth.
  ELSEIF zres_k-dob IS INITIAL.
    MESSAGE 'Date of Birth cann''t be blank' TYPE 'S'
                                     DISPLAY LIKE 'E'.
    v_error = 'X'.
    resumetab-activetab = 'PERDET'.
    v_dummy = 'ZRES_K-NAME'.
    EXIT.
*-----Street/postal Code.
  ELSEIF zres_k-street  IS INITIAL OR zres_k-post_code IS INITIAL.
    MESSAGE 'Street/Postal Code cann''t be blank' TYPE 'S'
                                          DISPLAY LIKE 'E'.
    v_error = 'X'.
    resumetab-activetab = 'PERDET'.
    v_dummy = 'ZRES_K-FATHER_NAME'.
    EXIT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 11:06:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050119#M1352219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-13T11:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip with mandatory fields(disabling)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050120#M1352220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, even I have the same problem as Vishnu. The solution you have provided is fine but as per the requirement, the fields have to be mandatory.&amp;nbsp; I tried using a function type "E" for the tabstrip and used the 'AT EXIT-COMMAND' wherein I gave the code as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK1 AT EXIT-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside module CHECK1.&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;WHEN 'TAB1'.&lt;/P&gt;&lt;P&gt;TS-ACTIVETAB = 'X'.&lt;/P&gt;&lt;P&gt;L_DYNPRO = '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'TAB2'.&lt;/P&gt;&lt;P&gt;TS-ACTIVETAB = 'X'.&lt;/P&gt;&lt;P&gt;L_DYNPRO = '2000'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TAB1 and TAB2 are the function codes for tabstrips, TS is the tabstrip control, L_DYNPRO is the screen number.&lt;/P&gt;&lt;P&gt;But still its not working. Can u please suggest something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 12:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050120#M1352220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-11T12:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip with mandatory fields(disabling)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050121#M1352221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishnu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;disabling the field which is mandatory will not skip the field check,&lt;/P&gt;&lt;P&gt; we have to use AT_EXIT_COMMAND,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 12:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip-with-mandatory-fields-disabling/m-p/6050121#M1352221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-11T12:45:02Z</dc:date>
    </item>
  </channel>
</rss>

