Search code examples
phpjsonblackberryabapsaprfc

grabbing data from SAP to BlackBerry


im developing an app in java for BlackBerry, right now im building some RFC's in SAP so i can search some info inside the system to show to the blackberry users.

my first attempt (that actually worked): i made a rfc that was called trough a php file and the php file sends the info through Json to the BlackBerry ( and viceversa, the bberry calls the php file and from here to SAP)

my boss told me that i cant use a middleware to do this, that i had to get the data directly from SAP, but our SAP doesn't have the mobile module

my question is: first, can it be done without the middleware? if the answer is yes, then... what should be the cleanest and better way? (we dont have a mobile module!!!!)

SAP==>MiddleWare==>bberry

or

SAP==>bberry???


Solution

  • you have multiple options:

    • generate soap webservices from your RFC Modules
    • create a simple BSP application that calls your RFC's and returns json or xml data
    • you could create an SICF service that accepts and returns json or xml data