Skip to Content
0
Former Member
Dec 13, 2011 at 10:35 PM

How to auto-press a button in MD48

75 Views

There is a button in MD48 labeled "All Plants". We have made a slightly modified version of MD48 called ZD48. Since it is a 'Z' version, we can make custom changes. When the screen appears, the users would like the "All Plants" button to be automatically pressed. How would I trigger this button in the ABAP code? The sy-ucomm value is ''%GC 120 1". This is handled by some event handler which figures out the function code of 'PLALL'. I've gone through it in debug mode and see what is happening, but am unsure of how to trigger such an event in ABAP. Your suggestion would be greatly appreciated. Thanks. -Mark