ABAP Editor(SE38/80) dynamic patterns


This post is about tooling around the ABAP workbench(SE80). You can speed up your development using dynamic patterns.

What are patterns?

Patterns are helper plugins in the ABAP workbench to help you generate a necessary call to various ABAP constructs like Methods, function modules, declarations etc.

Accessing Patterns:

Implicitly invoking them by opening them on the left side category and dragging and dropping them to your editor.
ABAP Editor/Workbench Implicit dynamic pattern
If you are on an ABAP 7.4+ system, It generates declarations for you too.
ABAP Editor/Workbench Implicit dynamic pattern 7.4
Or,

You can access them by clicking on the Pattern button on the ABAP editor in edit mode.

ABAP Editor/Workbench Explicit dynamic pattern

A popup appears, providing you with Options.

ABAP Editor/Workbench Explicit dynamic pattern pop up
Providing the same class and methods in the popup results in generated code.

ABAP Editor/Workbench Explicit dynamic pattern pop up with values
The output depends on which system you are.
ABAP 7.3:
ABAP Editor/Workbench Explicit dynamic pattern generated code



ABAP 7.4:
ABAP Editor/Workbench Explicit dynamic pattern generated code 7.4


In conclusion, 

ABAP dynamic patterns are a great way of speeding up and simplifying your day-to-day development effort even though they are not the only ones. They also have a way for you to add your own plugin which I will talk about in my next post: Abap Editor Custom Dynamic patterns.
Hope you like the post and that it helps you in your day to work.






Popular posts from this blog

ABAP read excel(.XLSX) file to internal table in ABAP using CL_FDT_XL_SPREADSHEET

ABAP convert internal table to excel (.xlsx) format and Send email or download

Application Logging in ABAP