sap-abap

Solid

This skill handles all SAP ABAP development tasks: writing and debugging reports, function modules, classes, BAdIs, enhancement spots, user exits, ALV, SmartForms, Adobe Forms, CDS views, RAP (RESTful ABAP Programming Model), OData services, ABAP Unit testing, performance analysis, short dump resolution, and Clean Core migration planning. Use when user mentions ABAP, SE38, SE24, SE11, SE19, BAdI, enhancement, user exit, CDS, RAP, OData, short dump, ST22, SM21, performance, ALV, SmartForm, Adobe Form, function module, class, method, clean core, S/4HANA extension, ATC, ABAP Unit.

AI & Automation 17 stars 6 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
42
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

## 1. Environment Detection Ask before writing any code: ``` □ ABAP release? (7.02 ECC / 7.40 / 7.50 / 7.57 S/4HANA 2023) □ Clean Core required? (on-premise CBO allowed vs BTP side-by-side only?) □ Package / naming convention? (Z* / Y* prefix, package structure) □ Transport landscape? (DEV → QAS → PRD, how many systems?) □ S/4HANA deployment? (on-premise / RISE / Cloud PE — affects what's allowed) ``` --- ## 2. Enhancement Framework — Decision Table | Scenario | Recommended Approach | Notes | |----------|---------------------|-------| | Classic user exit exists | SMOD / CMOD | ECC only — avoid in new S/4HANA dev | | BAdI definition exists | New BAdI (SE19 / GET BADI) | All releases — preferred approach | | No exit/BAdI, on-premise | Enhancement Spot (SE18/SE19) | CBO allowed on-premise | | S/4HANA Clean Core / Cloud PE | BTP side-by-side extension (RAP + Events) | No on-stack modifications | --- ## 3. Code Patterns with Full Examples ### New BAdI (All Releases — Preferred) ```abap " Step 1: Find BAdI via SE19 or BADI Explorer (SPRO) " Step 2: Create enhancement implementation " Step 3: Implement interface method DATA lo_badi TYPE REF TO badi_name. GET BADI lo_badi. CALL BADI lo_badi->method_name EXPORTING iv_input = lv_value IMPORTING ev_output = lv_result. ``` ### ALV — OO Approach (Recommended Over REUSE_ALV_GRID_DISPLAY) ```abap DATA: lo_alv TYPE REF TO cl_salv_table, lt_result TYPE TABLE OF your_structure. " ... populate lt_result ... TRY. ...

Details

Author
BoxLogoDev
Repository
BoxLogoDev/sapstack
Created
4 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

sap-abap

Comprehensive ABAP development skill for SAP systems. Use when writing ABAP code, working with internal tables, structures, ABAP SQL, object-oriented programming, RAP (RESTful Application Programming Model), CDS views, EML statements, ABAP Cloud development, string processing, dynamic programming, RTTI/RTTC, field symbols, data references, exception handling, or ABAP unit testing. Covers both classic ABAP and modern ABAP for Cloud Development patterns.

414 Updated 4 days ago
secondsky
AI & Automation Listed

sap-se19

Full lifecycle for SAP BAdI implementations via SE19 (BAdI Builder) using SAP GUI Scripting: Create, Update, Display, Delete, Activate, and Deactivate — for BOTH Classic BAdIs (SXS_ATTR / SXC_*) and New BAdIs (Enhancement Framework / BADI_IMPL). Auto-detects the BAdI type via RFC (SXS_ATTR-EXIT_NAME for Classic, BADI_IMPL-BADI_NAME for New); asks the user when a migrated BAdI is genuinely ambiguous (e.g. MB_MIGO_BADI, ME_PROCESS_PO_CUST). For Create the user supplies a BAdI DEFINITION / enhancement-spot name; for all other operations the user supplies a BAdI IMPLEMENTATION name. Implementing-class work (method source, class create/activate) is delegated to /sap-se24; package reassignment is delegated to /sap-change-package. NEVER deletes a BAdI definition or any implementation it did not create. Prerequisites: Active SAP GUI session (use /sap-login first). SAP NCo 3.1 (32-bit) for the RFC type-detection step.

7 Updated today
sapdev-ai
API & Backend Listed

abap-code-patterns

ABAP development patterns and best practices — BAPI/RFC, dynamic programming, Clean ABAP, DDIC design, exception handling, BAL logging, ABAP OO. Use when writing, reviewing, or refactoring ABAP code; implementing ZROUTER handlers.

0 Updated 3 weeks ago
williamcorrea23