cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Travel Receipt Capture App - Whitelist error

razarizvi
Explorer
0 Kudos

HI All,

We are trying to configure SAP Travel Receipt Capture Mobile App with SUP 2.2. We have setup the application ID and the

corresponding connection template for the application. We can successfully connect to the SUP server and device is shown as registered on

it.

However the app prompts for SAP gateway user ID and password and throws a message "Network Error - Authentication error; check your username

and password".

The similar configuration for SAP Travel Expense report app with the same user credentials work fine.

Some additional info regarding the setup (for now we are using internal network to connect to the app, so no Relay server)

TrvReceipt Mobile App version = 2.4.3

Device: iPhone 5 iOS v.6.1.2

Login Information for the Mobile Application :

Login Type

- Manual - Yes

Connection Settings

- SUP Host Address: <host IP>

- SUP Port: 5001

- SUP Company ID: 0 (since we are not yet connecting from Relay server)

- SUP Security Config (if SSO2): HTTP login module

SUP Login Credentials (if Login Type Manual):

- User Name: <user>

- SUP Activation Code: ***

"

2013-10-31 06:18:54.448 ERROR PROXY MessageChannel Thread-138 [com.sybase.sup.odp.handler.ProxyConnectorHandler]This Application Endpoint is not whitelisted with SUP. Hence terminating the request

"

Application ID: com.sap.meps.TravelReceiptCapture

Using SDATA service in application end point: http://<hostname>:<port>/sap/opu/sdata/MIVE/TRAVELRECEIPTCAPTURE/

& we have implemented HTTP login module.

Our Gateway is activated on the same SAP ERP backend server.

Please suggest if you have come across this issue.

Kind Regards!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raza,

Even I was facing similar issue.

check this thread http://scn.sap.com/thread/3294359

Regards,

Abhishek

razarizvi
Explorer
0 Kudos

guys - thank you all for your inputs regarding the issue with Whitelist errors. I have been able to resolve the issue with all the suggestions you posted.

Seems like there are some differences with iOS vs Android Devices and here is what I have learnt;

Android devices - it passes URL in the lower case as specified in my app end point. And this application was working for Android Devices.

http://hostname.company.com:<port>/sap/opu/sdata/MIVE/TRAVELRECEIPTCAPTURE/

For iOS Devices is seems look for UPPERCASE host name in URL. So the same above URL needs to be setup in the proxy connections as follows;

http://HOSTNAME.company.com:<port>/sap/opu/sdata/MIVE/TRAVELRECEIPTCAPTURE/

just to be on the safe side, I did go ahead and create the following connection also;

http://HOSTNAME:<port>/sap/opu/sdata/MIVE/TRAVELRECEIPTCAPTURE/

With this, we have gone past the issues... phew!!

However, this behavior is really strange as it did not happen with either Travel expense report or Retail Store Ops Associate or Solman Sys monitoring app.

Kind Regards,
Raza.

Answers (3)

Answers (3)

former_member183031
Participant
0 Kudos

i can see little difference in the URL of app End point and URL in connection pool. The applcaton is throwing the error becuase, its not getting the whitelisted URL in connection URL.maintain the same url in connection pool which is mantinaed in appendpoint. that should fix whitelist error.

Regards,

MBR.

midhun_vp
Active Contributor
0 Kudos

Are you doing an automatic registration or user by configuring SSO2 ?

Is it working when you go for manual registration ?

razarizvi
Explorer
0 Kudos

Hello John and Midhun,

Thanks for you quick replies. I am going in the logically correct direction with what you guys have suggested since my Travel Expense Report app works already.

Now I have attached the screen shots here for the Travel Receipt Capture app. I did go thru the blog and Johns screenshot multiple time just to make sure I am not in error. I completely removed the app and reconfigured it a few more times but the same error.

Midhun - I am just using Basic Authentication for now.

Please suggest if you can think of anything else.

Kind Regards,

Raza.

razarizvi
Explorer
0 Kudos

@Midhun - I am using manual registration for now.

midhun_vp
Active Contributor
0 Kudos

Since the error is "auth failure" I think it is something related to the configuration mistake in SCC.

Try the below:

Delete the app template created (SCC>server>applications>applications tab).

Create a new template.

Register a new user by selecting the newly created template.

In the app select manual registration, provide the username and act code.

- Midhun VP

johna69
Product and Topic Expert
Product and Topic Expert
0 Kudos

This sounds like you are missing the setting in SUP for the endpoint.

In here is where you specify the whitelisted endpoints for the connection pool:

JohnA

johna69
Product and Topic Expert
Product and Topic Expert
0 Kudos

This blog by Sachin Chandra also covers a similar issue with Question 10:

http://scn.sap.com/community/mobile/blog/2012/10/29/faqs-on-sup-odp

JohnA