Tab strip data binding

Hi,
i have a tabstrip with a fix numebr of tabs.
in each tab i have a tableview.
in context i have
nodea
>nodeb
>elementc
How can i bind the firest instance of nodea to a tableview in the first tab, the second instance to another table view from the seconds tab...
Florin

Try this:
Add a Table UI element inside each tab. Bind the <i>dataSource</i> property of each table to node "nodeb" (set singleton=false for "nodeb").
Assign an action to the TabStrip.<i>onSelect</i> event, in the action handler, set the lead selection of "nodea" to the index corresponding to the new selected tab.
Then if a tab is selected, the lead selection of "nodea" is changed and the table in the selected tab shows the rows corresponding to the "nodeb" element of the selected "nodea" element.
Armin

Similar Messages

  • New tab strip for PO header data

    Hello,
    for a customer project there is the need to add a new customer individual tab strip to PO and contract header data. Is there an User Exit or any other predefined way to do this in a most efficient way with minimum changes in SAP standard?
    Regards
    Norbert

    Hi Norbert,
    You can add th new custom tab to the PO and contract header data  using the below mentioned Enhancement.
    Enhancement        MM06E005
    Short text         Customer fields in purchasing document
    Create a project in the Tcode CMOD and assign the above mentioned enhancement.
    Add new fields in include structure CI_EKKODB.
    Design your screen for the new fields in SAPLXM06        0101.
    Put your logic in the corresponding function module exit as provided in the enhancement.
    Regards
    Dillip

  • Field ststus in SALES ODER item level oreder data  tab strip

    Hi
      in sales order create va01... item level ...order data tab strip... customer purchase order type field  is in optional entery... now want to change this field.. mandatory ...how..is it possible.. ?
    regards
    sesidhar

    Dear Sesidar,
    You can try this through SHD0 transaction
    Go to SHD0 transactuion enter Transaction code VA01
    Transaction variant BUS2032
    Then selct the Screen Variant BUS2032_4480 go in to the details here you find the field Purchase order type mark this field as required.
    If you ae not able to change then take help of BASIS people.
    I hope this will help you,
    Regards,
    Murali.

  • About the data of table control in tab strip control

    hi experts:
           I use screen 0001 include one tab strip control,and its include two subscreens,one of it is table control(subscreen is 0003).
    I input data in the table control,when I click the button of tab strip control to change to another subscreen 0002.I found that the data I input into table control have not append to internal table.how can I solve this problem?
           appreciate your reply.thanks a lot.

    Hi,
    in the Main Screen
    In PAI
    call subscreen sub. ---> here it calls the subscreen where the tablecontrol is placed
    then call module user_command
    In the subscreen where you have your table control
    in PAI
    Loop at itab.
    module modify_tab.
    endloop.
    module modify_tab,
    descirbe table itab lines tc-lilnes.
    if tc-lines <= tc-current_line.
    modify itab index tc-current_lilne.
    else.
    append itab.
    endmodule.
    next you call the module user_command on the main screen
    module user_command
    case sy-ucomm
    WHEN 'TAB1'
    TS-ACTIVE_TAB = 'TAB1'
    when tab2.
    ts-active_tab = 'TAB2'.
    endmodule
    further you can take the help of CONTROL EXAMPLES in DWDM tcode
    Regards
    Ramchander Rao.K

  • Data not storing in Custom infotype build with tab strips

    Hi All,
    I have created one custom infotype 9030,
    With screen 2000.
    which is having tab strips, I have build the screens refering to p9030-zztest its not storing in database.
    where I am doing wrong...please let me know what should be done in this case.
    Regards
    Satish.v

    Hi,
    Checkout the below link :
    <link to blacklisted site removed by moderator>
    Shailaja Ainala.
    Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

  • Tab Strip eventing

    Hi,
    I have 4 tabs in data container, each tab associated with different event. Whenever i click on a tab , i want to display some data on top of the tab as dispaly only.  what is the better approach?
    I am thinking to create 4 web dynpro views and based on the selected tab, i  will show that perticular view or is there any efficient way to do this instead o creating 4 web dynpro views , can i create one and flip te data based on selected event?
    Please write the detailed steps to achieve the above task?
    Thanks
    Sri

    Hi Sri,
    Instead of creating 4 views, try to use 4 different transparent containers. Place the in corresponding containers. Create 4 different context attributes of the type com.sap.tc.webdynpro.progmodel.api.WDVisibility.
    Procedure:
    Click on "..." button in the properties of the context attribute. Select Local Dictionary -> Expand uielementdefinitions ->  Select WDVisibility. 
    After binding each context attributesto the corresponding visibility property of the transparent containers.
    Use this code to change the visibility in Tab strip  event handler.
    If (selectedTab.EqualsIgonreCase("Tab1")  )
    wdContext.currentContextElement().set<conatiner1Vis>(WDVisibility.VISIBLE);
    wdContext.currentContextElement().set<conatiner2Vis>(WDVisibility.NONE);
    wdContext.currentContextElement().set<conatiner3Vis>(WDVisibility.NONE);
    wdContext.currentContextElement().set<conatiner4Vis>(WDVisibility.NONE);
    else if (selectedTab.EqualsIgonreCase("Tab2")  )
    Feel free to revert in case of any issues.
    Regards,
    Siva

  • Problem in Tab strip

    Hello all,
        I am facing problem in Tab strip where imy second tab is automatically getting in active position once after saving data in the first tab through save button in pf-status.

    Hi dear
    You can try this  Take a Strig type attribute in context
    goto the tabstrip properties  there in option "SELECTED TAB"  bind it with that string attribute
    and provide the value of that attribute as the name of first tab of tabstrip
    mine thing worked properly
    please try the provided link too.
    http://help.sap.com/saphelp_erp2005/helpdata/EN/e8/ac884118aa1709e10000000a155106/content.htm
    Edited by: AMARENDRA on Nov 30, 2011 11:50 AM

  • How to change the name of Customer  Tab strip .

    hi
    For Tcode ME21N ME22N and ME23N I have added a screen exit to PO header tabstip .The name that is appearing is "Custumer data "  as tab stip text , i want ot change this tab strip name. can u please suggest me how to do it.
    Below are the details.
    function group:MEGUI
    screen :1102
    Reagrds
    Avik

    Hi Avin,
    you must have created a project in CMOD for this enhancement.
    Go to the same project in CMOD.
    Select Componenets radio  button on cmod and go inside.
    you will find Menu exit option on the coponenet screen.
    double click on function code like +Co1( in prod order) and enter function text as your desired name instead of customer data. save the same and activate the project.
    it should make required chnages.

  • Reg: How to add new tab strip in MIGO transaction

    Hi Experts,
    I need to add a new tab strip(Inside one selection screen, If the user clicks the new tab strip, New selection screen should populate) in MIGO transaction after pressing enter for the movement type '122'.
    I tried with the BADI MB_MIGO_BADI, Simply i called the module pool program inside that BADI, But it is not giving any solution.
    Please guide me to find the solution for this requirement.
    Regards
    Vijay.R

    Hi,
    You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
    REPORT  zrmexitfinder                               .
    TABLES: modsap, modact, tstc.
    PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
                input2 LIKE modsap-typ DEFAULT ' '.
    DATA: search1(6),
          search2(3),
          search3 LIKE modsap-member.
    DATA : first_row VALUE 'Y'.
    CONCATENATE: '%' input1 '%' INTO search1,
    '%' input2 INTO search2.
    SELECT * FROM tstc WHERE tcode LIKE search1.
      first_row = 'Y'.
      CHECK tstc-pgmna NE space.
      CONCATENATE '%' tstc-pgmna '%' INTO search3.
      SELECT * FROM modsap WHERE typ LIKE search2
      AND member LIKE search3.
        SELECT SINGLE * FROM modact WHERE member = modsap-name.
        IF first_row EQ 'Y'.
          WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
                 45 modsap-member, 70 modact-name.
          first_row = 'N'.
        ELSE.
          WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
        ENDIF.
        CLEAR : modsap, modact.
      ENDSELECT.
      IF sy-subrc NE 0.
        WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
      ENDIF.
      CLEAR tstc.
    ENDSELECT.
    END-OF-SELECTION.
      CLEAR: search1, search2, search3.
    Regards,
    Renjith Michael.

  • How to  create a selection screen with two tab strips

    Hi Experts,
    I need to craete a selection screen '100' with two tab strips, in the 1st tab strip i need create some select options as subscreen and in other tabstrip i need to call the subscren '4000' of the program 'SAPLCTMS' . i need to call this screen as selection screen from the zprogram. please help me out.
    Thanks in advance...
    Sarath...J

    Hi,
    I have developed some code.
    It just displays a table control and after entering the values init, upon hitting the return button, the values will be put into table itab. Have a look and make necessary changes as you see fit.
    *& Report  ZMADHU_TBCNTL
    REPORT  zmadhu_tbcntl.
    DATA: BEGIN OF itab OCCURS 0,
         sel TYPE s_flag,
         matnr TYPE matnr,
         ersda TYPE ersda,
         ernam TYPE ernam,
      END OF itab.
    CONTROLS: tab_cntl TYPE TABLEVIEW USING SCREEN 100.
    *START-OF-SELECTION.
    CALL SCREEN 100.
    *END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'TABCNTL'.   "pf status
    SET TITLEBAR 'xxx'.
      CASE sy-ucomm.
        WHEN 'BACK' OR
             'CANCEL' OR
             'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  ITAB_MODIFY  INPUT
          text
    MODULE itab_modify INPUT.
      CASE sy-ucomm .
        WHEN ' '.        " When pressed enter
    if itab-sel = 'X'.
          MODIFY itab INDEX tab_cntl-current_line.
          APPEND itab.    " append lines to internal table
          CLEAR itab.
    *endif.
      ENDCASE.
    ENDMODULE.                 " ITAB_MODIFY  INPUT
    *Screen 100 flow logic.
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      LOOP AT itab WITH CONTROL tab_cntl CURSOR
      tab_cntl-current_line..
      ENDLOOP.
    PROCESS AFTER INPUT.
      MODULE select_data.
      LOOP .
        CHAIN.
          FIELD itab-matnr.
          FIELD itab-ersda.
          FIELD itab-ernam.
          MODULE itab_modify ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
    MODULE USER_COMMAND_0100.
    Hope it will helps to u.
    Thanks,
    Shankar

  • Reg: Additional header tab strip in MIGO Transaction

    Hi Experts,
    I have added a new header tab strip in MIGO transaction. The tab strip is triggered using the BADI 'MB_MIGO_BADI' (PBO_HEADER method), I populated a selection screen using module pool program through the same BADI. Now i need to update the values in the selection screen fields to the data base table MKPF.  I need a solution for update the screen field values to the data base table MKPF. Whether some other BADI i need to use? if yes how can i pass the screen field values to that BADI.
    Please guide me.
    Thanks
    Vijay.R

    Hi,
    You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
    REPORT  zrmexitfinder                               .
    TABLES: modsap, modact, tstc.
    PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
                input2 LIKE modsap-typ DEFAULT ' '.
    DATA: search1(6),
          search2(3),
          search3 LIKE modsap-member.
    DATA : first_row VALUE 'Y'.
    CONCATENATE: '%' input1 '%' INTO search1,
    '%' input2 INTO search2.
    SELECT * FROM tstc WHERE tcode LIKE search1.
      first_row = 'Y'.
      CHECK tstc-pgmna NE space.
      CONCATENATE '%' tstc-pgmna '%' INTO search3.
      SELECT * FROM modsap WHERE typ LIKE search2
      AND member LIKE search3.
        SELECT SINGLE * FROM modact WHERE member = modsap-name.
        IF first_row EQ 'Y'.
          WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
                 45 modsap-member, 70 modact-name.
          first_row = 'N'.
        ELSE.
          WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
        ENDIF.
        CLEAR : modsap, modact.
      ENDSELECT.
      IF sy-subrc NE 0.
        WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
      ENDIF.
      CLEAR tstc.
    ENDSELECT.
    END-OF-SELECTION.
      CLEAR: search1, search2, search3.
    Regards,
    Renjith Michael.

  • Refreshing tab strip

    Hello Experts,
    I am working on Web Dynpro Java and I have created two tab strips and when I select the first tab for the first time the contents of that tab strip gets generated and the same with the second one. Now when I make changes in the second tab and then come back to the first tab... the changes in the second tab is not reflected in the first tab, it shows the same content.  but when I refresh the page the changes are seen.  Can any one help me out on refreshing the tab strip when I select it each time.
    I think WDPortalEventing.fire might be a solution but dont know how to implement it. If this will solve my question then can any one help me out on this too please
    the short form : I want to refresh the tab strip each time i select it.
    Thanks in advance

    Hi Satish,
    Just bind a new action to onSelect Event of the TabStrip. You don't have to write any code within to trigger this event when you make a switch from one tab to another within a tab strip. In case. you want to perform any function/validation to switch of tab then you can write the in the implementation of this action bound to onSelect Event of the TabStrip.
    Regards,
    Tushar

  • How to code with tab strip control in se38

    HI masters,
          In SE38 i created tab strips with 4 tabs in selection screen. Each selection screen having 4 or 5 input fields.So whenever user click on first screen he will fill the input on that screen, and based on that fields only he will get information. Each tab is totally differ from other tabs, i mean first tab is orders and second is invoice like that. so there is no connection betwen tabs data. Everything is individual tabs.
         I dont know how to code that.Can you plz help me how to code that? Thanks in advance.Its very urgent.

    To create a tabstrip control area, choose Tabstrip control from the object list in the Screen Painter and
    place it on the screen. Fix the top-left hand corner of the table control area, and then drag the object to
    the required size.
    Assign a name to the tabstrip control in the Object name attribute. You need this name to identify your
    tabstrip control.
    In your ABAP program use the CONTROLS statement to declare an object with the same name. Use
    TABSTRIP as the type.
    The type TABSTRIP is defined in the type pool CXTAB. The field ACTIVETAB contains the function
    code of the tab title of the currently active tabstrip. The other fields are reserved for internal use.
    The default number of tab pages for a tabstrip control is two.
    Technically, tab titles are treated in the same way as pushbuttons. They have a name, a text, a function
    code, and a function type. You enter these in the Name, Text, FctCode and FctType fields of the object
    attributes.
    A tab title can have the function type ' ' (space) or 'P'. If the function type is ' ' (space), the PAI
    processing block is triggered when the user chooses that tab, and the function code of the tab title is
    placed in the command field. If the function type is 'P', the user can scroll between different tab pages of
    the same type without triggering the PAI processing block. For further details, see the following pages.
    If you want your tabstrip control to have more than two pages, you must create further tab titles. To do
    this, choose Pushbutton from the object list in the Screen Painter and place it in the tab title area.
    You must assign a subscreen area to each tab page.
    The subscreen area assigned to a tab page is automatically entered as the Reference object (in the
    Dictionary attributes) for the tab title of that page.
    To assign a subscreen area to one or more tab pages, choose the relevant tab title in the fullscreen
    editor, choose the Subscreen object, and place it on the tab page.
    Alternatively, you can assign a single subscreen area to several tab pages by entering the name of the
    subscreen area directly in the Reference object field of the attributes of the relevant tab pages.
    If you have assigned a different subscreen area to each page element in a tabstrip control, you can
    scroll between the pages locally at the front end.
    To do this, you must send all of the subscreens to the front end when you send the main screen itself. All
    of the tab titles in the tabstrip control must also have function type 'P'.
    Now, when you scroll between the different page elements, there is no communication between the
    presentation server and the application server.
    When the user chooses a function on the screen that triggers PAI processing, the system processes the
    PAI blocks of all of the subscreens as well. This means that all of the field checks are run. In this
    respect, you could regard the tabstrip control as behaving like a single large screen.
    Local scrolling in tabstrip controls is more appropriate for display transactions.
    <b>Screen Painter:</b>
    <b>PROCESS BEFORE OUTPUT.</b>
    CALL SUBSCREEN subarea1
    INCLUDING SY-CPROG '0101'.
    CALL SUBSCREEN subarea2
    INCLUDING SY-CPROG '0102'.
    CALL SUBSCREEN subarea3
    INCLUDING SY-CPROG '0103'.
    <b>PROCESS AFTER INPUT.</b>
    CALL SUBSCREEN subarea1.
    CALL SUBSCREEN subarea2.
    CALL SUBSCREEN subarea3.
    <b>ABAP:
    CONTROLS: my_tab_strip TYPE TABSTRIP.</b>
    To program a tabstrip control to scroll locally at the front end, you must:
    Assign
    a separate subscreen area to each tab page; a subscreen will be sent to each of these
    when the screen is processed.
    Call
    all of the subscreens from the flow logic.
    Assign
    function code type 'P' to all of the tab titles.
    The system hides any page element whose subscreen contains no elements that can be displayed.
    If there are no page elements containing elements that can be displayed, the system hides the entire
    tabstrip control.
    Hope this is helpful, Do reward.

  • How to bind dynamic row data to submit it by HTTP submit (PHP) - addInstance and Data Binding

    Hi,
    i have got a problem with submit HTTP all data (variables) from PDF to submit.php.
    I have got table with dynamic add/remove Table Row button. When i add it their names are Table.Row[0] , Table.Row[1], Table.Row[2] etc. Only Table.Row is real, and every other row is create dynamically by addInstance script command.
    When i fill "Data Binding" box like this: "Use name(Row)" then after submiting it do PHP i will see only last Table.Row data. For example if last would be Table.Row[3] then i will see only this on my submit.php and the others will be replaced by this value. This is happen becouse of replacing value by value with the same name (data binding is seeing only one Table.Row without instance name:"[1]", "[2]", "[3]" etc.).
    I guess that if i would change something to get addInstance command with Row names like Row1, Row2, Row3 then all will be ok.
    Another way it`s to change something in the "Data Binding" box (Object > Binding Tab) to get relative name like Row[*] instead of "Use name(Row)".
    I don`t know how to solve it and i need your help

    Create a binding for your dataTable.
    In the binding create a UIData element with gettters and setters.
    You can manipulate rows and columns from it.

  • Tab strip push button text change for user-exit screen

    Hi experts
       How can I change the text of Tab strip push button which is maitained by screen user-exit.Such as I maintained the user exit MEREQ001,In the screens of TCODE me51n there have a subscreen named
    "CUSTOMER DATA",Now I want change the text.
    thanks in advance
    BR
    Chris

    create ab push button without any text. In the run time you can assign test to this as follows.
    suppose name of the button is PUSHBUT.
    PUSHBUT = 'EDIT'.

Maybe you are looking for

  • Ipod not recognized on sony xplod

    Recently I plugged my daughter's ipod into my car stereo usb and got an error message that said "not supported". My own ipod plays fine as does my other daughter's ipod.(so 2 of 3 work fine). Wondering if this could be because of the itunes update to

  • Mime attachments in mail

    Whenever I receive emails from questions or invoices from Ebay in Mail OS10.4.7 they come as mime attachments which can't be viewed in the message unless I open them with another app like text edit . Is there something in Mail to set up to view these

  • Should I always plug my laptop to the charger or should I let the battery die before recharging my laptop

    Hi, I have a macbook pro.  I use it a lot for college and I was wondering, should I always plug my laptop to the charger or should I let the battery die before recharging my laptop? Is there a difference?  The battery of my laptop is supposed to last

  • Debugging WLS 4.5.1 with Symantech VCafe

    Hi, If anybody knows how to debug EJBs running in WLS remotely from Visual Cafe 3.0, will you please describe how you do it? Config: WLS 4.5.1, Cafe 3.0, Oracle 8i, NT 4.0 & Solaris Thanks!!!! [eytan.vcf]

  • My iMac is running very slowly

    All of a sudden my iMac (2.8 GHz Intel core 2 Duo) has slowed to a crawl. Applications take quite awhile to open and often I need to 'force quit' them. Any suggestions?