简体   繁体   English

我如何从 SE83 SAP 重用库中受益?

[英]How can I benefit from the SE83 SAP Reuse Library?

I have just come across the SAP reuse library (transaction SE83), but have never used it before.刚刚接触到SAP重用库(事务SE83),但之前没用过。 In the current system there are only a few functions documented, some of which are actually flagged as obsolete by SAP.在当前系统中,只有少数功能被记录在案,其中一些实际上被 SAP 标记为过时。

Most of these functions/classes are also relatively well-known to anyone that has worked in SAP for any length of time, for example ALV Grids, confirmations prompts, conversion routines etc.大多数这些功能/类对于在 SAP 工作过任何时间的任何人来说也是相对熟悉的,例如 ALV 网格、确认提示、转换例程等。

Does SAP release updates/libraries separately to the reuse library? SAP 是否将更新/库单独发布到重用库? Does anyone use it on a regular basis, either to find SAP released objects or to document their own internal functions?是否有人定期使用它来查找 SAP 发布的对象或记录他们自己的内部功能?

SAP Help on the reuse library can be found here .可以在此处找到有关重用库的 SAP 帮助。

For me the biggest benefit of the reuse library is that it contains source code examples for each of the libraries/functions provided.对我来说,重用库的最大好处是它包含提供的每个库/函数的源代码示例。 This is very helpful if you are using something new or haven't used it in a while.如果您正在使用新的东西或有一段时间没有使用它,这将非常有用。 In some instances, you have more than one example program that you can use as a base for your own code, or from which you can simply copy the necessary code.在某些情况下,您有多个示例程序可以用作您自己代码的基础,或者您可以简单地从中复制必要的代码。 The components featured here are supposed to address common requirements which you may have so that you don't have to reinvent things.这里的组件应该满足您可能拥有的常见需求,这样您就不必重新发明东西。

To answer your second question:回答你的第二个问题:

I don't think that the Reuse library has had any or many updates over the releases.我不认为 Reuse 库对这些版本进行了任何或许多更新。 If you click on the "Libraries" button on the toolbar, you will see that the default library shown is "SAP Technology".如果单击工具栏上的“库”按钮,您将看到显示的默认库是“SAP 技术”。 (Mine contains an extra library called "E-Government Toolbox" which is empty. I think the idea was that it is a "pluggable" way of maintaining a reference of reusable components for developers. The SAP-provided components have not changed over the years, and I am not aware of SAP releasing more reusable components that you can import into your system. Community efforts like SAPlink are probably a better bet for sharing reusable components, but then, what is actually needed is a community-driven repository for sharing them. (我的包含一个名为“E-Government Toolbox”的额外库,它是空的。我认为它的想法是它是一种为开发人员维护可重用组件参考的“可插拔”方式。SAP 提供的组件在多年来,我不知道 SAP 发布了更多可以导入到系统中的可重用组件。像SAPlink这样的社区努力可能是共享可重用组件的更好选择,但是,实际上需要的是一个社区驱动的共享存储库他们。

Like you point out, you could use it to document your own reusable components, but I don't see this as very practical, unless you are developing components that other SAP customers will use.就像您指出的那样,您可以使用它来记录您自己的可重用组件,但我认为这不太实用,除非您正在开发其他 SAP 客户将使用的组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM