10-09-2008 4:21 PM
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?
10-09-2008 4:32 PM
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.
10-09-2008 4:32 PM
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.