SAP R / 3标准代码修改的方式? [英] Means of SAP R/3 standard code modification?

查看:319
本文介绍了SAP R / 3标准代码修改的方式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试确定如何修改已安装系统的SAP R / 3程序包代码。有人可以为此建议模块/工具吗?

I'm trying to determine how to modify SAP R/3 package code of an installed system. Can anyone suggest the module/tool for that?

推荐答案

SAP提供了各种客户插件以使客户能够进行修改并修改标准代码:

SAP has provided various customer plug-ins in order to enable customers to modify and adapt standard code:


  • 用户出口(交易SMOD,CMOD和SE81)。 此文章涵盖了用户的详细信息。

  • User exits (Transactions SMOD, CMOD and SE81). This article covers user exists in greater detail.

BADI的(业务加载项,交易SE18)。这是扩展标准功能的面向对象的方式。 此文章详细介绍了BADI

BADI's (Business Add-inns, Transaction SE18). This is an Object Oriented(ish) way of extending standard functionality. This article covers BADI's in greater detail

显式增强点(仅限Netweaver 7.0和更高版本,事务SE80)是SAP标准代码中的占位符,程序员可以添加自己的代码。 在此处了解更多有关增强点的信息。

Explicit Enhancement Points (Netweaver 7.0 and later only, Transaction SE80) are placeholders in the SAP standard code where programmers can add their own code. Read more here about enhancement spots.

所有这些选项都要求SAP预料到需要增强代码并提供增强功能。如果有的话,这是维护SAP标准代码而不破坏与SAP的支持协议的好方法。

All these options require SAP to have anticipated the need to enhance the code and provide the hooks for enhancements. If they are there it is a great way to maintain SAP standard code without voiding the support agreement with SAP.

以下两种方式要求SAP做任何事情:

The following 2 ways do not require SAP to do anything:


  • 隐性增强点(仅限Netweaver 7.0和更高版本,事务SE80)。与显式增强点的工作原理相同,但存在于 ALL 函数,表单,方法,结构等的开始和结尾处。菜单路径编辑->增强操作->显示隐式增强点将使这些可见。隐式增强点的优点在于 SAP仍然支持它。

  • Implicit Enhancement Spots (Netweaver 7.0 and later only, Transaction SE80). Works the same as Explicit Enhancement Spots, but exists at the start and end of ALL functions, forms, methods, structures etc. The menu path Edit->Enhancement Operations->Show Implicit Enhancement Points will make these visible. The beauty of Implicit Enhancement Spots is that it is still supported by SAP.

程序修复:在SE80中,单击更改图标,然后SAP会要求您提供维修密钥-可以从SAP的 http://service.sap.com 请求(通常由基础人员负责)。提供密钥后,您可以正常编辑代码(如果启用了修改助手,则可以使用修改助手)。 SAP不支持修复的对象

Program Repairs: In SE80 hit the change icon and SAP will ask for a repair key - this can be requested from SAP at http://service.sap.com (usually by the Basis guys). Once you've provided the key you can edit the code normally (or with modification assistant if it is turned on). Repaired objects are not supported by SAP

编辑:截至2008/2009, SAP Enterprise许可协议SAP仍可能支持修复对象

As of 2008/2009 under the SAP Enterprise licensing agreement Repaired Objects may still be supported by SAP

将SAP标准程序复制到Z-package并对其进行修改应该是万不得已的方法,因为您将必须为每个补丁程序和升级手动比较和维护任何此类程序,这会使您的系统的总体维护变得更加困难。

Copying a SAP standard program to a Z-package and modifying it there should be a last resort, as you will have to manually compare and maintain any such programs for every patch and upgrade which makes the general maintainabiliby of your system a lot harder.

SAP提供了修补或升级所有程序的工具。上面提到的对标准代码的更改,大多数情况下,您要做的不只是在补丁或升级后确认更改。

SAP provide tools to patch or upgrade all the abovementioned changes to standard code and most times you have to do little more than just confirm the change after a patch or upgrade.

注意:可能需要OSS登录才能访问文档。如果您不能提供SAP帮助,通常会很好。

Note: You may need an OSS logon to access the documents. If you can't SAP help is usually quite good.

这篇关于SAP R / 3标准代码修改的方式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆