PDA调用RFC

原本计划在PDA中直接调用RFC,结果试了半天发现不行。网上寻找发现:

you cannot use .NET Connector from Compact framework as it uses unmananged code that cannot run on a PDA. But you have two alternatives:
If your SAP server is 6.20 or higher, you can use native Soap support with MS "Add web reference" feature. Details about native Soap support can be found in service.sap.com/connectors.

Else you need a "Middleware". The middleware can use the .NET Connector. For communication between the middleware and PDA you can use any protocol of your choice like WebServices or .NET Remoting.

As long as JCo is not fully "pure Java" and uses native methods from a DLL or EXE, it will not work.

 

总部服务器不让开SAP  CONSOLE,只能借助与中间件了..

无线PDA+Web Services+RFC

 

由于SAP.Net Connector 2.0 目前只支持.net framework 1.X,而预定的PDA为WINCE5.0。在网上找到可以用VS2003生成一个DLL,VS2005中调用。

 

最后效果也还不错,只是速度比较慢。太频繁的操作会严重影响性能。

可能只有通过PDA暂存数据、批量传到外挂表、批量执行。但这样如果中间有笔交易出错,如何处理?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值