12-19-2006 1:05 PM
Hi people,
I have a problem with the layout of REUSE_ALV_BLOCK_LIST_DISPLAY. I want to freeze some fields of my alv, I write in the fieldcat something like this:
p_gt_fieldcat-OUTPUTLEN = '30'.
p_gt_fieldcat-key = 'X'.
APPEND p_gt_fieldcat.
But I saw in the fm REUSE_ALV_BLOCK_LIST_HS_APPEND this:
Oblig. values for mode BLOCK_APPEND
GT_STACK-LAYOUT-GROUP_BUTTONS = SPACE.
--> GT_STACK-LAYOUT-NO_KEYFIX = 'X'.
GT_STACK-LAYOUT-BLOCK_MODE = 'X'.
As you can see I have to change de value of GT_STACK-LAYOUT-NO_KEYFIX.
Anybody knows how could I make this change??
Thxz a lot.
12-19-2006 1:10 PM
Hi,
Can you specify clearly for which field you are doing below
p_gt_fieldcat-OUTPUTLEN = '30'.
p_gt_fieldcat-key = 'X'.
APPEND p_gt_fieldcat.
Here you are using the append statemetn, i think you need to modify the internal tbale p_gt-fieldcat. check once...
Regards,
Satya.
12-19-2006 1:10 PM
Hi,
Can you specify clearly for which field you are doing below
p_gt_fieldcat-OUTPUTLEN = '30'.
p_gt_fieldcat-key = 'X'.
APPEND p_gt_fieldcat.
Here you are using the append statemetn, i think you need to modify the internal tbale p_gt-fieldcat. check once...
Regards,
Satya.
12-19-2006 1:33 PM
hi
good
if you want to freeze some of the field in the field catalogue than you canGT_STACK-LAYOUT-NO_KEYFIX = 'X'.
similarly if you want to freeze the field in
REUSE_ALV_BLOCK_LIST_DISPLAY
you can use the similar approach
thanks
mrutyun^
12-19-2006 8:08 PM
Hi people!
Thanks both for your answer.
The problem is that although in my fieldcat i put p_gt_fieldcat-key = 'X'. Inside de Function alv_blck_hs_append there is a sentence that change my layout.
gt_stack-layout-no_keyfix = 'X'. As it is in the standard i can´t change it.
I will try with other things.
Thxs!!!