Lead selection with a tree-based table.

I've created a recursive context node to display contents of a KM folder.  The structure has been mapped to a table, which works just fine.  I can expand nodes of the tree and display the contents of sub-folders.  Great.  However, I need to know which backing KM object has been selected via the table.  Since this is a recursive structure, using
wdContext.currentXXXX()
does not work, since that's the top of the tree.  Parameter mapping will only give you the column and/or row of the item selected in the table, not the object itself.
I'm missing something obvious here, but I can't figure out how to get the context element behind the selected row in a table which is displaying a recursive structure.
I can do this with a Tree structure, since you can map the 'path' parameter to the actual context object.  However, the Table UI doesn't offset that information (a severe oversight, at least in my mind).
Suggestions?

Thanks Armin, that works great.
Had I finished reading this page:
http://help.sap.com/saphelp_nw70/helpdata/en/60/1f1f056f057d4d962375efd3c92ed0/frameset.htm
I would have found the correct documentation.

Similar Messages

  • EXPLAIN LEAD SELECTION WITH AN EXAMPLE? WHY IT IS IMPORTANT?

    HI ALL,
      please explian me lead selection with an example?  what is the significance of lead selection?

    This is something that is not well explained anywhere, and it probably won't be well explained by me, either, but maybe when the clever people finish correcting me, we will have a good story.
    Lead selection is a mechanism that WDA uses to define a default row in a multi-element (e.g. table) node in the context.
    For example, lets say you display a list of flights in a table in WDA.
    You put them into an internal table and bind them to a  context node. 
    If the user selects one (by clicking the button beside the row of the table) then your program would like to know which row was selected.  You could loop over the whole table looking for some indicator, but that is tedious and time consuming.
    Because of the lead selection mechanism, you can call GET_STATIC_ATTRIBUTES which gets the values for a single row of the table.  Which row?  Well, the row selected by the user, which is called the lead selection.  I think it is called 'lead selection' because if you select a range of rows, then the first or leading row is set as the lead selection and that is the one you will get if you ask for a single row.
    Of course, nodes don't have rows, they have elements, but if you promise not to say it out loud, you can think of them as rows.
    So lead selection is all about providing easy access to the selected element of a multi-element node  If you ask the table for just one row, it will give you the selected row.
    With lead selection, asking a table for one row without saying which one would probably be an error, but with lead selection, it makes sense.  There are many node functions that work on a element that use lead selection to choose the element when you call them for a node with cardinality > 1.
    There are a bunch of methods in IF_WD_CONTEXT_NODE that allow you to set and get the lead selection, and use it to do various things.  This is useful, because with a big list of data, the thing you are probably interested in is the one the user has clicked.
    For example you can write a program that displays spfli and a button that calls lr_node->GET_STATIC_ATTRIBUTES and displays the selected row's carrid and connid  in a message. You can then select a row of the table and your button will always know which one you have chosen.  It might be psychic, but it is probably really lead selection at work.
    Or you can have an input field where you enter a row number and click a button.  If you call
    .  lr_node = wd_context->get_child_node( 'SPFLI' ).
    .  lr_element = lr_node->get_element( index i ).
    .  lr_element->set_lead_selection( )
    in the button action method you will see the button for that row suck into the screen as if you had clicked it.
    I hope this does more good than harm.
    Edited by: Russell Day on Feb 16, 2008 1:47 PM

  • Automatic lead selection change line in WD table

    Hi all,
    In footer of WD table, there is an input field, where user can specify number of record, which will be shown in first visible line.   
    I need to automatically select this line as lead selection. How can I achieve this behaviour? ( I'm using NW 2004 SP 19)
    Thanks for any answer.
    Regards,
    Juraj

    Hi Juraj,
    Assuming that when first time the view containing the table is loaded their is no changes required.
    Only when you enter some value in the input field then that record should be shown as first visible row ans should be lead selected.
    Now,
    1. Create a context attribute ctx_rowinput.Bind this context to the input field.
    2. Create a action say onInputShow and associate this with the input field.
        Either use a button and associate the action to the button or OnEnter event of input field.
    3. In your action onInputShow();
      public void onActionInputShow(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        int i = wdContext.currentContextElement().getctx_rowinput();
        wdContext.node<table node>().setLeadSelection(i);
    4. In your wdDoModifyView add the following code
      public static void wdDoModifyView(IPrivateTest_Table_View wdThis, IPrivateTest_Table_View.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
        if(!firstTime)
              IWDTable table =(IWDTable)view.getElement("Table");
              table.setFirstVisibleRow(wdContext.currentContextElement().getctx_rowinput());
        //@@end
    <b>Note: If you enter 3 in the input field it will show 2 record as the node index
    starts from 0.And also before setting the leadselection and visible row check if
    the input value exceeds the nuber of rows in the table.</b>
    This has worked for me.

  • Is this type of query possible (select with rows stopping based on match)

    I'm trying to write a SQL query and suspect it can't be done. Or at least, I can't mentally grasp it, despite various stabs with subqueries. I've simplified it by changing the metaphor here a little.
    Let's say I have a truck in some city (say, Chicago). There are various roads leading out of that city, with routes we'll label according to compass points (N, NE, SW, etc.) Each truck can carry only one shipment. It starts going along its road, and as soon as it comes to a city that needs its shipment, it stops.
    Yes, a cooked example, but it's similar to my problem.
    Here is a table:
    TABLE: truck_routes
    scenario (integer - different possible scenarios)
    route (NE, SW, etc. - 8 compass directions)
    destination (cities along that road)
    sequence_number (order in which to go to those cities)
    So if I have a trucks in Chicago, I can say
    SELECT route, sequence_number, destination
    FROM truck_routes
    WHERE scenario = 10 (or whatever)
    ORDER BY road_out, sequence_number;
    And I'd get a report like this:
    SE 1 Gary
    SE 2 Valparaiso
    SE 3 Plymouth
    SE 4 Warsaw
    NE 1 Michigan City
    NE 2 Kalamazoo
    NE 3 Grand Rapids
    NE 4 Cadillac
    NE 5 Traverse City
    So far so good. I have another table with a list of cities that need to receive the shipment:
    TABLE: cities
    scenario (integer - different possible scenarios)
    route (NE, SW, etc. - 8 compass directions)
    destination (same keys as in truck_routes)
    e.g.:
    10 SE Valparaiso
    10 SE Warsaw
    10 NE Cadillac
    10 NE Traverse City
    Now...the tricky part...how do I rewrite the query above so that after a truck hits a city that needs a shipment (in that scenario) it stops? In other words, I want a report (for all routes) of what cities the truck will stop at - and as mentioned, it stops at the first one it makes a delivery. I don't want to see rows beyond that. So the report would look like this:
    SE 1 Gary
    SE 2 Valparaiso
    NE 1 Michigan City
    NE 2 Kalamazoo
    NE 3 Grand Rapids
    NE 4 Cadillac
    Gary shows up because it doesn't require a delivery. Valparaiso (SE route, sequence_number 2) shows up because it takes the delivery. The rest of the Southeast route doesn't show up. Same thing for the NE route.
    There are scenarios where I'd actually want to stop at the city just prior to the delivery destination, etc., and of course in the real world it's more complicated, but I think if I could get this model working I could flesh it out into a real-world query.
    I can certainly code something in PL/SQL to do this, or do it in application logic - but I'm wondering if there is a way to do it in a single SQL statement? I suspect there's something that could be built with subqueries and sorting, but...I can't quite reach it ;-)

    WITH report AS(
        SELECT 'SE' route, '1' seq_num, 'Gary' dest  FROM DUAL UNION ALL
        SELECT 'SE' route, '2' seq_num, 'Valparaiso' dest FROM DUAL UNION ALL
        SELECT 'SE' route, '3' seq_num, 'Plymouth' dest FROM DUAL UNION ALL
        SELECT 'SE' route, '4' seq_num, 'Warsaw' dest FROM DUAL UNION ALL
        SELECT 'NE' route, '1' seq_num, 'Michigan City' dest FROM DUAL UNION ALL
        SELECT 'NE' route, '2' seq_num, 'Kalamazoo' dest FROM DUAL UNION ALL
        SELECT 'NE' route, '3' seq_num, 'Grand Rapids' dest FROM DUAL UNION ALL
        SELECT 'NE' route, '4' seq_num, 'Cadillac' dest FROM DUAL UNION ALL
        SELECT 'NE' route, '5' seq_num, 'Traverse City' dest FROM DUAL 
    cities AS (
        SELECT '10' scenario, 'SE' route, 'Valparaiso' city FROM DUAL UNION ALL
        SELECT '10' scenario, 'SE' route, 'Warsaw' city FROM DUAL UNION ALL
        SELECT '10' scenario, 'NE' route, 'Cadillac' city FROM DUAL UNION ALL
        SELECT '10' scenario, 'NE' route, 'Traverse City' city FROM DUAL
    need_a_shipment AS (
          SELECT r.*
              , CASE WHEN EXISTS( SELECT 'Y' FROM cities c WHERE c.route = r.route AND c.city = r.dest )
                     THEN 'Y'
                     ELSE 'N'
                END need_a_shipment
        FROM report r
    SELECT  route
          , seq_num
          , dest
          , need_a_shipment
    FROM need_a_shipment n
    WHERE seq_num <= (  SELECT MIN(seq_num) FROM need_a_shipment
                        WHERE route = n.route AND need_a_shipment = 'Y' )
    ORDER BY route DESC, seq_num
    ROUTE SEQ_NUM DEST          NEED_A_SHIPMENT
    SE    1       Gary          N              
    SE    2       Valparaiso    Y              
    NE    1       Michigan City N              
    NE    2       Kalamazoo     N              
    NE    3       Grand Rapids  N              
    NE    4       Cadillac      Y

  • Column selection with column tree model

    Hello!
    I created a column tree model. I would like to be able to select a column when i click on its header. How can I do that? There is no problem to select one item. I try to select all the items of a column but if do that this is the lines which are selected. The item_selection parameter is set to 'X'.
    Thanks in advance,

    Hi,
    I am not sure if I understood your problem right. But just in case, if you are referring to this...
    You say you need a check box to select your nodes. So you would have to add your item names in a separate column and then add the check box in a separate column using ADD_COLUMN method. You would have to use treemcitac structure and make use of ADD_ITEMS to add them.
    Once you add the column for check box, code your logic and build your tree hierarchy with all the correct node keys. For example, the root node will have node_key = 1 and parent_key = 0. The node that comes under the root node in the first hierarchy level will have node_key = 2 and parent_key = 1. Code your logic so that you build your tree hierarchy.
    Build the tree structure using treemcnota as you have done. Add the nodes built using treemcnota using ADD_NODES.
    According to your requirement,
    COL1                                                                           COL2 (for checkbox)  } -> Build using treemcitac
    Preimport (Root)  -> Root Node
    Request Checks (Node_1)  -> parent_key = Preimport
    Check Req Status (Item_1) -> parent_key = Request Checks (Node_1)
    Check Req Scope (Item_2)
    Check Req Componenets (Item_3)
    Object List Checks (Node_2)
    Check obj type (Item_1)
    check deletions (Item_2)
    Object Checks (Node_3)
    "Build the tree nodes using treemcnota and add these nodes using ADD_NODES
    Again, I am not sure if your problem is this. Hope this might be helpful.

  • Help on select with more that one table

    Hi to all,
    I have 2 tables:
    Table1
    tb1CodeID    Number(10);
    tb1Descr      Varchar2(30);
    tb2CodeID    Number(10);
    Table2
    tb2CodeID    Number(10);
    tb2Descr      Varchar2(30);
    tb2Used       Varchar2(1); -- Admitted Values T,M,CI need to Select all the Rows in Table1 where the tb2CodeID in Table2 = 'T' (for example).
    Can You help me to construct a correct select ?
    Thank You and Best Regards
    Gaetano

    Hi Gaetano,
    Brilliant example. ;)
    How can this column tb2CodeID have value 'T' if it is declared as a number in both tables?
    At least I need more clarification.
    Cheers,
    Guido

  • Selection with color range based on a channel

    I want to select highlights from a channel with the color range ...
    I select "hightlights" on the color range window.
    Then, which values of the fuzziness and range sliders should I use for selecting highlights equal to the selecting them with ctrl + click on that channel?
    Thanks ...

    lost,
    As I understand this problem, you have a series of numbers in column B and you want to add the last n items (number shown in column A of current row) to the current row. In column C of the current row place the formula:
    =ADDRESS(ROW()-A7+1,2)&":B"&ROW()
    then in column D your result: =IF(ISBLANK(C),"",SUM(INDIRECT(C)))
    pw

  • Unable to lead select the table

    Hi All ,
    i i have some requirement something like this i have three table side by side in a view when i select the row of the first table the data in the second table should be dislayed and similarly for the third table as well .
    Now my problem is when i am lead selecting the first table i a able to fetch the data and display but i am unable to lead select that rows in the table to display the lead selection i used Lead selection by Index then is is displaying properly BUT when i click on the second row or the third row or so...... It is not getting lead selected. I am Surprised i tried to check but did not found a single clue please help me with this.......
    Good Day....................
    Thanks and Regards,
    Sana.

    hi ,
    did u check the LeadSelect property of ur context node to which ur table is binded ?
    http://help.sap.com/saphelp_nw04s/helpdata/EN/79/555e3f71e41e26e10000000a114084/content.htm
    regards,
    amit

  • Table: show the line of lead selection

    Hello,
    I have a table with 691 lines, showing 20 lines per page. Is it possible to change the lead selection for example to line 60 and also jump to line 60. So that the table automatically shows the 3rd page with the line 60 - 80.
    I can change the lead selection with:
    node_trefferliste->set_lead_selection_index( index = 60 ).
    Lead selection is set correctly to 60 but the table still shows the lines 1- 20.
    best regards
    Stefan

    Hi Stefan,
    What ever you have done is correct. One thing you need to change is whenever you change the lead selection for you table you need to scroll ALV also. For that get the lead selected entry and set it as frst_visible_row for you ALV table. Please do this coding in the respective view controller method WDDOMODIFYVIEW(). so that you will get exact result what you are expecting.
    I hope i make you clear.
    Warm Regards,
    Vijay

  • Step by step procudure to create table popin on lead select.

    hello,
    I want to create a table popin on row lead select.
    can any one help me out in step by step procedure to be doen on view and
    the coding which has to be done.
    example: when I lead select on a row in table for particular flight details,
                  I should get the planetype in the popup.
    Thanks in Advance.
    Ajay

    Hi,
    For this you need to do the following:
    1. Add one Popin to your table. (say "pop1")
    2. Add one column to your table (preferably it should be the first one in the table).
    3. Add cellvariant to this column.
    Thats it.
    If you have more than one popin in your table as row or cell popin then use context attr to map it to selectedPopin property of tour table and pass the popin Id to it.
    thanks & regards,
    Manoj

  • Reset lead selection after refresh in alv grid

    Hi experts,
    I've a problem with holding the lead selection in an alv grid table view in web dynpro.
    After changing an attribute the lead selection in the view gets lost, but is hold in the referenced context node.
    Is there a way to change the lead selection in alv by code?
    I've found the method "set_index()" in class CL_SALV_WD_TABLE_LEAD_SELECT, can I use that?
    Thanks a lot,
    Kai

    Hi Kai,
    I faced a similar problem earlier.
    Request you to elaborate about the  "attribute" you are changing.
    I was also facing a similar issue.
    It will be gr8 if I can help you.
    Please see the below thread for some reference.
    [Not able to select a row in ALV|Not able to select a row in ALV?;
    I hope it helps.
    Regards,
    Sumit Oberoi

  • WD:ABAP  change lead selection

    Hi all,
    I  need to change the lead selection according to a particular table column.  The lead selection is set to the first row of the table.  The table has some input fields which already contain values.  If the user changes the value of the input field in any row, the lead selection has to be changed to that row of the table without having to select that row.  I wrote the code in  onEnter event of the table, but it is returning the values of the first row that has the lead selection.  How do I change it? It would be helpful if u could please post the code too.
    Thanks,
    Sravanthi

    Hi,
    You can change it in ModifyView method. You can use setLeadSelection method.
    Regards,
    Parminder

  • How to write lead selection method for a  tree by nesting table column

    Hi,
    I have implemented a table with TreeByNestingTableColumn(To show the tree structure in the table).I am not able to get the selected row element in lead selection method.(I am able to get parent element.) .
    could anyone please tell me about this code?
    BR,
    Ashish

    Hi,
    Follow the below steps to the solution for your problem
    1. Create Action "LeadSelection" in View with parameter (name : 'seletedItem'
    and type : I<your node>Element
    2. Bind this action to Table property "onLeadSelec"
    3. In wdModify()
         IWDTable table = (IWDTable) view.getElement("Your table id");
         table.mappingOfOnLeadSelect().addSourceMapping("nodeElement", "selectedEle");
    4. In onActionLeadSelection()
         wdComponentAPI.getMessageManager().reportSuccess("Selected Item : "+selectedEle.get<Your Node Attribute>());
    Let me know if you need more clarification
    Thanks

  • Issue with creation of ADF Table from ADF Tree selection

    Hi,
    Following is the usecase.
    I've created ParentVO & ChildVO from a single table with view criteria to filter the nodes.And then created two View links ParentToChild & ChildToChild.
    Added VOs & corresponding ViewLinks to ApplicationModule. It's got created hierarchy as Parent1->Child1->Chiled2 in Data model section of AM.So Iam done with tree creation process in Model.
    As VC can't be applied for sub levels. In order to set the VCs for sublevels, followed the below approach.
    Created a bind variable for tree. I've set the VC for both parent & child VOs in managed bean before setting the tree variable in setTree method. So now Iam able to display the required tree in UI with applying VCs.
    Now , I can select the required nodes from tree and then click on command button to display the selection list as a table.
    In order to achieve this, I tried below two options.
    1) Created separate Child VO instance (Child3) from Child VO and applied same view which applied initially. and the dragged the Child3 from Datacontrol to UI(jsff) as a table. When I run the application,it's displaying all the records from the DB table without applying VCs.
    2) Dragged the Child2 as a table on UI. When I run the application, it's displaying first record from the table without applying VC.
    But no luck in getting the required functionality.
    I've Following queries.
    a) If we update any transient attribute value for an VO instance, will it effect at VO level or only for that particular instance?
    Why because, I've created new instance of same VO. But the changes are not effecting for transient attributes in the new instance of VO.
    b) Can some one suggest on my usecase to display the selected nodes from a tree in table format?
    I tried my level best to explain the usecase. But let me know,if you have any queries on my usecase.
    Thanks in advance,
    Samba.

    This is my code:
    <af:column id="c1" headerText="Sponsor Status">
    <af:selectOneChoice label="Label 2" id="soc1" value="#{row1.sponsorStatusDesc}"
    validator="#{backingBeanScope.EditSponsorDetails.OnSponsorStatusChange}"
    valuePassThru="true">
    <f:selectItems value="#{pageFlowScope.confLists.spStatus}"
    id="si1"/>
    </af:selectOneChoice>
    </af:column>
    and this i what HTML code says..
    <select id="confSponsor:r2:0:tbIEEEsp:0:soc1::content" class="x2h" name="confSponsor:r2:0:tbIEEEsp:0:soc1">
    <option _adftmpopt="t" value="" title=""></option>
    <option value="4" title="Approved">Approved</option>
    <option value="3" title="Declined">Declined</option>
    <option value="6" title="New">New</option>
    <option value="2" title="Not Valid">Not Valid</option>
    <option value="5" title="On Hold">On Hold</option>
    <option value="1" title="Pending Approval">Pending Approval</option>
    <option value="7" title="Unidentified">Unidentified</option>
    </select>
    Stll i cannot see any value populated in SelectOneChoice

  • Problem with table cell editors - Dropdown by Index, getting lead selection

    Hi experts,
    I have a table editor with 5 columns
    1st column is a Drop Down byIndex.
    My contex looks like this
    AS_DATA(Parent Node cardinality 1.1, selection 0-1)
          HEADER (NODE)
          DETAILS(NODE cardinality 0..n, selection 0-1)
             ACTIVITY_TYPES (NODE cardinality 0..n selection 0-1 ) "node for drop down
             description - attribute
             unit
             quantity
    i have bound details node to table data source.
    i have a tool bar button 'Add Line item' which will add a new line item to the table.
    (i am adding a blank line to the table that is bound to table )
    Its working fine. but when ever i add more than one row, the selection made in the previous rows drop down is lost.
    its initializing. where could be the problem.
    My code
    data LO_ND_INV_TYPE type ref to IF_WD_CONTEXT_NODE.
      data LO_EL_INV_TYPE type ref to IF_WD_CONTEXT_ELEMENT.
      data LS_INV_TYPE type WD_THIS->ELEMENT_INV_TYPE.
      data LV_INV_TYPE type WD_THIS->ELEMENT_INV_TYPE-INV_TYPE.
      data LO_ND_DETAILS type ref to IF_WD_CONTEXT_NODE.
      data LT_DETAILS type WD_THIS->ELEMENTS_DETAILS.
      data LS_DETAILS like line of LT_DETAILS.
      data:  WD_NODE type ref to IF_WD_CONTEXT_NODE,
            LR_ELEMENT type ref to IF_WD_CONTEXT_ELEMENT.
      data LO_ND_INV_PATTERN type ref to IF_WD_CONTEXT_NODE.
      data LO_EL_INV_PATTERN type ref to IF_WD_CONTEXT_ELEMENT.
      data LS_INV_PATTERN type WD_THIS->ELEMENT_INV_PATTERN.
      data LV_INV_PAT type WD_THIS->ELEMENT_INV_PATTERN-INV_TYPE.
      data LO_ND_ACTIVITY_TYPES type ref to IF_WD_CONTEXT_NODE.
      data LT_ACTIVITY_TYPES type WD_THIS->ELEMENTS_ACTIVITY_TYPES.
      data LW_ACTIVITY_TYPES type WD_THIS->ELEMENT_ACTIVITY_TYPES.
        data LO_EL_ACTIVITY_TYPES type ref to IF_WD_CONTEXT_ELEMENT.
    *     navigate from <CONTEXT> to <DETAILS> via lead selection
        LO_ND_DETAILS = WD_CONTEXT->PATH_GET_NODE( PATH = `AS_DATA.DETAILS` ).
        LO_ND_DETAILS->GET_STATIC_ATTRIBUTES_TABLE(
          importing TABLE = LT_DETAILS ).
    * Append an empty row to lt_details
        append LS_DETAILS to LT_DETAILS.
        LO_ND_DETAILS->BIND_TABLE(
        NEW_ITEMS = LT_DETAILS ).
    * Get values for dropdown
    call method WD_ASSIST->GET_ACTIVITY_TYPE
          exporting
            I_INV_CAT_ID     = LV_INV_PAT
          importing
            ET_ACTIVITY_TYPE = LT_ACTIVITY_TYPES.
        LW_ACTIVITY_TYPES-ID = 'Select a Activity type'.
        LW_ACTIVITY_TYPES-TEXT = 'Select a Activity type'.
        insert LW_ACTIVITY_TYPES into LT_ACTIVITY_TYPES index 1.
        loop at LT_DETAILS into LS_DETAILS.
          LV_TABIX = SY-TABIX.
          LR_ELEMENT = LO_ND_DETAILS->GET_ELEMENT( LV_TABIX ).
          WD_NODE = LR_ELEMENT->GET_CHILD_NODE( 'ACTIVITY_TYPES' ).
    *lv_index = wd_node->get_lead_selection_index( ). " it is dumping at this statement when i try to get lead selection
          WD_NODE->BIND_TABLE( NEW_ITEMS =  LT_ACTIVITY_TYPES ). " data for dropdown
        endloop.
    any clue on what am i missing will be appreciated.
    I am getting dump when i try to get the lead selection
    Ajay

    You only have only one option in the DDI to display in the example. when you have multiple values
    i assume that by adding an empty row like this will lose the SELECTION MADE in DDI. (Correct me If i am wrong)
    somehow i believe that we need to bind the DD values using  SET LEAD SELECTION INDEX METHOD FOR THE DDI when they are already selected and trying to BIND.
    *LO_ND_DETAILS->GET_STATIC_ATTRIBUTES_TABLE(*
          *importing TABLE = LT_DETAILS ).*
    ** Append an empty row to lt_details*
        *append LS_DETAILS to LT_DETAILS.*
        *LO_ND_DETAILS->BIND_TABLE(*
        *NEW_ITEMS = LT_DETAILS ).*
    even though the above code will have the selected value, the SELECTIONS MADE will be initialize.
    you need to bind it explicitly.
    you have to create an element and bind the DDI values for adding an row as SARAVANAN said.
    or i guess you can continue with you code but need to use SET LEAD to display the correct SELECTIONS MADE
    loop at LT_DETAILS into LS_DETAILS.
          LV_TABIX = SY-TABIX.
          LR_ELEMENT = LO_ND_DETAILS->GET_ELEMENT( LV_TABIX ).
          WD_NODE = LR_ELEMENT->GET_CHILD_NODE( 'ACTIVITY_TYPES' ).
          WD_NODE->BIND_TABLE( NEW_ITEMS =  LT_ACTIVITY_TYPES ). " data for dropdown
    *" try to set the desired value in the DDI when you have multiple values using SET LEAD*
        endloop.

Maybe you are looking for

  • How to remove a meter from an installation after move-out

    Hi, Could anyone please tell me how to remove a meter from an installation after move-out and if the installation was blocked before move-out. I was trying to remove the meter from an installation which was blocked before move-out. And if i remove th

  • This apps is not in my ipad

    Hi My ipad have a apps available updates call: Kick off Football V2.0, but i never install such as this app in my ipad and i can't remove this note in my update list. any help on this? thanks Zero I'm using ipad4 update ios.

  • Customizing bookmarks?

    I've many bookmarks. And, it takes me a long time to scroll down the long list. How can I customize my bookmark list so I segregate them into categories? Sort of a personal bookmark's 1,2,3 etc. And, be able to view those bookmark categories in the m

  • Junk Characters in HTML Post

    The application has notes field where user can type a few hundred chars of data. Some times users do copy from Word and paste into these notes field - This is posting some junk characters. Is there any way to take care of these extra characters? Some

  • MBST finds document in VBFA and accesses LIKP for previous year document

    Hi all, I don't know if this is the right place to post. As an ABAP developer, I'll put my query here : Scenario : In MBST, for a particular document type and year 2012, it displays error and says "No Authorization for shipping point X", though the d