on 10-21-2019 2:19 PM
When I open a Contract I see Contract End Date 09.10.2020 UTC (/SAP_BYD_APPLICATION_UI/crm/sre/contractoif.OIF.uicomponent, /Root/General/GeneralInformation/ContractEndDateTime/@). When I look this data up in Repository Explorer (ValidityPeriod.TimePointPeriod.EndTimePoint.DateTime) I see '2020-10-10T00:00:00Z' and 'UTC'. Same in ABSL when debugging.
When I make a custom BO with the same datetime data type (BASIS.Global.DateTime), I assign this datetime to the BO and then add the element to a screen (I try and mimic the formatting from the Contract OIF) it shows 10.10.2020 UTC.
How do I get the correct Contract End Date to show on my screen? (I don't care at the moment if it's different in debug/Repository Explorer since this is Display Only)
I found it. I had to mark the control as "Is End of Period" = True. Then it suddenly deducts 1 day!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.