Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Implementing BADI BDCP_BEFORE_WRITE

Former Member
0 Likes
2,162

Dear Experts,

I have implemented BADI BDCP_BEFORE_WRITE for a message type /SAPSLL/CREMAS_SLL.

I have also added code to the method FILTER_BDCPV_BEFORE_WRITE.

I have also placed a break point inside the implmented method. But at runtime I am unable to stop at the break point.

At runtime I found that the class name associated to BADI at run time was found to be CL_EXM_IM_BDCP_BEFORE_WRITE(example class) and not ZCL_IM__BDCP_BEFORE_WRITE which I have used to implement.

Also, the update debugger is on.

Why does the system not halt at the breakpoint inside the implemented method?

Regards,

Jiten

2 REPLIES 2
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
949

This BADI is a filter dependent type .It will get trigger for a particular Message type and it can have only oneimplementation active please check howmany are active in your case.

thanks

Nabheet

Read only

949

Hi Nabheet,

Thanks for your reply.

Yes. There is only one active BADI for a particular filter condition. Actually the change pointer was not activated for the required message type(which was also filter condition) and hence I was having the problem.

After activating the change pointers I am now able to halt at the breakpoint in the required method.

Thanks,

Jiten