Skip to Content
0
Former Member
Dec 09, 2009 at 12:49 PM

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

44 Views

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.