<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tree in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683391#M886942</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check standard examples giving BC&lt;STRONG&gt;TREE&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Apr 2008 10:20:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-19T10:20:38Z</dc:date>
    <item>
      <title>tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683386#M886937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what do u mean by a tree according  to ooabap functionality and can anybody explain various issues regarding it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 07:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683386#M886937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683387#M886938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_basic.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_basic.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And also Check these Examples..&lt;/P&gt;&lt;P&gt;BCALV_TREE_01 &lt;/P&gt;&lt;P&gt;BCALV_TREE_02 &lt;/P&gt;&lt;P&gt;BCALV_TREE_03 &lt;/P&gt;&lt;P&gt;BCALV_TREE_04 &lt;/P&gt;&lt;P&gt;BCALV_TREE_05 &lt;/P&gt;&lt;P&gt;BCALV_TREE_06 &lt;/P&gt;&lt;P&gt;BCALV_TREE_DEMO &lt;/P&gt;&lt;P&gt;BCALV_TREE_DND &lt;/P&gt;&lt;P&gt;BCALV_TREE_DND_MULTIPLE &lt;/P&gt;&lt;P&gt;BCALV_TREE_EVENT_RECEIVER &lt;/P&gt;&lt;P&gt;BCALV_TREE_EVENT_RECEIVER01 &lt;/P&gt;&lt;P&gt;BCALV_TREE_ITEMLAYOUT &lt;/P&gt;&lt;P&gt;BCALV_TREE_MOVE_NODE_TEST &lt;/P&gt;&lt;P&gt;BCALV_TREE_SIMPLE_DEMO &lt;/P&gt;&lt;P&gt;BCALV_TREE_VERIFY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 07:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683387#M886938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T07:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683388#M886939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu can search for std SAP programs - SE38 - BCALV* -&amp;gt;f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;See this link for any help on ALV it is very clear in the link:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/victorav15/sapr3/abap_ood.html" target="test_blank"&gt;http://www.geocities.com/victorav15/sapr3/abap_ood.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also Iam providing you aprogram which i have .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example for ALV Tree:&lt;/P&gt;&lt;P&gt;program z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Constants * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;constants: c_me like trdir-cnam value 'VNDOVV',&lt;/P&gt;&lt;P&gt;c_myurl type scarr-url value&lt;/P&gt;&lt;P&gt;'http://www.brainbench.com/transcript.jsp?pid=147699',&lt;/P&gt;&lt;P&gt;c_width type i value 260,&lt;/P&gt;&lt;P&gt;c_height type i value 130.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;types: begin of t_pgm,&lt;/P&gt;&lt;P&gt;year(4) type c,&lt;/P&gt;&lt;P&gt;name like trdir-name,&lt;/P&gt;&lt;P&gt;end of t_pgm,&lt;/P&gt;&lt;P&gt;begin of t_pgmkey,&lt;/P&gt;&lt;P&gt;id type i,&lt;/P&gt;&lt;P&gt;name like trdir-name,&lt;/P&gt;&lt;P&gt;end of t_pgmkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;data: it_pgmkey type table of t_pgmkey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definitions * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;class screen_init definition create private.&lt;/P&gt;&lt;P&gt;public section.&lt;/P&gt;&lt;P&gt;class-methods init_screen returning value(this)&lt;/P&gt;&lt;P&gt;type ref to screen_init.&lt;/P&gt;&lt;P&gt;methods constructor.&lt;/P&gt;&lt;P&gt;private section.&lt;/P&gt;&lt;P&gt;class-data a_id type i.&lt;/P&gt;&lt;P&gt;data: splitter_h type ref to cl_gui_splitter_container,&lt;/P&gt;&lt;P&gt;splitter_v type ref to cl_gui_splitter_container,&lt;/P&gt;&lt;P&gt;picture type ref to cl_gui_picture,&lt;/P&gt;&lt;P&gt;tree type ref to cl_gui_simple_tree.&lt;/P&gt;&lt;P&gt;methods: fill_tree,&lt;/P&gt;&lt;P&gt;fill_picture.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;class screen_handler definition.&lt;/P&gt;&lt;P&gt;public section.&lt;/P&gt;&lt;P&gt;methods: constructor importing container&lt;/P&gt;&lt;P&gt;type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;handle_node_double_click&lt;/P&gt;&lt;P&gt;for event node_double_click&lt;/P&gt;&lt;P&gt;of cl_gui_simple_tree&lt;/P&gt;&lt;P&gt;importing node_key,&lt;/P&gt;&lt;P&gt;handle_picture_double_click&lt;/P&gt;&lt;P&gt;for event picture_dblclick&lt;/P&gt;&lt;P&gt;of cl_gui_picture.&lt;/P&gt;&lt;P&gt;private section.&lt;/P&gt;&lt;P&gt;data: html_viewer type ref to cl_gui_html_viewer,&lt;/P&gt;&lt;P&gt;editor type ref to cl_gui_textedit.&lt;/P&gt;&lt;P&gt;methods: fill_html,&lt;/P&gt;&lt;P&gt;fill_src importing programid type trdir-name.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Implementations * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;class screen_init implementation.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method init_screen.&lt;/P&gt;&lt;P&gt;data screen type ref to screen_init.&lt;/P&gt;&lt;P&gt;create object screen.&lt;/P&gt;&lt;P&gt;this = screen.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method constructor.&lt;/P&gt;&lt;P&gt;data: events type cntl_simple_events,&lt;/P&gt;&lt;P&gt;event like line of events,&lt;/P&gt;&lt;P&gt;event_handler type ref to screen_handler,&lt;/P&gt;&lt;P&gt;container_left type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;container_right type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;container_top type ref to cl_gui_container,&lt;/P&gt;&lt;P&gt;container_bottom type ref to cl_gui_container.&lt;/P&gt;&lt;P&gt;create object splitter_h&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;parent = cl_gui_container=&amp;gt;screen0&lt;/P&gt;&lt;P&gt;rows = 1&lt;/P&gt;&lt;P&gt;columns = 2.&lt;/P&gt;&lt;P&gt;call method splitter_h-&amp;gt;set_border&lt;/P&gt;&lt;P&gt;exporting border = cl_gui_cfw=&amp;gt;false.&lt;/P&gt;&lt;P&gt;call method splitter_h-&amp;gt;set_column_mode&lt;/P&gt;&lt;P&gt;exporting mode = splitter_h-&amp;gt;mode_absolute.&lt;/P&gt;&lt;P&gt;call method splitter_h-&amp;gt;set_column_width&lt;/P&gt;&lt;P&gt;exporting id = 1&lt;/P&gt;&lt;P&gt;width = c_width.&lt;/P&gt;&lt;P&gt;container_left = splitter_h-&amp;gt;get_container( row = 1 column = 1 ).&lt;/P&gt;&lt;P&gt;container_right = splitter_h-&amp;gt;get_container( row = 1 column = 2 ).&lt;/P&gt;&lt;P&gt;create object splitter_v&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;parent = container_left&lt;/P&gt;&lt;P&gt;rows = 2&lt;/P&gt;&lt;P&gt;columns = 1.&lt;/P&gt;&lt;P&gt;call method splitter_v-&amp;gt;set_border&lt;/P&gt;&lt;P&gt;exporting border = cl_gui_cfw=&amp;gt;false.&lt;/P&gt;&lt;P&gt;call method splitter_v-&amp;gt;set_row_mode&lt;/P&gt;&lt;P&gt;exporting mode = splitter_v-&amp;gt;mode_absolute.&lt;/P&gt;&lt;P&gt;call method splitter_v-&amp;gt;set_row_height&lt;/P&gt;&lt;P&gt;exporting id = 1&lt;/P&gt;&lt;P&gt;height = c_height.&lt;/P&gt;&lt;P&gt;container_top = splitter_v-&amp;gt;get_container( row = 1 column = 1 ).&lt;/P&gt;&lt;P&gt;container_bottom = splitter_v-&amp;gt;get_container( row = 2 column = 1 ).&lt;/P&gt;&lt;P&gt;create object picture&lt;/P&gt;&lt;P&gt;exporting parent = container_top.&lt;/P&gt;&lt;P&gt;create object tree&lt;/P&gt;&lt;P&gt;exporting parent = container_bottom&lt;/P&gt;&lt;P&gt;node_selection_mode =&lt;/P&gt;&lt;P&gt;cl_gui_simple_tree=&amp;gt;node_sel_mode_single.&lt;/P&gt;&lt;P&gt;create object event_handler&lt;/P&gt;&lt;P&gt;exporting container = container_right.&lt;/P&gt;&lt;P&gt;event-eventid = cl_gui_simple_tree=&amp;gt;eventid_node_double_click.&lt;/P&gt;&lt;P&gt;event-appl_event = ' '. "system event, does not trigger PAI&lt;/P&gt;&lt;P&gt;append event to events.&lt;/P&gt;&lt;P&gt;call method tree-&amp;gt;set_registered_events&lt;/P&gt;&lt;P&gt;exporting events = events.&lt;/P&gt;&lt;P&gt;clear: event, events[].&lt;/P&gt;&lt;P&gt;event-eventid = cl_gui_picture=&amp;gt;eventid_picture_dblclick.&lt;/P&gt;&lt;P&gt;event-appl_event = ' '. "system event, does not trigger PAI&lt;/P&gt;&lt;P&gt;append event to events.&lt;/P&gt;&lt;P&gt;call method picture-&amp;gt;set_registered_events&lt;/P&gt;&lt;P&gt;exporting events = events.&lt;/P&gt;&lt;P&gt;set handler: event_handler-&amp;gt;handle_node_double_click for tree,&lt;/P&gt;&lt;P&gt;event_handler-&amp;gt;handle_picture_double_click for picture.&lt;/P&gt;&lt;P&gt;call method: me-&amp;gt;fill_picture,&lt;/P&gt;&lt;P&gt;me-&amp;gt;fill_tree.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method fill_picture.&lt;/P&gt;&lt;P&gt;call method:&lt;/P&gt;&lt;P&gt;picture-&amp;gt;load_picture_from_sap_icons exporting icon = '@J4@',&lt;/P&gt;&lt;P&gt;picture-&amp;gt;set_display_mode&lt;/P&gt;&lt;P&gt;exporting display_mode = picture-&amp;gt;display_mode_fit_center.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method fill_tree.&lt;/P&gt;&lt;P&gt;data: node_table type table of abdemonode,&lt;/P&gt;&lt;P&gt;node type abdemonode,&lt;/P&gt;&lt;P&gt;w_pgm type t_pgm,&lt;/P&gt;&lt;P&gt;w_cdat type rdir_cdate,&lt;/P&gt;&lt;P&gt;it_pgm type table of t_pgm,&lt;/P&gt;&lt;P&gt;w_pgmkey type t_pgmkey.&lt;/P&gt;&lt;P&gt;clear: a_id, it_pgmkey[].&lt;/P&gt;&lt;P&gt;select distinct name cdat from trdir into (w_pgm-name, w_cdat)&lt;/P&gt;&lt;P&gt;where cnam = c_me.&lt;/P&gt;&lt;P&gt;w_pgm-year = w_cdat(4).&lt;/P&gt;&lt;P&gt;append w_pgm to it_pgm.&lt;/P&gt;&lt;P&gt;clear w_pgm.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;sort it_pgm.&lt;/P&gt;&lt;P&gt;node-hidden = ' '. " All nodes are visible,&lt;/P&gt;&lt;P&gt;node-disabled = ' '. " selectable,&lt;/P&gt;&lt;P&gt;node-isfolder = 'X'. " a folder,&lt;/P&gt;&lt;P&gt;node-expander = ' '. " have no '+' sign for expansion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_pgm into w_pgm.&lt;/P&gt;&lt;P&gt;at new year.&lt;/P&gt;&lt;P&gt;node-node_key = w_pgm-year.&lt;/P&gt;&lt;P&gt;clear node-relatkey.&lt;/P&gt;&lt;P&gt;clear node-relatship.&lt;/P&gt;&lt;P&gt;node-text = w_pgm-year.&lt;/P&gt;&lt;P&gt;node-n_image = ' '.&lt;/P&gt;&lt;P&gt;node-exp_image = ' '.&lt;/P&gt;&lt;P&gt;append node to node_table.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;at new name.&lt;/P&gt;&lt;P&gt;add 1 to a_id.&lt;/P&gt;&lt;P&gt;node-node_key = w_pgmkey-id = a_id.&lt;/P&gt;&lt;P&gt;w_pgmkey-name = w_pgm-name.&lt;/P&gt;&lt;P&gt;node-relatkey = w_pgm-year.&lt;/P&gt;&lt;P&gt;node-relatship = cl_gui_simple_tree=&amp;gt;relat_last_child.&lt;/P&gt;&lt;P&gt;node-text = w_pgm-name.&lt;/P&gt;&lt;P&gt;node-n_image = '@0P@'.&lt;/P&gt;&lt;P&gt;node-exp_image = '@0P@'.&lt;/P&gt;&lt;P&gt;append w_pgmkey to it_pgmkey.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;append node to node_table.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;call method tree-&amp;gt;add_nodes&lt;/P&gt;&lt;P&gt;exporting table_structure_name = 'ABDEMONODE'&lt;/P&gt;&lt;P&gt;node_table = node_table.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;class screen_handler implementation.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method constructor.&lt;/P&gt;&lt;P&gt;create object: html_viewer exporting parent = container,&lt;/P&gt;&lt;P&gt;editor exporting parent = container&lt;/P&gt;&lt;P&gt;wordwrap_mode =&lt;/P&gt;&lt;P&gt;cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;P&gt;wordwrap_position = 72.&lt;/P&gt;&lt;P&gt;call method: fill_html,&lt;/P&gt;&lt;P&gt;editor-&amp;gt;set_readonly_mode exporting readonly_mode = 1.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method handle_node_double_click.&lt;/P&gt;&lt;P&gt;data: w_name type programm,&lt;/P&gt;&lt;P&gt;w_id type i,&lt;/P&gt;&lt;P&gt;w_year(4) type c,&lt;/P&gt;&lt;P&gt;w_pgmkey type t_pgmkey.&lt;/P&gt;&lt;P&gt;w_name = node_key+4.&lt;/P&gt;&lt;P&gt;w_id = w_name.&lt;/P&gt;&lt;P&gt;clear w_name.&lt;/P&gt;&lt;P&gt;read table it_pgmkey into w_pgmkey with key id = w_id&lt;/P&gt;&lt;P&gt;binary search.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;w_name = w_pgmkey-name.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;w_year = node_key(4).&lt;/P&gt;&lt;P&gt;if w_name is initial.&lt;/P&gt;&lt;P&gt;call method: fill_html,&lt;/P&gt;&lt;P&gt;html_viewer-&amp;gt;set_visible exporting visible = 'X',&lt;/P&gt;&lt;P&gt;editor-&amp;gt;set_visible exporting visible = ' '.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;call method: fill_src exporting programid = w_name,&lt;/P&gt;&lt;P&gt;editor-&amp;gt;set_visible exporting visible = 'X',&lt;/P&gt;&lt;P&gt;html_viewer-&amp;gt;set_visible exporting visible = ' '.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;call method cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method handle_picture_double_click.&lt;/P&gt;&lt;P&gt;call method: fill_html,&lt;/P&gt;&lt;P&gt;html_viewer-&amp;gt;set_visible exporting visible = 'X',&lt;/P&gt;&lt;P&gt;editor-&amp;gt;set_visible exporting visible = ' '.&lt;/P&gt;&lt;P&gt;call method cl_gui_cfw=&amp;gt;flush.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method fill_html.&lt;/P&gt;&lt;P&gt;call method html_viewer-&amp;gt;show_url exporting url = c_myurl.&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------" /&gt;&lt;P&gt;method fill_src.&lt;/P&gt;&lt;P&gt;types t_line(72) type c.&lt;/P&gt;&lt;P&gt;data src type table of t_line.&lt;/P&gt;&lt;P&gt;read report programid into src.&lt;/P&gt;&lt;P&gt;call method: editor-&amp;gt;delete_text,&lt;/P&gt;&lt;P&gt;editor-&amp;gt;set_text_as_r3table exporting table = src[].&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;data this_screen type ref to screen_init.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Program execution * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;load-of-program.&lt;/P&gt;&lt;P&gt;call screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialog Modules PBO * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;module status_0100 output.&lt;/P&gt;&lt;P&gt;set pf-status 'SCREEN_100'.&lt;/P&gt;&lt;P&gt;set titlebar 'TIT_100'.&lt;/P&gt;&lt;P&gt;this_screen = screen_init=&amp;gt;init_screen( ).&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dialog Modules PAI * &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------" /&gt;&lt;P&gt;module cancel input.&lt;/P&gt;&lt;P&gt;leave program.&lt;/P&gt;&lt;P&gt;endmodule.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 07:36:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683388#M886939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T07:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683389#M886940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Tree and SAP Tree Model are techniques based on SAP's Control Framework that you can use to display hierarchically-arranged data in tree format. SAP Tree, introduced in Release 4.6A, can be used to display data at the frontend. The SAP Tree Model, new in Release 4.6C, also allows you to administer the data within the control instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The graphic illustrates the difference: The SAP Tree receives application data from the program and passes it to its corresponding frontend component, either directly, or at the next synchronization. However, it cannot hold any data itself, which means that to find out attributes of a node or item other than its key or name, you must program the request yourself on the basis of the node key. The SAP Tree Model, on the other hand, incorporates a data management part and also encapsulates a normal tree control instance. All of the data that is passed to the tree is held within the Tree Model instance as well as being sent to the frontend. Consequently, actions like searching within the tree take place within the ABAP program, and do not require time-consuming network communication. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Renjith Michael.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 08:41:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683389#M886940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T08:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683390#M886941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapdev.co.uk/reporting/alv/alvtree.htm" target="test_blank"&gt;http://sapdev.co.uk/reporting/alv/alvtree.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap-img.com/ge002.htm" target="test_blank"&gt;http://sap-img.com/ge002.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 09:27:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683390#M886941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T09:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: tree</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683391#M886942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;check standard examples giving BC&lt;STRONG&gt;TREE&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Apr 2008 10:20:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tree/m-p/3683391#M886942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-19T10:20:38Z</dc:date>
    </item>
  </channel>
</rss>

