Skip to Content
avatar image
Former Member

editable alv

hi,

i need to lock only the records which the user has selected in an alv.

this has been done using enqueue fm but the problem lies i had created columns editable so when i click on edit button all rows are open to be edited.

i want specfically only those rows which the user had selected.

thanx.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Sep 02, 2008 at 02:41 PM

    what is the type of alv you are using ..?

    is it OO ALV..?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 08:11 AM

    Hi,

    While filling the field catalog of the particular field

    keep it fs-fieldcat-edit = 'X'.

    Hope it helps you.

    Regards

    Manjari.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      If user clicks on the button then write the fields in the if condition and edit that fields only.

      IF fs_fcat-fieldname EQ 'MNGCOMMENT'.

      fs_fcat-edit = 'X'

      ELSE.

      fs_fcat-edit = space.

      ENDIF. " IF FS_FCAT-FIELDNAME...

      Regards

      Manjari.