2009 Aug 04 5:44 PM
Hai friends,
I have developed an ALV report. i want to add two more columns in the report which should be editable. how can i do this?.
2009 Aug 04 5:55 PM
HI,
If you are using classes then set the property of the fieldcatalog for which you want to set the field editable by
ls_fcat-edit = 'X'.
where ls_fcat is of type lvc_s_fcat
If you are using the function module then in the field catalog set the property edit = 'X' for the field you want ot make editable.
Regards,
Sachin
2009 Aug 04 5:55 PM
HI,
If you are using classes then set the property of the fieldcatalog for which you want to set the field editable by
ls_fcat-edit = 'X'.
where ls_fcat is of type lvc_s_fcat
If you are using the function module then in the field catalog set the property edit = 'X' for the field you want ot make editable.
Regards,
Sachin
2009 Aug 04 8:35 PM
Hi,
Just add the 2 new fields in the internal table while creating the field catalogs, use the property EDIT and set it as 'X' for these 2 new fields which will make them editable.
Hope this helps you.
Regards,
Tarun
2009 Aug 05 7:35 AM
Hi Venilla,
if you are using field catalog then try like this,
wa_fieldcat-edit = 'X'.
2009 Aug 06 6:21 AM
HI,
If you are using Function Module. then you can use the edit command which is in bold
READ TABLE IT_FCAT INTO WA_FCAT WITH KEY FIELDNAME = 'GNO'.
WA_FCAT-SELTEXT_L = 'Gate Pass No.'.
WA_FCAT-SELTEXT_M = 'Gate Pass No.'.
WA_FCAT-SELTEXT_S = 'Gate Pass No.'.
WA_FCAT-EDIT = 'X'.
MODIFY IT_FCAT FROM WA_FCAT INDEX SY-TABIX.
2009 Aug 06 7:09 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |