rap-business-events

rap-business-events is a skill for Claude Code from likweitan/abap-skills. It costs 142 tokens per session (2,062 once invoked), scanned A, original, MIT.

A guide to RAP business events, notifications raised by SAP’s RESTful ABAP Programming model when important business changes happen.

In plain words
What is it for?
It helps define and raise events in RAP applications, connect them to SAP Event Mesh, publish them for other systems, and consume them as an event producer or consumer.
Why use it?
It helps separate systems react to business changes without having to repeatedly ask another system whether something changed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sap-abap plugin — 18 skills shipped together

Good fit It helps define and raise events in RAP applications, connect them to SAP Event Mesh, publish them for other systems, and consume them as an event producer or consumer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/likweitan/abap-skills/rap-business-events
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add likweitan/abap-skills --skill rap-business-events
Clone the repo
git clone --depth 1 https://github.com/likweitan/abap-skills

Made for: Claude Code.

Or install sap-abap, the plugin that ships this one along with the rest of its 18 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rap-business-events

README.md
[![agentmods](https://agentmods.dev/badge/skills/likweitan/abap-skills/rap-business-events/github.svg)](https://agentmods.dev/skills/likweitan/abap-skills/rap-business-events)
Your own site
<a href="https://agentmods.dev/skills/likweitan/abap-skills/rap-business-events"><img src="https://agentmods.dev/badge/skills/likweitan/abap-skills/rap-business-events/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rap-business-events

Your own site · 80×15
<a href="https://agentmods.dev/skills/likweitan/abap-skills/rap-business-events"><img src="https://agentmods.dev/badge/skills/likweitan/abap-skills/rap-business-events.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,062 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00142 $0.02062
Opus 5 $0.00071 $0.01031
Sonnet 5 $0.00028 $0.00412
Haiku 4.5 $0.00014 $0.00206

Measured 12d ago against content hash 5f517565cf05, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

rap-business-events scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/rap-business-events/SKILL.md · 310 lines

How it starts

The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RAP Business Events & Enterprise Eventing

Guide for implementing event-driven patterns using RAP business events and SAP Event Mesh in ABAP Cloud.

Workflow

  1. Determine the user's goal:

    • Defining business events in a RAP BO
    • Raising events from RAP handler methods
    • Binding events for consumption
    • Consuming events from external systems
    • Integrating with SAP Event Mesh
    • Understanding event-driven architecture in ABAP
  2. Identify the scenario:

    • Local event (within the same ABAP system)
    • Enterprise event (cross-system via Event Mesh)
    • Event producer vs. event consumer
  3. Guide implementation following RAP eventing patterns

Business Events Overview

Concept Description
Business Event Declared in BDEF; raised when something significant happens
Event Definition Formal declaration with parameters in the behavior definition
Event Raising Triggered in handler/saver methods via RAISE ENTITY EVENT
Event Binding Maps RAP event to an enterprise event topic for external delivery
Event Consumption External systems subscribe and react to published events

Defining Business Events

In the Behavior Definition (BDL)

managed implementation in class zbp_r_travel unique;
strict ( 2 );

define behavior for ZR_Travel alias Travel
persistent table ztravel_tab
lock master
authorization master ( instance )
etag master LocalLastChangedAt
{
  create;
  update;
  delete;

  "Define business events
  event travel_created parameter ZD_TravelCreatedEvt;
  event travel_accepted;
  event travel_rejected;
}

Event Parameter Structure

Define a CDS abstract entity for the event payload:

@EndUserText.label: 'Travel Created Event'
define abstract entity ZD_TravelCreatedEvt
{
  travel_id   : /dmo/travel_id;
  agency_id   : /dmo/agency_id;
  customer_id : /dmo/customer_id;
  description : /dmo/description;
  total_price : /dmo/total_price;
  currency    : /dmo/currency_code;
}

Read the full file on GitHub · 310 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 310 lines · 142 tokens per session scan A 5f517565cf05

Subscribe to this mod's changes

rap-business-events is a skill published in the GitHub repository likweitan/abap-skills (60 stars, last pushed yesterday), licensed MIT. It adds 142 tokens to every session and 2,062 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

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…

personamanagmentlayer/pcl · 92 tokens

sap-integration-wiki

Comprehensive integration guide for connecting external systems (Java, Python, .NET, Node.js, low-code platforms, etc.) to SAP (ECC, S/4HANA On-Premise, S/4HANA Cloud). Covers OData V2/V4, RFC/JCo, SOAP over HTTP RFC (no-JCo RFC calls via standard HTTPS), IDoc/PI-PO, BAPI, RAP REST APIs, BTP Integration Suite, SAP…

shrek-abaper/sap-engineering-skill · 517 tokens

sap-btp-developer-guide

Develops business applications on SAP Business Technology Platform (BTP) using CAP (Node.js/Java) or ABAP Cloud. Use when: building cloud applications on SAP BTP, deploying to Cloud Foundry or Kyma runtimes, integrating with SAP HANA Cloud, implementing SAP Fiori UIs, connecting to remote SAP systems, building…

secondsky/sap-skills · 240 tokens

sap-cap-capire

SAP Cloud Application Programming Model (CAP) development skill using Capire documentation. Use when: building CAP applications, defining CDS models, implementing services, working with SAP HANA/SQLite/PostgreSQL databases, deploying to SAP BTP Cloud Foundry or Kyma, implementing Fiori UIs, handling authorization…

secondsky/sap-skills · 103 tokens

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…

secondsky/sap-skills · 100 tokens

sap-btp-build-work-zone-advanced

Develops and administers SAP Build Work Zone, advanced edition digital workplace solutions. Use when creating workspaces, workpages, and collaborative sites, developing UI Integration Cards in SAP Business Application Studio, building content packages and workspace templates, integrating with Microsoft…

secondsky/sap-skills · 166 tokens