on 07-27-2010 10:42 AM
Hi ,
I have a requirement, where I need to format the date to 'DD-MMM-YYYY' in wd abap view. Any thoughts in this regard would really help.
Thanks,
Saujanya
Hi, WDA formats date fields according to personal settings as specified in SU01 Defaults (or SU3).
Have a try,
sergio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Everything is possible but you cannot take advantage of the standard features.
I would suggest to align the Business Requirements to the available options since they are very powerful and they are used by all the SAPGui transactions but if you still need the formatting I would suggest to use a custom domain linked to a custom Conversion Exit.
there is a lot of documentation about that but basically they are managed as in standard ABAP programming, nothing special from WDA. Here a starting point [|]
Sergio
I agree with Sergio Ferrari that you should first try and use the standard format. Second would be the option he proposes with a custom domain and custom field exits. Field exits are automatically fired by the WD Framework just like in the classic dynpro screens.
Third option I might add: if you only need output, then just consider using STRING for this field in the context. Then you can manually perform the manipulation on the data (by substringing and concatenating the different parts of the date - and translating the number month to a text month). Downside to this approach - you are putting the formatting logic directly in your WD Application. Its not resuable like a custom domain and a field exit would be. However it could also be less work than creating the domain and exit if this is really a one-off kind of thing.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.