cancel
Showing results for 
Search instead for 
Did you mean: 

reg - Mobile Time & Travel

Former Member
0 Kudos

hi All,

i'm trying to make the SAP Mobile Time & Travel for Laptop to work. i've done all the required configuration in WebAS and ECC5.0.

once i start my application, i get this error. Synchronization Password Not Set. Where do i set this password?

Thanks

Ak.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

As mentioned in a previous reply, you need to maintain the following setting in MobileEngine.config file (located in the settings directory of the Mobile Infrastructure installation folder):

MobileEngine.Security. SynchronizationPasswordHandlingOption=local

(refer to note 721797).

You also might want to re-install the MI client, set the SynchronizationPasswordHandlingOption to local, and try it again with a fresh install to see if your problem persists.

Also, please refer to the Mobile Applications FAQ area -> MTT Client for the FAQ on synchronization troubleshooting tips.

Hope this helps!

Nadia

Former Member
0 Kudos

hi Jo and Nadia,

I checked an SAP note for the problem i'm facing.

<b>Note: 581277</b>

<i><b>Symptom</b>You want to use the offline module of the Travel Management component. When you use the "Get Personnel Settings" function to retrieve data, the sytsem displays a daialog box with a red traffic light for 'LABEL_SYNC_EXP_FAIL'. The trace of the Mobile Engine displays error message 5Z221

'No personnel number could be determined'.

<b>Other terms</b>

Travel Expenses, travel offline, expense

<b>Reason and Prerequisites</b>

If infotype 105 is correctly maintained and the error occurs nevertheless, a global user may be defined in the ITS</i>

I've given these settings correctly. but still i get the problem. Has anyone fixed such a thing before?

Regards

ak

Former Member
0 Kudos

hi all,

I managed to solve the problem. In the backend you have to assign the S_ME_SYNC role for the user and apply the above said note! You will get the Travel Application Screen.

Regards

Arunkumar Ravi

Former Member
0 Kudos

hello arunkumar,

are you using the local password option?

if you are, you have to make your local password the same

with your synchronization password.

regards

jo

Former Member
0 Kudos

hi Jo,

the condition you said is satisfied. i even tried to set the MobileEngine.sync.passwd = <my password> in the settings-config file. nope...

is there any other place where i have to set the sync password as a part of the configuration? the Middle ware configuration is just the updation of BWAFMAPP and MEMAPPDEST tables. i've done both.

in the client side, once i click on synchronize link in the application (the app has one link like that... this is different from the sync link on the homepage) i get the error i said.

can u help me ?

Regards

Ak.

Former Member
0 Kudos

hello arun,

did you check on the logon data for the RFC destination set

in your MEMAPPDEST?

regards

jo

Former Member
0 Kudos

Yeah. done! that's also fine!

Regards

ak

Former Member
0 Kudos

hello arun,

are you getting the error after you sync? or when you just

tried to start your application?

are you using the parameter

MobileEngine.Security.SynchronizationPasswordHandlingOption=local

in your config file?

jg

Former Member
0 Kudos

hi Jo,

i don't get any errors when i do a dummy sync. i don't get any errors if i start the application. i get the main page of my application. once i click on the synchronize link inside the application (in the menu bar) i get red/yellow traffic light saying sync password not set.

now, i gave the parameter you mentioned in your post. i wasn't using it before.

My Time sheet crashed.

the trace file entry: (sorry for the length)

<i>com.sap.mycats.basics.tools.TERuntimeException: com.sap.mycats.businessLogic.InvalidProfileException

at com.sap.mycats.businessLogic.TimeSheetManager.getTimeSheetProfile(Unknown Source)

at com.sap.mycats.userInterface.BusinessLogicAdapter.getTimeSheetProfile(Unknown Source)

at com.sap.mycats.userInterface.EntryPeriodModel.getProfile(Unknown Source)

at com.sap.mycats.userInterface.EntryPeriodModel.initialize(Unknown Source)

at com.sap.mycats.userInterface.UIComponentAbstract.addComponent(Unknown Source)

at com.sap.mycats.userInterface.RootComponent.initialize(Unknown Source)

at com.sap.mycats.userInterface.Application.(Unknown Source)

at com.sap.mycats.userInterface.Application.(Unknown Source)

at com.sap.mycats.userInterface.Application.getInstacne(Unknown Source)

at com.sap.mycats.userInterface.waf.TimeSheetModuleProvider.(Unknown Source)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at com.sapmarkets.web.liTS.ModuleProviderContainer._loadModuleProvider(ModuleProviderContainer.java:146)

at com.sapmarkets.web.liTS.ModuleProviderContainer.getModuleProvider(ModuleProviderContainer.java:80)

at com.sapmarkets.web.liTS.FlowProcessor._callModule(FlowProcessor.java:196)

at com.sapmarkets.web.liTS.FlowProcessor._processState(FlowProcessor.java:615)

at com.sapmarkets.web.liTS.FlowProcessor._processEvent(FlowProcessor.java:473)

at com.sapmarkets.web.liTS.FlowProcessor._processEvent(FlowProcessor.java:440)

at com.sapmarkets.web.liTS.FlowProcessor.process(FlowProcessor.java:160)

at com.sapmarkets.web.liTS.AbstractLightItsServlet._startFlowProcessing(AbstractLightItsServlet.java:432)

at com.sapmarkets.web.liTS.TomcatLightItsServlet._startFlowProcessing(TomcatLightItsServlet.java:365)

at com.sapmarkets.web.liTS.AbstractLightItsServlet.service(AbstractLightItsServlet.java:197)

at com.sapmarkets.web.liTS.TomcatLightItsServlet.service(TomcatLightItsServlet.java:330)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:534)

Caused by: com.sap.mycats.businessLogic.InvalidProfileException

at com.sap.mycats.businessLogic.TimeSheetProfile.(Unknown Source)

at com.sap.mycats.businessLogic.TimeSheetProfile.getInstance(Unknown Source)

... 37 more

Caused by:

com.sap.mycats.businessLogic.InvalidProfileException

at com.sap.mycats.businessLogic.TimeSheetProfile.(Unknown Source)

at com.sap.mycats.businessLogic.TimeSheetProfile.getInstance(Unknown Source)

at com.sap.mycats.businessLogic.TimeSheetManager.getTimeSheetProfile(Unknown Source)

at com.sap.mycats.userInterface.BusinessLogicAdapter.getTimeSheetProfile(Unknown Source)

at com.sap.mycats.userInterface.EntryPeriodModel.getProfile(Unknown Source)

at com.sap.mycats.userInterface.EntryPeriodModel.initialize(Unknown Source)

at com.sap.mycats.userInterface.UIComponentAbstract.addComponent(Unknown Source)

at com.sap.mycats.userInterface.RootComponent.initialize(Unknown Source)

at com.sap.mycats.userInterface.Application.(Unknown Source)

at com.sap.mycats.userInterface.Application.(Unknown Source)

at com.sap.mycats.userInterface.Application.getInstacne(Unknown Source)

at com.sap.mycats.userInterface.waf.TimeSheetModuleProvider.(Unknown Source)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)

at java.lang.Class.newInstance0(Class.java:308)

at java.lang.Class.newInstance(Class.java:261)

at com.sapmarkets.web.liTS.ModuleProviderContainer._loadModuleProvider(ModuleProviderContainer.java:146)

at com.sapmarkets.web.liTS.ModuleProviderContainer.getModuleProvider(ModuleProviderContainer.java:80)

at com.sapmarkets.web.liTS.FlowProcessor._callModule(FlowProcessor.java:196)

at com.sapmarkets.web.liTS.FlowProcessor._processState(FlowProcessor.java:615)

at com.sapmarkets.web.liTS.FlowProcessor._processEvent(FlowProcessor.java:473)

at com.sapmarkets.web.liTS.FlowProcessor._processEvent(FlowProcessor.java:440)

at com.sapmarkets.web.liTS.FlowProcessor.process(FlowProcessor.java:160)

at com.sapmarkets.web.liTS.AbstractLightItsServlet._startFlowProcessing(AbstractLightItsServlet.java:432)

at com.sapmarkets.web.liTS.TomcatLightItsServlet._startFlowProcessing(TomcatLightItsServlet.java:365)

at com.sapmarkets.web.liTS.AbstractLightItsServlet.service(AbstractLightItsServlet.java:197)

at com.sapmarkets.web.liTS.TomcatLightItsServlet.service(TomcatLightItsServlet.java:330)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)

at java.lang.Thread.run(Thread.java:534)

</i>

does it make any sense to you?

Regards

ak.

Former Member
0 Kudos

hi,

If i click on the button GET PERSONAL DATA in the Travel Application, i get this error (traffic lights again)

[LABEL_SYNC_EXP_CUSTOMIZING]

RED [LABEL_SYNC_EXP_FAIL]

[LABEL_SYNC_EXP_R3_TRIPS]

GREEN [LABEL_SYNC_EXP_SUCCESS]

Does it ring anything?

Regards

ak

Message was edited by: Arunkumar Ravi

Former Member
0 Kudos

hello arun,

your application might have been causing some exceptions.

try checking on the trace file...

regarding the password stuff, do you have the same local

and synchronization password?

regards

jo

Former Member
0 Kudos

hi

I've pasted the exception trace in my previous post.

Yeah! the Sync Password is same as my logon password!

Any ideas?

rgds

ak.

Former Member
0 Kudos

hello arun,

do you think that the exception in your previous post is

the cause of the [LABEL_SYNC_EXP_CUSTOMIZING] sync failure?

jg

Former Member
0 Kudos

hi Jo,

Yes. i think its because of Sync problem. this was yellow saying "Sync Password not set" before i have the PasswordHandling = local. after i gave i got a RedTraffic light for [LABEL_SYNC_EXP_CUSTOMIZING].

Ak.