Entering content frameSyntax documentation set_hierarchy Locate the document in its SAP Library structure

You use this method to set a hierarchy level in the worksheet. You must determine an area by specifying its starting row and number of rows. The user can then show or hide this area in the spreadsheet program.

Note

To set more than one hierarchy using a single method call, use the method set_hierarchy_table.

CALL METHOD spreadsheet->set_hierarchy
       EXPORTING firstline = firstline
                 length    = length
       IMPORTING error    = error
                 retcode  = retcode.

Description of parameters

Parameter

Optional

Description

firstline

 

The first line of the hierarchy area (type I)

length

 

The length of the hierarchy area in lines (type I)

 

 

 

Leaving content frame