on 10-27-2012 1:41 PM
We have implemented Leave Request / HR Approvals successfully on iOS platforms iPhone and iPad
However when we loaded the apps on Android we can see the initial synchronisation authenticating against SUP but not connecting correctly with the NW Gateway / SAP ECC
Message on screen is "connecting" for 20 seconds followed by an error message "Communication Error - Cannot retrieve data, try again".
Any idea's ?
We are not using a Relay Server, but connecting directly to a SUP 2.1.2 proxy setup. And as I say this setup works fine with the iOS version of the SAP apps.
Netweaver Gateway and SAP ECC systems setup as per documents "Administrator's Guide SAP Leave Request 2.4.0.pdf" and "Administrator's Guide SAP HR Approvals 2.3.0.pdf"
Any thoughts ?
Possible answers
Looking at past posts and wiki's:
I have tested with Android devices 2.3.3 and up
http://wiki.sdn.sap.com/wiki/display/mobile/SAP+Mobile+Store+Apps
I loaded the app from here
https://play.google.com/store/apps/details?id=com.sap.mobile.hcm.leaverequest
This application has access to the following:
Network communication
Your personal information
Phone calls
Storage
Hi David,
A missing "\" or additioonal space in the in the proxy URL can cause request failure.
Since already you have succeeded with iPhone/iPad app, I assume that your proxy URL at SCC is correct.
Can you please enable the logs for further analysis?
Enable the domain logs on scc:
Steps:
1. Domain>>DomainName>>Log>>Settings>>New >> Enter a name
2.Select "Application Connection" and chose your User
3. Select "payload" and chose "request response"
4. Select "Enable after creation"
Save the settings.
Change the log level at Server>>Logs>>Unwired Server>>Settings>>Proxy>>Debug.
Fire a new request from your application.
Under Domain>>DomainName>>Log>>General>>Proxy, click on retrive to display the latest logs:
Regards
Rohith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I also have a similar problem for SAP HR Approvals Apps. tried to debug the and found the following error in the log file :
2013-05-20 09:54:16.456 Application ID=com.sap.meps.hcmapproval, Application Connection ID=453f08154c0bd0b4067b28bf9e5b9e8d86b__com.sap.meps.hcmapproval, User=hrtest, Correlation ID=991359, Http Endpoint=http://centos.xxx.com:8010, Log Level=OFF, Request Type=GET, Request URL=http://centos.xxx.com:8010/sap/opu/sdata/GBHCM/APPROVALS/ItemCountCollection?$filter=CalendarPeriod%...', Response Code=403, Source=ODP Server, MISC Info=ODP Request Response Domain Logs, Thread ID=440, Node ID=supdtr/10.4.63.114, Error=No connection returned from the Connectionpool.Endpoint is not whitelisted with SUP. Hence terminating the request, Request Header Fields=[{"X-SAP-applicationId":"com.sap.meps.hcmapproval"},{"request":"GET"},{"url":"http://centos.xxx.com:8010/sap/opu/sdata/GBHCM/APPROVALS/ItemCountCollection?$filter=CalendarPeriod%...'"},{"Accept-Encoding":"gzip"},{"X-SAP-applicationId":"com.sap.meps.hcmapproval"},{"Accept-Language":"en"},{"X-SAP-deviceType":"iphone"},{"X-SAP-deviceId":"45354c0bd0b7b280c6bf9e5b0d9e8d86b"}], Response Header Fields=, Response Body=, Post Data=
when i check the log file on my iPhone device i get the following error :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm thinking we could use this as a troubleshooting entry in our docs. Title: Client Communication Error: Cannot Retrieve Data.
What do you think? Looks like the solution is in the URL encoding: so maybe include recommendations like "do not hardcode client IDs" "watch for missing spaces or extra chars". Any thoughts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.