cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_MKT_ADR_SEARCH

Former Member
0 Kudos

Hi,

In order to change the behaviour of the marketing campaign execution, eg. the selection of the address ,

I should implement this BADI :

CRM_MKT_ADR_SEARCH

Now the problem is that even after putting some code in the two interface methods , The system doesn't seem to come trough the code that was added.

The Badi is active and the two methods are active and implemented :

SET_ADDR_SEARCH_PARAS

CHANGE_SEARCH_RESULTS

The filter for triggering the BADI has been activated as well on campaign execution AND Segment-Builder Subsequent Processing (Channel Transport) to make sure it is allways triggered, still the system doesn't break at my breakpoints in the BADI when I launch the file export campaign.

I even tried breaking in the CL_EXITHANDLER to see if and when the BADI is called, also with no result.

Could it maybe be that the BADI is called with another user?

Can anybody tell me if I am missing something...

Thanks,

Gert

Edited by: Gert Kix on Dec 20, 2009 1:44 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member206638
Participant
0 Kudos

Hi Gert,

Did you solve it? Could you share your experience? I´m going through the same.

Thanks, colleague.

Former Member
0 Kudos

Hi guys, the BADI runs in background when u are using CRM_UI. Hence, write an
To debug, add the code given below to ur BADI and go to SM66 and use debugging.

do.

if sy-subrc eq '123'.

exit.

endif.

enddo.

The debugger will enter ur BADI with the above code and hence you can debug and see the values.