BAdIs to change object data

These BAdIs modify the data of individual objects to be exported. The designated objects are transferred to the BAdI based on the settings in the O&P data export applications.

Business objectBAdI name
Customer/AEB/WU_CUS_CR_01
Vendor/AEB/WU_VDR_CR_01
Material/AEB/WU_MAT_CR_01
Goods receipt/AEB/WU_GR_CR_01
Incoming invoice/AEB/WU_II_CR_01
Bill of materials/AEB/WU_PL_CR_01
Purchase order/AEB/WU_PO_CR_01
Sales order/AEB/WU_SO_CR_01
Invoice/AEB/WU_INV_CR_01

Customer

BAdI method: /AEB/WU_CUS_CR_01 - before_standard_filling (modify the parameters for how the data is populated by default)
Parameters:

IM_KNA1 (customer master (general part))
IM_ORG_UNIT (organizational unit)
IM_KNVKS (list of contact persons in customer master)
EX_KNVK_ADRND (business address)
EX_SPRAS (language key)

BAdI method: /AEB/WU_CUS_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_KNA1 (customer master (general part))
IM_ORG_UNIT (organizational unit)
IM_KNVKS (list of contact persons in customer master)
CH_ADDRESS_DO (address)

Vendor

BAdI method: /AEB/WU_VDR_CR_01 - before_standard_filling (modify the parameters for how the data is populated by default)
Parameters:

IM_LFA1 (supplier master (general part))
IM_ORG_UNIT (organizational unit)
IM_LFM1S (list of purchasing organization data in supplier master)
EX_EKORG (purchasing organization)

BAdI method: /AEB/WU_VDR_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_LFA1 (supplier master (general part))
IM_LFM1 (purchasing organization data in supplier master)
IM_ORG_UNIT (organizational unit)
CH_ADDRESS_DO (address)

Material

BAdI method: /AEB/WU_MAT_CR_01 - before_standard_filling (modify the parameters for how the data is populated by default)
Parameters:

IM_MARA (general material data)
IM_MARCS (list of factory data for material)
IM_MBEWS (list of material evaluation)
IM_ORG_UNIT (organizational unit)
EX_MARC_WERKS (factory)
EX_MBEW_BWKEY (valuation area)
EX_MBEW_BWTAR (valuation type)

BAdI method: /AEB/WU_MAT_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_MARA (general material data)
IM_MARC (factory data for material)
IM_MBEW (material evaluation)
IM_ORG_UNIT (organizational unit)
CH_MATERIAL_DO (material)

Goods receipt

BAdI method: /AEB/WU_GR_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_MKPF (material document header)
IM_MSEGS (list of document segment for material)
IM_ORG_UNIT (organizational unit)
CH_GOODS_RECEIPT_DO (goods receipt)

Incoming invoice

BAdI method: /AEB/WU_II_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_RBKP (incoming invoice document header in customer master)
IM_RSEGS (list of document items in incoming invoice)
IM_ORG_UNIT (organizational unit)
CH_GOODS_RECEIPT_DO (goods receipt)

Bill of materials

BAdI method: /AEB/WU_PL_CR_01 - before_standard_filling (modify the parameters for how the data is populated by default)
Parameters:

IM_STKO (BOM header)
IM_STPOS (list of bill of materials items)
IM_ORG_UNIT (organizational unit)
EX_WERKS (factory)
EX_MAST_STLAN (use of bill of materials)
EX_MBEW_BWKEY (valuation area)
EX_MBEW_BWTAR (valuation type)

BAdI method: /AEB/WU_PL_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_STKO (BOM header)
IM_STPOS (list of bill of materials items)
IM_ORG_UNIT (organizational unit)
CH_PARTS_LIST_DO (BOM header)

Purchase order

BAdI method: /AEB/WU_PO_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_EKKO (purchasing document header)
IM_STPOS (list of purchasing document items)
IM_ORG_UNIT (organizational unit)
IM_EXP_SESSION_ID (session ID)
CH_PURCHASE_ORDER_DO (purchase order)

Sales order

BAdI method: /AEB/WU_SO_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_VBAK (Sales document: header data)
IM_VBAPS (list of sales document: item data)
IM_ORG_UNIT (organizational unit)
IM_EXP_SESSION_ID (session ID)
CH_SALES_ORDER_DO (sales order)

Invoice

BAdI methode: /AEB/WU_INV_CR_01 - after_standard_filling (modify the data to be exported)
Parameters:

IM_VBRK (Invoice: header data)
IM_VBRPS (list of invoice: item data)
IM_ORG_UNIT (organizational unit)
IM_EXP_SESSION_ID (session ID)
CH_SALES_ORDER_DO (sales order)