使用 XML 生成 SAP ABAP 和/或 SAPScript?

发布于 2024-08-25 07:15:07 字数 454 浏览 12 评论 0原文

有没有人有从外部应用程序的 XML 生成 SAP ABAP 或 SAPScript 表单代码的示例和/或经验?

这将有助于:

  • 通过从外部应用程序导出 XML 将知识自动化,以数据驱动的方式创建基于 SAP 的应用程序 将
  • 知识从外部应用程序自动输入 SAP 应用程序,而不是在系统之间手动复制
  • 允许使用第 3 方外部工具来创建数据,也许以比 SAP 中更易于使用的方式。或者,如果已经在使用这些第三方工具而不是 SAP 的培训上进行了大量投资,或者如果就业市场青睐了解这些工具的员工,
  • 能够为多种目的创建数据,那么观点:SAP 内部和 SAP 外部的观点。
  • 实现 SAP 与第三方外部工具的互操作性

我正在寻找:

  • 有关可行性
  • 工具的经验,例如解析器、XSLT 等。
  • 示例

Has anyone got examples and/or experience of generating SAP ABAP or SAPScript form code from XML that came from an external application?

This would help:

  • creation of SAP-based applications in a data-driven way by automating the knowledge to do so from the export of XML from an external application
  • automated inputting of knowledge from an external application into SAP applications, rather than manually copying between systems
  • enable 3rd-party external tools to be used to create data, perhaps in a more easier-to-use way than could be done in SAP. Or if there was already heavy investment in training with these third party tools rather than SAP, or if the employment market favoured staff with knowledge of these tools
  • enable creation of data for multiple purposes, views: those in SAP and outside SAP.
  • enable inter-operability of SAP with 3rd-party external tools

I'm looking for:

  • experiences as to the feasibility
  • tools, e.g. parsers, XSLT etc.
  • examples

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

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

发布评论

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

评论(2

触ぅ动初心 2024-09-01 07:15:07

绝对可行 - 看看 http://www.volker-wegert.de /en/mdd-sap-r3。请注意,在尝试生成任何内容之前,您确实需要对 R/3 方面有深入的了解。根据经验,如果您无法手动创建它,则也无法生成它。

我建议将实际的生成过程保留在 R/3 系统之外,因为 EMF 和以前的 oAW 组件等工具在生成内容时确实非常出色。我还建议采用两阶段生成方法 - 生成一个(外部)模型来表示您想要在 SAP 系统中生成的内容,然后将该模型的内容传输到系统中。这样,生成器就更容易调试。

RCER http://rcer.sf.net 有一个(非常不完整的)存储库对象模型 - 可以扩展保存您需要的任何实体。就我个人而言,我很乐意看到 SAPlink <--> RCER ROM 转换器 - 不过我自己没有时间写一个。这将允许您

  • 创建基于 Eclipse/EMF 的建模应用程序,
  • 使用 oAW 工具(Xtend/Xpand)进行模型转换和代码生成,将
  • 生成的模型转换为 SAPlink 文件,
  • 将生成的文件上传到系统中,

我已经完成了大部分工作同样的事情,只不过我使用的是 RFC 调用而不是 SAPlink。由于我必须自己编写功能模块来生成类和其他对象,因此它并不是真正可重用的 - 而且它属于我的前雇主......

Definitely feasible - take a look at http://www.volker-wegert.de/en/mdd-sap-r3. Be aware that you really need a deep knowledge of the R/3 side before you attempt to generate anything. As a rule of thumb, if you can't create it manually, you can't generate it either.

I'd recommend to keep the actual generation process out of the R/3 system because there are tools like EMF and the former oAW components that really kick ass when it comes to generating stuff. I'd also recommend a two-phase generation approach - generate an (external) model that represents what you want to generate in the SAP system, then transfer the contents of that model into the system. This way, the generator is much easier to debug.

RCER http://rcer.sf.net has a (very incomplete) repository object model - that could be extended to hold whatever entities you need. Personally, I'd love to see a SAPlink <--> RCER ROM converter - don't have the time to write one myself, though. This would allow you to

  • create a modeling application based on Eclipse / EMF
  • use oAW tools (Xtend / Xpand) for model transformation and code generation
  • convert the resulting model to a SAPlink file
  • upload the generated file into the system

I've done pretty much the same thing, except that instead of SAPlink, I've used RFC calls. Since I've had to write the function modules to generate classes and other objects myself, it's not really reusable - and it belongs to my former employer...

那片花海 2024-09-01 07:15:07

您可以查看 SAPLink

这是一个允许从一组 XML 文件生成此类程序/函数/etc 的应用程序。它还允许您从对象生成这些文件,从而允许在两个不相关的系统之间传输对象。

您可以简单地生成 xml 文件,然后使用 SAPLink 导入并生成代码。

问候
纪尧姆

You could look at SAPLink.

This is an application that allows to generate such programs / functions /etc from a set of XML files. It also allow you to generate these files from the objects, thus allowing to transport the objects between two unrelated systems.

You could simply generate the xml files, and use SAPLink to import and generate the code.

Regards
Guillaume

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