cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to display data of date like /Date(1599782400000)/ in yyyymmdd in SAP Conversational AI

kazushioishi
Explorer
526

When connecting to OData API in S/4 HANA(API_COSTCENTER_SRV), the output data of date are displayed like /Date(1599782400000)/.

I would really appreciate if you tell me how to display the data in yyyymmdd, yyyy-mm-dd, or yyyy.mm.dd.

※The current output sentences are as follows:

管理領域は{{api_service_response.default.body.d.ControllingArea}}です。

会社コードは{{api_service_response.default.body.d.CompanyCode}}です。

有効期間は{{Date(api_service_response.default.body.d.ValidityStartDate)}}から{{api_service_response.default.body.d.ValidityEndDate}}までです。

原価センタは{{api_service_response.default.body.d.CostCenter}}です。

スクリーンショット-2020-12-16-142429.jpg

View Entire Topic
kazushioishi
Explorer
0 Kudos

Thanks Kunj for your answer!

The expression you have taught worked perfectly.