<?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 table strip question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-strip-question/m-p/5577213#M1272082</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert ,&lt;/P&gt;&lt;P&gt;can u give me table strip tutorial.&lt;/P&gt;&lt;P&gt;how to make it and how to call in program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m using vbak table for it . in one tab i want to show 3 field and in another tab 3 fields.&lt;/P&gt;&lt;P&gt;how can i do it.&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;ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please search the forum before asking basic questions. Thread locked.&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 3, 2009 4:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 May 2009 10:34:16 GMT</pubDate>
    <dc:creator>ashish_gupta11</dc:creator>
    <dc:date>2009-05-03T10:34:16Z</dc:date>
    <item>
      <title>table strip question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-strip-question/m-p/5577213#M1272082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert ,&lt;/P&gt;&lt;P&gt;can u give me table strip tutorial.&lt;/P&gt;&lt;P&gt;how to make it and how to call in program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m using vbak table for it . in one tab i want to show 3 field and in another tab 3 fields.&lt;/P&gt;&lt;P&gt;how can i do it.&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;ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please search the forum before asking basic questions. Thread locked.&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on May 3, 2009 4:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 May 2009 10:34:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-strip-question/m-p/5577213#M1272082</guid>
      <dc:creator>ashish_gupta11</dc:creator>
      <dc:date>2009-05-03T10:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: table strip question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-strip-question/m-p/5577214#M1272083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are talking about Tab Strip Control here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can get the demo code along with some documentation in the ABAP Tcode &lt;STRONG&gt;ABAPDOCU&lt;/STRONG&gt;. You will get an entire collection of Screen Programming codes here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a DYNPRO Program from either object navigator or SE51 Tcode. And then create a Transaction Code to execute the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also have a look at help.sap.com which will give you the entire technical details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Samantak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 May 2009 15:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-strip-question/m-p/5577214#M1272083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-03T15:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: table strip question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-strip-question/m-p/5577215#M1272084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the following sample codes for your requirements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONTROLS tabstrip TYPE TABSTRIP.

DATA: okcode TYPE sy-ucomm,
dynnr TYPE sy-dynnr,
flag type flag,
active like tabstrip-activetab .


call SCREEN 100.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Module USER_COMMAND_0100 INPUT
*&amp;amp;---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE USER_COMMAND_0100 INPUT.
data: lv_okcode type syucomm.

lv_okcode = okcode.
clear okcode.

case lv_okcode.
WHEN 'TAB1'.
dynnr = '0110'.
WHEN 'TAB2'.
dynnr = '0120'.
WHEN 'TAB3'.
dynnr = '0130'.
WHEN 'TAB4'.
dynnr = '0140'.
WHEN 'TAB5'.
"check authorization, if authorization fails
flag = 'X'. "set the global flag
active = 'TAB1'. "store active tab in global variable
dynnr = '0110'. "set the screen number
WHEN 'BACK' or 'EXIT'.
leave program.
ENDCASE.

IF lv_okcode(3) = 'TAB'.
tabstrip-activetab = lv_okcode.
ENDIF.

ENDMODULE. " USER_COMMAND_0100 INPUT
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Module STATUS_0100 OUTPUT
*&amp;amp;---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'MAIN'.
* SET TITLEBAR 'xxx'.
IF tabstrip-activetab IS INITIAL OR
dynnr IS INITIAL.
tabstrip-activetab = 'TAB1'.
dynnr = '0110'.
ENDIF.
"set the activetab explicilty here
if flag eq 'X'. "from authorization failure
tabstrip-activetab = active. "'TAB1'
clear flag.
endif.

ENDMODULE. " STATUS_0100 OUTPUT

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


*&amp;amp; Use of TabStrip and SubScreen explained
*&amp;amp; ---- The report shows the material on one tab
*&amp;amp; and plant on one tab.Pressing the execute button will show
*&amp;amp; the description of the material or plant as the case is.
*&amp;amp; TEXT-002 = Material Number
*&amp;amp; TEXT-003 = Plant Number.
 
REPORT   znr1 NO STANDARD PAGE HEADING
            LINE-SIZE 80 LINE-COUNT 60.
TABLES : sscrfields.
DATA  activetab(6) TYPE c .
DATA  mat_des TYPE makt-maktx.
DATA  pl_des  TYPE t001w-name1 .

SELECTION-SCREEN BEGIN OF SCREEN 001 AS SUBSCREEN NO INTERVALS.
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-002 NO
INTERVALS.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 14(18) text-002 FOR FIELD matnr.
PARAMETERS matnr TYPE mara-matnr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK block1.
SELECTION-SCREEN END OF SCREEN 001.
SELECTION-SCREEN BEGIN OF SCREEN 002 AS SUBSCREEN NO INTERVALS.
SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-003 NO
INTERVALS.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 14(18) text-003 FOR FIELD matnr.
PARAMETERS werks TYPE t001w-werks.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK block2.
SELECTION-SCREEN END OF SCREEN 002.

SELECTION-SCREEN BEGIN OF TABBED BLOCK tabb1 FOR 5 LINES NO INTERVALS.
SELECTION-SCREEN TAB (15) tabs1 USER-COMMAND ucomm1
                     DEFAULT SCREEN 001.
SELECTION-SCREEN TAB (15) tabs2 USER-COMMAND ucomm2.
*                     DEFAULT SCREEN 002   .
SELECTION-SCREEN END OF BLOCK tabb1.
INITIALIZATION.
  tabs1 = text-002.
  tabs2 = text-003.
  activetab = 'TABS1'.
AT SELECTION-SCREEN .
  CASE sscrfields-ucomm.
    WHEN 'UCOMM1'.
      tabb1-prog = sy-repid.
      tabb1-dynnr   = 001.
      tabb1-activetab = 'TABS1'.
      activetab = 'TABS1' .
    WHEN 'UCOMM2'.
      tabb1-prog = sy-repid.
      tabb1-dynnr   = 002.
      tabb1-activetab = 'TABS2'.
      activetab = 'TABS2'.
  ENDCASE.
START-OF-SELECTION.
  CASE activetab.
    WHEN 'TABS1'.
      SELECT SINGLE maktx  FROM makt INTO pl_des WHERE matnr = matnr.
      WRITE: 'Material ' , matnr , mat_des .

    WHEN 'TABS2'.
      SELECT SINGLE name1  FROM t001w INTO pl_des WHERE werks = werks.
      WRITE: 'Plant ' , werks ,pl_des.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P:S :- Lots of resources are there in sdn and google so it is better to search before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Abhinab Mishra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 May 2009 16:13:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-strip-question/m-p/5577215#M1272084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-03T16:13:18Z</dc:date>
    </item>
  </channel>
</rss>

