2007 Jan 25 5:50 PM
hi,
I need to create 3 fields NON-EDITABLE in a ALV program that contains 10 fields...
can you help me, please?
2007 Jan 25 6:01 PM
Hi,
You achive this by the attributes of the fields in the field catalog.
Check the below code...
if you are using ALV with function modules, then set the below mentioned attribute in the fieldcatalog of hte required fields.
wa_fldcat-input = 0.
where wa_fldcat of type SLIS_FIELDCAT_ALV.
If you using ALV with classes, then
set the following attribute the fieldcatalog.
wa_fldcat-edit = 0.
where wa_fldcat of type lvc_S_fcat.
Ihope this solves your problem.
Regards,
Vara
Message was edited by:
varaprasad bhagavatula
hi,
I need to create 3 fields NON-EDITABLE in a ALV program that contains 10 fields...
can you help me, please?
2007 Jan 25 5:58 PM
1. append the 3 field to ur final internal table
2. make sure that they are populated in the fieldcataloag
3.populate the data for those 3 fields
4.automatically they will be displayed with the other 10 fields
2007 Jan 25 5:59 PM
Hi,
You can check the development class SLIS for more examples..
In the field catalog add the three fields..and fill the field EDIT = ' ' for the corresponding three columns.
Thanks,
Naren
2007 Jan 25 6:01 PM
Hi,
You achive this by the attributes of the fields in the field catalog.
Check the below code...
if you are using ALV with function modules, then set the below mentioned attribute in the fieldcatalog of hte required fields.
wa_fldcat-input = 0.
where wa_fldcat of type SLIS_FIELDCAT_ALV.
If you using ALV with classes, then
set the following attribute the fieldcatalog.
wa_fldcat-edit = 0.
where wa_fldcat of type lvc_S_fcat.
Ihope this solves your problem.
Regards,
Vara
Message was edited by:
varaprasad bhagavatula
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |