cancel
Showing results for 
Search instead for 
Did you mean: 

SUP - AWS - LOCAL SAP

Former Member
0 Kudos

Hi all,

I use Sybase Unwired Platform with Amazon Web Services.

SUP sdk is installed on my local machine, and the connection wtih aws server is ok.
Now, I want build a mobile application using a SAP.

The probleme is, how to access to my Local SAP (installed on my local machine too)?

With my local SUP, I can create MBO which use BAPI of local SAP and use that MBO in mobile hybrid application.

But I can't use that application on my android device, because device can't access to the local SAP via the Internet...

I suppose it's possible to use AWS AND Local SAP???

Thanks for help,

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sebástien,

   You can create the sap connection using the "SAP router". So the AWS can connect through it, to your sap instance. If you don't have the SAP router, it would be very dificult for you.

   The easiest way for you, is to create the sap connection on your local workspace (eclipse) so at the moment of deploying the MBOs the eclipse will create it for you.

* From the enterprise explorer, create a new sap connection. On the properties tab, in the application server field input "/H/SaprouterIP/H/SapServerIP" without the quotes. And fill all the others fields with your information (sys id, sys number, user password, as usual).

* From the SCC create a new SAP connection, "Domains->Your Domain->connections"  new connection and input in the "Host Name" property "/H/SaprouterIP/H/SapServerIP" without the quotes.

Hope it helps, best regards.

midhun_vp
Active Contributor
0 Kudos

The device never connects to SAP. It connects to SUP (SMP) then SUP connects to SAP. In that case you would face an issue to run the HWC app from your device.

- Midhun VP

Former Member
0 Kudos

Hi Midhun,

Thanks for answer.

Yes, device never connects to SAP, but, device connects to SUP (AWS server) which can't connects to my local SAP.

Because SDK and SAP are installed on my computer, and I use a SUP Server on AWS.

So, when i use local SDK, I can create an MBO using BAPI of local SAP, but when I install application using MBO on a device, the device can collect SAP data via internet.

Thanks for help,

rakshit_doshi
Active Contributor
0 Kudos

When you installed the SAP on your computer why did you not install the SUP Server as well on your machine. Everything in one box.

Then use the sybase hosted relay server and create a free account for six months. Create farm ids, Configure the relay server in your SUP Server and then use the relay server url to connect to the SAP system via SUP through the relay server from your mobile device,.

Hope this helps,

Thanks,

Former Member
0 Kudos

Hi Rkashit,

I don't understand all your explanation.

How install SUP Server ON my machine??

I use AWS SUP Server because I don't know how download runtime on my machine, I'm not a SAP partner.
And what is realy a relay server? Is it my AWS SUP Server?? How communicate a relay server with local SUP Server??

I understand that a sup local server can communicate with local sap, but not how relay server can see local sup server.

I don't know if I'm clear,

Thanks for answers,

rakshit_doshi
Active Contributor
0 Kudos

Relay Server is a component which resides between a firewall and outside world preferably in the DMZ zone to keep the data traffic secure.

When a device wants to make communication to the SUP Server you have to use either of the two approaches,

1. SUP Server on public ip which you have in the current setup

2. Using a relay server and use relay server outbound enabler in your SUP Server to connect to the SUP Server.

Since in your scenario theSAP System is on your local machine, if you install the SUP Server also on the same machine both will come in the same network. Then you can use the sybase hosted relay server and make outbound enabler in your Sybase control center so what will happen is your device will call the relayserver ip instead of the SUP Server address something like relayserver.sybase.com

in your connection properties you will also use Farm ID's.

The relay server will match to the farm you have defined in the SCC and then you can communicate with the SUP system and then SUP will pull information from your SAP system.

Hope this helps,

Thanks,

Former Member
0 Kudos

Hi Rakshit,

Thanks for explanations.

My probleme is that my SUP Server is not on the same machine that SAP.
My goal is to understand if I can use a local SAP with SUP Server on AWS.

Devices communicate successful with SUP Server, I used DynDns in order to SUP Server communicate with local SAP (open ports 3200,3300,...in router and firewall), but SUP Server can't collect data in local SAP.

No simple solution?

Thanks,

Former Member
0 Kudos

Dear Rakshit,

thanks for your detailed explanation but i do feel if u have can share some document with print-screen shots will be very much helpful to everyone !

Reg

Navin

Former Member
0 Kudos

Try with configuring port forwarding on your router for port 3300 pointing to the SAP server. It may resolve the issue