cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug "BBP_CTR"

Former Member
0 Kudos

HI:

I have debugged the Badi "BBP_DETERMINE_LOGSY" and "BBP_CTR_BE_CREATE" in SRM.But I do not know how to debup "BBP_CTR" and when it will be triggerred.Does anyone can help me.

TKS.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Firstly in SRM , based on the User ,you can determin the Plant to whcih he belongs using FM "BBP_READ_ATTRIBUTES".

Then you can write a REMOTE enabled FM in R/3 (wherein u can query the tables T001w and T001k based on the retrievd plant value).You can refer the FM RM_COMPANYCODE_FIND in R/3.

All the best.

Please award the point if it help.

BR,

Vijay Mittal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Which R/3 version are you using ?

The IDoc gets created when the relevant function module in this case gets triggerred, before calling this BADI - BBP_CTR in the R/3 backend system.

Please read the standard BADI - BBP_CTR documentation in this case for more details.

<u>Put a break-point in the function module BBPV_CONTRACT_TRANSFER

in the R/3 back end system.</u>

<b>The FUNCTION module bbpv_contract_transfer is intended to

create/change MM Purchasing Contracts and MM Scheduling Agreements via the IDOC BLAORD03 and the corresponding pricing information via the IDOC COND_A02</b>

Hope this will help.

Regards

- Atul