<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349555#M803399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juzme,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one approach. Every tabstrip has a function code that triggers it right, most commonly TAB1, TAB2 and TAB3. Assume these are the function codes which you have attached to the tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the PBO you can put the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: wa type sy-ucomm, itab like standard table of wa.

move 'TAB2' to wa. append wa to itab.
move 'TAB3' to wa. append wa to itab.

if textbox is initial.
 set pf-status 'PF_STAT' excluding itab.
else.
 set pf-status 'PF_STAT'.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What this will do is, if the text box field (here assumed to be "textbox" is not entered, the pf status shall deactivate the tabstrip 2 and 3, only when entered would they be activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this out and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2008 17:41:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-01T17:41:49Z</dc:date>
    <item>
      <title>Tabstrip</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349554#M803398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 3 tabstrips with 1 textbox at each tabstrip. When user did not key in the textbox in the first tab, the user is unable to select the other 2 tabs unless they keyed in the textbox in the first tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How am I suppose to do that? Codes examples is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 08:37:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349554#M803398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T08:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349555#M803399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juzme,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is one approach. Every tabstrip has a function code that triggers it right, most commonly TAB1, TAB2 and TAB3. Assume these are the function codes which you have attached to the tabs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the PBO you can put the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: wa type sy-ucomm, itab like standard table of wa.

move 'TAB2' to wa. append wa to itab.
move 'TAB3' to wa. append wa to itab.

if textbox is initial.
 set pf-status 'PF_STAT' excluding itab.
else.
 set pf-status 'PF_STAT'.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What this will do is, if the text box field (here assumed to be "textbox" is not entered, the pf status shall deactivate the tabstrip 2 and 3, only when entered would they be activated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try this out and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 17:41:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349555#M803399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T17:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349556#M803400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I got textbox at the other 2 tabs namely: textbox2 at tab2 and textbox3 at tab3, how am I suppose to do the same if one of these textbox are empty? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I have to modify the codes given? Can show me the example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 00:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349556#M803400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T00:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Tabstrip</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349557#M803401</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;Maintain the following code in the PBO of the main screen:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: wa type sy-ucomm, itab like standard table of wa.
*assuming t_tabstrip is your tabstrip control name

case t_tabstrip-aktiv.
*If first tab is selected
when 'TAB1'.
if textbox1 is initial.
*check textbox in first tab
refresh itab.   
move 'TAB2' to wa. append wa to itab.
move 'TAB3' to wa. append wa to itab.
endif.
when 'TAB2'.
*if second tab is selected
if textbox2 is initial.
*check textbox in second tab
refresh itab.   
move 'TAB1' to wa. append wa to itab.
move 'TAB3' to wa. append wa to itab.
endif.
when 'TAB3'.
*if third tab is selected
if textbox3 is initial.
*check textbox in third tab
refresh itab.   
move 'TAB1' to wa. append wa to itab.
move 'TAB2' to wa. append wa to itab.
endif.
endcase.

 set pf-status 'PF_STAT' excluding itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 12:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tabstrip/m-p/3349557#M803401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T12:46:16Z</dc:date>
    </item>
  </channel>
</rss>

