简体   繁体   English

BAPI、BAdI、增强和修改有什么区别?

[英]What is the difference between BAPI, BAdI, enhancement and modification?

BAPI (业务应用程序编程接口)、 BAdI (业务插件)、客户增强和客户修改之间有什么区别?

A BAPI is an API, which is either designed by you or a simple function module offered by SAP. BAPI是一种API,它要么是您自己设计的,要么是SAP 提供的一个简单的功能模块。 You can use this API for "business" operations.您可以将此 API 用于“业务”操作。

BAdI 's (Business Add-Ins) are the new form of user exits, designed in form of interface-architecture, where a custom class can implement an interface, and its interface implementation than can be activated to get called before, after or in between sap-standard-procedures. BAdI (Business Add-Ins) 是用户出口的新形式,以接口架构的形式设计,其中自定义类可以实现一个接口,并且它的接口实现可以被激活以在之前、之后或之后被调用在 sap 标准程序之间。 This allows customers to provide custom code and modify data.这允许客户提供自定义代码和修改数据。 Usually one uses BAdI's of SAP in a Z-class to add / change some standard logic, which SAP would usually process.通常在 Z 类中使用 SAP 的 BAdI 来添加/更改 SAP 通常会处理的一些标准逻辑。

Enhancement 's are a possibility to either "contain" BAdI classes or to offer "plain text modification of SAP source codes.增强功能可以“包含”BAdI 类或提供“SAP 源代码的纯文本修改”。

Customer modification is tight bound to enhancements when it deals with coding.在处理编码时,客户修改与增强功能紧密相关。 With data dictionary objects this simply means the ability of appending Z-structures, for example.例如,对于数据字典对象,这仅意味着附加 Z 结构的能力。

BAPI - It is nothing, but a FM which is used to load the data into SAP system. BAPI - 它只是一个用于将数据加载到 SAP 系统中的 FM。 The data may be from the legacy system.数据可能来自遗留系统。

BADI - They are the enhancement which can be applied to the standard SAP program as per the business requirement. BADI - 它们是可根据业务需求应用于标准 SAP 程序的增强功能。 BADI are the newer version of user exits which uses ABAP OOPs concept. BADI 是使用 ABAP OOP 概念的较新版本的用户出口。

Check this article to find BADI using function module: Find Bapi using funcion module查看这篇文章使用函数模块查找BADI:使用函数模块查找Bapi

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

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