No slash command · from erpl
Maps SAP objects (tables, CDS views, extractors, BW queries) to the correct erpl interface (RFC, APE, ODP, BICS) for full or delta reads into DuckDB.
Ships in erpl. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
erpl reaches SAP through four sub-extensions. Several can read the same object, but they differ in what they deliver: a one-off full read, a delta with deletes, or a BW query result with its business logic. Pick by the object and by whether the load will recur.
| You have… | Use | Delta? | Discover with | Skill |
|---|---|---|---|---|
| Transparent table, DDIC database view (MARA, BKPF, SFLIGHT, Z-table) | sap_read_table('T') or ATTACH '' AS sap (TYPE sap_rfc) | No — full reads; filter with WHERE | sap_show_tables, sap_describe_fields | erpl-rfc-tables |
BAPI / RFC-enabled function module that reads (…_GETLIST, …_GETDETAIL) | sap_rfc_invoke('BAPI_…', …) | — | sap_rfc_show_function, sap_rfc_describe_function | erpl-rfc-functions |
CDS view or entity (I_*, C_*, /DMO/*, Z*), recurring or large load | sap_ape_read_full('ENTITY') | Yes, with deletes: sap_ape_read_delta (needs the CDC annotation) | sap_ape_show, sap_ape_describe, sap_ape_preview | erpl-ape-cds |
| CDS view, quick ad-hoc look | sap_read_table('/DMO/R_BOOKING_D') also works | No | sap_describe_fields | erpl-rfc-tables |
| Extraction-enabled CDS view via ODP | sap_odp_read_full('ABAP_CDS', '<name from sap_odp_show>') | Yes: sap_odp_read_delta (deletes only with CDC delta) | sap_odp_show('ABAP_CDS') | erpl-odp-replication |
Extractor / DataSource (2LIS_11_VAITM, 0FI_GL_14, …) | sap_odp_read_full('SAPI', 'NAME') | Yes, if sap_odp_describe(…).supports_delta | sap_odp_show('SAPI') | erpl-odp-replication |
| BW InfoProvider data (aDSO, CompositeProvider, InfoObject) as raw rows | sap_odp_read_full('BW', 'NAME') | Yes, for delta-capable providers | sap_odp_show('BW') | erpl-odp-replication |
| SLT replication | sap_odp_read_delta('<SLT context>', 'TABLE', 'my_pipeline') | Yes | sap_odp_show_contexts() lists the SLT context | erpl-odp-replication |
| BW query or cube with its business logic (variables, calculated key figures, hierarchies, BW authorizations) | sap_bics_begin → sap_bics_rows/filter → sap_bics_result | No — a query result is a snapshot | sap_bics_show_queries, sap_bics_describe | erpl-bics-queries |
| BW modelling metadata, data flow, lineage, impact analysis | sap_bics_meta_*, sap_bics_lineage_*, sap_bics_query_lineage | — | sap_bics_meta_providers | erpl-bics-metadata |
sap_show_tables(TABLENAME => 'NAME') lists DDIC tables and views with their
class (TRANSP, VIEW, …). CDS entities do not appear there.sap_read_table read it? sap_describe_fields('NAME') returns its fields if so (tables, DDIC
views and CDS views); it fails with NOT_FOUND otherwise.sap_ape_show(search => 'NAME%') finds it. Released entities
(is_released = true) are the stable choice for production.sap_odp_show_contexts() lists the contexts this system offers, then
sap_odp_show('<context>', search => '*NAME*'). ODP names carry a suffix for their semantics
(e.g. …$P master data/attributes), so copy the technical_name it returns.sap_bics_show_queries(search => 'NAME'); a cube or aDSO is listed by
sap_bics_show_cubes.| Question | Prefer | Because |
|---|---|---|
CDS view: APE or ODP ABAP_CDS? | APE when the system has the ABAP Pipeline Engine and the view carries @Analytics.dataExtraction.delta.changeDataCapture.automatic; ODP when the view is exposed via ODP and APE is unavailable | APE delivers deletes as /1DH/OPERATION = 'D'; ODP on a byElement-delta CDS source cannot report physical deletes |
Table or CDS view: sap_read_table or ODP/SLT/APE? | sap_read_table for occasional reads and small/medium tables; ODP/SLT for recurring incremental loads | sap_read_table has no change tracking; every run is a full (filtered) read |
BW: BICS or ODP BW? | BICS when the answer must match what users see in the BW query; ODP when you want the provider's raw records | BICS executes the query (variables, restrictions, conditions); ODP bypasses query logic |
| BW query too large for one result? | Narrow it with sap_bics_filter, or read the underlying provider via ODP | BW cannot page a query result |
| Need a business object as the application derives it (e.g. read a sales order with its texts and status)? | sap_rfc_invoke on the reading BAPI | Tables bypass the application logic. Writing BAPIs that need BAPI_TRANSACTION_COMMIT are not supported: each call is its own RFC session |
-- What kinds of objects does this system offer?
SELECT * FROM sap_odp_show_contexts();
SELECT cds_name, description, is_released FROM sap_ape_show(search => '/DMO/R_BOOKING%') LIMIT 20;
SELECT * FROM sap_show_tables(TABLENAME => 'SFLIGHT');
SELECT technical_name, text, cube_name FROM sap_bics_show_queries(search => 'SALES');
BW access (BICS) and replication (ODP) belong to the Enterprise Edition, and CDS extraction via APE needs an
SAP-side role — sap_ape_check_authorizations() tells you whether the user has it. Editions and licensing:
erpl-setup.
See also: erpl-setup (install and connect), erpl-rfc-tables, erpl-rfc-functions,
erpl-odp-replication, erpl-ape-cds, erpl-bics-queries, erpl-bics-metadata, erpl-pipelines
(landing the data incrementally).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub datazoode/erpl --plugin erpl12 skills in this plugin
/erpl-ape-cdsExtracting SAP CDS views and entities with erpl_ape through SAP's ABAP Pipeline Engine: discovery with sap_ape_show, sap_ape_describe and sap_ape_preview; full snapshots with sap_ape_read_full (columns, chunk_size, wireformat; server-side filters are refused); delta reads with deletes via sap_ape_read_delta(cds, subscriber_process) and the /1DH/OPERATION column (U after-image, D delete); recovering an interrupted delta from the local erpl_ape.delta_spill with recover => true; subscriptions (sap_ape_show_subscriptions, PRAGMA sap_ape_drop, the ERPL_ prefix); readiness checks with PRAGMA sap_ape_ping, sap_ape_system_info and sap_ape_check_authorizations (read verdict); erpl_ape_allow_unreleased and erpl_ape_prepare_timeout. Use when extracting a CDS view (I_*, C_*, Z*), building an incremental CDS load that must see deletes, or when an APE read is slow to start, refused or unauthorised.
/erpl-bics-metadataExploring SAP BW models, data flows and lineage with erpl_bics metadata functions: InfoProviders and their fields (sap_bics_meta_providers, sap_bics_meta_provider_fields), DataSources (sap_bics_meta_datasources, sap_bics_meta_datasource_fields), transformations and rules (sap_bics_meta_transformations, sap_bics_meta_transform_fields), CompositeProviders (sap_bics_meta_hcpr_components, sap_bics_meta_hcpr_mapping), queries, their elements, usage and runtime statistics (sap_bics_meta_queries, sap_bics_meta_query_elements, sap_bics_meta_query_usage, sap_bics_meta_query_stats), InfoObjects (sap_bics_meta_infoobjects, sap_bics_describe_infoobject), the cross reference sap_bics_meta_objxref, and lineage / impact analysis (sap_bics_lineage_edges, sap_bics_lineage_graph_json, sap_bics_lineage_trace, sap_bics_query_lineage). Use when documenting or auditing a BW system, answering "where does this key figure come from" or "what breaks if I change this InfoObject/DataSource", finding unused queries, or preparing a BW migration.
Other plugins' skills for the same job