Saturday, May 7, 2011

Hierarchical Sequential List Display


    This is one of the most interesting types of ALV list.The output is in the form of a header and list.The                  header and would be containing the headings and list the data.Both of these are connected programmatically through the a common key field.

           

To explain more on the Hierarchical Sequential  Display, we can go to program BALVHT01.This program is present in all SAP systems(its a test program and a very useful program for learning as well).





The key function module used is "REUSE_ALV_HIERSEQ_LIST_DISPLAY".In this module , we would be passing two internal tables.One would be containing the names of field and whether to be displayed and totaled or not.And second one would be containing the data.Both the internal tables needs to be linked with a common field.This field would serve as the key field.The first internal table would be serving as header and the internal table containing the data would be serving as item level.
You can also go through the Demo program BALVHD01.It also enlists the different options through which one can have the output with different schemes.
Both the programs are self explanatory


No comments:

Post a Comment