‎2006 Mar 21 3:18 PM
Hi everyone
Does anybody know if it is possible (and if so how) to create statements for the 'Other' option in the dialog displayed by the 'Pattern' button in the Object Navigator? I hope the question makes sense!
Kind regards
Andy
‎2006 Mar 21 3:57 PM
‎2006 Mar 21 3:57 PM
‎2006 Mar 21 3:58 PM
Hi
click the pattern button in the
ABAP editor (menu path edit --> insert statement...). In the popup, click
the "other pattern" radio button and then the drop-down for a list of
patterns. The first 20 or so in the list are references to the other
patterns in the popup, but the last few are the custom ones:
<u><b>DOCU_BLOCK</b></u> - this copies a blank beginning documentation block into your
program.
<u><b>FIND MESSAGE</b></u> - this calls the find message routine which allows you to find
a message easily and copy it into your program.
<u><b>SELSCREEN_BLOCK</b></u> - This copies a block of selection screen code into your
program.
I find these patterns useful when I write code.
If you want to create your own patterns, here's how:
menu utilities --> more utilities --> edit pattern --> create pattern.
Type in the code you want to use as a pattern.
Save it and back out. That's it! One word of caution - don't create
patterns with the same name as one in the list - they'll both be there and
you won't know which is which.
Thanks
Sudheer
‎2006 Mar 21 4:04 PM
Thanks guys - that should help to alleviate some of the tedium!
Andy