Skip to content

efeumutaslan/SAP-SKILLS / skills/sap-abap-advanced

sap-abap-advanced

Verified

Advanced ABAP development skill extending the base sap-abap skill. Use when working with ABAP Cloud (Tier 1) vs Classic (Tier 2), AMDP for HANA pushdown, abapGit workflows, released API checks, or RTTI/RTTC dynamic programming. If the user mentions ABAP Cloud, Steampunk, AMDP, abapGit, Tier 1/Tier 2 API, or classic-to-cloud migration, use this skill.

templates/tier2-wrapper-class.abap

View on GitHub
"! Tier 2 Wrapper Class Template
"! Purpose: Wraps non-released API for consumption by Tier 1 (ABAP Cloud) code
"! Replace: {{CLASSNAME}}, {{METHOD}}, {{PARAMS}}, {{NON_RELEASED_CALL}}
"!
"! Step 1: Create this class with language version "Standard ABAP" (Tier 2)
"! Step 2: Release it with C1 contract for ABAP Cloud consumers
"! Step 3: Consume from Tier 1 classes
CLASS {{CLASSNAME}} DEFINITION PUBLIC FINAL CREATE PUBLIC.
  PUBLIC SECTION.
    "! Release this interface for C1 consumption
    INTERFACES if_released_for_cloud.

    TYPES: BEGIN OF ty_result,
             key_field   TYPE {{KEY_TYPE}},
             value_field TYPE {{VALUE_TYPE}},
             status      TYPE abap_bool,
             message     TYPE string,
           END OF ty_result,
           tt_result TYPE STANDARD TABLE OF ty_result WITH EMPTY KEY.

    "! {{METHOD_DESCRIPTION}}
    "! @parameter iv_input | Input parameter
    "! @parameter rv_result | Result
    "! @raising cx_sy_no_handler | If operation fails
    METHODS {{METHOD}}
      IMPORTING iv_input        TYPE {{INPUT_TYPE}}
      RETURNING VALUE(rv_result) TYPE {{RETURN_TYPE}}
      RAISING   cx_sy_no_handler.
ENDCLASS.

CLASS {{CLASSNAME}} IMPLEMENTATION.
  METHOD {{METHOD}}.
    " This uses non-released APIs — allowed in Tier 2
    TRY.
        {{NON_RELEASED_CALL}}
      CATCH cx_root INTO DATA(lx_error).
        RAISE EXCEPTION TYPE cx_sy_no_handler
          EXPORTING previous = lx_error.
    ENDTRY.
  ENDMETHOD.
ENDCLASS.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall