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 enhancement name

Former Member
0 Kudos

Hi ,

In TCODE : ME51N , after entering the account assignment category and item category we find another screen for entering the service number but here we need to validate the service number for right combination.

So Please let me know badi name or exit name for service number validation.

Regards

Alok

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos

badi ME_PROCESS_REQ_CUST method check

customer exit - EXIT_SAPLMEREQ_009

4 REPLIES 4

kesavadas_thekkillath
Active Contributor
0 Kudos

badi ME_PROCESS_REQ_CUST method check

customer exit - EXIT_SAPLMEREQ_009

0 Kudos

Hi Keshav,

Thanks for giving response, but can you tell what is the method name in badi where we can find the service number field value.

Regards

Alok

Former Member
0 Kudos

Hi alok,

Can you do one thing

Go to transaction SE24, class name CL_EXITHANDLER, go to methods, double click on method GET_INSTANCE.

Set a break point at

CALL METHOD cl_exithandler=>get_class_name_by_interface

EXPORTING

instance = instance

IMPORTING

class_name = class_name

CHANGING

exit_name = exit_name

EXCEPTIONS

no_reference = 1

no_interface_reference = 2

no_exit_interface = 3

data_incons_in_exit_managem = 4

class_not_implement_interface = 5

OTHERS = 6.

CASE sy-subrc.

Now excecute ME51n,after entering the service number check whether your control is breaking here or not, if so note those BAdi names, and go through the methods of each, if your service number is available in the interface then you can validate the same.

You have to note here one thing,. if your service number is a customer specific/not a standard filed , then you have to check for

such BADis.

Thanks and regards,

Antony Thomas

Former Member
0 Kudos

ok