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: 

Screen Exit for IW32

Former Member
0 Kudos

Hi,

I have to change the main screen of IW32 and add a button adjacent to the Status and Complete(business) buttons on the screen of IW32 where a work order is changed.

I have found 2 FMs while searching for a scrreen exit under the BADI IWO10018 :

EXIT_SAPLCOIH_018 PM Order: User Fields for Order Header P

EXIT_SAPLCOIH_019 PM Order: Customer Enhancement for User

But i am not sure whether the screen number mentioned is the same as I want.

Please help me and let me know if i am using the proper screen exit.

Thanks,

Anand.

1 REPLY 1

Former Member
0 Kudos

Hi Anand,

You can check it this way:

Go to transaction SE24, class CL_EXITHANDLER and method GET_INSTANCE. Inside this method place a break point in this method 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.

Now go to IW32 and run the transaction, and if it stops check whether the exit_name value (under CHANGING) is the same as the BADI name you found. If it's, then that BADI is called and you can implement it in SE19.

Regards,

Lim...