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

Why Check BADI

Hi all,

Why do we need to activate the check BADI and Change BADI for Purchase Order?

Alerady in SRM check and change button ,could you please give me some eg?

Thanks and regards

Harish shetty

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 09:46 AM

    Thanks for the reply.

    "Example of CHANGE BADI can be: Update the price of shopping cart item with the contract price".

    In this case how this BADI helps.Any way once we pick the contract, line item price will be automatically copied to shopping cart right?

    Can you please give some clearity here?

    Thanks and regards

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Harish,

      As of standard SRM, User enters the estimated price of the item in shopping cart, even if a contract exists for that material the price is not updated automatically with the contract price in shopping cart. Approval happens on the this estimated price. Though when it will result in a PO it will take the price from contract. So, one of business requirement will be to update the price of the item with contract price.

      There are quite a few used cases for change BADI, just search the forum with CHANGE_BADI.

      Hope this helps.

      Thanks

      Ashutosh

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2009 at 10:51 AM

    Hi Harish,

    Check BAdI is used to raise any custom messages you may want which is not available in the standard. You can do certain validations and raise an error or warning message.

    Using BAdI BBP_DOC_CHECK_BADI, you can carry out your own checks for the document data after you have entered the user and before you save the document to the database. You cannot change any data.

    Ex: You can check the price fields and raise an error message if it is unfilled saying price cannot be zero.

    Similarly DOC_CHANGE_BADI to make changes to the document, after user entry and before saving the document to the database. These changes are subject to the document-specific checks.

    Eg: You can fill the values in a field depending on the values present in another field or u can set a default value for particular fields.

    Hope this Helps.

    Thanks,

    Pradeep

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2009 at 11:55 AM

    Hi ,

    Could you please give me any other example for Change BADI

    Thnx

    Harish shetty

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Harish,

      Example of CHANGE BADI can be: Update the price of shopping cart item with the contract price.

      Changes are subject to the document-specific checks. Basically you want to change the value of some specific fields based on the entry by the user.

      The parameter FLT_VAL acts as a filter value that assigns the BAdI implementation to a particular document type. You can use the BAdI to change the following documents:

      Shopping cart (filter value BUS2121 - shopping cart EC), Purchase order , Confirmation,

      Invoice, Bid invitation, Bid, Auction, Contract, Purchase order response, SUS purchase order

      SUS purchase order response, SUS confirmation, SUS shipping notification

      Hope this helps.

      Thanks

      Ashutosh

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 09:45 AM

    Hi Ashuthosh,

    Thanks for the reply.

    "Example of CHANGE BADI can be: Update the price of shopping cart item with the contract price".

    In this case how this BADI helps.Any way once we pick the contract, line item price will be automatically copied to shopping cart right?

    Can you please give some clearity here?

    Thanks and regards

    Hareesha

    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.