cancel
Showing results for 
Search instead for 
Did you mean: 

Implement BBP_DOC_CHANGE_BADI or BBP_DOC_SAVE_BADI?

Former Member
0 Kudos

Hi All,

My Requirement: While creating SC if user has selected a Product Category: Tools (say) for a line item, then other line items must be of same product category ‘Tools’. If User has selected different Product Category then I have to give an error. This is only in the case for a Particular Product Category because for that Product Category we have maintained separate Org structure to get the approvers from the BBP_WFL_APPROV_BADI.

Please give me suggestion how to implement this scenario?

My understanding is : BBP_DOC_CHANGE_BADI is already implemented for Bus2121 filter. We need to write the logic in this Badi. Or else go for BBP_DOC_SAVE_BADI.

For my SC : BBP_DOC_CHANGE_BADI, BBP_DOC_SAVE_BADI, BBP_WFL_APPROV_BADI all are active.

Deadline is very close. Please Guys share some experience 

Thanks & Regards,

Ashwani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You need to implement the BADI "BBP_DOC_CHECK_BADI".Check the value of the product category for each line item and if the mismatch happens,display the appropriate error message on the screen.

See these related links:

For Sample code of BBP_DOC_CHECK_BADI

BR,

Disha.

Do reward points for useful answers.

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks alot Disha for your quick response.

Thanks & Regards,

Ashwani