12-23-2005 8:39 AM
Hi,
Through hierarchial display i'm displaying 15 columns of which first 3 columns are key fields, when i scroll to see the 13 or other columns i should still be able to see the first 3 cols values along with 13 & other remaining cols.
is there any field in fieldcatalog that has to be set for this condition. i have already tried using fix_column = 'X' for these 3 fields but it's not working.
is there any specific relationship that has to be maintained b/w header & item table for this to happen.
Regards
Raghavendra.
12-23-2005 8:50 AM
Please try to set fieldcat-key = 'X' for the columns to be fixed. Also check whether the no_keyfix field of is_layout is set as space.
12-23-2005 8:50 AM
Please try to set fieldcat-key = 'X' for the columns to be fixed. Also check whether the no_keyfix field of is_layout is set as space.
12-23-2005 9:43 AM
Hi,
Here is the sample code.
DATA: lw_fieldcat_head TYPE slis_fieldcat_alv.
CLEAR lw_fieldcat_head.
lw_fieldcat_head-fieldname = C_VBELN.
lw_fieldcat_head-tabname = 'i_output'.
lw_fieldcat_head-key = c_x .
APPEND lw_fieldcat_head TO i_fieldcat.
Populating ALV Field Catalogue for the ALV Header Structure
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_internal_tabname = 'i_output'
i_structure_name = 'ZALV_HIERLIST_HEAD'
CHANGING
ct_fieldcat = i_fieldcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
12-18-2006 2:58 PM
Hi!,
I have de same problem to you, but even using gt_fieldcat-key = 'X'. It doesn't work. I could see in the standard function 'REUSE_ALV_BLOCK_LIST_HS_APPEND' something like 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'.
Does anybody know how could i modify the standard layout?
txs.
Patricia