Skip to Content
0
Former Member
Apr 28, 2008 at 11:32 PM

OO ALV, editable key fields only for new record insert

1186 Views

Hello all,

I am using object-oriented ALV to maintain a custom table. When the ALV displays I have set foreign key fields to be non-editable. I haven't determined a way to allow inserts into this ALV to have the key fields set as editable. Right now it seems that the field is either editable or not

I am setting the editability of the fields in the ALV field-catalog using this particular setting:

ls_fcat-edit = ' '. " field not editable

As an example, if there are three records in the database table, I want those three records when displayed to have the key fields set as non-editable.

When I create a new record in ALV I need these key fields to be editable so that data can be entered in these fields.

Does anyone have a solution?

Thanks

Bruce