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 migrated to enhancement SPOT.

Former Member
0 Kudos
1,722

Hi All,

I am working on BADI 'ME_PROCESS_PO_CUST'.When i am implementing this BADI.It is giving the information message like BADI migrated to Enhancement spot.

Is it possiable to implement this BADI.I want to check the condition in the item level.

Can anybody expalin what does it mean.

Thanks,

Swapna.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
379

Yes it is possible to implement the BAdi.

It will ask you to create an enhance implementation. Create a new Z## enhance implementation when you get a pop up. Select the Z## enahancement you have created.

It will allow you to create implementation of the BADI.

Let me know if you have any issue.

8 REPLIES 8

Former Member
0 Kudos
380

Yes it is possible to implement the BAdi.

It will ask you to create an enhance implementation. Create a new Z## enhance implementation when you get a pop up. Select the Z## enahancement you have created.

It will allow you to create implementation of the BADI.

Let me know if you have any issue.

Former Member
0 Kudos
379

Hello,

This BADI is not triggereing when i press enter in the item level.

I am checking bade if purchase doc type is 'XX' and the acc assigment category is 'YY'.

then i need to enter the information message.I am writing this BADI.

But this BADi is not triggereing.What would be the probelm

Thanks,

swapna

0 Kudos
379

Hi Swapna,

Check if the BADI is being called by puting a break point in method GET_INSTANCE of class CL_EXITHANDLER.

Put a break point on

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.

Parameter exit_name will contain the exit names.

and check whether your implemenation is active.

Former Member
0 Kudos
379

Hi surender,

I put the breakpoint in the class.But this BADI is not at all triggereing.

Thanks,

Swpana

0 Kudos
379

Let me know your requirement and ERP version so that i can suggest you some exit or a BADI which meets you requirement.

award points if useful

Regards,

Surender

Former Member
0 Kudos
379

Hi surender,

I am working on ECC6.0 version.

Please suggest me any badi or exit.

Thanks,

Swapna

0 Kudos
379

Swapna,

I need to know your requirement, I understand that you are working with PO processing but I need to know the scenario.

Place a break point in the class cl_exithandler to know which BAdi is triggered (as mentioned earlier)

Former Member
0 Kudos
379

Hi Surender,

My problem was solved.I found the user exits according to my requirement.

It is working noe pwer fectly.

Thanks for your help.

Thanks,

Swapna.