on 07-26-2013 3:52 PM
Hello dear colleagues,
I'm using standard data element with complex search help of ABAP WebDynpro selection screen. One of the field listed for making a choice is of type Date. Being presented in the ALV it's converted to string as all other fields and sorting by this field become alphabetical, which is wrong from the user's perspective. Can I somehow handle this situation?
Thank you a lot
Alla
HI,
I am rather sure that last time I checked, dates where being sorted correctly. (for instance, try WD application salv_wd_demo_extended)
What do you mean by "it's converted to string as all other fields"?
There is an automatic conversion going on that converts date internal format (YYYYMMDD) to whatever the user settings is (check SU3).
Could you please give us the name of that standard element and its complex search help?
Thx
Best regards,
Guillaume
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guillaume,
Thank you for answering. Unfortunately I didn't catch how application salv_wd_demo_extended reflects solution/problem. It demonstrates ALV functionality and not search help. In ALV itself all data types remain original. Of course I can miss something, please help me to understand if yes.
My case is very similar to the situation, demonstrated by test application WDR_TEST_DDIC_SHLP.
I select <Search Help for Table SCUSTOM (Collective Search Help)>
Press Search Help on field <Customer Number>
In opened pop-up press Search Help on field <Flight Date>
Press <Start Search>.
ALV is opened with one of the columns named <Date>, When you sort this column, it goes like
01.01.2013
01.02.2013
01.03.2013
03.01.2013
etc.
Kind regards,
Alla
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.