cancel
Showing results for 
Search instead for 
Did you mean: 

Change System Date

Evangelia
Participant
0 Kudos

Hallo Experts,

Is there a way that we can change the key date that Nakisa reads the data from the R/3 from Today Date to the previous date?

We have installed Nakisa Live Connection.

Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

lukemarson
Active Contributor
0 Kudos

What version of OrgChart are you using?

Evangelia
Participant
0 Kudos

We are using Product Version 3.0

lukemarson
Active Contributor
0 Kudos

What is the STVN version?

Evangelia
Participant
0 Kudos

It is 2.0

lukemarson
Active Contributor
0 Kudos

The following values exist in SettingsResources.xml in STVN2.0:

<item>

<name><![CDATA[SAPEffectiveDate]]></name>

<value><![CDATA[false]]></value>

</item>

<item>

<name><![CDATA[NOMSEffectiveDate]]></name>

<value><![CDATA[DateToday]]></value>

</item>

I think SAPEffectiveDate is a true/false boolean but NOMSEffectiveDate is usually DateToday, but I think it supports other date values. I know there is a Yesterday value in STVN2.1 but I'm unsure if this exists in STVN2.0 - it could be worth a try.

Best of luck and let us know if it works.

Thanks,

Luke

Evangelia
Participant
0 Kudos

Luke,

These fields do not exist in that xml. Can we do something to add them? Is that date defined somewhere else? How does Nakisa know the effective date to display the data?

Thanks,

Evaggelia

lukemarson
Active Contributor
0 Kudos

Hi Evaggelia,

I took them from one of my builds so I may have added them. Add them to your SettingResources.xml file. The DateToday variable tells OrgChart to use the system date. The Yesterday variable tells it to use the system date minus one day, although I am not sure if this exists in STVN2.0 as I've only seen it in STVN2.1.

Good luck!

Luke

Evangelia
Participant
0 Kudos

Hi Luke,

Is there any similar way that we can query the date that the changes are made (AEDTM field in SAP), instead of the System Date? For example to define somewhere that Nakisa should only call the data that are valid in date AEDTM minus 1 day?

Thank you

lukemarson
Active Contributor
0 Kudos

Hi Evaggelia,

I'm afraid not. Does Yesterday not work? If not, have you tried DateToday - 1?

Kind regards,

Luke