SALV_DEMO_TREE_METADATA



SALV_DEMO_TREE_METADATA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Check out the submitted Contribute related to this SAP report or see any standard documentation available. Also check out the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. If you would like to execute this report or see the full code listing simply enter SALV_DEMO_TREE_METADATA into the relevant SAP transactions such as SE38 or SE80 

SALV_DEMO_TREE_METADATA

Change metadata settings 

This report is used to demonstrate specifically how to change metadata setting of the SALV_TREE report: 


  • Global settings, in particular headers for the hierarchy column
  • Column information
  • Aggregations

This report also demonstrates adding an icon to your ALV TREE ABAP report

ABAP code to call this SAP report using the submit statement

SUBMIT SALV_DEMO_TREE_METADATA. “Basic submit 

SUBMIT SALV_DEMO_TREE_METADATA AND RETURN. “Return to original report after report execution complete 


SUBMIT SALV_DEMO_TREE_METADATA VIA SELECTION-SCREEN. “Display selection screen of the submitted report to the user 

See more syntax options for the ABAP SUBMIT statement 

Contribute (Contribute) 

Below is the basic information available for SAP report SALV_DEMO_TREE_METADATA and is provided for your convenience to access as and when required. Although the basic information may have limited use it does provide an easy to find a location to store any knowledge about this program/report. 

The contribute/comments section below, therefore, offers an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screenshots to relevant SAP notes or anything else you feel is relevant to this report. 

This will then be available for everyone to easily find by simply searching on the report name SALV_DEMO_TREE_METADATA or its description.

Text pool values

Selection Text: P_AGGR = Aggregations 
Selection Text: P_AMOUNT = Number of Data Records 
Selection Text: P_DISP = Global Display Settings 
Selection Text: P_FCAT = Column Information 
Selection Text: P_FULL = Full Screen 
Selection Text: P_TOEO = Header and Footer Lines 
Selection Text: P_TREE = Tree on Screen 
Title: Demonstration Program for ALV OM Tree: Metadata 
Text Symbol: 001 = Flight Price 
Text Symbol: H01 = This is the header area 
Text Symbol: H02 = This is the footer area 
Text Symbol: HD1 = Hierarchy 
Text Symbol: HD2 = This is the Title 
Text Symbol: HT1 = This is the hierarchy column 
Text Symbol: T01 = Cost-Effectiveness
Text Symbol: T02 = Cost-Effectiven. 
Text Symbol: T03 = Cost-Effec 
Text Symbol: T04 = Cost-Effectiveness

SAP Module / Component 

Basis Components -> Basis Services / Communication Interfaces -> SAP List Viewer(BC-SRV-ALV)

About the Author se80