Tabstrip visibility

Hi ,
any one help me for this object
Tab Strips. Including visibility and invisibility of tab strips depending on the values in the first screen table control.
Moderator message - Welcome to SCN
Please use a descriptive title for your posts
Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
Edited by: Rob Burbank on Oct 27, 2010 11:01 AM

Hi ts,
If you have bound the visibility of TABSTRIP to context attribute ATTR_VIS of type WDUI_VISIBILITY and set the default value to '01'. It should hide the tabstrip
Check the below points to:
Make sure that the visibility property of tabstrip bound to the attribute
Make sure that the value of attribute ATTR_VIS not set to 02 some where in your code.
Hope this helps you.
Regards,
Rama

Similar Messages

  • How to make a tabstrip visible and invisible again?

    Hi
    I have a GUI with Fields, Texts, Checkboxes, Radio buttons, a Button and of
    course a tabstrip with 7 tabs.
    Before I want to show some data in the tabs of the tabstrip, I have to fill the fields, check a radio button and checkboxes. After filled all entries needed, I will start
    the preparation of the data with clicking on the button.
    Before the click on the button the tabstrip has to be invisible. After the preparation
    of the data I will make the tabstrip with its tabs visible.
    All this is in the same dynpro (e.g. 0100). I don't build it together with to dynpros.
    I tried with LOOP AT SCREEN ... ENDLOOP, but the tabstrip does not appear.
    The only attribute accessable is "activetab".
    How to make that happen?
    Thanks for your help
    Frowin

    Hi
    Suppose you have 3 screen:
    - 1 main screen (100)
    - 2 subscreen    (101, 102)
    In the subscreen 101 you need to design your tabstrip (so you need to move your tabstrip from main screen), the subscreen 102 has to be empty.
    In the PBO of screen 100:
    PROCESS PBO.
    MODULE SET_SUBSCREEN.
    CALL SUBSCREEN SUBAREA INCLUDING V_REPID V_SCREEN.
    In the module SET_SUBSCREEN, you insert the code you need to choose the right subscreen:
    IF _SHOW = 'X'.
      V_SCREEN = '0101'.
    ELSE.
      V_SCREEN = '0102'.
    ENDIF.
    The flag _SHOW is setted in PAI after pressing the button:
    MODULE USER_COMMAND.
        CASE OK_CODE.
           WHEN 'SHOW'. _SHOW = 'X'.
    Max
    Edited by: max bianchi on Jan 9, 2008 5:03 PM

  • How to hide tabstrip Control at runtime?

    hi to all.
    i used a tabstrip control in my screen.
    i want to make my tabstrip visible or invisible based on t-code
    for my screen.
    it will be total based on t-code.
    if i will enter t-code zins11 it will show me tabstrip for screen 100.
    if i will enter t-code zins12 it will hide me tabstrip for screen 100.
    Reply me.
    thanks.

    If you don't mind seeing the blank grey Tab Strip control box and simply hiding the tabs, this code will help.
      LOOP AT SCREEN.
        IF screen-name CP 'TS_TEST1_TAB*'.
          screen-active = 0.
          modify screen.
        ENDIF.
      ENDLOOP.
    where my Tab Strip name was 'TS_TEST1

  • Hiding of tabstrip control

    Hi ,
    Can anybody please hiding of tabstrip control along with a simple example.
    Thanks ,
    Ahmed.

    Hi Ahmed,
    Please refer the below thread(s),
    Re: How to make a tabstrip visible and invisible again?
    how to hide tabstrip Control at runtime?
    Best Regards.

  • Want to change the Background Color of Selected Tab

    Hi All,
    I want to change the Background Color of Selected Tab of the tabstrip visible in Content Admin Role (Browse, Overview etc.).
    I have changed the Background Color of Selected Tab - Tabstrips-Complex Elements through Theme Editor, but that did not take effect.
    Only the other webdynpro components tabstrips took effect.
    Regards,
    Vishal

    Hi Andre,
    I don't know if you have already figured out how to change the background color of the tabstrip, but I will explain how we have done it.
    You might have tried to change the background color in "Tabstrip" (under the menu "Complex Elements") in Theme Editor. When you change the property "Background color of selected/unselected tabs", this will not change the color of the images on the tabstrip (ex. the triangle on the side of the tab). These images are on the server. We copied these images and then made changes to them, before we uploaded them again through the Theme Editor.
    The path to find the images is /usr/sap/~/JC01/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.design.urdesigndata/themes/portal/the name of your theme/common/tablist
    If this didn't work for you, you might have to change the properties in "Pattern Containers" (under Complex Elements") in Theme Editor. The tablist properties are under the header "Tab Container".
    I think it should work for you then. We also found that there was some problems when we tried to view the changes in Firefox, but haven't figured out how to solve this.
    /Ellen

  • Problem with TabStrip  Tabs visible

    Hello Gurus,
    I have Tabstrip in my application and in that tabstrip i have 3 tabs called tab1, tab2 ,tab3.
    I have created above Tabstrip under
        DC->WebdynproComponent>View-> in view i have created Transparent Container of layout type GridLayout -
    > here i have created TabStrip with 3 Tabs like above mentioned names and  i have created UI elements(Like labels and input fields) each Tab.
    Once i deploy and run application, i am able to see only Tab1, remaing 2 Tabs are underlying with Tab1, i mean, unable to see all Tabs at a time, if i click on one Tab, remaining Tabs are underlying in that Tab.
       Could you please reply me back, how can i acheive this?
    Thanks
    Venkat.

    Hi Venkat,
    Check if the visible property of all the tabs within the tab strip is visible. Also, make sure thet in the tab strip properties you have selected the default tab to be visible in selectedTab property. Even if then it doesn't work, try increasing the overall width of the tabstrip.
    Let me know, if you still have any problem.
    Regards,
    Tushar Sinha

  • Change visibility of tabstrip at runtime

    Hi,
    I bind a context node attribute to the visible attribute of a tab to control its visibility. The type of the node attribute is WDUI_VISIBILITY and the default value is 01. However, the tab is always present. It should be invisible initially.
    Best regards,
    ts

    Hi ts,
    If you have bound the visibility of TABSTRIP to context attribute ATTR_VIS of type WDUI_VISIBILITY and set the default value to '01'. It should hide the tabstrip
    Check the below points to:
    Make sure that the visibility property of tabstrip bound to the attribute
    Make sure that the value of attribute ATTR_VIS not set to 02 some where in your code.
    Hope this helps you.
    Regards,
    Rama

  • Subordinate Items not visible in Tabstrip Contrainer - Web Template

    Hello Gurus,
      In Web Application Designer I am creating a blank template and adding a Tabstrip Container. Within the Tabstrip Container I am adding an Analysis web item. When I go to "Internal Display" for Tabstrip and click on "Tab Panel" a popbox opens and when I click on the "Subordinate Web Item". I do not see the Analysis web item. I only see the default. What am I missing? Appreciate all the help.
    Thanks.
    Regards,
    bw newbie
    We are on BI 7.0 support pack 19.

    Hey,
    could you please post the solution? I came across the same issue lately and I can`t make a solution
    at this point.
    thx in advance!
    Greets marcus

  • How can i hide a tabstrip control

    On my screen there are a pushbutton and a tabsrtip control which contain two tabs.
    initial,the tabstrip is visible,and the button with icon_collapse icon.
    then,i click the button ,and the tabstrip must be invisible,and the button's icon will change to icon_expand.
    if i use screen-name conditions to set the tab invisible,but the tabstrip has a shadow on the screen.the color of the space obtained by the tabstrip is different with other space's color.
    How can i set the color same with other if i want to hide the tabstrip.
    ths very much.

    see the example of custom tabstrip control for 0591 infotype
    MODULE ztab_strip_active_tab_set OUTPUT.
       IF  psyst-dsubt EQ 'BNPF'.
         g_ztab_strip-pressed_tab = c_ztab_strip-tab2.
         LOOP AT SCREEN.
           IF screen-group4 = '060'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ELSEIF  psyst-dsubt EQ 'BNES'.
         g_ztab_strip-pressed_tab = c_ztab_strip-tab1.
         LOOP AT SCREEN.
           IF screen-group4 = '050'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
       ENDIF.
       IF   psyst-dsubt NE 'BNPF' AND psyst-dsubt NE 'BNES'.
          LOOP AT SCREEN.
           IF screen-group4 = '050'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
          LOOP AT SCREEN.
           IF screen-group4 = '060'.
             screen-active = 0.
             MODIFY SCREEN.
           ENDIF.
         ENDLOOP.
         g_ztab_strip-pressed_tab = ' '.
       ENDIF.
       ztab_strip-activetab = g_ztab_strip-pressed_tab.
       CASE g_ztab_strip-pressed_tab.
         WHEN c_ztab_strip-tab1.
           g_ztab_strip-subscreen = '0201'.
         WHEN c_ztab_strip-tab2.
           g_ztab_strip-subscreen = '0203'.
         WHEN OTHERS.
           g_ztab_strip-subscreen = '0202'.
       ENDCASE.
    ENDMODULE.                    "ZTAB_STRIP_ACTIVE_TAB_SET OUTPUT
    check this for hiding one tabstrip in one subtype and another in next subtype

  • The Visible attribute on alv grid column is not changed after Change Layout

    Setup:
    I have a program that displays output in an ALV grid (using cl_salv_table).
    The ALV grid is displayed within a custom control on a subscreen.
    I have 4 subscreens being used on a tabstrip control.  So I have 4 ALV grids total (one on each subscreen).
    On each ALV grid, I have set the set_layout_change function to true so that the user can hide and unhide columns etc. on each grid via the button on the alv grid toolbar.
    I also allow the user to dowload the contents of all 4 grids to excel.  To do this I have a custom button that when clicked goes to each ALV grid - gets the column metadata (via cl_salv_columns_table-get() ) and checks the visibility to determine if the column should be downloaded or not (via cl_salv_column-is_visible() ) to excel.
    The Problem:
    As I said I have 4 grids being displayed via a tab control.  Let's say the user is on tab 1 and unhides some columns on the alv grid 1 via the Change Layout... button.  And then the user navigates to tab 2.  If they click the download button at that point - when the download code is run and it checks the visibility of the columns on alv grid 1 - the changes that were made via the Change Layout... button have not synchronized yet.  When I call is_visible() for a column that was unhid it still comes back as false. 
    The only way I have found to remedy this is to make the user click on a button on the alv grid's toolbar before navigating to a different tab to force the synchronization between the changes made and the backend column metadata.  However, this is not the best option and requires training for the user that they have to do this for the download to work correctly. 
    The Question:
    1) why is the Change Layout... button not automatically synchronizing the changes it made to the back end?  Is there a way to make it do this?
    2) OR, is there a way that I can force the synchronization within the code and not force the user to click a button on the alv grid?  If there is a way to force the synchronization - where do I put that code?  As far as I can tell, when I switch between tabs - I am unable to catch that action in my PAI events.
    Thanks in advance for any help.

    I was able to resolve this issue with a satisfactory solution.
    In my program I had a local class definition to handle the grids' events.  When the synchronization wasn't working I only had two events defined: for link_click and added_functions. 
    I created another definition for event after_salv_function:
                   on_after_salv_function for event after_salv_function of cl_salv_events importing e_salv_function
    There is no code in the method implementation - but adding this event handler now causes a synchronization to occur after the Change Layout is done.

  • Tab in Tabstrip Control in display mode (Module Pool)

    Hi friends,
    I am trying to give authorization based on sy-uname, in runtime based on uname the particular tab should be opend in a display mode and some in change mode.  please help me out in this
    Edited by: shravan sonayila on Aug 12, 2008 8:06 AM

    Hi,
    when u creating tabstrip,while defining each tab in tabstrip , u have to
    create one subscreen for each tab.i think u want one tab for display
    mode and one tab for edit mode. if u want this way , in one tab try to
    give fields all in invisible mode this for display mode and goto second tab if u want all visible only keep like that only other wise u have create geoups.when u press enter ,groups will be change.it means visible , invisible modes.
    u have to give logic for screen in pbo.
    *&      Module  STATUS_0300  OUTPUT
          text
    module status_0300 output.
      set pf-status 'GUI_300'.
      set titlebar 'TITLE_300' with v_title.
      if i_aktyp = 'H'.
        if temp_flag = 1.
          loop at screen .
            if screen-group1 = 'GP2'.
              screen-input = 1.
              modify screen .
            else.
              screen-input = 0.
              modify screen.
            endif.
            temp_flag = 0.
          endloop.
        else.
          loop at screen.
            if screen-group1 = 'GP1'.
              screen-input = 1.
              modify screen.
            else.
              screen-input = 0.
              modify screen.
            endif.
            temp_flag = 1.
          endloop.
        endif.
      elseif i_aktyp = 'V'.
        loop at screen.
          if screen-group1 = 'GP1'.
            screen-input = 1.
            modify screen.
          else.
            screen-input = 0.
            modify screen.
          endif.
        endloop.
      endif.
    endmodule.                 " STATUS_0300  OUTPUT
    Try to give this logic.
    Regards,
    Ramya

  • In bdc how we handle tabstrips...& tablecontrols

    hi gurus,
                in bdc how we can handle tabstrips and table controls.... pls any one suggest ..
    regards,
    praveen

    Table controls are used to display the data in tabular fashion for better visibility and for easy understanding in Screens as well as in reports.
    syntax:
    CONTROLS <tab_ctrl_name> TYPE TABLEVIEW USING SCREEN <screen_no>.
    chk the demo prog:
    DEMO_DYNPRO_TABCONT_LOOP
    Cursor Position on Table Controls
    At PBO you can set the cursor on a specific field of a specific row of a table control.
    SET CURSOR FIELD <f> LINE <lin> OFFSET <off>.
    Using the optional addition OFFSET, you can enter the offset of the cursor in the field as described under Setting the Cursor Position .
    At PAI you can read the current cursor position.
    GET CURSOR FIELD <f> LINE <lin> ...
    In addition to the information given under Finding Out the Cursor Position , field  contains information on which row of the table control the cursor is currently on. You can also use
    GET CURSOR LINE <lin>.
    if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
    u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
    Go through this urls.
    www.****************
    www.sap-img.com
    Check the below links.
    just refer to the link below
    http://www.sapmaterial.com/tablecontrol_sap.html
    step by step procedure with screen shots
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
    http://sap.niraj.tripod.com/id25.html
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    Check the below link.
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    THis is example to upload the Bank details of the Vendor which has the TC.
    REPORT zprataptable2
    NO STANDARD PAGE HEADING LINE-SIZE 255.
    DATA : BEGIN OF itab OCCURS 0,
    i1 TYPE i,
    lifnr LIKE rf02k-lifnr,
    bukrs LIKE rf02k-bukrs,
    ekorg LIKE rf02k-ekorg,
    ktokk LIKE rf02k-ktokk,
    anred LIKE lfa1-anred,
    name1 LIKE lfa1-name1,
    sortl LIKE lfa1-sortl,
    land1 LIKE lfa1-land1,
    akont LIKE lfb1-akont,
    fdgrv LIKE lfb1-fdgrv,
    waers LIKE lfm1-waers,
    END OF itab.
    DATA : BEGIN OF jtab OCCURS 0,
    j1 TYPE i,
    banks LIKE lfbk-banks,
    bankl LIKE lfbk-bankl,
    bankn LIKE lfbk-bankn,
    END OF jtab.
    DATA : cnt(4) TYPE n.
    DATA : fdt(20) TYPE c.
    DATA : c TYPE i.
    INCLUDE bdcrecx1.
    START-OF-SELECTION.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = 'C: irst1.txt'
    filetype = 'DAT'
    TABLES
    data_tab = itab.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    filename = 'C:second.txt'
    filetype = 'DAT'
    TABLES
    data_tab = jtab.
    LOOP AT itab.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'RF02K-KTOKK'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'RF02K-LIFNR'
    itab-lifnr.
    PERFORM bdc_field USING 'RF02K-BUKRS'
    itab-bukrs.
    PERFORM bdc_field USING 'RF02K-EKORG'
    itab-ekorg.
    PERFORM bdc_field USING 'RF02K-KTOKK'
    itab-ktokk.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0110'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFA1-LAND1'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFA1-ANRED'
    itab-anred.
    PERFORM bdc_field USING 'LFA1-NAME1'
    itab-name1.
    PERFORM bdc_field USING 'LFA1-SORTL'
    itab-sortl.
    PERFORM bdc_field USING 'LFA1-LAND1'
    itab-land1.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0120'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFA1-KUNNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKN(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    cnt = 0.
    LOOP AT jtab WHERE j1 = itab-i1.
    cnt = cnt + 1.
    CONCATENATE 'LFBK-BANKS(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-banks.
    CONCATENATE 'LFBK-BANKL(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-bankl.
    CONCATENATE 'LFBK-BANKN(' cnt ')' INTO fdt.
    PERFORM bdc_field USING fdt jtab-bankn.
    IF cnt = 5.
    cnt = 0.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=P+'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKN(02)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    ENDIF.
    ENDLOOP.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0130'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFBK-BANKS(01)'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0210'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB1-FDGRV'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFB1-AKONT'
    itab-akont.
    PERFORM bdc_field USING 'LFB1-FDGRV'
    itab-fdgrv.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0215'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB1-ZTERM'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0220'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFB5-MAHNA'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0310'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'LFM1-WAERS'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    PERFORM bdc_field USING 'LFM1-WAERS'
    itab-waers.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0320'.
    PERFORM bdc_field USING 'BDC_CURSOR'
    'RF02K-LIFNR'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=ENTR'.
    PERFORM bdc_dynpro USING 'SAPLSPO1' '0300'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=YES'.
    PERFORM bdc_transaction USING 'XK01'.
    ENDLOOP.
    PERFORM close_group.
    Regards
    Anji
    Through Dialog prog
    You can go through this document...
    http://esnips.com/doc/48bd95e8-facc-4932-b923-465ba59bad24/Table-Control.pdf
    refer this program.....
    TABLES: kna1,knbk.
    DATA: v_kunnr LIKE kna1-kunnr.
    DATA: v_check TYPE c.
    DATA: BEGIN OF it_knbk OCCURS 0,
    banks LIKE knbk-banks,
    bankl LIKE knbk-bankl,
    bankn LIKE knbk-bankn,
    bkont LIKE knbk-bkont,
    koinh LIKE knbk-koinh,
    chk TYPE c,
    END OF it_knbk.
    DATA: v_ucomm TYPE sy-ucomm,
    v_dynnr TYPE sy-dynnr.
    DATA: l_index TYPE sy-index.
    data: count type i.
    CONTROLS: tc1 TYPE TABLEVIEW USING SCREEN 0200.
    *& Module STATUS_0100 OUTPUT
    text
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'ABC'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    text
    MODULE user_command_0100 INPUT.
    v_ucomm = sy-ucomm.
    CASE v_ucomm.
    WHEN 'DISP' OR 'CHNG'.
    IF v_kunnr space.
    SELECT banks
    bankl
    bankn
    bkont
    koinh
    FROM knbk
    INTO TABLE it_knbk
    WHERE kunnr = v_kunnr.
    LEAVE TO SCREEN '0200'.
    ENDIF.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Module MOD_KUNNR INPUT
    text
    MODULE mod_kunnr INPUT.
    IF NOT v_kunnr IS INITIAL.
    SELECT SINGLE
    kunnr
    FROM kna1
    INTO v_kunnr
    WHERE kunnr = v_kunnr.
    IF sy-subrc 0.
    MESSAGE e000(zz) WITH 'INCORRECT CUSTOMER NUMBER'.
    ENDIF.
    ENDIF.
    IF v_kunnr IS INITIAL.
    MESSAGE e000(zz) WITH 'PLEASE ENTER A VALUE'.
    ENDIF.
    ENDMODULE. " MOD_KUNNR INPUT
    *& Module STATUS_0200 OUTPUT
    text
    MODULE status_0200 OUTPUT.
    SET PF-STATUS 'ABC1'.
    SET TITLEBAR 'xxx'.
    ENDMODULE. " STATUS_0200 OUTPUT
    *& Module SCREENMOD OUTPUT
    text
    MODULE screenmod OUTPUT.
    IF v_ucomm = 'DISP'.
    LOOP AT SCREEN.
    screen-input = 0.
    MODIFY SCREEN.
    ENDLOOP.
    ELSE."if v_UCOMM = 'CHNG'.
    LOOP AT SCREEN.
    IF screen-group1 = 'G1'.
    screen-input = 0.
    ELSE.
    screen-input = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    endif.
    if sy-ucomm = 'INSE'.
    loop at screen.
    IF ( tc1-current_line tc1-lines ).
    screen-input = 0.
    else.
    screen-input = 1.
    modify screen.
    endif.
    endloop.
    endif.
    ENDMODULE. " SCREENMOD OUTPUT
    *& Module EXIT2 INPUT
    text
    MODULE exit2 INPUT.
    LEAVE TO SCREEN 0.
    ENDMODULE. " EXIT2 INPUT
    *& Module modify INPUT
    text
    MODULE modify INPUT.
    IF v_check = 'X'.
    it_knbk-chk = 'X'.
    MODIFY it_knbk index tc1-current_line.
    ELSE.
    CLEAR it_knbk-chk .
    ENDIF.
    ENDMODULE. " modify INPUT
    *& Module USER_COMMAND_0200 INPUT
    text
    MODULE user_command_0200 INPUT.
    v_ucomm = sy-ucomm.
    CASE v_ucomm.
    WHEN 'DELE'.
    DELETE it_knbk where chk eq 'X'.
    DESCRIBE TABLE it_knbk LINES tc1-lines.
    WHEN 'INSE'.
    CLEAR it_knbk.
    APPEND it_knbk.
    DESCRIBE TABLE it_knbk LINES tc1-lines.
    WHEN 'LIST'.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN '0200'.
    WRITE 'Report'.
    WHEN 'BACK'.
    LEAVE TO SCREEN '0100'.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0200 INPUT
    *& Module validate INPUT
    text
    module validate input.
    IF IT_KNBK IS INITIAL.
    MESSAGE E000(ZZ) WITH 'A BLANK LINE CANNOT BE SAVED'.
    ENDIF.
    endmodule. " validate INPUT
    Regards

  • Web Dynpro: How to set the header of Tabs in a Tabstrip?

    Hi all,
    I created a tabstrip with 3 tabs. Now I am trying to give proper heading to each of the Tabs but unable to do so because I do not find any property to the Tab(s) for which, I can assign the heading. Only the following 4 Properties are available for a Tab:
    ID
    enabled
    hasContentPadding
    visible
    I am able to launch the application but it does not show me any text, although the tabs are clickable. Can anyone please tell me how to make headings (or titles/text) appear individually for each of the tags? If there's any code to do it, please tell me what it is.
    Thank you.
    P.S: Will award points to the most fruitful solution.

    hi,
    u need to open the screen with graphical screen painter layout tool,
    double click on tha tab that u want to give text to it.
    enter the name of the text/heading in text field
    activate the screen.
    hope it helps
    thanks
    Sachin

  • Regarding tabstrip

    hi frnds,
    i have used a tabstip in my program? Only 2 tabs can be visible when we drap and drop the tabstrip..
    How to create tabs in tabstrip??
    And i want to use a select option in my screen..how can i create a select option in dialog programming?

    Friend before posting any kind of query please try to utilise the search tab , u can findout solution in the forum itself.
    YOu can have a look at the following programs for sample coding .
    DEMO_DYNPRO_TABSTRIP_LOCAL Tabstrip Control - Scrolling at SAPgui
    DEMO_DYNPRO_TABSTRIP_SERVER Tabstrip Control - Scrolling at Application Server
    DEMO_SEL_SCREEN_IN_TABSTRIP Selection Screen as Subscreen in Tabstrip
    DEMO_SEL_SCREEN_WITH_TABSTRIP Selection Screen with Tabstrips
    Open these programs in se80 to see how the screen design is done.
    1. define a subscreen area in your screen.
    2. define required select-option in you program as follows
    SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-010.
    SELECT-OPTIONS : S_MATNR FOR MARA-MATNR.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 1100.
    3. Load this defined subscreen in you subscreen area define in step 1
    You can do this using Subscreen.
    define this scubscreen in top include.
    selection-screen : begin of screen 100 as subscreen.
    select-option : kunnr for kna1-kunnr.
    selection-screen : end of screen 100.
    in screen 200 where this selection screen appears, create a subscreen area 'SSA'.
    Process on output. "200 screen.
    call subscreen SSA including sy-repid '100'.
    other modules
    Process on input. "200 screen.
    call subscreen SSA.
    other modules
    now you can access kunnr like other screen 200 objects.

  • Problem related to event handers in Tabstrip..Urgent..Please

    Hello,
    I have screated a tabstrip for demo. The layout is visible but as I click on any tab to view the corresponding details, I get an error related to EventHandlers respectively.
    Please refer to the code below:
    <%@ taglib uri="tagLib" prefix="hbj" %>
    <html>
    <body>
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" method="post">
    <hbj:tabStrip
               id="myTabStrip1"
               bodyHeight="100"
               width="200"
               horizontalAlignment="CENTER"
               verticalAlignment="TOP"
               selection="4"
               tooltip="Tooltip for myTabStrip1"
               >
               <hbj:tabStripItem
                         id="myTabStripItem1"
                         index="1"
                         height="80"
                         width="160"
                         onSelect="myTabStripItem1OnSelect"
                         title="Introduction"
                         tooltip="My Tooltip for Tab 1"
               >
                  <hbj:tabStripItemBody>
                        <hbj:textView text="This is an iview showing Introduction details" />
                  </hbj:tabStripItemBody>
               </hbj:tabStripItem>
               <hbj:tabStripItem
                         id="myTabStripItem2"
                         index="2"
                         height="80"
                         width="160"
                         onSelect="myTabStripItem2OnSelect"
                         title="SAP Portal"
                         tooltip="My Tooltip for Tab 2"
               >
                <hbj:tabStripItemBody>
                        <hbj:textView text="This iView has details on SAP Portal" />
                  </hbj:tabStripItemBody>
               </hbj:tabStripItem>
               <hbj:tabStripItem
                         id="myTabStripItem3"
                         index="4"
                         height="80"
                         width="160"
                             onSelect="myTabStripItem3OnSelect"
                         title="SAP R/3"
                         tooltip="My Tooltip for Tab 3"
               >
                <hbj:tabStripItemBody>
                         <hbj:textView text="This iView has details on SAP R/3" />
                </hbj:tabStripItemBody>
               </hbj:tabStripItem>
    </hbj:tabStrip>
    </hbj:form>
      </hbj:page>
    </hbj:content>
    </body>
    <html>
    I would appreciate if anyone would please let me know as to how should I resolve this.
    Error (assuming that I have clicked on the second tab SAP Portal):
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : newTabStrip.default
    Component Name : newTabStrip.default
    Eventhandler- "myTabStripItem2OnSelect" or "onMyTabStripItem2OnSelect" not found!.
    Exception id: 12:26_20/12/04_0053
    See the details for the exception ID in the log file</b>
    Im working on SP6 and using eclipse for the above.
    I believe this error is because the resp event handlers have not been subscribed for the event. But if so, kindly help me to resolve it as I do not understand where should it be subscribed.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    quite easy one, you didn't implement the event handler.
    Within the corresponding JSPDynPage, a method  "myTabStripItem2OnSelect" or "onMyTabStripItem2OnSelect" is expected (derived from onSelect="myTabStripItem2OnSelect").
    You should work through the JSPDynPage tutorials.
    And: You haven't been very responsive in your posts until now. If someone helps you, it is not more than kind to reply if this worked or not or whatsoever is the situation (see Call an iView from another iView...Please help..Urgent for example).
    Also, there is a points contribution system on SDN - just click the yellow star at helping answers and choose the corresponding amount of points to award.
    Hope it helps & thanks in advance
    Detlev

Maybe you are looking for

  • Getting old 'Sent" messages from server onto my Mac

    I am using Mail 2.1.3 on a Mac Mini with OSX 10.4.11. I have used web mail (earthlink) exclusively for a number of years and now want to switch to a new email provider. I would also like to start using Apple Mail. I need to preserve my old send messa

  • Restriction  of Field Change in VL02N change(After PGI)

    Hi Gurus In outbound delivery we are using the following fields:- 1.     Means of Tr id:- LIKP-TRATY 2.     Means of Tr. Type:- LIKP-TRAID 3.     Shipping Conditions:- LIKP-VSART 4.     Special Procedure Indicator:- LIKP-SDABW The same fields are bei

  • OWB 10G R2 with 9.2 DB....

    At my company the standard for databases is still 9.2. Since this is a large organization, we are a little slow to adopt the latest versions (we are still running OWB 9.2.0.8). According to the FAQ, Design repositories for OWB 10g R2 can be setup on

  • Logic doesn't work

    recently moved my main hard drive to a new identical computer because of logic board failure and logic pro doesn't work? Anyone have this problem?

  • Hide Navigation buttons

    This is more of a feature request than a question: It would be very nice if it were possible to hide the navigation bars completely in single edition apps. Obviously this feature is available for professional level and above, but I can't see the use