Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BADI and BATCHMAN transaction

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member262988
Active Contributor
0 Kudos

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.

4 REPLIES 4

former_member262988
Active Contributor
0 Kudos

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.

0 Kudos

Thanks a lot.

Former Member
0 Kudos

I wrote a report and then did call tranaction and called the batchman transaction....

Anyways, thanks a lot for help

Former Member
0 Kudos

This needs the bADI Implementation can anyone help me with BADI Implementation