Hierarchical display is used for displaying data that are related. Like sales order and item details. Here sales order details can be the header data whereas them items in the sales order can be the item data
The function module used for this is
REUSE_ALV_HIERSEQ_LIST_DISPLAY
Export:
I_CALLBACK_PROGRAM
I_CALLBACK_PF_STATUS_SET
I_CALLBACK_USER_COMMAND
IS_LAYOUT
It_fieldcat
It_events
I_tabname_header : Name of the internal table in the program containing the output data of the highest hierarchy level.
I_tabname_item : Name of the internal table in the program containing the output data of the lowest hierarchy level.
Is_keyinfo : This structure contains the header and item table field names which link the two tables (shared key).
Tables
t_outtab_header : Header table with data to be output
t_outtab_item : Name of the internal table in the program containing the output data of the lowest hierarchy level.
All the definitions of internal tables, structures and constants are declared in a type-pool called SLIS. This internal table can be populated automatically by using REUSE_ALV_FIELDCATALOG_MERGE'.
Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website.
If you are using this website then its your own responsibility to understand the content of the website