{"id":2300,"date":"2019-05-23T05:06:14","date_gmt":"2019-05-23T05:06:14","guid":{"rendered":"https:\/\/www.se80.co.uk\/training-education\/?p=2300"},"modified":"2019-08-08T23:33:32","modified_gmt":"2019-08-08T23:33:32","slug":"salv_demo_tree_settings","status":"publish","type":"post","link":"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/","title":{"rendered":"SALV_DEMO_TREE_SETTINGS"},"content":{"rendered":"<p>The report SALV_DEMO_TREE_SETTINGS&nbsp;demonstrates the SALV TREE functionality&nbsp;cl_salv_tree&nbsp;(Fullscreen&nbsp;Tree)&nbsp;with a focus&nbsp;on&nbsp;setting a number of specific&nbsp;properties&nbsp;of&nbsp;items&nbsp;and&nbsp;nodes including&nbsp;<\/p>\n<p>Display&nbsp;the&nbsp;leaves&nbsp;with&nbsp;checkboxes<br \/>Change&nbsp;the&nbsp;folder&nbsp;icons<br \/>Remove&nbsp;Nodes<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b.png\" alt=\"SALV_DEMO_TREE_SETTINGS\" width=\"1744\" height=\"789\" class=\"alignnone size-full wp-image-2301\" srcset=\"https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b.png 1744w, https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b-300x136.png 300w, https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b-768x347.png 768w, https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b-1024x463.png 1024w\" sizes=\"(max-width: 1744px) 100vw, 1744px\" \/><\/p>\n<p><strong>Note:<\/strong> If there is no data displayed within the ALV tree report on your system you may be able to create the data by executing report BCALV_GENERATE_ALV_T_T2&lt;\/p&gt;<\/p>\n<h2>ABAP code to call this SAP report using the submit statement<\/h2>\n<p>SUBMIT SALV_DEMO_TREE_SETTINGS. &#8220;Basic submit&nbsp;<\/p>\n<p>SUBMIT SALV_DEMO_TREE_SETTINGS AND RETURN. &#8220;Return to original report after report execution complete&nbsp;<\/p>\n<p>SUBMIT SALV_DEMO_TREE_SETTINGS VIA SELECTION-SCREEN. &#8220;Display selection screen of the submitted report to the user&nbsp;<\/p>\n<p>See more syntax options for the&nbsp;<a href=\"https:\/\/www.se80.co.uk\/sapinfo\/abap-submit.htm\">ABAP SUBMIT statement<\/a>&nbsp;<\/p>\n<h2>Text pool values<\/h2>\n<p>Selection Text: P_AMOUNT = Number of Data Records&nbsp;<br \/>Selection Text: P_FULL = Full Screen&nbsp;<br \/>Selection Text: P_TREE = Tree on Screen&nbsp;<br \/>Title: Demonstration Program for ALV OM Tree: Settings&nbsp;<br \/>Text Symbol: 001 = Flight Price&nbsp;<br \/>Text Symbol: B01 = Delete&nbsp;<br \/>Text Symbol: B02 = Delete Selected Nodes&nbsp;<br \/>Text Symbol: H01 = This is the header area&nbsp;<br \/>Text Symbol: H02 = This is the footer area&nbsp;<br \/>Text Symbol: HD1 = Hierarchy&nbsp;<br \/>Text Symbol: HI1 = Checked&nbsp;<br \/>Text Symbol: HT1 = This is the hierarchy column&nbsp;<br \/>Text Symbol: I08 = &#8216;added_function&#8217; Event for Function Code:&nbsp;<br \/>Text Symbol: I09 = &#8216;before_user_command&#8217; Event for Function Code:&nbsp;<br \/>Text Symbol: I10 = &#8216;after_user_command&#8217; Event for Function Code:&nbsp;<\/p>\n<h2>SAP Module \/ Component&nbsp;<\/h2>\n<p><a href=\"https:\/\/www.se80.co.uk\/sapmodules\/b\/bc-r\/bc-reports.htm\">Basis Components<\/a>&nbsp;-&gt;&nbsp;<a href=\"https:\/\/www.se80.co.uk\/sapmodules\/b\/bc-s\/bc-srv-reports-all.htm\">Basis Services \/ Communication Interfaces<\/a>&nbsp;-&gt; SAP List Viewer(BC-SRV-ALV)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The report SALV_DEMO_TREE_SETTINGS&nbsp;demonstrates the SALV TREE functionality&nbsp;cl_salv_tree&nbsp;(Fullscreen&nbsp;Tree)&nbsp;with a focus&nbsp;on&nbsp;setting a number of specific&nbsp;properties&nbsp;of&nbsp;items&nbsp;and&nbsp;nodes including&nbsp; Display&nbsp;the&nbsp;leaves&nbsp;with&nbsp;checkboxesChange&nbsp;the&nbsp;folder&nbsp;iconsRemove&nbsp;Nodes Note: If there is no data displayed within the ALV tree report on your system you may be able to create the data by executing report BCALV_GENERATE_ALV_T_T2&lt;\/p&gt; ABAP code to call this SAP report using the submit statement SUBMIT SALV_DEMO_TREE_SETTINGS. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2301,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[62],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SALV_DEMO_TREE_SETTINGS - Demonstration SALV Tree settings<\/title>\n<meta name=\"description\" content=\"SALV_DEMO_TREE_SETTINGS Report available within all SAP systems to demonstrate SALV settings such as checkboxes, folder\u00a0icons, row color, remove nodes\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SALV_DEMO_TREE_SETTINGS - Demonstration SALV Tree settings\" \/>\n<meta property=\"og:description\" content=\"SALV_DEMO_TREE_SETTINGS Report available within all SAP systems to demonstrate SALV settings such as checkboxes, folder\u00a0icons, row color, remove nodes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/\" \/>\n<meta property=\"og:site_name\" content=\"SAP Help, Training and Education\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-23T05:06:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-08T23:33:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1744\" \/>\n\t<meta property=\"og:image:height\" content=\"789\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"se80\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"se80\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/\",\"url\":\"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/\",\"name\":\"SALV_DEMO_TREE_SETTINGS - Demonstration SALV Tree settings\",\"isPartOf\":{\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/#website\"},\"datePublished\":\"2019-05-23T05:06:14+00:00\",\"dateModified\":\"2019-08-08T23:33:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/#\/schema\/person\/ddc6a049c1b0790f62d70278be75e511\"},\"description\":\"SALV_DEMO_TREE_SETTINGS Report available within all SAP systems to demonstrate SALV settings such as checkboxes, folder\u00a0icons, row color, remove nodes\",\"breadcrumb\":{\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.se80.co.uk\/training-education\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SALV_DEMO_TREE_SETTINGS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/#website\",\"url\":\"https:\/\/www.se80.co.uk\/training-education\/\",\"name\":\"SAP Help, Training and Education\",\"description\":\"Learn SAP\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.se80.co.uk\/training-education\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/#\/schema\/person\/ddc6a049c1b0790f62d70278be75e511\",\"name\":\"se80\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.se80.co.uk\/training-education\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3fd4e388f05bf3c763e46cd1f77afeb2?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3fd4e388f05bf3c763e46cd1f77afeb2?s=96&d=retro&r=g\",\"caption\":\"se80\"},\"url\":\"https:\/\/www.se80.co.uk\/training-education\/author\/se80\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SALV_DEMO_TREE_SETTINGS - Demonstration SALV Tree settings","description":"SALV_DEMO_TREE_SETTINGS Report available within all SAP systems to demonstrate SALV settings such as checkboxes, folder\u00a0icons, row color, remove nodes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/","og_locale":"en_US","og_type":"article","og_title":"SALV_DEMO_TREE_SETTINGS - Demonstration SALV Tree settings","og_description":"SALV_DEMO_TREE_SETTINGS Report available within all SAP systems to demonstrate SALV settings such as checkboxes, folder\u00a0icons, row color, remove nodes","og_url":"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/","og_site_name":"SAP Help, Training and Education","article_published_time":"2019-05-23T05:06:14+00:00","article_modified_time":"2019-08-08T23:33:32+00:00","og_image":[{"width":1744,"height":789,"url":"https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b.png","type":"image\/png"}],"author":"se80","twitter_card":"summary_large_image","twitter_misc":{"Written by":"se80","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/","url":"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/","name":"SALV_DEMO_TREE_SETTINGS - Demonstration SALV Tree settings","isPartOf":{"@id":"https:\/\/www.se80.co.uk\/training-education\/#website"},"datePublished":"2019-05-23T05:06:14+00:00","dateModified":"2019-08-08T23:33:32+00:00","author":{"@id":"https:\/\/www.se80.co.uk\/training-education\/#\/schema\/person\/ddc6a049c1b0790f62d70278be75e511"},"description":"SALV_DEMO_TREE_SETTINGS Report available within all SAP systems to demonstrate SALV settings such as checkboxes, folder\u00a0icons, row color, remove nodes","breadcrumb":{"@id":"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.se80.co.uk\/training-education\/salv_demo_tree_settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.se80.co.uk\/training-education\/"},{"@type":"ListItem","position":2,"name":"SALV_DEMO_TREE_SETTINGS"}]},{"@type":"WebSite","@id":"https:\/\/www.se80.co.uk\/training-education\/#website","url":"https:\/\/www.se80.co.uk\/training-education\/","name":"SAP Help, Training and Education","description":"Learn SAP","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.se80.co.uk\/training-education\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.se80.co.uk\/training-education\/#\/schema\/person\/ddc6a049c1b0790f62d70278be75e511","name":"se80","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.se80.co.uk\/training-education\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3fd4e388f05bf3c763e46cd1f77afeb2?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3fd4e388f05bf3c763e46cd1f77afeb2?s=96&d=retro&r=g","caption":"se80"},"url":"https:\/\/www.se80.co.uk\/training-education\/author\/se80\/"}]}},"jetpack_featured_media_url":"https:\/\/www.se80.co.uk\/training-education\/wp-content\/uploads\/2019\/05\/img_5ce6276bc8d0b.png","_links":{"self":[{"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/posts\/2300"}],"collection":[{"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/comments?post=2300"}],"version-history":[{"count":4,"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/posts\/2300\/revisions"}],"predecessor-version":[{"id":2494,"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/posts\/2300\/revisions\/2494"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/media\/2301"}],"wp:attachment":[{"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/media?parent=2300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/categories?post=2300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.se80.co.uk\/training-education\/wp-json\/wp\/v2\/tags?post=2300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}