04-15-2009 10:30 AM
Hi
I am trying to implement a BADI - EXT_CO_ACTUAL_DATA for transaction KB21n. I have successfully implemented that. But I want to execute this via the BATCHMAN transaction.
Can anybody help me. I am new to this type of requirement.
Thanks in Advance
04-15-2009 2:36 PM
Hi,
DATA: lb_als TYPE REF TO EXT_CO_ACTUAL_DATA.
Create the instance for the badi which you want to implement ...using
CALL METHOD cl_exithandler=>get_instance
EXPORTING
null_instance_accepted = seex_false
exit_name = < > give your badi name CHANGING
instance = lb_als get the instance here
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
class_not_implement_interface = 4
single_exit_multiply_active = 5
cast_error = 6
exit_not_existing = 7
data_incons_in_exit_managem = 8
OTHERS = 9.
Next call the methods of that class which you want to use...
CALL METHOD lb_als...
Thanks,
Shailaja Ainala.
04-15-2009 2:36 PM
Hi,
DATA: lb_als TYPE REF TO EXT_CO_ACTUAL_DATA.
Create the instance for the badi which you want to implement ...using
CALL METHOD cl_exithandler=>get_instance
EXPORTING
null_instance_accepted = seex_false
exit_name = < > give your badi name CHANGING
instance = lb_als get the instance here
EXCEPTIONS
no_reference = 1
no_interface_reference = 2
no_exit_interface = 3
class_not_implement_interface = 4
single_exit_multiply_active = 5
cast_error = 6
exit_not_existing = 7
data_incons_in_exit_managem = 8
OTHERS = 9.
Next call the methods of that class which you want to use...
CALL METHOD lb_als...
Thanks,
Shailaja Ainala.
05-12-2009 2:32 PM
05-12-2009 2:33 PM
I wrote a report and then did call tranaction and called the batchman transaction....
Anyways, thanks a lot for help
05-21-2009 3:31 PM
This needs the bADI Implementation can anyone help me with BADI Implementation