07-03-2007 11:48 AM
Hi all abapers,
My requirement is to freeze a particular cell of ALV grid. Pleas give me an idea of that if anyway it is possible.
I anticipate for ur reply.
I assure you for giving full marks if you get my solution done.
Cheers,
07-03-2007 11:55 AM
Hello,
In the feildcatalog of the field do this.
<b>
wa_fieldcat-key = 'X'.
</b>
Vasanth
07-03-2007 11:55 AM
Hello,
In the feildcatalog of the field do this.
<b>
wa_fieldcat-key = 'X'.
</b>
Vasanth
07-03-2007 11:56 AM
Hi Pradeep,
before calling "REUSE_ALV_LIST_DISPLAY".
write the code as below:
LOOP AT FCAT ASSIGNING <lfs_fieldcat>.
CASE <lfs_fieldcat>-fieldname.
WHEN 'MATNR'.
<b><lfs_fieldcat>-KEY = 'X'. "for freezing MATNR column</b>
WHEN 'ERSDA'.
<b><lfs_fieldcat>-KEY = 'X'. "for freezing ERSDA column</b>
WHEN 'ERNAM'.
<b><lfs_fieldcat>-KEY = 'X'. "for freezing ERNAM column</b>
endcase.
endloop.
<b>Reward points if it is useful....</b>
Cheers !
Moqeeth.