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 / EXit for LS01n...

former_member462254
Participant
0 Kudos

Hello,

do we have any BADI / Exit while saving in LS01 / 02 N.

Regards,

Anoop

8 REPLIES 8

former_member201275
Active Contributor
0 Kudos

You can find this easily yourself:

1) Goto se24 (Display class cl_exithandler)

2) Double click on the method GET_INSTANCE.

3) Put a break point at Line no.25 (CASE sy-subrc).

Now

4) Execute LS01, and SAVE, or whatever button you want

5) the execution will stop at the break point.

6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.

7) This way you will find all the BADIs called on click of any button in any transaction

0 Kudos

Thanks for your valuable inputs...

i already processed the following process but still dont get any BADI / EXIT / ENHACEMENT during save.

Regards,

Anoop

Former Member
0 Kudos

Hi Anoop,

Try the fm BAPI_MATERIAL_SAVEDATA.

regards,

Ashvin

0 Kudos

Thanks Nanreshsing

but here i am looking for enhancement / badi / exit for LS01n / LS02N during save.

Regards,

Anoop

0 Kudos

Have a look into the document to find a badi or exit for a transaction code.

0 Kudos

Hello Dev,

Above link is very helpful...

but dont get any BADI for that.

Regards,

Anoop

0 Kudos

Hi Anoop,

If you have followed the above process mentioned and have not found any exit then my guess is there is non. Another option you can try is to create an enhancement spot in the program ML01SFFC form FC005, I guess the table gets updated in this form routine. You can code what ever you want before the SAVE is executed.

You can find lot of text on Enhancement in SDN. Please go through the same before you do anything.

Regards.

0 Kudos

Hello Dev,

I checked all the exits through CMOD using LSV package. But dont get solution there.

please suggest me any exit / badi for the same.

@Abhijit Dani

Thanks for your suggesstion......

and I am still looking for BADI / Exit/..

If i dont get any other solution.....will implement your provided solution

Rgards,

Anoop Singh Bhandari