‎2006 Jun 30 11:09 AM
We have a ALV whose columns we made dinamic with fields symbols, a column is type dats and we wants a matchcode with the calendary. For this in the fieldcat we put:
F4AVAILABL = 'X'.
REF_FIELD = 'F_CURSO'.
REF_TABLE = 'ZEP_ALV_DATOS'.
edit = 'X'.
With that we get show the calendary but don't to take the value on the cell.
I think that the problem is for that REF_FIELD = 'F_CURSO', because my internal table don't have the field with the name F_CURSO, because the name of all fields is dinamic as well. Thanks very much, take care.
‎2006 Jun 30 11:17 AM
Hi,
i did one such..
i specified like this..
X_FIELDCAT-TABNAME = 'IT_FINAL'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '10'.
<b> X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-DATATYPE = 'DATS'.
X_FIELDCAT-INTTYPE = 'D'.
X_FIELDCAT-REF_TABLE = 'VEKP'.
X_FIELDCAT-REF_FIELD = 'ZZPROMDT'.</b><b>ZZPROMDT</b> should be of type DATS.
i got the F4 help for date.
Regadrs
vijay
‎2006 Jun 30 11:46 AM
Hi,
with this the colum show the calendar, but when I click for a date the value of cell don´t take the date.
You internal table is dinamic?
Thanks
‎2006 Jun 30 11:55 AM
Hi,
my program uses normal internal table, not dynamic one.
How are you creating the Dynamic internal table.
Regards
vijay
‎2006 Jun 30 12:22 PM
I create the table with
call method cl_alv_table_create=>create_dynamic_table
The columns are in a table Z in BBDD, for each line of the table I create a column in the ALV.