Make an exit via Badi but the system not entry inside. Why ?

Hello,
Inside a function module a make an exit via a badi. Following the code:
  es_addr = wa_addr.
  TRY.
      CALL BADI go_badi_address->exit_get_address
        EXPORTING
          im_partner   = i_partner
          im_adr_no    = i_adr_no
          im_date_from = i_date_from
          im_date_to   = i_date_to
          im_applk     = i_applk
        CHANGING
          es_addr      = es_addr.
    CATCH cx_badi_initial_reference .
    CATCH cx_sy_dyn_call_illegal_method.
  ENDTRY.
ENDFUNCTION.
The badi is implemented and active, and when the system pass, not entry inside!!
When the system arrive at line  'TRY', sy-subrc = 4 and jump to ENDTRY without entry in the badi.
Do you have any idea ? What's I have to check ?
Thakns and regards,
Roberto.

other information:
  DATA: go_badi_address TYPE REF TO zaink_badi_address.
and I call:
  TRY.
      CALL BADI go_badi_address->exit_get_address
        EXPORTING
          im_partner   = i_partner
          im_adr_no    = i_adr_no
          im_date_from = i_date_from
          im_date_to   = i_date_to
          im_applk     = i_applk
        CHANGING
          es_addr      = es_addr.
    CATCH cx_badi_initial_reference .
    CATCH cx_sy_dyn_call_illegal_method.
  ENDTRY.
se18 -> badi-name: ZAINK_BADI_ADDRESS
If I click on implementation I come to:
badi implementation: Z_BADI_CREATE_BUPA_FOR_AGENCY
and than:
implementation class: ZCL_BADI_CREATE_BUPA_AGENCY with method: ZIF_AINK_ADDRESS~EXIT_GET_ADDRESS
The interface is:ZIF_AINK_ADDRESS
limited filter use is empty.

Similar Messages

Maybe you are looking for