Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sap-expert

БесплатноБез исполняемых скриптовНе проверен

Expert in SAP ERP systems, ABAP programming, SAP HANA, S/4HANA, Fiori applications, and SAP integration patterns including OData, RFC, and IDoc. Use when the…

personamanagmentlayerот personamanagmentlayer★ 46 звёзд на GitHub

Об этом скилле

SAP Expert

Core Concepts

SAP Ecosystem

  • SAP ERP - Enterprise Resource Planning suite (ECC, S/4HANA)
  • SAP HANA - In-memory database platform
  • SAP Fiori - Modern UX layer with responsive apps
  • SAP Business Suite - Finance, HR, Supply Chain, Manufacturing modules
  • SAP BTP - Business Technology Platform (cloud services)

ABAP Development

  • ABAP Objects - Object-oriented programming in ABAP
  • CDS Views - Core Data Services for data modeling
  • AMDP - ABAP Managed Database Procedures
  • ALV - ABAP List Viewer for reports
  • BAPIs - Business Application Programming Interfaces
  • RFCs - Remote Function Calls for integration

Integration Technologies

  • OData Services - RESTful APIs for SAP data
  • IDoc - Intermediate Documents for data exchange
  • SOAP/RFC - Web services and remote function calls
  • SAP PI/PO - Process Integration/Orchestration
  • SAP Gateway - OData and REST API framework

Implementation Examples

ABAP Report with ALV Grid

*&---------------------------------------------------------------------*
*& Report  Z_EMPLOYEE_REPORT
*&---------------------------------------------------------------------*
REPORT z_employee_report.

TABLES: pa0001.  " Organizational Assignment

TYPES: BEGIN OF ty_employee,
         pernr TYPE pa0001-pernr,
         ename TYPE pa0001-ename,
         orgeh TYPE pa0001-orgeh,
         plans TYPE pa0001-plans,
         stell TYPE pa0001-stell,
       END OF ty_employee.

DATA: gt_employee TYPE TABLE OF ty_employee,
      gs_employee TYPE ty_employee,
      go_alv      TYPE REF TO cl_salv_table.

SELECT-OPTIONS: s_pernr FOR pa0001-pernr.

START-OF-SELECTION.

  " Fetch employee data
  SELECT pernr ename orgeh plans stell
    FROM pa0001
    INTO TABLE gt_employee
    WHERE pernr IN s_pernr
      AND endda = '99991231'
      AND begda <= sy-datum.

  IF sy-subrc = 0.
    " Display ALV
    TRY.
        cl_salv_table=>factory(
          IMPORTING
            r_salv_table = go_alv
          CHANGING
            t_table      = gt_employee ).

        " Enable all standard functions
        go_alv->get_functions( )->set_all( abap_true ).

        " Optimize column width
        go_alv->get_columns( )->set_optimize( abap_true ).

        " Display
        go_alv->display( ).

      CATCH cx_salv_msg INTO DATA(lx_msg).
        MESSAGE lx_msg TYPE 'E'.
    ENDTRY.
  ELSE.
    MESSAGE 'No data found' TYPE 'I'.
  ENDIF.

CDS View with Associations

@AbapCatalog.sqlViewName: 'ZSALESORDERV'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Sales Order with Customer'

define view Z_SalesOrder
  as select from vbak as SalesOrder
  association [1..1] to kna1 as _Customer
    on $projection.CustomerId = _Customer.kunnr
{
  key SalesOrder.vbeln as SalesOrderId,
      SalesOrder.erdat as CreatedDate,
      SalesOrder.erzet as CreatedTime,
      SalesOrder.ernam as CreatedBy,
      SalesOrder.kunnr as CustomerId,
      SalesOrder.netwr as NetValue,
      SalesOrder.waerk as Currency,

      // Associations
      _Customer
}
where SalesOrder.vbtyp = 'C'  // Sales order

OData Service Implementation

CLASS zcl_odata_employee_dpc_ext DEFINITION
  PUBLIC
  INHERITING FROM zcl_odata_employee_dpc
  CREATE PUBLIC.

  PUBLIC SECTION.
    METHODS /iwbep/if_mgw_appl_srv_runtime~get_entityset
      REDEFINITION.
    METHODS /iwbep/if_mgw_appl_srv_runtime~get_entity
      REDEFINITION.
    METHODS /iwbep/if_mgw_appl_srv_runtime~create_entity
      REDEFINITION.

ENDCLASS.

CLASS zcl_odata_employee_dpc_ext IMPLEMENTATION.

  METHOD /iwbep/if_mgw_appl_srv_runtime~get_entityset.

    DATA: lt_employees TYPE TABLE OF zcl_odata_employee_mpc=>ts_employee,
          ls_employee  TYPE zcl_odata_employee_mpc=>ts_employee.

    CASE iv_entity_name.
      WHEN 'EmployeeSet'.

        " Apply filters from URI
        DATA(lt_filter) = io_tech_request_context->get_filter( )->get_filter_select_options( ).

        " Fetch data
        SELECT pernr, ename, orgeh, plans
          FROM pa0001
          INTO CORRESPONDING FIELDS OF TABLE lt_employees
          WHERE endda = '99991231'
            AND begda <= sy-datum.

        " Return data
        copy_data_to_ref(
          EXPORTING
            is_data = lt_employees
          CHANGING
            cr_data = er_entityset ).

    ENDCASE.

  ENDMETHOD.

  METHOD /iwbep/if_mgw_appl_srv_runtime~create_entity.

    DATA: ls_employee TYPE zcl_odata_employee_mpc=>ts_employee,
          ls_pa0001   TYPE pa0001.

    " Get payload
    io_data_provider->read_entry_data(
      IMPORTING
        es_data = ls_employee ).

    " Create employee record
    ls_pa0001-pernr = ls_employee-pernr.
    ls_pa0001-ename = ls_employee-ename.
    ls_pa0001-begda = sy-datum.
    ls_pa0001-endda = '99991231'.

    " Call BAPI to create employee
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
      EXPORTING
        number = ls
Полный SKILL.md на GitHub

Установить sap-expert в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Bash
WebSearch

FAQ

Что делает скилл sap-expert?

Expert in SAP ERP systems, ABAP programming, SAP HANA, S/4HANA, Fiori applications, and SAP integration patterns including OData, RFC, and IDoc. Use when the user mentions ERP, enterprise, business apps, ABAP, HANA, or S/4HANA, or when the task involves SAP Ecosystem, ABAP Development, Integration Technologies, or ABAP Report with ALV Grid.

Как установить скилл sap-expert?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sap-expert запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sap-expert с