Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hierarchy ALV - Layout

marcela_martinez
Participant
0 Likes
815

Hi al!!

Does anybody know if in a Hierarchy ALV it is possible to have columns separated by lines?

Thanks in advance & kind regards,

Marce.

Hi al!!

Does anybody know if in a Hierarchy ALV it is possible to have columns separated by lines?

Thanks in advance & kind regards,

Marce.

6 REPLIES 6
Read only

former_member156446
Active Contributor
0 Likes
786

by using 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' you can get vertical lines separating columns

Read only

0 Likes
786

Thnks Jay for the answer, but I'm using that FM and I'm have no vertical lines. Did I have to set some parameter?

Thanks & regards,

Marce.

Read only

0 Likes
786

I am not sure which way u are have developed your code.. if you want a hirar alv you need not don any thing for the vertical lines.. all you need to do is set the field catalog.

Read only

0 Likes
786

I will appreciate a lot if you can send me me an example where vertical lines appears.

Thanks & regards.

Read only

0 Likes
786
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
       EXPORTING
*           I_INTERFACE_CHECK        = 'X'                             *
            I_CALLBACK_PROGRAM       = 'ZPRCREPTZ1'
            I_CALLBACK_USER_COMMAND  = 'CALLBACK_USER_COMMAND'
            I_CALLBACK_PF_STATUS_SET = 'CALLBACK_STATUS'
            IT_FIELDCAT              = FIELDCAT_AXXX
            IT_EXCLUDING             = EX_FCODE
            IS_LAYOUT                = LAYOUT_AXXX
            IT_SORT                  = IT_SORT_AXXX
            IT_EVENTS                = ET_EVENTS_AXXX
            IT_EVENT_EXIT            = ET_EVENT_EXIT
            I_TABNAME_HEADER         =  TABNAME_HEADER_AXXX
            I_TABNAME_ITEM           =  TABNAME_ITEM_AXXX
            IS_KEYINFO               = KEYINFO
            IS_PRINT                 = IS_PRINT_AXXX
*    IMPORTING                                                         *
*         E_EXIT_CAUSED_BY_CALLER  =                                   *
*         ES_EXIT_CAUSED_BY_USER   =                                   *
       TABLES
            T_OUTTAB_HEADER          = SORTTAB_AXXX
            T_OUTTAB_ITEM            = T_POS_AXXX
       EXCEPTIONS
            PROGRAM_ERROR            = 1
            OTHERS                   = 2.

[Click Here for more explanation|http://www.saptechies.com/how-to-use-alv-for-hierarchical-lists/]

Read only

marcela_martinez
Participant
0 Likes
786

Thank you for the answers.

I'm sorry but hierarchy ALV has no vertical lines.

King regards.