Hello, I came up against strange behaviour with table control today.
In short, omitting insignificant things:
I have a data element Z_DATE with type DATS and Z_ST with type TIMS.
These two data elements appears in 2 times in dictionary
1. Database table ZEVT:
-
Z_F1 type Z_DATE
Z_F2 type Z_ST
2. Structure Z_EVTSCR, names same as above
-
Z_F1 type Z_DATE
Z_F2 type Z_ST
Now, when I create table control selecting dictionary table (ZEVT) in wizard, input help is available on screen - cells of the table have icon to click and it is possible to choose date and time from interactive calendar and clock.
But when I create local internal table and work area in program as:
zevt_tab type table of Z_EVTSCR,
zevt_wa like line of zevt_tab.
and enter this values instead dictionary table in table control wizard, input help is not available.
I created table type in dictionary Z_EVTSCR_TAB with line type Z_EVTSCR, next in program:
zevt_tab type Z_EVTSCR_TAB,
zevt_wa type Z_EVTSCR.
and input help is also unavailable. I don't understand why, maybe I'm missing something.
Regards,
Jacek