Skip to Content
author's profile photo Former Member
Former Member

Query for tabstrip & Table control

Hi,

I have never used tabstrip & Table controls.I have worked extensively on ALV & Smartforms.I am finding it difficult to understand the steps now,after a long gap of returning to tabstrips & table control.I have all the standard programs for the same,Please send me any z development you have worked on to help me understand it better.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Dec 21, 2007 at 09:30 AM

    Hi Sneha,

    Pls Check the Customizing Program I think Step By Step Procedure will help you.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/022ba607-0301-0010-e382-fdedca553f5f

    Kanagaraja L

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 21, 2007 at 11:57 AM

    hi,

    first u need to understand table control and than tabstrip will b easy...

    and its better u use module pool report start with SAPMZ

    and in that u need to first declare one internal table from which u want to create table control... ( in top module)

    than create one screen go to lay out and create table control using wizard and give that internal table name.....

    if u want to move ahead that

    reward me back will help u...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 22, 2007 at 08:00 AM

    Hi sneha,

    This is kiran kumar.G.(working on SAP).I will develop some of dialog progs on tab strips and table controls.

    i will send the se38 program logic and se51 flow logic.check it once.

    Note : some of the steps before u start on creating TABSTRIPS.

    1. FIRSR CREATE SE38 PROGRAM + SAVE +ACTIVATE.

    2.GOTO SE51 T.CODE and enter the SE38 PROGRAM NAME AND SCREEN NUMBER.(EX: 0100).

    3.THE FIRST SCREEN OF THE SE51 IS POPULATED AND SELECT NORMAL RADIO BUTTON AND GOAHEAD.

    4.GOTO LAYOUT AND SELECT THE TABSTRIP BUTTON FROM THE TOOLBAR AND PLACE THEM ON THE SCREEN

    5.IN THE BELOW EXAMPLE I WILL CREATE TWO TABSTRIPS..

    6.SELECT THE SUBSCREEN BUTTON FROM THE TOOLBAR AND PLACE THEM IN THE TAB1 SCREEN.AND SAME PROCEDURE IS REPEATED FOR TAB2 ALSO

    6.CLICK ON THE TAB1 BUTTON AND GIVE NAME AS "HEAD" AND SOME TEXT AND REFFILED AS "SUBS"

    7.FOLLOW THE SAME PROCEDURE FOR SECOND TABSTRIP AND GIVE NAME AS "ITEM" AND REFFILED AS "SUBS".

    AND SAVE AND ACTIVE..

    8.GOTO SE51 TRANSACTION AND GIVE REPORT NAME AND SCREEN NUMBER AS 0110. AND SELECT SUBSCREN RADIO BUTTON AND SELECT LAYOUT AND PLACE SOME FIELDS THERE AND AND SAME PROCUDRE IS REPEAT FOR 0120 SUB SCREEN ALSO

    Code:

    &----


    *& Module pool YMODULEPOOL_TABSTRIPS *

    *& *

    &----


    *& DEVELOPER : KIRAN KUMAR.G *

    *& PURPOSE : DEMO ON TABSTRIP CONTROLS *

    *& CREATION DT : 18/12/2007 *

    *& T.CODE : YMODTABSTRIP *

    *& REQUEST : ERPK900035 *

    &----


    PROGRAM ymodulepool_tabstrips.

    ----


    • Tables

    ----


    TABLES: vbak,

    vbap.

    ----


    • Controls

    ----


    CONTROLS: my_tabstrip TYPE TABSTRIP..

    ----


    • Global Variables

    ----


    DATA: gv_number LIKE sy-dynnr.

    &----


    *& Module active_tab OUTPUT

    &----


    • text

    ----


    MODULE active_tab OUTPUT.

    *Default Selection of the TABSTRIP

    IF my_tabstrip-activetab IS INITIAL.

    my_tabstrip-activetab = 'HEAD'.

    gv_number = '110'.

    ENDIF.

    ENDMODULE. " active_tab OUTPUT

    &----


    *& Module USER_COMMAND_0100 INPUT

    &----


    • text

    ----


    MODULE user_command_0100 INPUT.

    CASE sy-ucomm.

    *Header Information

    WHEN 'HEAD'.

    SELECT SINGLE erdat

    vkorg

    vtweg

    FROM vbak

    INTO (vbak-erdat,vbak-vkorg,

    vbak-vtweg)

    WHERE vbeln = vbak-vbeln.

    my_tabstrip-activetab = 'HEAD'.

    gv_number = '110'.

    *Item Information

    WHEN 'ITEM'.

    SELECT SINGLE matnr

    matkl

    ntgew

    FROM vbap

    INTO (vbap-matnr,vbap-matkl,vbap-ntgew)

    WHERE vbeln = vbak-vbeln.

    my_tabstrip-activetab = 'ITEM'.

    gv_number = '120'.

    *EXIT from the Program

    WHEN 'EXIT' OR 'CANCEL'.

    CALL TRANSACTION 'SESSION_MANAGER'.

    ENDCASE.

    ENDMODULE. " USER_COMMAND_0100 INPUT

    &----


    *& Module STATUS_0100 OUTPUT

    &----


    • text

    ----


    module STATUS_0100 output.

    SET PF-STATUS 'YTABSTRIP'.

    • SET TITLEBAR 'xxx'.

    end module.

    -


    SE51 (SCREEN 100 :CODE)

    PROCESS BEFORE OUTPUT.

    MODULE STATUS_0100.

    module active_tab.

    call subscreen subs including sy-cprog gv_number.

    *call subscreen sub1 including sy-cprog gv_number.

    PROCESS AFTER INPUT.

    call subscreen subs.

    *call subscreen subs.

    MODULE USER_COMMAND_0100

    SCREEN 110:

    PROCESS BEFORE OUTPUT.

    • MODULE STATUS_0110.

    *

    PROCESS AFTER INPUT.

    • MODULE USER_COMMAND_0110.

    SCREEN 120:

    PROCESS BEFORE OUTPUT.

    • MODULE STATUS_0120.

    *

    PROCESS AFTER INPUT.

    • MODULE USER_COMMAND_0120.

    Award points if helpful.

    kiran kumar.G

    HAVE A NICE DAY....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2007 at 03:47 AM

    Thanks for all the prompt replies,I am reading the PDF of Tabstrip in ALV,I am sure this would solve my doubt.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 24, 2007 at 06:13 AM

    there is one standard package available in sap ie SDWA u can check for table control and tabstrip in IDES

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.