使用 PowerBuilder 构建 SAP 模块
任何人都知道使用 PowerBuilder 构建 SAP 模块或任何未来此类开发的路线图。
Anybody aware of SAP module(s) being built using PowerBuilder or any road-map in place for such development in future.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
PowerBuilder 中内置了一些模块。随着我们对 SAP 业务方面越来越熟悉,我们希望了解更多信息。我们会见了构建这些模块的团队并了解他们的路线图,并且我们还与他们讨论了 PowerBuilder 路线图。
您是否使用PB来定制SAP?我有兴趣讨论更多引发您问题的原因 - 请给我发电子邮件!我今天和明天不在办公室,但下周会回来。
苏·邓内尔
PowerBuilder产品经理
[电子邮件受保护]
There are some modules built in PowerBuilder. As we become more familiar with our SAP side of the business, we are hopeful to learn about more. We've met with the teams that build these modules and are understanding their roadmap and we've discussed the PowerBuilder roadmap with them as well.
Are you using PB to customize SAP? I'd be interested in discussing more of what prompted your question - please email me! I am out of the office today and tomorrow but will be back next week.
Sue Dunnell
PowerBuilder Product Manager
[email protected]
如果我理解正确的话,您想通过 PowerBuilder 调用现有的 BAPI;例如,使用内置 BAPI CreaeFromData 创建采购申请?我在 PB 版本 8 或 9 中创建了几个,这是一个相当大的挑战,但它是完全可行的。我有用于创建采购申请的代码,并且有调用自定义“内部”编写的 BAPI 的代码。
我实际上考虑过为所有 SAP BAPI 构建一个 API,因为它非常困难,而且我通常可以在网络上找到任何问题的答案,但不是这个;不得不反复试验它。
两个提示。在SAP对象资源管理器中研究BAPI,或者可能它被称为BAPI浏览器不记得了,但SAP以不同的顺序显示参数,具体取决于您查看参数的方式。为了让它们在 PB 中工作,你必须按照确切的顺序调用参数,这与 Microsoft 语言不同,在 Microsoft 语言中你可以执行命名参数等操作。那么你必须确保将所有 REF 类型设置为 REF。任何一项错误都会导致可怕的系统崩溃,而这不会告诉您任何信息。如果 PowerBuilder 没有开始失去人气,我会继续为各种 BAPI 编写 API,
如果您需要任何示例代码,请联系我。我无法提供我的一位企业客户的任何确切代码,但很乐意帮助您朝着正确的方向前进。
真挚地,
右
If I'm understanding correctly you are wanting to call existing BAPI's via PowerBuilder; for example create a Purchase Requisition using the built in BAPI CreaeFromData ? I have created a couple back in version 8 or 9 of PB and it was quite a challenge it is totally do-able. I have code for creating Purchase Requisitions and have code which calls a custom "in-house" written BAPI.
I actually thought about building an API for all the SAP BAPI's because of how difficult it was and I can usually find the answer to anything on the web, but not this; had to trial and error it.
Two hints. Study the BAPI in SAP Object Explorer or maybe it was called BAPI Browser can't remember, but SAP shows the parameters in different order depending on which way you look at them. To make them work in PB you have to call the parms in the exact order, unlike the Microsoft languages where you can do named arguments and such. Then you have to be sure to make all REF types REF. Any ONE item wrong and you get the dreaded system crash which tells you nothing. If PowerBuilder had not started losing popularity I would have kept writing APIs for various BAPIs
Contact me if you want any sample code. I can't give any exact code from one of my corporate clients but would be happy to get you going in the right direction.
Sincerely,
R