The PATTERN button can be used in the ABAP editor to place code templates in your ABAP programs. One of the PATTERN options is the category Other. You can add your own patterns by including them in table TSE05.
Use SE16, table TSE05, add entries button. APP_OBJ should be 'ABAP' KEYWORD is the word you want to use to name a pattern POSITION is the line number within your pattern LINE is the text to be inserted when your pattern is selected For example, I created pattern CDF using the following entries: APP_OBJ = ABAP KEYWORD = CDF POSITION = 01 LINE = break folwelcd. To add more lines to your pattern, just keep incrementing the POSITION field. When you use the PATTERN button in the ABAP editor, select the OTHER option and enter your pattern name.