cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Work Manager. Actual date(s) is in the future (check parameters) error.

Former Member
0 Kudos

Hi All

When I try to pass confirmed hours from SAP Work Manager to the SAP the system shows next error.

--

Logging user into server

   Logged in

Sending client info

Sending time info...

Receiving time info...

Sending OperationEdit...

Sending LaborAdd...

LaborAddSteplet - Actual date(s) is in the future (check parameters)

Server error - please contact your administrator (13)

Logging user out

--

Date-Time on Client, SMP Server and in the SAP Server is same and correct.

Time zone and daylight saving time is the same and correct.

I set the work time in the past.

But it works inly when the time is set to yesterday or earlier.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

In the file

C:\SAP\MobilePlatform3\Server\log\agentry\events.log

I found next lines

---

10/16/2015 14:49:46, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' alias was not found in TimeZoneAliases in Agentry.ini

10/16/2015 14:49:46, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' is not recognized and no alias was found in TimeZoneAliases in Agentry.ini

10/16/2015 14:49:48, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' alias was not found in TimeZoneAliases in Agentry.ini

10/16/2015 14:49:48, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' is not recognized and no alias was found in TimeZoneAliases in Agentry.ini

10/16/2015 14:51:45, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' alias was not found in TimeZoneAliases in Agentry.ini

10/16/2015 14:51:45, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' is not recognized and no alias was found in TimeZoneAliases in Agentry.ini

10/16/2015 14:54:53, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' alias was not found in TimeZoneAliases in Agentry.ini

10/16/2015 14:54:53, 0,        20,       154, Thr       4616, Client Time Zone 'RTZ 2 (зима)' is not recognized and no alias was found in TimeZoneAliases in Agentry.ini

10/16/2015 14:54:54, 1,        20,        26, Thr       4616, com.syclo.agentry.BusinessLogicException: Measurement time cannot be in the future

---

What it could be? I don't have Agentry.ini file on the SMP Server Computer.

Former Member
0 Kudos

the Timezone Aliases section is now in the SMP Cockpit in the application

You can see the wiki about how the section needs to be set: Set Up Time Zone Alias in Agentry.ini Configuration File - SAP Mobility - SCN Wiki

Former Member
0 Kudos

Konstantin,

Please make sure you have maintained same time zone in SAP (SU01) as well as in Agentry. To set timezone in Agentry you can use management cockpit..

In Management cockpit select your application and go to backend tab. there you can set this. (Java section or HTTP/XML section)

After setting these values make sure to restart Agentry instance(or SMP server).

Thanks

Ajitesh

Former Member
0 Kudos

I set Time Zone Name In Management cockpit (Java section or HTTP/XML section) and restarted SMP.

It doesn't help.

The error is still the same.

It tested next values for "Time Zone Name"


- (UTC+03:00) Moscow, St. Petersburg, Volgograd (RTZ 2)

- (UTC+03:00)

- MSK

If any of these values, the problem persists.

How can I check that entered value is correct and accepted by the server correctly?

The "Time Zone Name" field accepts any abracadabra value.

Former Member
0 Kudos

The client doesn't pull the Sap user time zone. In the Events.log file are you still getting:

Client Time Zone 'RTZ 2 (зима)' is not recognized and no alias was found in TimeZoneAliases in Agentry.in


If yes.  This shows the server doesn't understand the timezone (RTZ 2 (зима) ) and will need to be added to the timezone aliases section that looks like:

RTZ 2 (зима)=<System timezone name that matches>


If the server doesn't understand the timezone the client is getting, it will not be able to convert the time time to match the server. Set Up Time Zone Alias in Agentry.ini Configuration File - SAP Mobility - SCN Wiki

Former Member
0 Kudos

I don't have Agentry.ini file on the computer with SMP server.

Do I need to create It?

Former Member
0 Kudos

No, it is under the configuration setting in the cockpit

Former Member
0 Kudos

Agentry.ini file will not be there if you are using production version of application. Every configuration needs to be done in management cockpit itself.

Please make sure all the time zone is same. I can see you have maintained RUS03 timezone in SAP but in SMP it is UTC-3. Please modify this timezone to RUS03. also try to set your mobile's timezone to RUS03.

Thanks

Ajitesh

Former Member
0 Kudos

In the SAP Management Cockpit

Application

     SAPWM62

        APP SPECIFIC SETTINGS

           Time Zone Aliases

I put next line

--

RTZ 2 (зима)=(GMT+03:00)

--

Now On Transfer Data SMP write next error in the events.log

10/20/2015 18:42:20, 0,        17,        10, Thr       5412, SAPWM62 v130.7.0.4

10/20/2015 18:42:55, 0,        20,        16, Thr       4828, Threads in thread pool 'SAPWM62' expanded to 2. Adding thread 4412

10/20/2015 18:42:55, 0,        20,       154, Thr       4412, Client Time Zone '(GMT+03:00)' alias was not found in TimeZoneAliases in Agentry.ini

10/20/2015 18:42:55, 0,        20,       154, Thr       4412, Client Time Zone '(GMT+03:00)' is not recognized and no alias was found in TimeZoneAliases in Agentry.ini

10/20/2015 18:42:56, 1,        20,        26, Thr       4412, com.syclo.agentry.BusinessLogicException: Measurement time cannot be in the future

Measurement time cannot be in the future

Former Member
0 Kudos

Next variants

RTZ 2 (зима)=(GMT+03:00)

RTZ 2 (зима)=MSK


RTZ 2 (зима)=Russia TZ 2 Standard Time


RTZ 2 (зима)=RUS03

don't work

Last error is

10/20/2015 19:06:35, 0,        20,       154, Thr       3420, Client Time Zone 'RUS03' alias was not found in TimeZoneAliases in Agentry.ini

10/20/2015 19:06:35, 0,        20,       154, Thr       3420, Client Time Zone 'RUS03' is not recognized and no alias was found in TimeZoneAliases in Agentry.ini

Former Member
0 Kudos

The part after the equal sign needs to match the Windows System Timezone name, ie. "(UTC-06:00) Central Time (US & Canada)"

You can find the full name by opening "Date and Time" on your system and looking for the matching timezone.

Former Member
0 Kudos

Looks like you are right.

Line

RTZ 2 (зима)=(UTC+03:00) Moscow, St. Petersburg, Volgograd (RTZ 2)

in   "Time Zone Aliases" solved the  problem.

Thank you everyone.

Answers (5)

Answers (5)

adelapava1
Explorer
0 Kudos

at least you get this :

LaborAddSteplet - Actual date(s) is in the future (check parameters)

Server error - please contact your administrator (13)

we are just getting :

Server error - please contact your administrator (13)

former_member337066
Participant
0 Kudos

Hello Experts,

     I am also facing same Issue. I did changes in SMP Application backend

Time Zone=(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi.

      But getting same error on first transmit. But after transmitting 2-3 times it get transmitted successfully. This scenario happens with all operations.

    So where exactly we are missing???

Thanks & Regards,

Ashish Sarode

Former Member
0 Kudos

Ashish,

This thread already been closed. Please create a new thread for your query

Ajitesh

former_member191119
Participant
0 Kudos

Hi

Hope this will help you.

Regards,

Ravi

Former Member
0 Kudos

I set Time Zone for the user.

Restarted SMP.

It doesn't help.

The error is the same.

michelm_de
Employee
Employee
0 Kudos

See at SAP note:

"0002185367   SAP Work Manager error on transmit - AddLaborTime - Actual date(s) is in the future”

Former Member
0 Kudos

The SAP Note 2185367 is not suitable here.

> Do not set a time zone on the user profile settings.

Time zone in the user profile is not set.

All servers and clients work at the same time zone.

former_member222208
Discoverer
0 Kudos

Hello Konstantin,

which version of work manger you are using and on which client r u testing?

Also try to add the proper timezone parameter in the Agentry.ini file

Former Member
0 Kudos

Hello
We use SMP Version: 3.0.7.0  SP Level: 07

             workmanager-6.2.1.0

Former Member
0 Kudos

There are no file with name "Agentry.ini" in the C:\SAP\MobilePlatform3\ folder on the Server.