on 2017 Jan 09 12:04 PM
Hi all
I want to filter data from column in ALV table which are shown in format "DD.MM.YYYY HH.MM.SS". But in table are written in format "YYYYMMDDHHMMSS", so when I write value to the filter by format which is shown in ALV column ("DD.MM.YYYY HH.MM.SS") I get error message because the entered value isn't in correct format.
My question is how I can read values from filter and modified them ?
I tried to catch it and modify by event handler (ON_STD_FUNCTION_AFTE), but before this event are called some standard function which let in filter only these rules which are available by data type of filtered column.
Thank you in advance.
Best regards
Hello Juraj,
Insted of converting "YYYYMMDDHHMMSS" into "DD.MM.YYYY HH.MM.SS" you should use EDIT_MASK in field catalog. It will automatically convert your field in desired format also in filter it will be in YYYYMMDDHHMMSS format only.
WA_FCAT-edit_mask = '____.__.__.__.__.__'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.