Tabstrip in WebDynpro

Hi,
I am Displaying 4 checkboxes in the intiali screen.
In the second screen tabstrip control with 4 tabs will be displayed.
Each tab visibilty is binded to One Atrbute of type WDY_BOOLEAN seperately.
Now, in the initialization of second Screen. I am writing the code for modyfying the view.
If first check box is selected,  then I am setting the fisrt tab visibility attribute as 'X'.
I am doing the same for second and third  and fourth also.
But, For evry case, all the TABS are getting displayed.
I tried by taking WDUI_VISIBILITY type by setting value as '02' also.
But, no changed.
Please let me know how can I do this.
Regards
Sandeep Reddy

Now lets come back to our MAIN view. I create an action (CHECK_STATUS) for the "onToggle" event of the checkbox. I map the same action to all the 3 checkboxes (CHECK1, CHECK2 & CHECK3) So now whenever the user toggles the checkbox the code snippet below would get executed:
METHOD onactioncheck_status .
  DATA: lv_name TYPE string,
        lv_state TYPE wdy_boolean,
        wd_node TYPE REF TO if_wd_context_node.
  wd_node = wd_context->get_child_node( name = 'VISIBILITY' ).
" first we need to determine which checkbox has been toggled
" after executing the below statement lv_name would have either C1, C2 or C3
" these are the ID's that I have assigned to the checkboxes in my MAIN view
  lv_name = wdevent->get_string( 'ID' ).
" Next we need to know whether the checkbox has been checked/unchecked
  lv_state = wdevent->get_string( 'CHECKED'  ).
  CASE lv_name.
    WHEN 'C1'.
      IF lv_state = 'X'.
        wd_node->set_attribute( EXPORTING name  = 'TAB1'
                                          value = 'X' ).
      ELSE.
        wd_node->set_attribute( EXPORTING name  = 'TAB1'
                                          value = 'X' ).
      ENDIF.
    WHEN 'C2'.
      IF lv_state = 'X'.
        wd_node->set_attribute( EXPORTING name  = 'TAB2'
                                          value = 'X' ).
      ELSE.
        wd_node->set_attribute( EXPORTING name  = 'TAB2'
                                          value = 'X' ).
      ENDIF.
    WHEN 'C3'.
      IF lv_state = 'X'.
        wd_node->set_attribute( EXPORTING name  = 'TAB3'
                                          value = 'X' ).
      ELSE.
        wd_node->set_attribute( EXPORTING name  = 'TAB3'
                                          value = 'X' ).
      ENDIF.
  ENDCASE.
ENDMETHOD.

Similar Messages

  • I want to display a url link in only one tab of the tabstrip in webdynpro ?

    I want to display a url link in only one tab of the tabstrip in webdynpro view?  How do we do this?

    so in that tab of the tabstrip use LinkToUrl UI
    The LinkToURL UI element is a hypertext link. When you choose this link, you are directed to a user-defined Web resource (URL).
    The LinkToUrl is used to exclusively to open URLs in a separate window. To leave the Web Dynpro application and display a new URL use an exit plug.
    1.in ur UI create  tabs as u desire
    2. In each TAB , add ViewContainer . ViewContainer you would be able to add inside tab.
    3. Now create as many views as you have created Tabs.
    4. Embed views into the corresponding ViewContainers , in ur first view embed link to URL
    refer SAP online help for tabstrip :
    http://help.sap.com/saphelp_erp2005/helpdata/EN/e8/ac884118aa1709e10000000a155106/content.htm

  • How to design and use tabstrip in webdynpro

    hi,
         i trying to design tabstrip in webdynpro(SE80), i dont know how to design and use it. if u have screenshot or any other document give me. its pretty useful for my requirment. guide me

    Hi Saravanan,
    In your view, you have to add the UI element TabStrip. You will have an empty tab strip then. Right click on the tab strip, and add a 'Tab'. Continue in this manner to add as many tabs as you want. Each tab will have a header, specify the tab title in that.
    Now go to each tab, right click and insert element. You could insert any element like a table, Input fields etc. Event handling has to be done separately for these elements. At the tabstrip level, you need to handle only the onTabSelect event. This is the event triggered when you change tab selection in the tabstirp. In the properties of the tab strip, there will be a field selectedTab. Specify the ID of the tab which you want as selected. This will be your initial selection.
    You can also enable and disable tabs, say grey out tabs that have no data etc. All this can be done by context attribute binding.
    You can also refer to the view  by name TABSTRIP in the component WDR_TEST_EVENTS.
    Regards,
    Uday

  • Tabstrip in Webdynpro java

    Hi,
    If we create a tab strip, at run time by default at the right hand side 2 image icons for 'left item' and 'right items' and one folder (containing tab header names) gets created.
    If we change the tab strip header name using customization (not from the code), then again in the folder which is at the right hand side of tab strip, old tab name comes instead of one that I have entered.

    Hi Raj,
    Check the online help for Stylesheet in WD ABAP:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/af752005c92fe1e10000000a42189d/frameset.htm
    and check out this document to upload custom/ portal theme for WD4A applications [Themes in WD4A applications|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7015b1f9-535c-2910-c8b7-e681fe75aaf8?quicklink=index&overridelayout=true] & Check the SAP note 1364095.
    Also Check the thread [Background colour of wd application not white?|Re: Background colour of wd application not white?].
    Hope it helps you.

  • Including iviews in tabstrip

    Hi all,
      Is it possible to include portal iviews in tabstrips in webdynpro?The reason we want to do this is that we want to extend the scroll bar to top level navigation and masthead in portal. Thanks in advance
    Regards
    Rohit

    I am having the same problem. I don't want sap handling any of the scrolling.  I just want the browser to give me the scroll bars if I need them. It seems that either the desktop inner page or the content area has some sort of script which creates these bars.  First off our customer wants the whole page to scroll.  Secondly, we wouldn’t even want to sell the customer on the scroll bars because they are so glitchy. The scroll bars sometimes appear randomly and in numbers.  With some creative maximizing and minimizing of my browser window I can get them to do very odd things, like giving me a huge amount of empty space outside the content area frame.  I have taken screens of these problems and I wish I could post them if they were not proprietary.  I would imagine when they designed the content area/inner page that they would have thought to put an option not to render scroll bars.

  • Embedding Transaction IView into Webdynpro TabStrip

    Hi,
        My Requirement is ,I have Created Transaction IView ,I want to access the Transaction Iview into Webdynpro TabStrip. I am able to access Iview but it is overwriting existing screen i..e complete Webdynpro screen disappears only Transaction Iview displays. I want Transaction Iview to be displayed as part of the TabStrip.
    Thanks & Regards
    Madhan Mohan

    Hi Satyajit,
             I am having a similar kind of requirement , i have to navigate from webdynpro applicaiton to transaction iview ..once user is done with the transaction ( say maintained the material ) i have to come back to the previous screen ... but i think this is not possible as there will be no way to know that user is done with the transaction .. so i though of creating a Iframe and a button on a webdynpro view and link the Iframe to the transaction iview . so user will have to click on the button once he is done with the transaction .. but according to you .. the transaction will be locked if we link that to the Iframe .. please let me know how to resolve this pronblem. or is there any other solution to my problem ..

  • Examples for webdynpro tabstrip

    can anyone point me to  examples for webdynpro tabstrip..
    Regards
    Anuj

    Hi,
    •     It groups a number of UI elements under a common header(SAP Netweaver 04s).
    •     Tab Strip can contain a Menu and several Pattern Expand                   Function elements (for open/close buttons).          
    •     You can Group Controls in this way Tab Strip --> Insert Tab --> Insert    Child
         Refer This:
    <b>http://help.sap.com/saphelp_nw70/helpdata/en/d1/801bd2454211d189710000e8322d00/frameset.htm</b>
                              Reward Points If This is helpful.
    Regards
    Nandha.

  • WebDynpro tabstrip

    Hi All,
       In webdynpro standard tabstrip, how can make  <b>Tabs</b> shape to rounded Tabs..

    hi niranjan,
    just u visit this link, u get more infirmation for this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e617bc3-0401-0010-2c82-81f82e73300e
    http://help.sap.com/saphelp_nw04/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/24/23b937ba187121e10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f0/e5a8411fdbcc46e10000000a155106/frameset.htm
    Regards,
    vino

  • Webdynpro Tabstrip display

    Hi,
    I am facing an issue with ABAP WD Tabstrip display and wanted guidance.
    Issue:
    I have two tabs, each tab has a transparent container which in turn contains a view container respectively.
    An ALV is embedded in each of these view container in the Window config.
    In the Application runtime when I select a row  (lead selection) in the ALV in the 2nd Tab, the display automatically toggles to 1st tab. How can this be controlled? Am I  going wrong somewhere? or  is there any notes to be implemented?
    I am not controlling the tab selection via binding. It is a manual process. I have not written any code in the WD Before and after methods, but the domodify view is used to populate some data in other UI element (Text view). Kindly guide.
    Thanks & Regards,
    Ashwitha.

    Hi,
    firstly thanks for taking interest. the issue is solved.
    the requirement was to stay on the 2nd tab while i select rows/anything on it and not jump back to the first tab each time. i had made a mistake in the property setting of tabstip's.
    To stay on the same tab during selection the property 'SelectionChangeBehavior' should be set to 'auto'.

  • Session time out in EP & webdynpro

    Hi can any body tell me how to control webdynpro session & portal session?
    I have created a webdynpro application & integrated in EP. I want to control the session time out for my application because if i run my application in Ep & the session time is out, i need to refresh my dynpro application.
    I want to control this session time out.
    Thanks,
    Siva

    Hi siva..
    Chk this link..
    Tabstrip: navigate with buttons instead of tabs
    Regards,
    GS

  • How to display multiple components in a single tabstrip with different tabs

    Hi Experts,
    I am working on PM UI development. We have created 5 webdynpro components and all have seperate application and link to run. Now we have requirement in which we should have a single window and all components should exist in different tabs.
    Till now I have used Tabstrip in a single copmponent and have no idea how to fix this issue. Could you please help me out to get this done ASAP.
    Thanks in advance.
    Madhu Omer

    Hi Madhu,
    One option that you can try now is to create a new webdnpro component with a tabstrip.
    1. To each of the tab area you attach view container.
    2. In the used components of webdynpro component tab you can add each of the components that you created
    3. Create inboud plugs for each of these application that you created.
    4. When the tab is pressed trigger a call to the inbound plug of the applications
    5. You can refer the following also https://cw.sdn.sap.com/cw/docs/DOC-24752
    All the Best !

  • How to set content of a dynamically created tab in a dynamically created tabstrip

    Hi All,
    I have a requirement where the whole layout is determined in run time according to a ztable values. I have created a tabstrip, inserted tabs to it, created elements (link to action) that has to be inserted into the different tabs created dynamically. BUt I am getting a dump when i try to do so.. the problem is with inserting the container to the tab. I get Null object reference. PFB the code. This has to be done urgently. Help is highly appreciated. TIA.
    method wddomodifyview .
      data lr_uielement_container       type ref to cl_wd_uielement_container.
      data lr_tabstrip          type ref to  cl_wd_tabstrip.
      data lrs_tabstrip  type ref to  cl_wd_tabstrip.
      data lr_matrix_head_data          type ref to cl_wd_matrix_head_data.
      data lr_tab type ref to cl_wd_tab.
      data lv_caption type ref to cl_wd_caption.
      data it_zps_reports_port type standard table of zps_reports_port.
      data wa_zps_reports_port like line of it_zps_reports_port.
      data lv_flag type c.
      data lv_text type string.
      data lv_link_text type string.
      data lr_linktoaction              type ref to cl_wd_link_to_action.
      data lr_lta_element type ref to cl_wd_uielement.
      data lr_scroll_container type ref to cl_wd_scroll_container.
      data lr_trans_cont type ref to cl_wd_transparent_container.
      data lr_id type string value 'LNK'.
      data lr_count type num value 0.
      data lr_id_d type string.
      data lo_nd_link_to_action type ref to if_wd_context_node.
      data lo_el_link_to_action type ref to if_wd_context_element.
      data ls_link_to_action type wd_this->element_link_to_action.
      data lv_textt type string.
      data lo_node type ref to if_wd_context_node.
      data lo_nd_info type ref to if_wd_context_node_info.
      data:lt_valueset type wdr_context_attr_value_list  ,
            l_value type wdr_context_attr_value.
      data ld_tabstrip            type ref to cl_wd_tabstrip.
      data: ld_container         type ref to cl_wd_uielement_container,
                ld_vc                type ref to cl_wd_view_container_uielement.
      if first_time eq abap_true.
        select * from zps_reports_port into corresponding fields of table it_zps_reports_port order by tabx.
        sort it_zps_reports_port.
    ************creation of tabstrip dynamically
        lr_uielement_container ?= view->get_element( id = 'ROOTUIELEMENTCONTAINER'   ).
        call method cl_wd_tabstrip=>new_tabstrip
          exporting
            id                         = 'TBS'
          receiving
            control                    = lr_tabstrip.
        lr_matrix_head_data = cl_wd_matrix_head_data=>new_matrix_head_data(
                  element                = lr_tabstrip
        lr_tabstrip->set_layout_data( the_layout_data = lr_matrix_head_data   ).
        lr_uielement_container->add_child(*       index     = index
            the_child = lr_tabstrip
        lo_node = wd_context->get_child_node( 'LINK_TO_ACTION' ).
        lo_nd_info = lo_node->get_node_info( ).
        lo_nd_link_to_action = wd_context->get_child_node( name = wd_this->wdctx_link_to_action ).
        lo_el_link_to_action = lo_nd_link_to_action->get_element( ).
        loop at it_zps_reports_port into wa_zps_reports_port.
    *****addition of tab for every new tab.
          at new tabx.
            lv_flag = abap_true.
          endat.
          if lv_flag = abap_true.
    if wa_zps_reports_port-tabx = 1.
            lv_text = 'Billing reports'.
          else.
            lv_text = 'Monthly closing reports'.
          endif.******Addition of new tab
            call method cl_wd_caption=>new_caption
              exporting
                text                   = lv_text
              receiving
                control                = lv_caption.
            call method cl_wd_tab=>new_tab
          exporting
             enabled                  = 'X'
         has_content_padding      = 'X'
              receiving
                control                  = lr_tab.
            lr_tab->set_header( lv_caption ).
            lr_tabstrip->add_tab( the_tab = lr_tab ).
            clear lv_flag.
          endif.
          lr_count = lr_count + 1.
          concatenate lr_id lr_count into lr_id_d.
          lv_textt = wa_zps_reports_port-trans_code.
          call method cl_wd_link_to_action=>new_link_to_action
            exporting
              id                          = lr_id_d
              on_action                   = 'ON_ACTION'
              text                        = lv_textt
            receiving
              control                     = lr_linktoaction.
          lr_matrix_head_data = cl_wd_matrix_head_data=>new_matrix_head_data(
    element                = lr_linktoaction
          lr_linktoaction->set_layout_data( the_layout_data = lr_matrix_head_data   ).
       lr_linktoaction->set_layout_data( the_layout_data = lr_matrix_head_data   ).**      lr_uielement_container->add_child(**    index     = lr_ind*          the_child = lr_linktoaction*             ).
             call method cl_wd_scroll_container=>new_scroll_container
            receiving
              control                  = lr_scroll_container
      lr_scroll_container->add_child( lr_linktoaction ).
    lr_tab->set_content( lr_trans_cont ).                 "im getting dump after the looping is done and the end method is executed
        endloop.
      endif.endmethod.

    HI SAYAN,
    this is the dump i am getting.
    Category               ABAP Programming Error
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    ABAP Program           CL_NW7_VIEW_ELEMENT_ADAPTER===CP
    Application Component  BC-WD-ABA-REN
    Date and Time          18.05.2012 15:44:42
    |Short text                                                                                        |
    |    Access via 'NULL' object reference not possible.                                              |
    |What happened?                                                                                    |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                                  |
    |    The current ABAP program "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" had to be                         |
    |     terminated because it has                                                                    |
    |    come across a statement that unfortunately cannot be executed.                                |
    |What can you do?                                                                                  |
    |    Note down which actions and inputs caused the error.                                          |
    |                                                                                                  |
    |                                                                                                  |
    |    To process the problem further, contact you SAP system                                        |
    |    administrator.                                                                                |
    |                                                                                                  |
    |    Using Transaction ST22 for ABAP Dump Analysis, you can look                                   |
    |    at and manage termination messages, and you can also                                          |
    |    keep them for a long time.                                                                    |
    |Error analysis                                                                                    |
    |    You attempted to use a 'NULL' object reference (points to 'nothing')                          |
    |    access a component (variable: " ").                                                           |
    |    An object reference must point to an object (an instance of a class)                          |
    |    before it can be used to access components.                                                   |
    |    Either the reference was never set or it was set to 'NULL' using the                          |
    |    CLEAR statement.                                                                              |
    |How to correct the error                                                                          |
    |                                                                                                  |
    |                                                                                                  |
    |    If the error occures in a non-modified SAP program, you may be able to                        |
    |    find an interim solution in an SAP Note.                                                      |
    |    If you have access to SAP Notes, carry out a search with the following                        |
    |    keywords:                                                                                     |
    |                                                                                                  |
    |    "OBJECTS_OBJREF_NOT_ASSIGNED" " "                                                             |
    |    "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" or "CL_NW7_VIEW_ELEMENT_ADAPTER===CM008"                   |
    |    "CREATE_NW7_BY_VIEW_ELEMENT"                                                                  |
    |                                                                                                  |
    |    If you cannot solve the problem yourself and want to send an error                            |
    |    notification to SAP, include the following information:                                       |
    |                                                                                                  |
    |    1. The description of the current problem (short dump)                                        |
    |                                                                                                  |
    |       To save the description, choose "System->List->Save->Local File                            |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    2. Corresponding system log                                                                   |
    |                                                                                                  |
    |       Display the system log by calling transaction SM21.                                        |
    |       Restrict the time interval to 10 minutes before and five minutes                           |
    |    after the short dump. Then choose "System->List->Save->Local File                             |
    |    (Unconverted)".                                                                               |
    |                                                                                                  |
    |    3. If the problem occurs in a problem of your own or a modified SAP                           |
    |    program: The source code of the program                                                       |
    |       In the editor, choose "Utilities->More                                                     |
    |    Utilities->Upload/Download->Download".                                                        |
    |                                                                                                  |
    |    4. Details about the conditions under which the error occurred or which                       |
    |    actions and input led to the error.                                                           |
    |                                                                                                  |
    |System environment                                                                                |
    |    SAP Release..... 702                                                                          |
    |    SAP Basis Level. 0008                                                                         |
    |                                                                                                  |
    |    Application server... "ISVSAPECCDEV"                                                          |
    |    Network address...... "172.25.105.183"                                                        |
    |    Operating system..... "Windows NT"                                                            |
    |    Release.............. "6.1"                                                                   |
    |    Hardware type........ "4x AMD64 Level"                                                        |
    |    Character length.... 16 Bits                                                                  |
    |    Pointer length....... 64 Bits                                                                 |
    |    Work process number.. 18                                                                      |
    |    Shortdump setting.... "full"                                                                  |
    |                                                                                                  |
    |    Database server... "ISVSAPECCDEV"                                                             |
    |    Database type..... "MSSQL"                                                                    |
    |    Database name..... "ECD"                                                                      |
    |    Database user ID.. "ecd"                                                                      |
    |                                                                                                  |
    |    Terminal.......... "10.66.113.155"                                                            |
    |                                                                                                  |
    |    Char.set.... "C"                                                                              |
    |                                                                                                  |
    |    SAP kernel....... 720                                                                         |
    |    created (date)... "Mar 4 2012 23:19:29"                                                       |
    |    create on........ "NT 5.2 3790 S x86 MS VC++ 14.00"                                           |
    |    Database version. "SQL_Server_9.00 "                                                          |
    |                                                                                                  |
    |    Patch level. 211                                                                              |
    |    Patch text.. " "                                                                              |
    |                                                                                                  |
    |    Database............. "MSSQL 9.00.2047 or higher"                                             |
    |    SAP database version. 720                                                                     |
    |    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows                |
    |     NT 6.0, Windows NT 6.1, Windows NT 6.2"                                                      |
    |                                                                                                  |
    |    Memory consumption                                                                            |
    |    Roll.... 0                                                                                    |
    |    EM...... 4189792                                                                              |
    |    Heap.... 0                                                                                    |
    |    Page.... 0                                                                                    |
    |    MM Used. 3566480                                                                              |
    |    MM Free. 620640                                                                               |
    |User and Transaction                                                                              |
    |    Client.............. 220                                                                      |
    |    User................ 160072                                                                   |
    |    Language key........ "E"                                                                      |
    |    Transaction......... " "                                                                      |
    |    Transaction ID...... "38D2A0E14277F14BAD090050569F0165"                                       |
    |                                                                                                  |
    |    EPP Whole Context ID.... "0050569F01651EE1A89A470EE848AD09"                                   |
    |    EPP Connection ID....... "0050569F01651EE1A89A47B05E162D09"                                   |
    |    EPP Caller Counter...... 1                                                                    |
    |                                                                                                  |
    |    Program............. "CL_NW7_VIEW_ELEMENT_ADAPTER===CP"                                       |
    |    Screen.............. "SAPMHTTP 0010"                                                          |
    |    Screen Line......... 2                                                                        |
    |    Debugger Active..... "(TPDA)"                                                                 |
    |Server-Side Connection Information                                                                |
    |    Information on Caller of "HTTP" Connection:                                                   |
    |    Plug-in Type.......... "HTTP"                                                                 |
    |    Caller IP............. "10.66.113.155"                                                        |
    |    Caller Port........... 8001                                                                   |
    |    Universal Resource ID. "/sap/bc/webdynpro/sap/z160072_dynamic_view_crea"                      |
    |                                                                                                  |
    |    Program............. "CL_NW7_VIEW_ELEMENT_ADAPTER===CP"                                       |
    |    Screen.............. "SAPMHTTP 0010"                                                          |
    |    Screen Line......... 2                                                                        |
    |                                                                                                  |
    |    Information on Caller ofr "HTTP" Connection:                                                  |
    |    Plug-in Type.......... "HTTP"                                                                 |
    |    Caller IP............. "10.66.113.155"                                                        |
    |    Caller Port........... 8001                                                                   |
    |    Universal Resource Id. "/sap/bc/webdynpro/sap/z160072_dynamic_view_crea"                      |
    |Information on where terminated                                                                   |
    |    Termination occurred in the ABAP program "CL_NW7_VIEW_ELEMENT_ADAPTER===CP" -                 |
    |     in "CREATE_NW7_BY_VIEW_ELEMENT".                                                             |
    |    The main program was "SAPMHTTP ".                                                             |
    |                                                                                                  |
    |    In the source code you have the termination point in line 23                                  |
    |    of the (Include) program "CL_NW7_VIEW_ELEMENT_ADAPTER===CM008".                               |
    |Source Code Extract (Source code has changed)                                                     |
    |Line |SourceCde                                                                                   |
    |    1|METHOD create_nw7_by_view_element.                                                          |
    |    2|                                                                                            |
    |    3|  TYPES c1 TYPE c LENGTH 1.                                                                 |
    |    4|                                                                                            |
    |    5|  DATA: mappings             TYPE STANDARD TABLE OF wdr_elem_apt_map,                       |
    |    6|        mapping              TYPE wdr_elem_apt_map,                                         |
    |    7|        elem_defs            TYPE SORTED TABLE OF wdy_ui_elem_def WITH UNIQUE KEY definition|
    |    8|        elem_def             TYPE wdy_ui_elem_def,                                          |
    |    9|        new_entries          TYPE STANDARD TABLE OF t_nw7_class_registry,                   |
    |   10|        adapters             TYPE SORTED TABLE OF wdr_uiel_adapter WITH UNIQUE KEY library_n|
    |   11|        adapter_def          LIKE LINE OF adapters,                                         |
    |   12|        id_gen_entity        TYPE string,                                                   |
    |   13|        l_adapter_lib_name   TYPE string,                                                   |
    |   14|        lr_adapter_lib       TYPE REF TO if_nw7_adapter_library,                            |
    |   15|        l_current_library    TYPE string,                                                   |
    |   16|        l_current_id_gen_entity TYPE c1,                                                    |
    |   17|        lt_mapping           TYPE if_nw7_adapter_library=>tt_index_map.                     |
    |   18|                                                                                            |
    |   19|                                                                                            |
    |   20|  FIELD-SYMBOLS: <class_registry_entry> TYPE t_nw7_class_registry,                          |
    |   21|  <l_mapping>            TYPE if_nw7_adapter_library=>t_index_map.                          |
    |   22|                                                                                            |
    |>>>>>|  READ TABLE m_nw7_class_registry ASSIGNING <class_registry_entry>                          |
    |   24|    WITH TABLE KEY view_element_cid = view_element->_cid.                                   |
    |   25|  IF sy-subrc <> 0.                                                                         |
    |   26|                                                                                            |
    |   27|*   If not found, maybe we need to load the library first?                                  |
    |   28|    READ TABLE m_nw7_class_registry TRANSPORTING NO FIELDS                                  |
    |   29|      WITH KEY mapping-library_name =  view_element->_library_name.                         |
    |   30|*   No ViewElementAdapter found for ViewElement                                             |
    |   31|    ASSERT FIELDS view_element->_library_name CONDITION sy-subrc <> 0.                      |
    |   32|                                                                                            |
    |   33|    SELECT * FROM wdy_ui_elem_def INTO TABLE elem_defs                                      |
    |   34|      WHERE library_name =  view_element->_library_name                                     |
    |   35|      AND cid          <> ''.                                                               |
    |   36|    SELECT * FROM wdr_elem_apt_map INTO TABLE mappings                                      |
    |   37|      WHERE library_name =  view_element->_library_name.                                    |
    |   38|    SELECT * FROM wdr_uiel_adapter INTO TABLE adapters                                      |
    |   39|      WHERE library_name =  view_element->_library_name.                                    |
    |   40|                                                                                            |
    |   41|    LOOP AT mappings INTO mapping.                                                          |
    |   42|      APPEND INITIAL LINE TO new_entries ASSIGNING <class_registry_entry>.                  |
    |Contents of system fields                                                                         |
    |Name    |Val.                                                                                     |
    |SY-SUBRC|0                                                                                        |
    |SY-INDEX|2                                                                                        |
    |SY-TABIX|0                                                                                        |
    |SY-DBCNT|220                                                                                      |
    |SY-FDPOS|0                                                                                        |
    |SY-LSIND|0                                                                                        |
    |SY-PAGNO|0                                                                                        |
    |SY-LINNO|1                                                                                        |
    |SY-COLNO|1                                                                                        |
    |SY-PFKEY|                                                                                         |
    |SY-UCOMM|                                                                                         |
    |SY-TITLE|HTTP Control                                                                             |
    |SY-MSGTY|                                                                                         |
    |SY-MSGID|                                                                                         |
    |SY-MSGNO|000                                                                                      |
    |SY-MSGV1|                                                                                         |
    |SY-MSGV2|                                                                                         |
    |SY-MSGV3|                                                                                         |
    |SY-MSGV4|                                                                                         |
    |SY-MODNO|0                                                                                        |
    |SY-DATUM|20120518                                                                                 |
    |SY-UZEIT|154425                                                                                   |
    |SY-XPROG|                                                                                         |
    |SY-XFORM|                                                                                         |
    |Active Calls/Events                                                                               |
    |No.   Ty.          Program                             Include                             Line   |
    |      Name                                                                                        |
    |   22 METHOD       CL_NW7_VIEW_ELEMENT_ADAPTER===CP    CL_NW7_VIEW_ELEMENT_ADAPTER===CM008    23  |
    |      CL_NW7_VIEW_ELEMENT_ADAPTER=>CREATE_NW7_BY_VIEW_ELEMENT                                     |
    |   21 METHOD       /1WDA/C7STANDARD==============CP    /1WDA/C7STANDARD==============CCIMP  1096  |
    |      CL_SCROLL_CONTAINER=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                |
    |   20 METHOD       /1WDA/C9STANDARD==============CP    /1WDA/C9STANDARD==============CCIMP  4583  |
    |      CL_TABSTRIP_ITEM=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                   |
    |   19 METHOD       /1WDA/C9STANDARD==============CP    /1WDA/C9STANDARD==============CCIMP  3973  |
    |      CL_TABSTRIP=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                        |
    |   18 METHOD       /1WDA/C8STANDARD==============CP    /1WDA/C8STANDARD==============CCIMP  3165  |
    |      CL_MATRIX_LAYOUT_CELL=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                              |
    |   17 METHOD       /1WDA/C8STANDARD==============CP    /1WDA/C8STANDARD==============CCIMP  3357  |
    |      CL_MATRIX_LAYOUT_ROW=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                               |
    |   16 METHOD       /1WDA/C8STANDARD==============CP    /1WDA/C8STANDARD==============CCIMP  2846  |
    |      CL_MATRIX_LAYOUT=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                   |
    |   15 METHOD       /1WDA/C7STANDARD==============CP    /1WDA/C7STANDARD==============CCIMP  1865  |
    |      CL_TRANSPARENT_CONTAINER=>IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT                           |
    |   14 METHOD       CL_WDR_VIEW_ADAPTER===========CP    CL_WDR_VIEW_ADAPTER===========CM003    72  |
    |      CL_WDR_VIEW_ADAPTER=>IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT                                |
    |   13 METHOD       CL_WDR_VIEW_ADAPTER===========CP    CL_WDR_VIEW_ADAPTER===========CM007    28  |
    |      CL_WDR_VIEW_ADAPTER=>IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS                       |
    |   12 METHOD       CL_WDR_WINDOW_CONTENT_ADAPTER2CP    CL_WDR_WINDOW_CONTENT_ADAPTER2CM004     5  |
    |      CL_WDR_WINDOW_CONTENT_ADAPTER2=>PROCESS_DELTA_BLOCKS                                        |
    |   11 METHOD       CL_WDR_WINDOW_CONTENT_ADAPTER2CP    CL_WDR_WINDOW_CONTENT_ADAPTER2CM001    27  |
    |      CL_WDR_WINDOW_CONTENT_ADAPTER2=>IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS            |
    |   10 METHOD       CL_WDR_NW7_INT_WIN_ADAPTER====CP    CL_WDR_NW7_INT_WIN_ADAPTER====CM005    66  |
    |      CL_WDR_NW7_INT_WIN_ADAPTER=>SET_CONTENT                                                     |
    |    9 METHOD       CL_WDR_NW7_MAIN_WIN_ADAPTER===CP    CL_WDR_NW7_MAIN_WIN_ADAPTER===CM002     6  |
    |      CL_WDR_NW7_MAIN_WIN_ADAPTER=>SET_CONTENT                                                    |
    |    8 METHOD       CL_WDR_CLIENT_SSR_LS==========CP    CL_WDR_CLIENT_SSR_LS==========CM001    29  |
    |      CL_WDR_CLIENT_SSR_LS=>IF_WDR_CLIENT~SEND_RESPONSE                                           |
    |    7 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00I   118  |
    |      CL_WDR_MAIN_TASK=>EXECUTE                                                                   |
    |    6 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00U     6  |
    |      CL_WDR_MAIN_TASK=>IF_WDR_RUNTIME~EXECUTE                                                    |
    |    5 METHOD       CL_WDR_CLIENT_ABSTRACT_HTTP===CP    CL_WDR_CLIENT_ABSTRACT_HTTP===CM01A   100  |
    |      CL_WDR_CLIENT_ABSTRACT_HTTP=>HANDLE_REQUEST                                                 |
    |    4 METHOD       CL_WDR_MAIN_TASK==============CP    CL_WDR_MAIN_TASK==============CM00J    89  |
    |      CL_WDR_MAIN_TASK=>IF_HTTP_EXTENSION~HANDLE_REQUEST                                          |
    |    3 METHOD       CL_HTTP_SERVER================CP    CL_HTTP_SERVER================CM017   388  |
    |      CL_HTTP_SERVER=>EXECUTE_REQUEST_FROM_MEMORY                                                 |
    |    2 FUNCTION     SAPLHTTP_RUNTIME                    LHTTP_RUNTIMEU02                     1155  |
    |      HTTP_DISPATCH_REQUEST                                                                       |
    |    1 MODULE (PBO) SAPMHTTP                            SAPMHTTP                               13  |
    |      %_HTTP_START                                                                                |
    |Chosen variables                                                                                  |
    |Name                                                                                              |
    |    Val.                                                                                          |
    |No.      22 Ty.          METHOD                                                                   |
    |Name  CL_NW7_VIEW_ELEMENT_ADAPTER=>CREATE_NW7_BY_VIEW_ELEMENT                                     |
    |VIEW_ELEMENT                                                                                      |
    |    {O:initial}                                                                                   |
    |    F0000000                                                                                      |
    |    F0000000                                                                                      |
    |    FF00000000000000                                                                              |
    |PARENT                                                                                            |
    |    {O:281*\CLASS-POOL=/1WDA/C7STANDARD\CLASS=CL_SCROLL_CONTAINER}                                |
    |    E0001000                                                                                      |
    |    60009100                                                                                      |
    |    E600000019010000                                                                              |
    |IGNORE_LIFETIME_WRAPPER                                                                           |
    |                                                                                                  |
    |    2                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    2000                                                                                          |
    |ADAPTER                                                                                           |
    |    {O:initial}                                                                                   |
    |    F0000000                                                                                      |
    |    F0000000                                                                                      |
    |    FF00000000000000                                                                              |
    |%_SPACE                                                                                           |
    |                                                                                                  |
    |    2                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    0                                                                                             |
    |    2000                                                                                          |
    |SYST-REPID                                                                                        |
    |    CL_NW7_VIEW_ELEMENT_ADAPTER===CP                                                              |
    |    4454535544554444445544455453334522222222                                                      |
    |    3CFE77F6957F5C5D5E4F1410452DDD3000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    0000000000000000000000000000000000000000                                                      |
    |    43004C005F004E00570037005F0056004900450057005F0045004C0045004D0045004E0054005F0041004400410050|
    |CL_NW7_VIEW_ELEMENT_ADAPTER=>M_NW7_CLASS_REGISTRY                                                 |
    |    Table IT_627[112x256]                                                                         |
    |    \CLASS-POOL=CL_NW7_VIEW_ELEMENT_ADAPTER\DATA=CL_NW7_VIEW_ELEMENT_ADAPTER=>M_NW7_CLASS_REGISTRY|
    |    Table reference: 318                                                                          |
    |    TABH+  0(20) = 303E3A00DF070000F03E3A00DF07000000000000                                       |
    |    TABH+ 20(20) = 3E010000730200007000000000010000FFFFFFFF                                       |
    |    TABH+ 40(16) = 04E50000B0D6000010000000A425C000                                               |
    |    store        = 0x303E3A00DF070000                                                             |
    |    ext1         = 0xF03E3A00DF070000                                                             |
    |    shmId        = 0     (0x00000000)                                                             |
    |    id           = 318   (0x3E010000)                                                             |
    |    label        = 627   (0x73020000)                                                             |
    |    fill         = 112   (0x70000000)                                                             |
    |    leng         = 256   (0x00010000)                                                             |
    |    loop         = -1    (0xFFFFFFFF)                                                             |
    |    xtyp         = TYPE#000018                                                                    |
    |    occu         = 16    (0x10000000)                                                             |
    |    accKind      = 4     (ItAccessHashed)                                                         |
    |    idxKind      = 0     (ItIndexNone)                                                            |
    |    uniKind      = 1     (ItUniYes)                                                               |
    |    keyKind      = 3     (user defined)                                                           |
    |    cmpMode      = 2     (cmpSingleMcmpR)                                                         |
    |    occu0        = 1                                                                              |
    |    stMode       = 0                                                                              |
    |    groupCntl    = 0                                                                              |
    |    rfc          = 0                                                                              |
    |    unShareable  = 0                                                                              |
    |    mightBeShared = 0                                                                             |
    |    sharedWithShmTab = 0                                                                          |
    |    isShmLockId  = 0                                                                              |
    |    isUsed       = 1                                                                              |
    |    isCtfyAble   = 1                                                                              |
    |    hasScndKeys  = 0                                                                              |
    |    hasRowId     = 0                                                                              |
    |    scndKeysOutdated = 0                                                                          |
    |    scndUniKeysOutdated = 0                                                                       |
    |    ----- Shareable Table Header Data -----                                                       |
    |    tabi         = 0xA0B53A00DF070000                                                             |
    |    pgHook       = 0xC0343A00DF070000                                                             |
    |    idxPtr       = 0x90323A00DF070000                                                             |
    |    id           = 536   (0x18020000)                                                             |
    |    shmTabhSet   = 0x0000000000000000                                                             |
    |    refCount     = 0     (0x00000000)                                                             |
    |    tstRefCount  = 0     (0x00000000)                                                             |
    |    lineAdmin    = 112   (0x70000000)                                                             |
    |    lineAlloc    = 112   (0x70000000)                                                             |
    |    shmVersId    = 0     (0x00000000)                                                             |
    |    shmRefCount  = 1     (0x01000000)                                                             |
    |    rowId        = 18446744073709551615                                                           |
    |    scndKeyAdmin = 0x0000000000000000                                                             |
    |    ----- 1st level extension part --------                                                       |
    |    regHook      = 0xB0763A00DF070000                                                             |
    |    collHook     = 0x0000000000000000                                                             |
    |    ext2         = 0x0000000000000000                                                             |
    |                                                                                                  |
    |    STANDARD                      RADIOBUTTON_GROUP_BY_IDX                                    RADI|
    |    5544445422222222222222222222225444445554454545554554452222222222222222222222222222222222225444|
    |    341E412400000000000000000000002149F2544FEF72F50F29F9480000000000000000000000000000000000002149|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    5300540041004E00440041005200440020002000200020002000200020002000200020002000200020002000200020|
    |                                                                                                  |
    |    STANDARD                      RADIOBUTTON                                                 RADI|
    |    5544445422222222222222222222225444445554422222222222222222222222222222222222222222222222225444|
    |    341E412400000000000000000000002149F2544FE00000000000000000000000000000000000000000000000002149|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000|
    |    5300540041004E00440041005200440020002000200020002000200020002000200020002000200020002000200020|
    |         

  • Basic TableUI element to Reset Data in WEbDynPro For Java

    Hi Experts,
    I am new to webdynPro for java . Can anybody plz help me out.
    i wrote the following code to retrieve data from DB. which is working very much fine.
    public void
    onActionGetRecords(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    while(rs.next()){
    tabstrip.comp.wdp.IPrivateSearchEmployee.IEmpDetailsElement elt= wdContext.nodeEmpDetails().createEmpDetailsElement();
                          elt.setSNo(rs.getString(1));
                          elt.setName(rs.getString(2));
                          elt.setPlatform(rs.getString(3));
                          elt.setPhNo(rs.getString(4));
                          elt.setCity(rs.getString(5));
                          wdContext.nodeEmpDetails().addElement(elt);
    Now my problem is when i call this action its adding the rows to Table UI elements.
    Can anybody please help
    how to reset values in TableUI element when i click on reset button OR when i call onActionGetRecords(-----) methods,
    Please help me .....
    thanks and Regards,
    Shashikiran

    hi,
    if you want the data to be erased(reset)
    in your code
    tabstrip.comp.wdp.IPrivateSearchEmployee.IEmpDetailsElement elt= wdContext.nodeEmpDetails().createEmpDetailsElement();
    elt.setName("");
    elt.setPlatform("");
    elt.setCity("");
    wdContext.nodeEmpDetails().addElement(elt);
    by this way you can reset all the values present in the table
    and can you make it more clear for on action getrecords
    or  you acn use the remove method to remove the table element
    wdContext.nodeXXX().removeElement();
    thanks and regards
    fazal
    Edited by: fazal ahamed on Apr 2, 2008 4:10 PM

  • "Leave tab" event for tabs in TabStrip UI

    Hi
    I want to check that some input fields are valid and force users do not change Tab in TabStrip (until enter valid values for required fields) but I do not know is it possible this in Webdynpro? Does anybody know which is this event and may I use it in my WD Application?
    In TabStrip there is action for OnSelect event but this is event when user enters in Tab. I need event when user exits the tab.

    In BSP the tabStrip has a value "selection" which if you read the tabStrip to see the tab they selected you can store that value.
    Then check if the fields are filled in if so then pass the stored value back to the "selection" parameter and if not give the name of the tab they were currently on back to the "selection" parameter.

  • How to do this in WebDynpro ABAP?

    Hi!
    I'm new to WD ABAP, and I need to create a webdynpro with the same funcionality as the User Management Administration available in the Portal, ie:
    1. AN ALV list with a search criteria: OK, created on view VLIST.
    2. When the user selects one line of the ALV, it would open another view below the view VLIST, not replacing the view VLIST (as it happens when using navigation link).
    3. Inside this second view, there is a tabstrip, and one of the tabs display another ALV list, with a <b>Modify</b> button. When the user clicks on <b>Modify</b>, another ALV will "appear" side by side with the first one (inside the tab), so that the user can move items from one ALV to the other (just like the role assignment in the user management administration of the portal).
    Can it be done in ABAP WebDynpro? If yes, how can I do it?
    Thank you very much.
    Andre

    Hi Andre,
    I think what you are looking for is the EMPTY view.
    Since a naviagtion event (fire plug) can result in multiple views being changed.
    So you can have
       VIEW COMBI
          with 2 UI View containers
          VC1
                VIEW1
          VC2
                VIEW2
    Event X  can be mapped to result in
           VIEW COMBI
               VC1
                VIEW4
          VC2
                VIEW5
    or
           VIEW COMBI
               VC1
                VIEW4
          VC2
                EMPTY VIEW
    So you can controller exactly which views are visible when easily
    See right click embed empty view in the WINDOW
    regards
    Phil

Maybe you are looking for

  • Unable to load a DLL

    Hi, I have written a java application using JNI which sucessfully access the cryptoAPI functions. I am trying to convert it into an applet. I get the following error when i open it in IE. before java.lang.UnsatisfiedLinkError: no Msgimpl in java.libr

  • Drag meeting to next week

    OK, here's something that should be totally simple:  Drag a meeting into next week (when looking at the week view in iCal). Evidently, Apple has not implemented active borders so that when you drag something to the edge of the window it scrolls the c

  • Stored Proc Execution through OS command using shell script

    Hi All, I have a requirement of executing one stored procedure before putting data in Table through JDBC adaptor and two stored procedures after that. I was thinking to write a shell script and execute it before and after message processing in adapto

  • Windows 8.1 and MAC Operating Systems

    Why doesn't the "Submit" button work for users using Windows 8.1 or Mac operating systems? Is there a work around?

  • Black screen on boot & Diagnostic errors

    Hi,  I've a HP g62 notebook pc that has some problems when is booting. Sometimes the screen is black when i try to boot or i've a BSOD related with the atikmpag.sys.This PC doesn't have warranty, but i don't know if the problem is only because of the