Application Development and Automation 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: 
Read only

Insert Menu exit

Former Member
0 Likes
299

Hi!!!

I have a requirement on like inserting push botton or something like that of menu exit in the transactions VA01 and VA02.

Thanks.

KAren

1 REPLY 1
Read only

Former Member
0 Likes
275

Hi Ana,

First of all, you need to add a push button in the menu or in the screen of the transaction?. If you are refearing to the second option, what you need is to find for a screen enhancement or a BADI.

I quickly search for and enhancement and didn't found any that permits the adittion of elements to the screen, but you can make a deep search or try to find a BADI that enable you to do that.

If you wanna search for BADIs, you can follow this method:

Goto SE80 transaction and select the class/interface CL_EXITHANDLER, then you have to select the Get_Instance method and put a break-point in the following call:

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.

the value of exit_name will give you the name of the BADI that is been call from the transaction.

Note: This method will show you every Badi that is being activated since you put the break-point.

Regards,

Eric

Reward points if it was useful