使用 PowerBuilder 构建 SAP 模块

发布于 2024-10-18 17:19:24 字数 52 浏览 1 评论 0原文

任何人都知道使用 PowerBuilder 构建 SAP 模块或任何未来此类开发的路线图。

Anybody aware of SAP module(s) being built using PowerBuilder or any road-map in place for such development in future.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

小巷里的女流氓 2024-10-25 17:19:25

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]

没︽人懂的悲伤 2024-10-25 17:19:25

如果我理解正确的话,您想通过 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文