2009 Jan 08 7:23 AM
Hi all
I have to create an ALV with 3 separately structure for example:
Header -> KNA1
Line1 -> VBAK with all orders from Customer
Line2 -> BSEG with all posting for each Order
for 2 structure is the function REUSE_ALV_HIERSEQ_LIST_DISPLAY okay but for 3 structure .....
could anybody help ?
Hi all
I have to create an ALV with 3 separately structure for example:
Header -> KNA1
Line1 -> VBAK with all orders from Customer
Line2 -> BSEG with all posting for each Order
for 2 structure is the function REUSE_ALV_HIERSEQ_LIST_DISPLAY okay but for 3 structure .....
could anybody help ?
2009 Jan 08 7:51 AM
The same can be extended and used for 3 structure.
Please refer the Function module documentation for the same
2009 Jan 08 8:50 AM
Hi
my Function documentation show me following text
Functionality
This module outputs two internal tables as a formated hierarchical-sequential list.
Principle:
Pass an internal table containing the set of header information to be output.
Pass an internal table containing the set of item information to be output.
Pass a structure containing the general list layout details
Pass a field catalog in the form of an internal table. The field catalog describes the fields to be output in the list.
Could you send me the part with more the 0ne item table
2009 Jan 08 8:56 AM
Try to enhance the function module and create your new ZFunction module. Or try REUSE_ALV_BLOCK_LIST_DISPLAY
2009 Jan 08 9:12 AM
okay many thanks for help
i have to create a ZF because we have Enterprise...
2009 Jan 08 7:53 AM
Hi,
Will it be possible if you can show the output in tree structure.
2009 Jan 08 7:54 AM
I dont think it is possible.
What you can do is combine data for all orders and BSEG postings in a single internal table and display it in multiple lines below each customer header line using standard FM REUSE_ALV_HIERSEQ_LIST_DISPLAY
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |