来源资料待手动核验
My Ide Actions
My IDE Actions (Design Pattern, SELECT Converter, Code Snippts, Scoping, Consumption Model Fields)
项目简介
My IDE Actions (Design Pattern, SELECT Converter, Code Snippts, Scoping, Consumption Model Fields)
My IDE Actions (Design Pattern, SELECT Converter, Code Snippts, Scoping, Consumption Model Fields)
My IDE Actions (Design Pattern, SELECT Converter, Code Snippts, Scoping, Consumption Model Fields)
Since release 2502, there have been IDE Actions in the ABAP Environment. This makes it possible to write your own actions in the ABAP Development Tools. In this repository you will find a collection of different actions.
Currently, IDE Actions cannot be saved in Git, so the IDE Actions must first be created after installation. Here you will find all steps to create them.

| Object | Value |
|---|---|
| Package | Z_MIA_ACTIONS |
| IDE Action Name | Z_MIA_NEW_CLASS |
| Title | MIA: Create new class |
| Summary | Creates a new class with interface and optionally a factory and an injector for decoupling and testability. |
| Implementing Class | ZCL_MIA_NEWCLASS_ACTION |
| Input UI Configuration Class | ZCL_MIA_NEWCLASS_INPUT |
| Number of Focused Resources | One |
| Object Type (Filter) | DEVC |

| Object | Value |
|---|---|
| Package | Z_MIA_ACTIONS |
| IDE Action Name | Z_MIA_SELECT_CONVERTER |
| Title | MIA: Migrate SELECT statement |
| Summary | Migrates an Open SQL statement to ABAP SQL in the new notation and replaces tables with Core Data Services. |
| Implementing Class | ZCL_MIA_SELECTCONVERT_ACTION |
| Input UI Configuration Class | |
| Number of Focused Resources | One |
| Object Type (Filter) | CLAS |

| Object | Value |
|---|---|
| Package | Z_MIA_ACTIONS |
| IDE Action Name | Z_MIA_CODE_SNIPPETS |
| Title | MIA: Generate Code Snippet |
| Summary | Choose from various code snippets and increase your development speed. |
| Implementing Class | ZCL_MIA_CODE_SNIPPET_ACTION |
| Input UI Configuration Class | ZCL_MIA_CODE_SNIPPET_INPUT |
| Number of Focused Resources | One |
| Object Type (Filter) | BDEF; CLAS; DDLS; TABL |

| Object | Value |
|---|---|
| Package | Z_MIA_ACTIONS |
| IDE Action Name | Z_MIA_SCOPING |
| Title | MIA: Scope Launchpad |
| Summary | Scope Launchpad Space and Page template to be available in configuration and for role assignment. |
| Implementing Class | ZCL_MIA_SCOPING_ACTION |
| Input UI Configuration Class | ZCL_MIA_SCOPING_INPUT |
| Number of Focused Resources | At least One |
| Object Type (Filter) | UIPG; UIST |

| Object | Value |
|---|---|
| Package | Z_MIA_ACTIONS |
| IDE Action Name | Z_MIA_CONSUMPTION |
| Title | MIA: Consumption Model fields |
| Summary | Fill the fields from the Consumption Model of a specific structure. |
| Implementing Class | ZCL_MIA_CONSUMPTION_ACTION |
| Input UI Configuration Class | ZCL_MIA_CONSUMPTION_INPUT |
| Number of Focused Resources | One |
| Object Type (Filter) | DDLS |

| Object | Value |
|---|---|
| Package | Z_MIA_ACTIONS |
| IDE Action Name | Z_MIA_RAP_ANALYZER |
| Title | MIA: Analyze RAP Object |
| Summary | Analyze the RAP object and list all objects that contain to this object. |
| Implementing Class | ZCL_MIA_RAP_ANAYLZER_ACTION |
| Input UI Configuration Class | |
| Number of Focused Resources | One |
| Object Type (Filter) | SRVB |

| Object | Value |
|---|---|
| Package | Z_MIA_ACTIONS |
| IDE Action Name | Z_MIA_RAP_EXTENSION |
| Title | MIA: RAP Extension Assistant |
| Summary | Extend a RAP object via the different layers with a little assistant for the needed steps. |
| Implementing Class | ZCL_MIA_RAP_EXTENSION_ACTION |
| Input UI Configuration Class | ZCL_MIA_RAP_EXTENSION_INPUT |
| Number of Focused Resources | One |
| Object Type (Filter) | SRVB |

| Object | Value |
|---|---|
| Package | Z_MIA_METADATA |
| IDE Action Name | Z_MIA_RAP_EXTENSION |
| Title | MIA: Metadata Wizard |
| Summary | Generates the Metadata Extension configuration for an entity. |
| Implementing Class | ZCL_MIA_METADATA_ACTION |
| Input UI Configuration Class | ZCL_MIA_METADATA_INPUT |
| Number of Focused Resources | One |
| Object Type (Filter) | DDLX/EX |
Currently the following actions and features are included.
Creates a class and optionally the interface, factory and injector. Activate the action on a focused package, the information of the package name and prefix are generated. If the package is assigned to a transport, this transport is also proposed.

Interface , Factory and Injector are not mandatory, if you delete the string, the objects and dependencies are not created.
Converts a SELECT statement from classic Open SQL to ABAP SQL and exchanges the table access and fields through Core Data Services if they are released for ABAP Cloud. The basis is the SwH tool "ABAP Select Converter".

The SELECT must be marked, then the statement can be replaced.
It takes various code snippets from the GitHub repository and allows you to parameterize and insert them into the source code. Currently, various objects are supported.

Scope the Launchpad Content as Spaces and Pages that have been created with the ABAP Development Tools. More informations about scoping in this article.
为保持页面易读性,当前仅展示 README 的前半部分。请打开原始 README 阅读完整内容。