‎2008 Mar 01 2:27 PM
Hi Friends,
Does anybody know how to create a specific pattern to be used with the "Pattern" feature in abap workbench?
Thank you,
Vikram.C
‎2008 Mar 01 2:30 PM
Hi Vikram,
Try this way
1.se38>change>Utilities -> More Utilities -> Edit Pattern -> Create Pattern
2.Enter the name of the pattern and press enter
3.After enterting your pattern and press SAVE
4.For apply this pattern in your program, press Pattern -> Other patterns and enter your pattern name.
View the NEW Abap Editor presentation in this link https://www.sdn.sap.com/irj/sdn/abap-elearning.
Thank you,
Srini.S
‎2008 Mar 01 2:30 PM
Hi Vikram,
Try this way
1.se38>change>Utilities -> More Utilities -> Edit Pattern -> Create Pattern
2.Enter the name of the pattern and press enter
3.After enterting your pattern and press SAVE
4.For apply this pattern in your program, press Pattern -> Other patterns and enter your pattern name.
View the NEW Abap Editor presentation in this link https://www.sdn.sap.com/irj/sdn/abap-elearning.
Thank you,
Srini.S
‎2008 Mar 01 2:30 PM
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.
Code
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.
regards.
santhosh reddy
reward if useful