2008 Jul 22 7:34 AM
2008 Jul 22 7:36 AM
Hi Rakesh More,
Yes, Definitely you can. No doubt about that.
Regards,
Mahi.
hi,
can we call a badi inside a user exit?
Thanks,
Rakesh.
2008 Jul 22 7:36 AM
Hi Rakesh More,
Yes, Definitely you can. No doubt about that.
Regards,
Mahi.
2008 Jul 22 7:37 AM
2008 Jul 22 7:39 AM
2008 Jul 22 7:44 AM
hi,
yes you can call a BADI in user exit.
first create a BADI and
give the following code in the zinclude for the exit.
data:zif type ref to zif_ex_badi_xd01. ''BADI class
call method cl_exithandler=>get_instance
exporting
exit_name = zbadi_xd01 ''badi name
changing
instance = zif.
if sy-subrc = 0.
call method
instance = zif
class = zif_ex_badi_xd01
method = badi_sapmf02d_001
call method zif->badi_sapmf02d_001
exporting
i_kna1 = i_kna1
endif.
reward points if useful
siri
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |