cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Mobile Applications

Former Member
0 Kudos

Hi all,

I am new to SUP and SAP, can someone provide me the step by step procedure to connect SAP mobile application (SAP Leave Request) to our SAP.

Currently I installed Sybase Unwired Platform 2.1 Enterprise Development Server Windows 64-bit and I have download SAP Leave Request application in my iPhone, Other than this what are the steps need to be taken and in order to connect SAP Mobile application to SAP.

Thanks & Regards,

Fibeesh

Accepted Solutions (1)

Accepted Solutions (1)

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Fibesh,

You need to

1. Configure releay server .

2. Create security configuration in SCC.

3. Create application connection in SCC.

4. Register the application and start using it with SAP backend.

Please refer to the below link for more details.

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.pubs.docset-SUP-2.1.0/doc/h... >>Quick Start: Online Data Proxy 2.1 > Quick Start Task Flow>>Configuring Online Data Proxy for OData SDK Applications

Regards

Rohith

Former Member
0 Kudos

Hi Rohit,

Thank you for information,

While installing the Sybase Unwired Platform Runtime 2.1, I selected Unwired Platform Runtime instead of online data proxy and I configured the relay server on the same server but I am not able to start the services. While starting the service I am getting u201CError starting service "SUPRelayServer".u201D How can I check the relay server configuration?

Regards,

Fibeesh

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Fibeesh,

ODP functionality will be available even if you have installed in "Unwired Platform Runtime" mode. So you can go ahead with current installation.

Are you using sybase hosted relay server OR you have installed it?

Regarding the error, please re-check if you have configured the correct relay server host and Form details at SCC.

Regards

Rohith

Former Member
0 Kudos

Hi Rohith,

I appreciate your help very much

I install Relay Server on the same server which I install the Sybase Unwired Platform Runtime 2.1

And I followed these instructions.

Copy the 64-bit system u2014 relayserver_x64.zip Server archive file to the IIS host.

Extract all files and folders from the archive to the wwwroot\ directory.

The following subdirectories are created:

wwwroot\ias_relay_server\

wwwroot\ias_relay_server\Client\

wwwroot\ias_relay_server\Server\

Add u201C ias_relay_server\Server\". In system Path variable

Configuring IIS 7 for Relay Server

Open applicationHost.config

Create a Relay Server application pool

Add the Relay Server application to the default Web site.

Enable Web extensions for Relay Server

Add Relay Server locations to the default Web site

Save changes in the applicationHost.config file.

Open a Web browser, and confirm that http://localhost:80 loads the default IIS page correctly.

Configuring Local Relay Servers

Creating a Quick Configuration

In the administration pane, click the Relay Servers tab.

Click Quick Configure.

Specify these property values:

Host u2013 Server Name (xyz123)

Http port u2013 80

Https port u2013 443.

URL suffix u2013 default

Check Advanced settings and specify these property values:

u2022 Http user name u2013 userRose.

u2022 Http password u2013password

Click OK to generate a Relay Server configuration file, and the RSOE processes for each Unwired Server.

Generate the Relay Server Configuration File

Copy the Relay Server configuration file to the Web server host.

C:\Inetpub\wwwroot\ias_relay_server\Server\rs.config

To update Relay Server with the new configuration, use the State Manager command line on the Web server host:

Rshost -f C:/Inetpub/wwwroot/ias_relay_server/Server/rs.config

Generate the Relay Server Outbound Enabler Configuration File

Configuring State Manager as a Service

I used this command

dbsvc -as -s auto -t rshost -w SUPRelayServer "C:\Inetpub

\wwwroot\ias_relay_server\Server\rshost.exe" -q -qc -f

"C:\Inetpub\wwwroot\ias_relay_server\Server\rs.config" -

o "C:\Sybase\logs\rs.log"

The service is created successfully and when I try to start the service I am getting Error

Am I missed any steps?

Thanks and Regards

Fibeesh

0 Kudos

Hi,

Could you please check that you have C:\Sybase\logs folder on your system?

In case you dont have this folder then create it and try to start service.

If service fails then please provide the complete error text from command prompt and also from C:\Sybase\logs\rs.log file.

Regards,

Abhishek Joshi

Former Member
0 Kudos

Hi,

Thank you all for the great support.

I just delete the relay server configuration from SCC and configure it with the same value and start the service, now it starts the service.

Can someone explain u201CCreate application connection in SCCu201D a bit more?

Thanks and Regards,

Fibeesh

rohith_deraje
Advisor
Advisor
0 Kudos

Hi Fibeesh ,

Step1.--> Create security configuration ( For Manual Registration)

Login to SCC.

Select Security. Click New, Enter a name and Click OK.

Step2: Create a Application

Select Applications.

Click New. Enter Application ID, Display Name, Sec configuration created in Step1.

Go to next Screen. Select Proxy and enter application end point..( URL of SAP gateway service document.. Ex: http://abcd.efg:50009/sap/opu/sdata/iwfnd/<SERVICEDOCNAME>/ )

Step3: Create Application connection/User.

Click on Application Connections tab.

Click register.

Select the template.. it would be AppName_SecConfig name.

Select u201CSpecify activation codeu201D check box and enter some code(Ex:123) and save..

While registering from device, you need to eneter u201CApplicationIDu201D ,u201DUseru201D and u201CActivation Codeu201D

Regards

Rohith

Former Member
0 Kudos

Thanks you Rohith, as a beginner it helps me a lots, let me try these steps and I will let u know.

Thanks & Regards

Fibeesh

Former Member
0 Kudos

Hi Rohith and Fibeesh,

I encounter familiar error while setting up Relay Server on IIS 7.

1. After setting up relayserver on IIS. I browse http://localhost:80. It loads the default IIS page correctly.And then Qick configure Relay Server on SCC.

2. Generate rs.config file and copy to C:\Inetpub\wwwroot\ias_relay_servr\server folder.

 

3. Run command "rshost -f  C:\Inetpub\wwwroot\ias_relay_servr\server\rs.config"

 

4. Run command "dbsvc -as -s auto -t rshost -w RS "C:\Inetpub\wwwroot\ias_relay_servr\server\rshost.exe" -q -qc -f "C:\Inetpub\wwwroot\ias_relay_servr\server\rs.config" -o "C:\Sybase\logs\rs.log"

 

5. start RS service.

 

6. Then go to SCC and start all the RSOE with error.

After checking RSOE log.

RSOE error is as following:

I. 2012-08-01 16:12:22. iAnywhere Outbound Enabler Version 12.0.1.3519

I. 2012-08-01 16:12:22.

I. 2012-08-01 16:12:22. Copyright c 2001-2011, iAnywhere Solutions, Inc.

I. 2012-08-01 16:12:22. Portions copyright c 1988-2011, Sybase, Inc. All rights reserved.

I. 2012-08-01 16:12:22. Use of this software is governed by the Sybase License Agreement.

I. 2012-08-01 16:12:22. Refer to http://www.sybase.com/softwarelicenses.

I. 2012-08-01 16:12:22.

I. 2012-08-01 16:12:22. <OEMaster> Successfully connected to backend server: localhost:2480

I. 2012-08-01 16:12:22. <OEHost>

I. 2012-08-01 16:12:22. <OEHost> iAnywhere Outbound Enabler Version 12.0.1.3519

I. 2012-08-01 16:12:22. <OEHost> Machine TWMOBILE01 is running Windows 2008 Build 6002 Service Pack 2

I. 2012-08-01 16:12:22. <OEHost> Software built for X86_64

I. 2012-08-01 16:12:22. <OEHost> Time zone offset from UTC in munite: 480

I. 2012-08-01 16:12:22. <OEHost>

I. 2012-08-01 16:12:22. <OEHost> Mac address: 00-15-5d-00-14-49!!

E. 2012-08-01 16:12:22. <OEHost> Received an unexpected HTTP error from the web server:HTTP/1.1 405 Method Not Allowed

                        Cache-Control: private

                        Allow: GET, HEAD, OPTIONS, TRACE

                        Content-Type: text/html; charset=utf-8

                        Server: Microsoft-IIS/7.0

                        X-Powered-By: ASP.NET

                        Date: Wed, 01 Aug 2012 08:12:22 GMT

                        Content-Length: 5805

E. 2012-08-01 16:12:22. <OEHost> doHTTPRequest: read reply failed

I. 2012-08-01 16:15:13. Waiting on OEMaster thread to terminate..

I. 2012-08-01 16:15:13. OEMaster thread terminated.

BTW, SCC version 2.1.2 , RS version 12.0.1.3726.

Is there any wrong steps from the above? or any other additional step should be configured?

Please kindly help!

Thank you and Best Regards,

Elina

Answers (0)