Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Workbench Pattern

Former Member
0 Likes
492

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
432

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

2 REPLIES 2
Read only

Former Member
0 Likes
433

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

Read only

SantoshKallem
Active Contributor
0 Likes
432

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