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 for ME28

Former Member

Dear Experts,

Will you please let me know a BADI for ME28 at the point of saving the data?

I need to track the EBELN.( Purchase Order Number) . Thanks in advance.

Regards,

Jeewana

1 ACCEPTED SOLUTION

former_member187748
Active Contributor

Hi Jeewana,

Go to SMOD --> click f4 on enhancement field >> enter ME in the package field and execute....

Here in the next window you can see the all user exits and can choose any as per your requirements...

I think you have to use user exit for the same purpose.

6 REPLIES 6

former_member187748
Active Contributor
0 Kudos

Hi Jeewana,

why not you use SE24, to see, which BADI you needs before saving in ME28.

Former Member
0 Kudos

Hi,

This is a reportRM06EF00, I guess difficult the find the BADI's!

better to know the exact requirement and what you want to do?

former_member187748
Active Contributor

Hi Jeewana,

Go to SMOD --> click f4 on enhancement field >> enter ME in the package field and execute....

Here in the next window you can see the all user exits and can choose any as per your requirements...

I think you have to use user exit for the same purpose.

nabheetscn
Active Contributor
0 Kudos

Hi Jeewana

What do you intend to achieve...?

Nabheet

0 Kudos

Hi Jeevana,

        Just Go to T-Code - SE 24. Enter the class CL_EXITHANDLER and Click Display.

Double Click GET_INSTANCE method and put a break point in the line


CALL METHOD cl_exithandler=>get_class_name_by_interface

Then run your transaction ME 28 and enter the necessary data and click save.

If any BADI is there, it comes in the debugger, i.e in the variable EXIT_NAME.

Then you can write your logic in the badi.

Hope you understand.

Warm Regards,

Nellai Muthu..

Former Member
0 Kudos

Check these:

  ME_RELEASE_CREATE

  ME_PROCESS_PO

Cheers,

Prakash