Application Development 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: 

Regarding ALV layout

Former Member
0 Kudos

hi all,

can anyone tell me what does this statement do :

wa_flayout TYPE slis_layout_alv.

FORM build_layout.

wa_flayout-zebra = 'X'.

wa_flayout-colwidth_optimize = 'X'.

  • wa_flayout-window_titlebar = 'Inventory BOM Report'.

wa_flayout-detail_popup = 'X'.

wa_flayout-no_min_linesize = 'X'.

ENDFORM. "build_layout

actually the problem is the fieldcat is built in different way and the output what i am getting is different, i mean the columns are interchanged kind,

how is this happening?

can anyone tell me?

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos
data: wa_flayout TYPE slis_layout_alv.

FORM build_layout.
wa_flayout-zebra = 'X'.      "this is for alternate colors
wa_flayout-colwidth_optimize = 'X'. " for columns  width optimzation

wa_flayout-window_titlebar = 'Inventory BOM Report'.   " tilte bar
wa_flayout-detail_popup = 'X'.  " this is used for Detail popup 
                                       "if you click on any row a popup comes , in that all the row details will be shown
wa_flayout-no_min_linesize = 'X'. " this is related to line size
ENDFORM. "build_layout

>actually the problem is the fieldcat is built in different way and the output what i am getting is different, i >mean the columns are interchanged kind,

>how is this happening?

may be you have some variant (which may be default one ) , because of that you will see different order.

1 REPLY 1

former_member188685
Active Contributor
0 Kudos
data: wa_flayout TYPE slis_layout_alv.

FORM build_layout.
wa_flayout-zebra = 'X'.      "this is for alternate colors
wa_flayout-colwidth_optimize = 'X'. " for columns  width optimzation

wa_flayout-window_titlebar = 'Inventory BOM Report'.   " tilte bar
wa_flayout-detail_popup = 'X'.  " this is used for Detail popup 
                                       "if you click on any row a popup comes , in that all the row details will be shown
wa_flayout-no_min_linesize = 'X'. " this is related to line size
ENDFORM. "build_layout

>actually the problem is the fieldcat is built in different way and the output what i am getting is different, i >mean the columns are interchanged kind,

>how is this happening?

may be you have some variant (which may be default one ) , because of that you will see different order.