Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

alv

Former Member
0 Likes
448

hi,

I need to create 3 fields NON-EDITABLE in a ALV program that contains 10 fields...

can you help me, please?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
423

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?

3 REPLIES 3
Read only

Former Member
0 Likes
423

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

Read only

Former Member
0 Likes
423

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

Read only

Former Member
0 Likes
424

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