cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI for Duplicate material Validation in BOM apps?

SAPSupport
Employee
Employee
0 Kudos
401

 

We are implementing validation process to prevent the inclusion of duplicate materials in our Bill of Materials (BOM).

 

For validation purpose we are using BOM_BEFORE_SAVE Badi. Currently Validation are working for Alternative 1 & 2 BOM. We required for individually (If Alternative 1 is change mode or Alternative 2 is change mode).

 

How do we do a validation check at alternative BOM Level 1 or 2 and not both ?

 


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

Please use the new BADI BOM_BEFORE_UPDATE

The BAdI processes each BOM header or item individually, meaning it only considers the specific BOM header or item being created or changed. If multiple BOM headers or items need to be changed, the BAdI is called separately for each instance. For example, if a BOM contains three BOM items and all three are changed, the BAdI is called three times, once for each BOM item update. Similar, is the case for BOM headers.

Answers (0)