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

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

原文地址:https://www.cnblogs.com/rainysblog/p/6911233.html