on 04-12-2011 6:00 PM
Hi,
I am updating the status of Product in CRM using BADI - PRODUCT_CUSTOMER2 (R3_TO_CRM_MATERIAL). This happend when the status is updated in ECC (MM02).
Now the problem is, I want to debug this BADI, when the material is updated in MM02.
Could you please help me, how can I debug this BADI.
Thanks,
Sandeep
Hello Sandeep,
Please check below general steps to debug the delta download of ECC material.
in R/3
Set a break point in the function module CRS_MATERIAL_COLLECT_DATA (BTE Implementation)
Create/Change the material in R/3 by using transaction MM01 or MM02 and press save button.
Now you can debug the function module CRS_MATERIAL_COLLECT_DATA
in CRM (inbound queue)
Deregister the inbound queue R3AD_MATRIA* in transaction SMQR
Go to the transaction SMQ2 select the inbound queue and debug the queue
Set a break point on the mapping function module: COM_MAP_BAPIMTCS_TO_PROD_MAT
for validation debugging Set a break point on the validation function module: COM_PRODUCT_MAT_VALIDATE
I am sorry that I do not know where BADI PRODUCT_CUSTOMER2 is called.
Hope the baove information could be helpful.
Best regards,
Maggie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is the flow how the BADI PRODUCT_CUSTOMER2 gets triggered.
FM : COM_MAP_BAPIMTCS_TO_PROD_MAT
Form : MAP_BAPIMTCS_TO_MBDOC
Form : MAP_DATA_AND_SET_UP_DTYPE
Form : MAP_CUSTOMER_DATA
In MAP_CUSTOMER_DATA we call the BADI.
Thanks Maggie for the help. It helped me to start my investigation.
Regards,
Madhav.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.