Click HERE to see how Saviynt Intelligence is transforming the industry. |
03/14/2023 12:58 AM
03/15/2023 04:34 PM
Hi @saidnya_naik ,
Can you try the below query?
SELECT DISTINCT
ev.entitlementtypekey,
(SELECT
a.name
FROM
accounts a
WHERE
a.accountkey = ua.accountkey) AS 'SAP USER ID',
eu.id AS EID,
DATE_FORMAT( eu.STARTDATE, "%Y-%m-%d %h:%m:%s") as 'Start Date',
DATE_FORMAT( eu.ENDDATE, "%Y-%m-%d %h:%m:%s") as 'End Date',
eu.ENTITLEMENT_VALUEKEY,
ev.entitlement_value,
eu.USAGEVALUE,
eu.USAGE_PERIOD,
u.username
FROM
entitlement_usage eu
JOIN
user_accounts ua ON ua.accountkey = eu.accountkey
JOIN
users u ON u.userkey = ua.userkey
JOIN
entitlement_values ev ON ev.entitlement_valuekey = eu.entitlement_valuekey
JOIN
entitlement_types et ON et.entitlementtypekey = ev.entitlementtypekey
WHERE
eu.startdate >= DATE_SUB(NOW(), INTERVAL 1 MONTH)
Thanks.
03/22/2023 11:56 PM
Hi Daanish,
Tried the above query, it is giving us a time stamp. But all of the rows present in the query have the same time for the startdate and enddate.
03/23/2023 01:45 AM
Hi @saidnya_naik ,
That can be because of the data that has been imported/present in the system, contains the same start date and end date. Can you validate the data once?
Also, what is the use-case that you are trying to achieve through this report?
03/27/2023 12:52 AM
Hi,
We are trying to get the usage_data of the tcode of all the SAP endpoints into Saviynt wherein we need to get the transaction start time and transaction end time for each of the entitlement.
05/31/2023 12:39 AM
Hi @saidnya_naik ,
How are you importing the usage_data of all tcode of all SAP endpoints? Is there any JSON that you have configured?
Thanks.
06/22/2023 11:14 PM
We are importing SWNCMONIINDEX usage table in the SAP connection under TABLES