View Container UI element in a table popin dynamically

Hello people,
I create a WD Table dynamically using the runtime class. I also create the table popin and then I set it in the table using the method SET_POPIN from the runtime class.
Now my requirement is that I should be able to add the 'View Container UI Element' into this popin so that I can embed any other views into this VC UI E. I cannot find a way in which I can achieve this. I am able to do it statically but not dynamically.
Even though it is suggested that such a design would lead to performance issues, but I have to achieve this.
Regards
Rohan

Hi Anita,
you cannot set metadata at element level of a node. When you set the metadata ( example mime type or file name ) for a particular element in the node , it changes for all the element. So you are always getting the file for the last row. ( most recent set metadata ).
Try using the inteface IWDCachedWebResource for file download.
For each row add a button, and associate an action "DownloadFile" for it. Use the following "onAction" for the said action. 
public void onActionDownloadFile(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionDownloadFile(ServerEvent)
    int selectedIndex = wdContext.nodeFileTab().getLeadSelection();
    IPrivateView_pdfView.IFileTabElement file = wdContext.nodeFileTab().getFileTabElementAt(selectedIndex);
    try {
     IWDCachedWebResource webResource = WDWebResource.getWebResource(
          this.
          getByteArrayFromResourcePath("/sapmnt/PCD/global/config/cm/etc/pdf/"+
          wdContext.nodeFileTab().getFileTabElementAt().getFilename(selectedIndex),
          WDWebResourceType.PDF);
     wdComponentAPI.getWindowManager().createExternalWindow(webResource.getURL(),"Download File",true).open();
   catch(Exception e) {
     // take some action
     wdComponentAPI.getMessageManager().reportException(e.toString(),true);
    //@@end
Hope you get a solution.
Regards
KK.

Similar Messages

  • Embeding ALV table in dynamically created view container UI element

    Hi ,
    I created a view container UI element dynamically .that is working fine . I am using standard ALV component . Now i want to embed ALV table in View container UI element dynamically > please help me in this .
    Thanks in advance ,
    Vijay vorsu

    Hi,
    I am not sure how to do add an ALV table dynamically but you can have a look at this blog which talks about creating and adding a TABLE ui element dynamically. And TABLE UI element may solve your problem.
    http://mamma1360.blog.163.com/blog/static/314740992008127115551165/
    Thanks,
    Abhishek

  • Embedding view in view container UI element

    Hello,
       I have a requirement which is given below:
      I have a MAIN view where there is a view container UI element. This container holds one of 3 views(VIEW1,VIEW2 and VIEW3) depending on user input. Initially VIEW1 is displayed (this is set as the default view). Then the user navigates to VIEW2 and enters some selection criteria and confirms. Then VIEW3 is displayed with the entered selection criteria. Then the user clicks on search on the MAIN view and the RESULT view is displayed. When the user clicks on back functionality in the RESULT view,MAIN view is again displayed but the view container has VIEW1. The user wants to see VIEW3 in the viewcontainer in MAIN view.
    Please let me know if there is anyway to achieve this.
    Regards
    Nilanjan

    Hi Nilanjan,
    Create three context attributes V1,V2,V3 of type char1.
    Default value for V1 is 'X'. 
    Bind the visible property of each view container to the above attributes like
    View1-V1
    View2-V2
    View3-V3
    When you run the application, defaul View1 displays, coz its default values set as 'X'.
    Now depends up on the logic, change the value of each attribute as 'X' or SPACE .
    Eg:
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->Element_context.
        DATA lv_v1 TYPE wd_this->Element_context-v1.
        DATA lv_v2 TYPE wd_this->Element_context-v2.
        DATA lv_v3 TYPE wd_this->Element_context-v3.
    *   get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V1`
          value = 'X' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V2`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V3`
          value = '' ).
    or
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V1`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V2`
          value = 'X' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V3`
          value = '' ).
    or
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V1`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V2`
          value = '' ).
    *   set single attribute
        lo_el_context->set_attribute(
          name =  `V3`
          value = 'X' ).
    Regards,
    Amarnath S

  • Dynamically changing attributes of a field in view container UI element

    In the layout of the web dynpro component I have added a view container UI element. I am populating the fields in the view container UI element in methods in component controller using the following code
    *--Adding a Checkbox
      lv_str = wd_assist->if_wd_component_assistance~get_text( '009' ).
      CALL METHOD wd_this->att_wd_handler->add_parameter_field
        EXPORTING
          i_id          = 'CHB_DOWNLOAD_CHECKBOX'
          i_description = lv_str
          i_value       = lv_chb_download_checkbox
          i_as_checkbox = abap_true.
    *--Adding a Parameter
        lv_str = wd_assist->if_wd_component_assistance~get_text( '010' ).
        CALL METHOD wd_this->att_wd_handler->add_parameter_field
          EXPORTING
            i_id          = 'CHB_DOWNLOAD_PATH'
            i_description = lv_str
            i_value       = lv_chb_download_path
            i_as_checkbox = abap_false.
    Now based on the checkbox selection I want to make the field CHB_DOWNLOAD_PATH mandatory and also on F4 for CHB_DOWNLOAD_PATH  I want a method to be called. Where must i write the coding for the above conditions and how? Please help.

    hi
    In your method there would be a parameter ie ON_TOGGLE where you can write the name of your event .
    Whenever your checkbox will be clicked that event wil be called.
    You can write your code in that event itself.
    Regards
    Kuldeep

  • Dynamically embed View into View Container UI Element

    Hi all,
    I'm searching for a possibility to embed a view into a dynamically created View container element.
    I want to do this out of another view, where a tabstrip is contained. So I have a button on this view for generation of a new tab with an view container element in it. Now I got to the point where I have to set the view to this container within the tab strip.
    I read several blogs and articles, where this is done via the window manager within an method of the window, but non how to do this within a view.
    Any ideas?
    Thanks
    Olli

    HI,
    that's nit what I wanted. What I want to do is a kind of table maintenance. There is a button under the tabstrip for creating a new row. If the user klicks on that button a new tab should be created for the new row. Therefore the view on the tabs are always the same.
    I have created the tabstrib. dynamically add a tab to this strip on button press is no problem. Also a ViewContainerElement is created. But now I have to set the statically created view for the row maintenance into the container.
    Thanks
    Ragards
    Olli

  • Show view container elements on click of button in view

    Hi All,
    I have a view ,in that view I have 1 View Container UI Element.In ViewContainer I have a Table.
    I have a button in my view.onclick of that button I want to open a view Container's table.
    Could anyone please suggest me what are all the steps i have to follow for this?
    Regards,
    Karthick

    Hello Karthick,
    1) Create custom controller.
    2) Create attribute with type Visibility in custom controller.
    3) Add custom controller in "required controllers" for embedded view and for container view.
    4) Create attribute with type Visibility in embedded view and container view.
    5) Map visibility attribute from custom controller to container view and from custom controller to embedded view.
    6) in container view in wdDoInit put wdContext.currentContextElement().setVisible(WDVisibility.VISIBLE);
    7) In action handler for button put something like:
         final int ordinal = wdContext.currentContextElement().getVisible().ordinal();
        wdContext.currentContextElement().setVisible(WDVisibility.valueOf(ordinal%2 + 1));
    While clicking on button table would be shown or hidden.
    Best regards, Maksim Rashchynski.

  • Error message for View Container Element that is no longer existing

    Hi Experts,
    i have  problem in my webdynpro component. After perform the Code Inspector I get a error message accordingly View Container element.
    In one of my view I have rename  the name of a viewcontainer element.
    Afterwards I could the find the ViewContainer element with new name in my window. But there is also displayed the view container element with the name before renaming. Therefore the code inspector give the error message:
    "View Container ..... does not contain a View Container UIelement".
    I try different ways to solve it, but it is not possible to delete the displayed ViewContoinerElement in window(that is no longer existing) and it is also not possible to find the ViewContainerElement with the old name in the View.
    Thanks in Advance.

    Hi,
    Instead of trying to delete the View Container UI Element in window, Delete the View itself in window and then re-map it again to the window by simply drag and drop.
    Hope this helps u,
    Thanks & Regards,
    Kiran.

  • Embed view in view container dynamically

    Hello Experts,
      I have links in my web dynpro ABAP view, when user clicks on a link I need to show another view in view container.  For example I have two links in my view and when user clicks on link1 I need to show VIEW1 to the user in the view container UI element, if user clicks on link2 I need to show VIEW2.  I have written the below code in Link action method.  But it is not working.  Any one can help in this?
      DATA : lo_window_controller TYPE REF TO if_wd_window_controller.
      DATA : lo_view_controller TYPE REF TO if_wd_view_controller.
      DATA : lo_window_rr TYPE REF TO if_wd_rr_window.
      lo_view_controller   = wd_this->wd_get_api( ).
      lo_window_controller = lo_view_controller->get_embedding_window_ctlr( ).
      lo_window_rr         = lo_window_controller->get_window_info( ).
    Embedding view
      lo_window_rr->embed_view( used_view_name     = 'V_EMP_TERMINATION'
                                embedding_position = 'V_ACTION/VCU_CONTAINER'
                                used_component_name = 'ZHR_MSS_APPL' ).
    with best regards
    K. Mohan Reddy

    Hi mohan ,
    You written the code for embedding the view . then you have to creat the navigation link then only you can do navigation
    Look at the sample code for creating the navigation link dynamically
    DATA lo_navi_services TYPE REF TO if_wd_navigation_services_new.
    DATA lo_api_v_main_wf TYPE REF TO if_wd_view_controller.
    DATA lo_navi_services TYPE REF TO if_wd_navigation_services_new.
    DATA lo_view_usage TYPE REF TO if_wd_rr_view_usage.
    DATA lo_window TYPE REF TO if_wd_rr_window.
      lo_api_v_main_wf = wd_this->wd_get_api( ).
      lo_navi_services ?= lo_api_v_main_wf.
      lo_view_usage = lo_api_v_main_wf->get_view_usage( ).
      lo_window = lo_view_usage->get_window( ).
    CONSTANTS lc_target TYPE string VALUE 'VIEW_MAIN_WF/VC_WF'. "viewname /view vontainer name
    *Write the code for getting the view name here
    if view_name is not initial
       TRY.
         lv_window_name = lo_window->get_name( ).
         wd_comp_controller->fire_unactivate_all_pro_event( ).
            wd_this->m_navi_repository_handle = lo_navi_services->do_dynamic_navigation(
                source_window_name        = 'lv_window_name'
                source_vusage_name        = lo_view_usage->name
                source_plug_name          =  'source_out_plug'
             plug_parameters           = lv_plug_parameter
                target_view_name          = lv_view_name
                target_plug_name          = 'FROM_Plug'
             target_embedding_position = lc_target )."lv_target ).
          CATCH cx_wd_runtime_repository INTO lr_error.
        ENDTRY.
    hope thisl piece of code is help full
    regards
    chinnaiya

  • File Upload UI element is not working properly inside Table Popin container

    Hi Expert,
    I created a table with popin, i placed file-upload UI element inside table popin contatiner.
    The file upload UI element is displaying properly but, when i click the browse button to select  the file, the file open dialog box is not popping out.
    will table popin support file-upload UI element inside it?
    it not is there any other way to call a file_open dialog box from inside the table popin.
    Thanks,
    James

    If you are on NetWeaver 7.01, you can try both the ACFUpDownload UI element or try creating your own FileUpload in Adobe Flex with Flash Islands.  ACFUpDownload requires the KPRO by default (which is why the same application isn't working for you), but you can write your own handler class to act as the KPRO receiver.  Here is an eLearning on the topic:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
    and source code:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70645070-bb00-2c10-f086-f126721acdb4
    If you want an eLearning on the FlashIslands approach, you can find it here as well:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d42644-91ef-2b10-228c-9e0ae75b274e
    and Source Code:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f044b62c-90ef-2b10-64a6-9ec25294d133
    However in both of these approaches you still have to be careful with how you handle large files.  The problem is that they are processed often a single binary string.  This makes the processing easy, but requires total amount of session memory at least as large as the file being uploaded.  In NetWeaver 7.02 ABAP adds the concept of Streams and Locators to help with the partial processing of large files.  This feature doesn't come until later this year, but if you are interested you can learn about it here:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f983df-213e-2c10-ba89-b5a12ef178e8

  • Dump showing that table does not contain any elements.

    Hi All,
    I have a table, with lead select.Based on the row selected, corresponding values of the row are filled in the input fields.
           I filter the table and only those rows are displayed which has status "waiting". Now the problem is when there is only one row with status "waiting", and process it, its status changes to "done", as a result of which there is no row in the table, and i get following error:
    Adapter error in INPUT_FIELD "IF_STATUS" of view "ZPWB.DISTRIBUTE_VIEW": Context binding for property VALUE cannot be resolved: The DISTRIBUTE_VIEW.1.PD_ITEMS_TAB node does not contain any elements
    Can you please help out:)

    I have now the same problem.
    somebody found out what the solution is for that issue?
    if i have an empty context i get a dump due to the context binding. what is the work around?

  • I try to create an html for IPad. The html page contains an element overlapping a video, now it works as for view but the focus is still with video. This denies the event of overlapping element from occuring. Can please anyone help to solve this issue?

    I try to create an html for IPad. The html page contains an element overlapping a video, now it works as for view but the focus is still with video. This denies the event of overlapping element from occuring. Can please anyone help to solve this issue?

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Table Popin

    I have a WD component which has a view that contains a table.  I have a popin in the table for each row which also contains a table.  When toggling the popin for each row, the values for the popin populate just fine.  However, part of the requirement was to add an expand/collapse all button to toggle the popins for all rows at the same time.
    I currently have a test case where the main table has three rows of data.  The popin table has four columns providing additional detail for the main rows.  When I toggle the expand/collapse all, all the popins toggle open just fine, but the one for the first row only populates the first column in the popin and not columns 2-4.  However, for main rows 2 and 3 of the table, the popins populate all 4 columns just fine.
    While debugging, the values for the first row's table popin are populating in the node just fine, but at some point it loses them and I can't figure out where.
    I have a method on the component controller called Define_Details which populates the popin, and again when toggling the popins individually per row, the values are just fine.
    I have a method on the view called Onaction_expandall for the button expand/collapse all which controls opening the popins and also loops through all the elements and calls the method from the component controller to populate the values.
    I appreciate any insight and thoughts as to why when toggling the expand/collapse all button, the first row populates only the first column in the popin but not the other three while all other rows populate all four columns.
    [ScreenShot of Component|http://img14.imageshack.us/img14/1929/wdcomponent.jpg]
    Edited by: Roger Beach on Nov 19, 2011 1:05 PM

    On further testing, it is not filling the details popin for whichever main row of the table is the lead selection.  I originally had the following code but without index = lv_count for the context element and that made it only work for the row with lead selection.  Adding the index to the context element seemed to sort things out except now it doesn't work completely with lead selection.
    lv_count = 0.
      LOOP AT lt_elem_set ASSIGNING <ls_elem>.
        lv_count = lv_count + 1.
        IF checked = abap_true.
        context_element = wd_context->get_child_node( name = wd_this->wdctx_z9027 )->get_element( index = lv_count ).
        lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
        lo_componentcontroller->define_z9027_details( index = lv_count io_context_element = context_element ).
          <ls_elem>->set_attribute(
            EXPORTING
              name =  `POPIN_NAME`
              value = `TABLEPOPIN` ).
        ELSE.
          <ls_elem>->set_attribute(
            EXPORTING
              name =  `POPIN_NAME`
              value = `` ).
        ENDIF.
      ENDLOOP.

  • Javascript error when a table is placed within a table popin.

    Hi experts,
    I have a node 'Parent' which contains one attribute and a non singleton child node called 'Child' which contains five attributes.
    I have created a Table 'OuterTable' in the view. The 'datasource' property of this table is set to the node 'Parent'. I inserted a popin in to this table and added another table 'InnerTable' as the content of this popin. InnerTable is bound to the node 'Child'.
    For each parent element, there will be 'n' number of child elements. When i run the application i can see 'm' number of table popins(corresponding to 'm' number of parent elements) and inside each popin a table containing 'n' rows(corresponding to 'n' number of child nodes for each parent element).
    When i try to select a row from the table in second or third popin, the browser shows a javascript error at the bottom left hand corner. Although it does not affect the application, i am curious why this is happening.
    The main problem is that, we have to call this webdynpro application from a function module in R/3 which will show the application in the IE engine inside SAP GUI. In this case when we select any rows in the table, a pop up with a message 'Internet Explorer Script Error' comes and we are not able to proceed with the application.
    Any help to resolve this issue will be highly appreciated and rewarded with points
    Shabeer.

    Hi Shabeer,
    Can you try this
    File location
    1) <Installation Drive>\usr\sap\<System Name>\
    <Instance Name>\JC00\j2ee\cluster\server<Number>\
    apps\sap.com\irj\servlet_jsp\irj\root\portalapps\
    com.sap.portal.htmlb\jslib\jslib/sapUrMapi_ie6.js
    2) j2ee_<Instance Number>\cluster\server\services\
    servlet_jsp\work\jspTemp\irj\root\portalapps\
    com.sap.portal.htmlb\jslib\sapUrMapi_ie6.js
    and try this
    Find the function "function sapUrMapi_init()"
    and the line
    ur_system.emptyhoverurl = ur_system.mimepath+"emptyhover.html";
    Add the following if condition before this line:
    if (ur_system.emptyhoverurl == null || ur_system.emptyhoverurl == "")
    so that the result reads like follows:
    if (ur_system.emptyhoverurl == null || ur_system.emptyhoverurl == "")
    ur_system.emptyhoverurl = ur_system.mimepath+"emptyhover.html";
    Take a backup . You can try this on your local system before trying on the server.
    Keep in mind that the object can be cached in both the server and
    browser cache.
    Regards
    Pankaj Prasoon

  • Multiple rows in table popin

    Hi Experts,
    I have a requirement to have multiple rows in the table popin, that is , having a table with multiple rows as the table popin.
    For further information, the exact requirement is , there is a table which will have one of the column containing a button, EXPAND , clicking which a table needs to be displayed below the row, (same as it happens for Table popins) and EXpand button becomes COLLAPSE button after it is clicked. Now clicking the Collapse button should close the table showed in Table popin.
    Kindly help for the above requirement.
    Thanks in Advance for help
    Shilpa.

    LOOP AT wd_this->comp_tab INTO w_comp_tab.
         lv_uielement_id_prefix  = lv_uielement_id_prefix  && iv_col_num.
          IF w_comp_tab-name NE 'SELECTED_POPIN' .
            l_new_col = cl_wd_table_column=>new_table_column(
                          id    = w_comp_tab-name
                          width = '100px' ).
            lr_header = cl_wd_caption=>new_caption( text = w_comp_tab-name ).
            IF w_comp_tab-name EQ 'PRODUCT_ID'.
    **      link to action
              CONCATENATE w_comp_tab-name '_LINK' INTO l_link_id.
              lo_link_to_action = cl_wd_link_to_action=>new_link_to_action(
                                   id   = l_link_id
                                   text = 'PRODUCTID'
                              on_action = 'SET_POPIN'
              l_new_col->set_table_cell_editor( lo_link_to_action ).
              DATA: lr_el_details_cont TYPE REF TO if_wd_view_element.
              lr_container ?= lr_el_details_cont.
             Transparent container
              DATA lr_transparent_container TYPE REF TO cl_wd_transparent_container.
              DATA lr_table_in_table_popin TYPE REF TO cl_wd_table.
              lv_uielement_id = lv_uielement_id_prefix && '_POPIN_CNTR'. "#EC NOTEXT
              lr_transparent_container  = cl_wd_transparent_container=>new_transparent_container(
                  id                       =   lv_uielement_id "'TRANSPARENT_CONTAINER1'
                  height                   = '100%'             "#EC NOTEXT
                  width                    = '100%'
                  accessibility_descr      = 'TRANS_ACC'
                  is_layout_container      = 'X'         "#EC NOTEXT
                  view                     = view
              DATA l_popin_layout TYPE REF TO cl_wd_matrix_layout.
              l_popin_layout = cl_wd_matrix_layout=>new_matrix_layout( container = lr_transparent_container ).
              lr_transparent_container->set_layout( l_popin_layout ).
             lr_container->add_child( the_child = lr_transparent_container ).
              DATA: l_item_node TYPE REF TO if_wd_context_node.
              l_item_node = l_node->get_child_node( 'SUB' ).
              l_popin =  cl_wd_table_popin=>new_table_popin(
              id = 'POPIN'
              on_close = 'CLOSE_POPIN' ).
             DATA: i_the_content  TYPE REF TO cl_wd_uielement.
             i_the_content ?= lr_transparent_container.
              IF l_item_node IS BOUND.
                cl_wd_dynamic_tool=>create_table_from_node(
                       EXPORTING ui_parent = lr_transparent_container
                                 table_id  = 'MULTIV_TAB'
                                 node      = l_item_node
                       RECEIVING table     =  lr_table_in_table_popin ).
              ENDIF.
              "Add the Transparent Container to the Table Popin
              l_popin->set_content( lr_transparent_container ).
              " add popin to column
              l_new_col->set_popin( l_popin ).
            ENDIF.
            l_new_col->set_header( lr_header ).
            " add column to table
            lr_table->add_column( l_new_col ).
          ENDIF.
        ENDLOOP.

  • How to use table popin?

    Hi Experts,
    i want to usse table popin in one of my ui table element.
    i have just starte webdynpro ABAP.
    So if any one has steps for this problem.
    plz help me.
    Regards,
    Susheel K Joshi

    Follow these steps:
    1. Create an attribute 'Selected_Popin'  type string in your node bound to the table control.
    2. Goto the layout. Select the column and right click to Insert a table popin in the column
    3. Create a transaprent container under that and design the popin as per your requirement
    4. Create OnAction method for the table column and write the following code
    " create a importing parameter CONTEXT_ELEMENT type if_wd_Context_element
           context->element->set_attribute( exporting name = 'SELECTED_POPIN'  " attribute that we create above
                                    value  = 'TABLE_POPIN ' ) . " id of your table popin
    5. Create OnClose event for the Popin and write the following code.
    " create a importing parameter CONTEXT_ELEMENT type if_wd_Context_element
         context->element->set_attribute( exporting name = 'SELECTED_POPIN'  " attribute that we create above
                                     value  = '  ' ) . " space
    Hope this helps !
    Regards,
    Radhika.

Maybe you are looking for

  • Remote App won't list songs when sorted by artist

    I'm using the Remote App to control my iTunes running on my PC with Windows XP, it mostly runs fantastic and I love it!  One small and annoying problem though, when I search my library by artist and select an artist, it won't list any songs.  I am al

  • How can I convert  an ArrayList to a String[]

    Hi, How can I convert an ArrayList (only with strings) to a String[] ? I've tried this :      public static String listToString(List l) {           StringBuffer sb = new StringBuffer();           Iterator iter = l.iterator();           while (iter.ha

  • Zen Touch... giving up the gho

    Hi all, long time no see - board's grown quite a bit since last I was here...! My 20gig Zen Touch seems to be getting confused in its (relati've...) old age, and often thinks I've pressed the 'random play all' button when in fact I've just pressed 'p

  • Dynamic datagrid

    Hey all. I have a datagrid that has it's columns generated dynamically based on whatever columns are in the database. I have no problems retrieving the columns and dynamically creating my datagrid with those columns. My problem arises not with genera

  • FI Validation Issue - OB28, GGB0

    Can any body help me in the following validation - Requirement - I'm trying to create a validation so that only specific document types can post to specific GL accounts. I'm implementing this requirement by line item validation. I started with the si