on 10-22-2015 3:30 PM
Hi All,
I have a requirement in which I need to change the date format from MM/DD/YYYY to YYYYMMDD format. I checked it in control panel settings but
this setting is not available. Moreover, the Format in HANA Calcualtion view is YYYYMMDD, but when it comes to Bex it is changed to MM/DD/YYYY?
Can somebody advise me on this?
Regards,
Yash Parikh
Hi Yash,
If you are running the Bex report in Bex Analyzer,then it always take the date format as per client system(local running system) date format.
You can change the date format of local running system with date format YYYYMMDD and run this report in Bex Analyzer,you can see the date as per your require format.
Regards,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yash,
Query displays the date format as defined in the source structure. changing the date format at query level is not possible .
and for the release date , the date format might have defined some where inside the view as YYYYMMDD.
requisition date of type DATS , even though its format is YYYYMMDD-->this will change according to the user profile format.
did you try changing the date format at user level (su01) ? and see the report output?
Hi,
sorry, this format is not available in SU01, and also not sure if customer exit work for this scenario. any way you can give a try and see if it works.
split the date like below(I am giving just a psudo code) in the customer exit
example: MM/DD/YYYY - YYYYMMDD (if cal day is mapped to requesition date)
A1 = SOURCE_FIELDS-calday+0(4) . ** YYYY
A2 = SOURCE_FIELDS-calday+0(2). **MM
A3= SOURCE_FIELDS-calday+2(2). ** DD
Concatenate A1 A2 A3 into requesition date
result = requestion date.
Hi,
The format of date is really in YYYYMMDD but you see it in the format MM/DD/YYYY because that's the configured view format on your username..
Check your username in SU01 and find the date view format something and change it to YYYYMMDD..
Regards,
Loed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yash,
if you are authorized to change the user details from SU01, then you can change it by your own.
from the date format drop down, choose your desired format.
but please bear in mind, this format will effect for all queries as you are changing it on user profile level.
if you don't have access, then ask basis to change the format.
Hi Jyothi,
I further gigged it and found that this field uses the standard info object 0calday. Moreover, i have couple of other date fields "release date" in the same report whose format is YYYYMMDD. When i checked info -object "release date" in rsa1, the date format is set as YYYYMMDD. Now i am not sure that do i need to change at info-object level or at query level?
Hi Yash,
YYYYMMDD is BW standard date format , it is same for any infoobject of type date .
if the date format in user profile is different than above, then that users can see the date format as per his/her profile .
but from your first post, I understood that you need to change the format only for this report? or for all reports assigned to any particular user? please tell us you requirement in detail
Hi Jyothi/Loed,
Ok let me explain
There are three fields in user's report
Two of them are "Release date" and their Date format is YYYYMMDD
Now the third one is Requisition date in the same report, but here the format is MM/DD/YYYY.
So, how can it be possible that two dates show the format that user is looking for i.e. YYYYMMDD and the third one shows MM/DD/YYYY?
Please let me know in case of more inputs required from my end
Hi Yash,
Two of them are "Release date" and their Date format is YYYYMMDD
how can it be possible? report wont allows same object twice . might be a typo?
ok, now coming to requisition date, how is it appearing when you run the report? we need to check if this issue is only for a specific user? or multiple? or for all?
Moreover, the Format in HANA Calcualtion view is YYYYMMDD, but when it comes to Bex it is changed to MM/DD/YYYY?
do you have any mapping between HANA calculation view and Bex report?
Hi Jyothi,
I have attached the excel for your reference. Yes there are two release date columns, but the functionality of both are different
Moreover, the Format in HANA Calcualtion view is YYYYMMDD, but when it comes to Bex it is changed to MM/DD/YYYY?
Yes, this is also true.
do you have any mapping between HANA calculation view and Bex report?
No ther e is no mapping between Calc view and Bex report.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.