开发者

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 se开发者_高级运维nds 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???


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


BSP is your best bet. Either to return the XML or even just run the app as a web page from the BSP (if the use case suits). You will have to hand craft the HTML to get it to work though since the blackberry browser only supports certin features.


We are right now in the process of the SAP Netweaver Gateway RampUp. This fits your requirements because it returns the sap data via restful web services and has proxy generators for several programming languages. I really like it. Maybe you could give it a try.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜