Skip to Content
author's profile photo Former Member
Former Member

Implement BBP_DOC_CHANGE_BADI or BBP_DOC_SAVE_BADI?

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2008 at 06:44 PM

    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:

    bbpdoccheckbadi

    cost-center

    error-message-control-for-invoice-wo-po-in-srm

    For Sample code of BBP_DOC_CHECK_BADI

    error-message-control-for-invoice-wo-po-in-srm

    problem-with-bbpdoccheckbadi

    BR,

    Disha.

    Do reward points for useful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 09:44 AM

    Thanks alot Disha for your quick response.

    Thanks & Regards,

    Ashwani

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.