BADI:LE_SHP_DELIVERY_PROC-增强在交货处理中

Posted Rainystuday

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了BADI:LE_SHP_DELIVERY_PROC-增强在交货处理中相关的知识,希望对你有一定的参考价值。

1.所得方法清单:

CHANGE_FCODE_ATTRIBUTES Control Activation of Function Codes
CHANGE_FIELD_ATTRIBUTES Control Input Attributes of Delivery Fields
READ_DELIVERY Read Own Data After Delivery Has Been Read
INITIALIZE_DELIVERY Initialize Own Data
CHECK_ITEM_DELETION Check Deletion of a Delivery Item
ITEM_DELETION Delete Own Item-Dependent Data
DELIVERY_DELETION Delete Own Data when Deleting the Delivery
DELIVERY_FINAL_CHECK Last Checks Before Saving the Delivery
SAVE_AND_PUBLISH_DOCUMENT Save Own Data/Publish Delivery
SAVE_DOCUMENT_PREPARE Last Determination Before Saving
DOCUMENT_NUMBER_PUBLISH Publish Delivery Number After Number Assignment
FILL_DELIVERY_HEADER Determine Own Data when Creating the Delivery Header
FILL_DELIVERY_ITEM Determine Own Data when Creating an Item
CHANGE_DELIVERY_HEADER Change of Own Data When Changing Header Data
CHANGE_DELIVERY_ITEM Change of Own Data When Changing an Item
PUBLISH_DELIVERY_ITEM Publish Item Data After Processing
SAVE_AND_PUBLISH_BEFORE_OUTPUT Save Own Data Before Message Output


2.反查得:SE38: MV50A_BADI_DEF.

*&---------------------------------------------------------------------*
*& Include MV50A_BADI_DEF *
*&---------------------------------------------------------------------*
* This include should be used only for data definitions of BAdI
* instances
*----------------------------------------------------------------------*

*data: gi_exit type ref to (name of the interface)

* EH&S (Environment, Health & Safety)
****** Definitions for dangerous goods
data: gi_badi_instance_ehs001 type ref to if_ex_ehs_dg_001.
data: gi_badi_instance_ehs002 type ref to if_ex_ehs_ps_002.

* BAdI for general delivery processing
data: gi_badi_delivery type ref to if_ex_le_shp_delivery_proc.

* BAdI customer tab pages
data: gi_cust_tab_head type ref to if_ex_le_shp_tab_cust_head,
gi_cust_tab_item type ref to if_ex_le_shp_tab_cust_item,
gi_cust_tab_over type ref to if_ex_le_shp_tab_cust_over.

* BAdI tab pages for add-on projects
data: gi_cust_tab_scem type ref to if_ex_le_shp_tab_scem_head,
gi_cust_tab_gltr type ref to if_ex_le_shp_tab_gltr_head, "head
gi_cust_tab_glti type ref to if_ex_le_shp_tab_gltr_item, "item
gi_cust_tab_auid type ref to if_ex_le_shp_tab_auid_head. "head

* BAdi for delivery goods movements
data: gi_badi_goodsmovement type ref to if_ex_le_shp_goodsmovement.

**************Begin of retrofit SDP Bw 20050208
* BAdI for goods issue check (SAP-internal)

data: gi_badi_dlv_gi_ibs type ref to le_shp_dlv_gi_ibs.

* data: gi_badi_dlv_gi_ibs type ref to if_ex_le_shp_dlv_gi_ibs.
* data: g_dlv_gi_active type char1.
**************End of retrofit SDP Bw 20050208

* BAdI for delivery pricing
data: gi_badi_pricing type ref to if_ex_le_shp_pricing.
* BADi for country-specific fields in pricing:
* Migrated to New BAdI, Instance is created / buffered in form BADI_SD_COM_COUNTRY

* BAdI for delivery creation -> additional fields from KOMDLGN to LIKP and LIPS
DATA: gi_badi_gn_dlv_create TYPE REF TO IF_EX_LE_SHP_GN_DLV_CREATE.

以上是关于BADI:LE_SHP_DELIVERY_PROC-增强在交货处理中的主要内容,如果未能解决你的问题,请参考以下文章

0002711474 BadI error: CX_BADI_MULTIPLY_IMPLEMENTED or Enhancement Implementation active simultaneou

SAP,ABAP中BADI的定义,接口,类,实现,方法

一个BADI中实施多个Implementation

谁告诉我SAP,ABAP中BADI的BADI定义,接口,类,实现,方法,这几个概念之间的关系是啥啊

abap bapi badi 有啥区别?怎样查找?怎样使用? 标准程序自建增强点怎么做?

查找增强出口和BADI程序