cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the indivdiual cells in ALV WEB DynPRO

paul_cairncross
Explorer
0 Kudos

Hi,

I have seen with the standard ALV class you can change the color and/or make individual Cells editable or not. See link below as them some cells are open other not for user id

http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=37199

But is it possible to to in Web dynpro ?

Any help appreciated

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Paul,

Please find the link,

http://scn.sap.com/docs/DOC-42401

loOP AT lt_mara INTO ls_mara .
   IF ls_mara-matnr > 50.
       ls_mara-edit = '' ."abap_false.
     ELSE.
       ls_mara-edit = 'X'. "abap_true.
     ENDIF.
    MODIFY lt_mara from ls_mara TRANSPORTING edit.
ENDLOOP.

paul_cairncross
Explorer
0 Kudos

Hi Vijay,

Thanks this works just fine

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos
paul_cairncross
Explorer
0 Kudos

hi Ram,

this is helpful but my main concern was to make some cells editable and other protected for the same column.

regards

Paul

venkat_ratnam3
Explorer
0 Kudos

Hi Paul ,

you can achieve in a  loop checking the condition for the column .Please refer to the document for traffic lights instead you can use this for input field editable .

by Claudia Dangers  http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d3...