Skip to Content


We generally have certain pattern to be followed in our company while coding.

Each time typing all these text at certain position is just headache…….SAP has provided creating pattern functionality.

Here you go:-

From transaction SE38 follow the menu path as shown in the screen shot and click on Create pattern submenu

Note: You can change, display or delete a pattern from the same menu path as shown here.


Next enter the pattern name.


Now in the next screen enter the pattern content that you want to define and press save button.

Mainta3 (1).jpg

Now go back to the program editor and press pattern button for inserting the newly created pattern in the program.


In the next popup screen choose the Other pattern radio button and press enter.


Now from the generated list double click on the pattern that we have created above.

Mainta6 (1).jpg

Pattern content will be inserted in the program.


To report this post you need to login first.


You must be Logged on to comment or reply to a post.

    1. Former Member

      Mehmet, I would like to point out that your link requires a dot at the end of the URL:

      The idea is as simple as useful: For a pattern named Z_MY_PATTERN, a function module Z_MY_PATTERN_EDITOR_EXIT (i.e. with suffix _EDITOR_EXIT) will be called which can be used to query user input and generate code on base of this input.

      Here another example (generate class implementation from class definition), where I exploited the technique which I came to know from your Wiki:

      Kind regards,



Leave a Reply