cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement the badi BBP_DOC_CHECK_BADI??

Former Member
0 Kudos

Hello everyone,

I'm working with SRM 5.0. I need to validate that the contract or bid invitation's Target Value is the same that the sum of all items' Target Values in the contract or bid invitacion. To do the validation, somebody told me I have to implement the badi BBP_DOC_CHECK_BADI, but I really don't know how.

Does anybody know how to implement that badi??

Thanks

Iván Moreno

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can use the BADI BBP_DOC_CHECK_BADI to check for the total value of all the line items and ifthere is a mismatch ,can throw the corresponding error message.

Use FM BBP_PD_SC_GETDETAIL to get the SC deatils(price in ur case).Pass the GUID to this FM and get the price for each line item check the total price.Hope this helps.

BR,

Disha.

Pls reward points for helpful answers

Former Member
0 Kudos

Hi Ivan,

I have implemented at SRM 4.0 succeding with the related task, so probably this will help you...

1. Go to SE19 and create a Z_BBP_DOC_CHK_BADI,

2. Definition name: BBP_DOC_CHECK_BADI

3. <attributes tab> add your Implementation Short text

4. <attributes tab> add the following filters:

- BUS2200 BID

- BUS2000113 contract

5. <interface tab> Enter BBP_DOC_CHECK method (transport request prompt):

- Checkout the signature... there you will find all the parameters that comes with the BAdi execution, like:

- VALUE( IV_DOC_GUID ) (with this GUID you can call BBP_PD_*_GETDETAIL and check everything that you want to check there... where * means CTR or BID...

Hope this helps you.

Kind regards,

Gerardo.

PS. plz post reward points