It depends on where the focus is (on which window, i.e. in a SAP GUI screen, there are pure SAP GUI elements, and there are "containers" for containing any Windows GUI control). If the focus is on the Word document, then Ctrl+P is handled by the Word software. But with SAP DOI, you can disable menu items the Office application, by using the method DELETE_MENU_ITEM (of interface I_OI_DOCUMENT_PROXY). I guess that removing the Print menu item, it would also disable the Ctrl+P keys assigned to it, and I hope Ctrl+P will then be handled by the SAP GUI (so, by your ABAP program).
PS: I never tried, so I can't tell you how and whether it works.
Hi,
have you checked the GUI_STATUS of your program or function group?
Here you can define also "Function keys" and maybe you can define another function here for the combination CRTL+P.
Add comment