on 2024 Jul 30 2:13 PM
Hello all!
I'm developing a Build Apps application with an ABAP environment backend. The ABAP environment is on SAP BTP, and serves an endpoint with the "equipment" API implementation. I've imported this API via destinations and created an "Data Integration":
This specific API has a date "ValidityEndDate" key property. In the app I'm developing there's a list of equipments and, if you select one, you should navigate to an object page.
The issue I'm having is that the request has the date malformed, causing an URI invalid error. I've tried to change the internal structures to different text, date or date/time formats, with no avail.
Do anyone have an idea on what I could do different here? Is there any transformation I could do to this element?
Thank you very much for your reply!
BS,
Rafael
Seems you have to convert the date to the standard format, from the Unix (OData) date.
FORMAT_DATETIME_LOCAL(DATETIME(NUMBER(SUBSTRING(repeated.current.CreationDate, 6,19))), "DD.MM.YYYY")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
I had to adjust the formula a little bit, but that works!
SUBSTRING(DATETIME(NUMBER(SUBSTRING(repeated.current.validity_end_date, 6,19))), 0,19)
Thank you @Dan_Wroblewski !
BS,
Rafael
User | Count |
---|---|
69 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.