Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Editable ALV grid -Issue

$
0
0

Hi,

    In an alv report i want to display 12 fields but the last field is editable one based on the condition

table-date field <= sy-datum means the grid is to be editable one other wise it is non editable.

 

In my code:

 

IF GT_QINF-FREI_DAT <= SY-DATUM.

     PERFORM ADD_FILEDCAT USING '13' 'EDIT' 'GT_QINF' 'Modified Date' '20' 'X'   '' ''.   -------->editable

   ELSE.

     PERFORM ADD_FILEDCAT USING '13' 'EDIT' 'GT_QINF' 'Modified Date' '20' ''   '' ''.  ------------->non editable.

   ENDIF.

 

 

But the GT_QINF-FREI_DAT does not having values,because internal table not working inside fieldcatalog.

 

How to solve this issue?????


Viewing all articles
Browse latest Browse all 8332

Trending Articles