Hi,
I have created A Web Dynpro Table Called 'Arrivals'.
One of the Field in my table is 'Arrival Dateu2019 - Which is of type u201CDateu201D (I have created a simple type giving the representation format as "DD/MM/YYYY" and assigned this simple type to the 'Arrival Date').
When I run this Web Dynpro application.I am getting the output as expected, as shown below
"DD/MM/YYYY"
31/10/2008
05/11/2008
23/10/2008
10/11/2008
My requirement is :
In the applicaiton I have a radio button to choose the Dateformat between "European Format(DD/MM/YYYY)" and "US format", i.e, "MM/DD/YYYY". so that the output now will be
"MM/DD/YYYY"
10/31/2008
11/05/2008
10/23/2008
11/10/2008
So when I select the US format radio button I want to dynamically change the format representation of the simple type to "MM/DD/YYYY"
I cannot use date formatter as Arrival Date is of type 'Date' and more over I have implemented sorting to my table, So if I change it to String , it will sort date as String..
And also I cannot use different value attribute(Say Arrival Date1) which is assigned to another simple type with US format as this will increase the complexity.
Kindly let me know if there is any possible solution for this.
Regards,
Shilpa B.V