How to fill or bind data using Value Node in Tree Node

Hi Gurus,
Can anybody help me on how to fill data or bind data using Value Node in Tree Node View. I know how to create Tree Node but not able to show value on the UI in Tree View.
Can u please let if anybody has done it?
Thanks in advance.
Madhusudan

continued...
TRY.
          lv_child = me->node_factory->get_proxy(
                    iv_bo = lv_value_node
                    iv_parent_proxy = me
                    iv_proxy_type = 'ZL_CLASS_CN02' ).
          lv_child->is_leaf = 'X'.
          APPEND lv_child TO rt_children.
        CATCH cx_sy_move_cast_error cx_sy_ref_is_initial.
      ENDTRY.
  In the above code iv_bo , lv_value_node will be the actual object of the second node or leaf node here, which will have the same structure of parent node along with data. After/before this, you would need to build table and refresh in do-prepare_output of IMPL class.In the above code iv_bo , lv_value_node will be the actual object of the second node or leaf node here, which will have the same structure of parent node along with data. After/before this, you would need to buid table and refresh in do-prepare_output of IMPL class.
ztyped_context->resultlist->build_table( ).
  IF ztyped_context->resultlist->node_tab IS INITIAL.
    ztyped_context->resultlist->refresh( ).
  ENDIF.
Also the EH_ONEXPAND has to be implemented and event handled in DO_HANDLE_EVENT. But this expand event has to be delegated to context node directly as CL_BSP_WD_CONTEXT_NODE_TREE will already have the implementation.
ztyped_context->resultlist->expand_node( lv_event->row_key ).
Where in result list is the node ZL_CLASS_CN00.
After typing the whole content , i found this blog :). There are few things i have written more that in the blog.  /people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
Regards,
Karthik

Similar Messages

  • How to Fill custom table data using standrad BAPI

    Hello Team,
    I have some clarification on usage of Standard BAPI :  BAPI_Material_savereplica.
    I have some custom fields in MARA and MARC tables so i have used BAPIExtensionin and able to pass custom field of MARA and MARC.
    My issue is in material master the MARC custom fields of a material are going to update in a Z table along with MARC table.
    So can we achieve this functionalioty using BAPI : BAPI_Material_savereplica menas can we upadate custom table by using standarda bapi
    Please let me know the available options ..

    Hi Some,
    You are saying most of the data is resides out of sap, then you try with mapping of those data in sap standard tables if match or if not then develop a custom interface which will read data from outside & will put in your pay roll processor interface,
    and normally your SAP data you can interface through PU12.
    If you want single interface then you need to develop unique interface program.
    All the best.

  • How to fill the master data in ecc

    Hi,
             0product_attr having zero records i ecc,how to fill the master data in ecc can you pls provide me the setps?
    Regrads,
    devi.

    Hi Devi,
    Loading data is ECC is not the part of BI Activities. Contact your functional consultant to load data. 
    BDC and LSMW both are used for loading data into SAP system.
    Or ask even directly they can create in ECC.  If it is for your testing purpose, it is better to ask them to create master in source system .
    Thanks
    BVR

  • How can I validate a date using sql

    How can I validate a date using sql or pl/sql
    select to_date('01/01/2009','mm/dd/yyyy') from dual this is a good date
    but how can I check for a bad date
    select to_date('0a/01/2009','mm/dd/yyyy') from dual
    Howard

    William Robertson wrote:
    It'll be complicated in pure SQL, as you'll have to parse out day, month and year and then validate the day against the month and year bearing in mind the rules for leap years. It would be simpler to write a PL/SQL function and call that.Nah, not that complicated, you just need to generate a calender to validate against.
    SQL> ed
    Wrote file afiedt.buf
      1  with yrs as (select rownum-1 as yr from dual connect by rownum <= 100)
      2      ,mnth as (select rownum as mn, case when rownum in (4,6,9,11) then 30
      3                            when rownum = 2 then 28
      4                       else 31
      5                       end as dy
      6                from dual
      7                connect by rownum <= 12)
      8      ,cent as (select (rownum-1) as cen from dual connect by rownum <= 21)
      9      ,cal as (select cen, yr, mn,
    10                      case when ((yr = 0 and mod(cen,400) = 0)
    11                             or (mod(yr,4) = 0 and yr > 0))
    12                            and mn = 2 then dy+1
    13                      else dy
    14                      end as dy
    15               from cent, yrs, mnth)
    16  --
    17      ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    18  --
    19  select case when cal.cen is null then 'Invalid Date'
    20              when not regexp_like(dt,'^[0-9]{1,2}[\/.-_][0-9]{1,2}[\/.-_][0-9]{4}$') then 'Invalid Date'
    21         else dt
    22         end as dt
    23  from dt left outer join
    24               cal on (to_number(regexp_substr(dt,'[0-9]+')) between 1 and cal.dy
    25                   and to_number(regexp_substr(dt,'[0-9]+',1,2)) = cal.mn
    26                   and floor(to_number(regexp_substr(dt,'[0-9]+',1,3))/100) = cal.cen
    27*                  and to_number(substr(regexp_substr(dt,'[0-9]+',1,3),-2)) = cal.yr)
    SQL> /
    Enter value for date_dd_mm_yyyy: a1/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select 'a1/02/2008' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 01/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '01/02/2008' as dt from dual)
    DT
    01/02/2008
    SQL> /
    Enter value for date_dd_mm_yyyy: 29/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '29/02/2008' as dt from dual)
    DT
    29/02/2008
    SQL> /
    Enter value for date_dd_mm_yyyy: 30/02/2008
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '30/02/2008' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 29/02/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '29/02/2009' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 28/02/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '28/02/2009' as dt from dual)
    DT
    28/02/2009
    SQL> /
    Enter value for date_dd_mm_yyyy: 0a/01/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '0a/01/2009' as dt from dual)
    DT
    Invalid Date
    SQL> /
    Enter value for date_dd_mm_yyyy: 00/01/2009
    old  17:     ,dt as (select '&date_dd_mm_yyyy' as dt from dual)
    new  17:     ,dt as (select '00/01/2009' as dt from dual)
    DT
    Invalid Date
    SQL>

  • How to fill zeros in data

    Hi
    How to fill zeros into data?
    For example, from "123" to "123000"
    I tried to use to_char (data, 999000) but it doesnt work. Does anyone know how to do it in SQL?

    Maybe this will help...
    -- This is just to test my "conversion" logic...
    DECLARE
      v_num  NUMBER := 123;
    BEGIN
      v_num := RPAD(TO_CHAR(v_num), 6, '0');
      dbms_output.put_line(v_num);
    END;
    -- Put the "conversion" logic into a SQL statement
    SELECT RPAD(TO_CHAR(number_column), 6, '0')
      FROM my_table;Dan

  • How to get the context data using java script in interactive forms

    Hi All,
    How to get the context data using java script in interactive forms by adobe,  am using web dynpro java
    thanks.

    Hi venkat,
    Please Refer this link.
      Populating one Drop-Down list from the selection of another Drop-down list
    Thanks,
    Raju.

  • How to migrate pricing condition data using lsmw

    Hello All,
                 can any one explain how to migrate pricing condition data using lsmw.
    the scenario is we are trying to extend the pricing conditions from one sales area to other sales area on a combination of sales organization, distribution channel and division.

    Hi Sreedhar Kodali
    Pricing conditions can be extended with the following options:-
    1)  Customer / material with release status
    2)  Sales Org / Dist. Channel / Cust group / Material
    3)  Price List category / Currency / material with release status
    4)  Material with release status
    Assuming that your pricing condition in one sales area is different to another, first you have to create LSMW recording to extend the sales area and then pricing conditions can be uploaded accordingly.
    Thanks
    G. Lakshmipathi

  • How to track repeting record data using BAM in biztalk

    Hi All,
      am new bam, How can How to track repeting record data using BAM in biztalk,please find the below input record
    <ns0:Employee xmlns:ns0="http://BizTalk_.Employee.Schemas.emp_In">
      <Emp>
        <id>122</id>
        <sal>222222222</sal>
        <name>.srinu</name>
        <dept>java</dept>
      </Emp>
       <Emp>
        <id>666</id>
        <sal>44444444</sal>
        <name>.srinu</name>
        <dept>java</dept>
      </Emp>
       <Emp>
        <id>333</id>
        <sal>7777</sal>
        <name>.biztalk</name>
        <dept>C#</dept>
      </Emp>
    </ns0:Invoice>
    am tried using TPE but its showing all the 3 rows as NULL  in bam primary import database.
    So please let know how can i achieve above issue.
    Regards,
    srinivas

    Hi Srinivas,
    Using TPE you cannot process repeating records. It doesn’t allow you to loop through your InvoiceDetails (repeating record), hence it shows null in tracked record. This
    is one of the limitations when you use TPE.
    This can be done using BAM API. If you use Orchestration or by writing a custom pipeline component you can use BAM API where you have the flexibility to loop through the
    repeating record and insert each InvoiceDetails node as a record in your BAM activity. BAM API is the only option to track repeating items inside a message as separate activity instances.
    Refer this MSDN article for more info:http://msdn.microsoft.com/en-us/library/aa559527.aspx
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How can we store xml data using jsp

    hai,
    Can anyone please explain in brief how to store xml data using jsp. Also if possible please explain by specifying the code.
    regards,
    Praveen Vinnakota.

    [email protected] wrote:
    how can we publish Labview data using the web?
    You could use shared variables and publish them to the network or use data sockets.
    Kudos always welcome for helpful posts

  • How can we publish Labview data using the web

    how can we publish Labview data using the web?
    Dr. Eugene Berman, Moran Kamilyan and Ravit Bar

    [email protected] wrote:
    how can we publish Labview data using the web?
    You could use shared variables and publish them to the network or use data sockets.
    Kudos always welcome for helpful posts

  • How to insert the system date  using PreparedStatement

    How do I insert system date(from Orcale database) using
    PreparedStatement. I am aware that that oracle has date
    function 'sysdate' to retrieve the database current date.
    How Do i use that in the following syntax?
    Alertnative 1:
    String inssql =
    "insert into emp (empid, name, dept, updateDate) "+
    " values (?, ?, ?, ?)";
    PreparedStatement pstmt = conn.prepareStatement(inssql);
    pstmt.setInt(1, 123456);
    pstmt.setString(2, "Bougnon Kipre");
    pstmt.setString(3, "Rare Species Depatement" );
    pstmt.setDate(4, sysdate) // if this okay
    pstmt.executeUpdate();
    Alternative 2:
    String inssql =
    "insert into emp (empid, name, dept, updateDate) "+
    " values (?, ?, ?, sysdate)";
    PreparedStatement pstmt = conn.prepareStatement(inssql);
    pstmt.setInt(1, 123456);
    pstmt.setString(2, "Bougnon Kipre");
    pstmt.setString(3, "Rare Species Depatement" );
    pstmt.executeUpdate();

    Hi,
    The second alternative will be the best way.
    Since the alternative 1 won't work. sysdate cannot be accessed
    from java as a variable. Either use alternative two or create a
    java.sql.Date and insert it.
    Regards
    Elango

  • How to access listbox binding data from a button which is not part of listbox in xaml page

    Hi
    I have the below listbox and its bdining as below
     <ListBox x:Name="listMyPosts" ItemsSource="{Binding Path=MyPostsDataSource}" Grid.Row="0"  >
               <ListBox.ItemTemplate >
                          <DataTemplate >                                      
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="{Binding
    NewPostText ,Mode=TwoWay}"/>
                                            <TextBlock Text="{Binding
    NewPostSender}"/>
                                        </StackPanel>                                      
                                </DataTemplate>
                </ListBox.ItemTemplate>
               <Button content="Send Post" command ="Binding SendClickCommand} />
      </ListBox>
    And i am assining postsViewmodel
    private PostsViewModel _PostsViewModel ;
    public Conversation()
    InitializeComponent();
    _PostsViewModel = new PostsViewModel ();
    this.DataContext = _PostsViewModel ;
    public ObservableCollection<PostsModel> MyPostsDataSource
    get
    if (_MyPostsDataSource== null)
    _MyPostsDataSource= GetMyPosts();
    return _MyPostsDataSource;
    set
    this._MyPostsDataSource = value;
    RaisePropertyChanged("MyPostsDataSource");
    is that possible to access listbox binding data from the ViewModel's SendClickCommand property ?
    Krrishna

    If you need to pass to the command selected item, try this
    <Button Сontent="Send Post"
          Сommand ="{Binding SendClickCommand}"
          CommandParameter={Binding ElementName=listMyPosts,
    Path=SelectedItem}/>
    msdn

  • How to send te XML data using HTTPS post call & receiving response in ML

    ur present design does the HTTP post for XML data using PL/SQL stored procedure call to a Java program embedded in Oracle database as Oracle Java Stored procedure. The limitation with this is that we are able to do HTTP post; but with HTTPS post; we are not able to achieve because of certificates are not installed on Oracle database.
    we fiond that the certificates need to be installed on Oracle apps server; not on database server. As we have to go ultimately with HTTPS post in Production environment; we are planning to shift this part of program(sending XML through HTTPS post call & receiving response in middle layer-Apps server in this case).
    how i can do this plz give some solution

    If you can make the source app to an HTTP Post to the Oracle XML DB repository, and POST contains a schema based XML document you can use a trigger on the default table to validate the XML that is posted. The return message would need to be managed using a database trigger. You could raise an HTTP error which the source App would trap....

  • How to display table field data using checkbox

    Dear sir,
              I have created PR using ME51N.  Our PR datas in EKPO table. 
              I have created select-option with prdat and Checkbox for to view PR open or closed status.
              I want check PR status details from date to date using check box.
             I have created the following code, but i will not generate output
    DATA: BEGIN OF leban OCCURS 0.
            INCLUDE STRUCTURE ekpo.
    DATA END OF leban.
    DATA new(1).
    SELECT-OPTIONS ldat FOR sy-datum. "NO-DISPLAY.
    parameters lopen like new AS CHECKBOX USER-COMMAND opn.
    parameters lclose like new as checkbox user-command cls.
    at selection-screen.
    if ldat is initial.
       message 'Enter a value' type 'W'.
    endif.
    case sy-ucomm.
    when 'opn'.
       perform getpr.
       perform findopenpr  tables leban.
    endcase.
    form getpr.
    select * from ekpo into leban where PRDAT in ldat.
    append leban.
    endselect.
    endform.
    form findopenpr tables ekpo.
        IF LOPEN = 'X'.
           select single * from ekpo into leban where PRDAT IN LDAT AND banfn = lopen.
           SORT leban BY bnfpo.
           CLEAR leban.
           if not sy-subrc = 0.
             message  'PR OPEN' type 'S'.
           ENDIF.
           WRITE: / LEBAN-BANFN.
        ENDIF.
    endform.
    With Regards,
    Baskaran

    Hi,
    Try this way,
    You shouldnt be writing two select statements into the same internal table. Also i dont see any use of perform getpr. so remove that and try
    DATA: BEGIN OF leban OCCURS 0.
    INCLUDE STRUCTURE ekpo.
    DATA END OF leban.
    DATA: BEGIN OF leban1 OCCURS 0.
    INCLUDE STRUCTURE ekpo.
    DATA END OF leban1.
    DATA new(1).
    SELECT-OPTIONS ldat FOR sy-datum. "NO-DISPLAY.
    parameters lopen like new AS CHECKBOX USER-COMMAND opn.
    parameters lclose like new as checkbox user-command cls.
    at selection-screen.
    if ldat is initial.
    message 'Enter a value' type 'W'.
    endif.
    IF LOPEN = 'X'.
    select single * from ekpo into leban where PRDAT IN LDAT AND banfn = lopen.
    if sy-subrc = 0.
    message 'PR OPEN' type 'S'.
    ENDIF.
    WRITE: / LEBAN-BANFN.
    endif.
    if LCLOSE = 'X'.
    select single * from ekpo into leban1 where PRDAT IN LDAT AND banfn eq space.
    if sy-subrc = 0.
    message 'PR CLOSE' type 'S'.
    ENDIF.
    WRITE: / LEBAN1-BANFN.
    ENDIF.
    Regards,
    Vik
    Edited by: vikred on Aug 7, 2009 6:55 PM
    Edited by: vikred on Aug 7, 2009 7:23 PM

  • How many bytes does a DATE use?

    Having trouble finding this in the 10g documentation. How many bytes does a date data type use?
    thanks.

    Take a look to the online documentation linked below :
    Oracle® Database SQL Reference
    10g Release 2 (10.2)
    Part Number B14200-02
    Oracle Built-in Datatypes
    expecially code datatype 12.
    Valid date range from January 1, 4712 BC to December 31, 9999 AD. The default format is determined explicitly by the NLS_DATE_FORMAT parameter or implicitly by the NLS_TERRITORY parameter. The size is fixed at 7 bytes. This datatype contains the datetime fields YEAR, MONTH, DAY, HOUR, MINUTE, and SECOND. It does not have fractional seconds or a time zone.
    Nicolas.

Maybe you are looking for

  • Key mapping to extension.

    Hi, I have setup Exchange 2010 with Unified Messaging role and Lync 2010. They are integrated and working fine. I also have a prompt that says: "Welcome to CompanyABC. If you know the extension number of the person you wish to speak to, please dial n

  • XSL Transformation (XSLProcessor) doesn't work on WebSphere 3.5.4

    XSL-1013: (Error) Error in expression: '/' I have encountered this problem. The problem seems to be the same as running the oraxsl in the command line using java. I tried using jre instead of java and including the -nojit (Disable JIT Compiler) and i

  • Help in swing components

    Hai, There are 9 buttons as a square in a Gui. When I click on a button its label should change to "W" How do I do it? This is very important to me! Kindly help me in this! Thankyou.

  • MS-7008 SATA drives not visible

    Hi, My MS-7008 ATX Mainboard has: Supports Intel® P4 Northwood/Prescott (Socket 478) processor. VIA® PT880 chipset VIA® VT8237 chipset - High Bandwidth V-link Client controller - Integrated Faster Ethernet LPC - Integrated Hardware Sound Blaster/Dire

  • Playing music album in order

    I have an album of speech that needs to be played in order but cannot found out how to do this.