/businessobjects-to-sigma:businessobjects-to-sigmafrom BusinessObjects → Sigma
Migrate SAP BusinessObjects to Sigma Computing. Converts universes into Sigma data models, Web Intelligence documents into workbooks or reports, and Crystal Reports into reports or interactive workbook drafts. Uses RWS for universes/Webi, SAP SDK or CMS/RAS for Crystal, and preserves unsupported constructs in explicit warnings/degradation ledgers. Use when inventorying or migrating a BO repository, universe, Webi document, or Crystal .rpt.
Ships in BusinessObjects → Sigma. 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.
Read when SKILL.md points to them.
Source-aware targets:
| BusinessObjects | Sigma | Converter |
|---|---|---|
| Universe (semantic layer) | Data model | converters/bobj.mjs (≡ MCP convert_bobj_to_sigma) |
| Web Intelligence document | Workbook (default) or report | converters/webi.mjs + workbook conversion lifecycle |
| Crystal Report | Report (default) or interactive workbook draft | converters/crystal.mjs |
--target auto (or omission) keeps Webi→workbook and Crystal→report. The
alternate targets are first drafts, not live parity claims:
| Path | Persistence | Required review |
|---|---|---|
| Webi→workbook | Historical non-dry-run creation remains supported | verify/readback, warehouse parity, controls, RLS |
| Webi→report | --create required; warnings remain pending unless --accept-conversion-warnings was explicitly approved | every conversion warning, workbook-ID remap, generated-report coverage, report readback/verify, PDF |
| Crystal→report | --create required | degradation ledger, readback/query, Crystal-oracle PDF |
| Crystal→workbook | --create required | responsive redesign of bands/pagination/panels, formulas/groups, parity/RLS |
Universe/Webi use the BI RESTful Web Service (RWS) (or an SL-SDK/IDT
universe export). Crystal definitions are separate: use the official Crystal
.NET SDK for loose .rpt files or BI Platform Java SDK/RAS for CMS content.
The rpt-rs path is an experimental Linux smoke path, not the production
extraction contract.
The RWS REST endpoint returns only the business outline — object names, datatypes, folders. It does NOT return each object's SELECT/WHERE (the calculation) or the data foundation (physical tables, columns, joins). That is an SAP design limit of the REST API — even 4.3 stops at the outline. If a customer shows you universe JSON with no real columns or SQL, that's expected, not a converter bug.
Whether your input carries joins depends entirely on the file you feed it — not JSON-vs-XML alone. The converter classifies the input and says so in its first warning (Input format: …); the join graph (and therefore the dimension columns a workbook can reach) only exists when the input carries a data foundation:
| The file you provide | Where it comes from | Carries joins? | → Result |
|---|---|---|---|
| RWS outline JSON | GET /sl/v1/universes/{id} (or scripts/discover.mjs) | ❌ no — outline only | Tables with 0 relationships; a workbook sees only ONE table's columns (~the fact table). Not enough for a real migration. |
| SL-SDK / IDT XML export | scripts/extract-universe-sdk.groovy on a box with the SL SDK / IDT | ✅ yes — data foundation + joins | Full model: relationships + all columns. Use this for an actual migration. |
Extractor --json | extract-universe-sdk.groovy --json | ✅ yes — same IR, JSON-encoded | Same as XML. |
If a multi-table universe converts to 0 relationships, the converter now emits a loud guard warning naming the likely cause (outline-only input vs. unparseable/unmatched joins) — heed it before handing the model off, or the workbook will silently ship with only ~one table's columns.
How Sigma relationships work: a relationship in a Sigma data model is a many→one lookup. The element that owns the relationship is the "many" side (the fact / most granular table); it looks up a single matching row on the "one" side (a dimension). The converter builds the denormalized View on that many-side source element, so a workbook binds to one row per fact row and pulls each dimension's attributes alongside.
The failure mode: if the relationship is built the wrong way round — source on the "one" side reaching into the "many" side — then every column looked up across the join matches many rows, and Sigma renders them as "multiple values." (Tell-tale sign: the base table's own columns show real values while everything reached across the join shows "multiple values.") This is not a data problem; it's a join-direction problem in the model.
How the converter picks the direction (from the data-foundation join's cardinality):
one-to-many/many-to-one, OneToMany, 1-n/n-1, 1:N/N:1, 1..N/N..1, 1..*/*..1, and per-side leftCardinality/rightCardinality (or *Multiplicity) attributes/tags. The many side becomes the source.If you still see "multiple values" on a delivered model, the relationship is pointing the wrong way: in the Sigma data model, flip it so the source element is the many/fact table (or re-export with cardinality so the converter gets it right). Make sure your SL-SDK / IDT export includes join cardinality — it's what removes the guesswork.
The converter auto-detects the input (a leading < ⇒ XML) and normalizes all three to the same IR, so convert_bobj_to_sigma / converters/bobj.mjs / the browser tool all accept any of them. To produce the SDK export, run the bundled extractor on a machine with the BO Client Tools / Semantic Layer SDK installed (it walks each object's RelationalBinding — getSelect()/getWhere()/getTables() — plus the data foundation), or export the data foundation + business layer from the Information Design Tool:
groovy -cp "$SL_SDK_LIB/*" scripts/extract-universe-sdk.groovy --unx /path/eFashion.unx --out universe.xml
node scripts/migrate-universe.mjs --file universe.xml # convert + POST (no RWS login)
The extractor is coded to the documented SL SDK API but has not been run against a live BO server from here — expect a getter name or two to need adjusting on first contact (4.1/4.2/4.3 vary). The XML→Sigma conversion path itself is verified end-to-end (
fixtures/efashion_universe.xml).
https://<host>:6405/biprws). Run this skill somewhere that can reach it — the customer's machine / VPN. A cloud runner behind no tunnel cannot..bo_env + Sigma login — copy the repository-root
.bo_env.example (from this skill, ../../.bo_env.example), fill BO
credentials (BO_USER/BO_PASSWORD/BO_AUTH) and the Sigma base URL +
target folder/connection. Then set -a; . ./.bo_env; set +a. For an
attended terminal, prefer the one-time browser login:
eval "$(bash scripts/browser-login.sh)". Its refresh token stays only in
the OS keychain. For unattended execution, set
SIGMA_CLIENT_ID/SIGMA_CLIENT_SECRET; default SIGMA_AUTH_MODE=auto
tries the browser keychain first and uses those client credentials only as
fallback.SIGMA_CONNECTION_ID) pointing at the same database the universe's tables live on. The universe maps object SQL to physical tables; the data model binds them to this connection..rpt: Windows x64 +
matching Crystal Reports for Visual Studio SDK assemblies. CMS: BI Platform
Java SDK/RAS jars and CMS reachability. Do not redistribute SAP binaries.SIGMA_FOLDER_ID. Report creation currently
has no API cleanup—verify first and create only in an approved folder.requirements-crystal.txt; provide the five SNOWFLAKE_* key-pair
variables from .bo_env.example.sigma-data-models and
sigma-workbooks; also load sigma-reports whenever target resolution
selects a report. Those skills are the source of truth for current Sigma
shapes and lifecycle gates.Phase 1 — Connect & inventory
# Preferred attended Sigma setup (once per keychain session):
eval "$(bash scripts/browser-login.sh)"
node scripts/discover.mjs
Logs on, follows server-provided pagination for every universe and Webi document (typed RWS lists, with a CMS-query fallback), verifies advertised totals, and writes inventory.json with folder, owner, and timestamp metadata when the service pack exposes them. Use it to pick what to migrate first (start with the universes that the highest-value reports depend on).
The browser login is Sigma-only and does not alter BO source authentication.
Sigma callers reuse valid environment or gitignored auth.json access tokens,
refresh known-age tokens at 50 minutes through get_token.py, and refresh/retry
once on 401. SIGMA_AUTH_MODE=browser is browser-only;
SIGMA_AUTH_MODE=client-credentials is the explicit unattended-only mode.
No refresh token is written outside the OS keychain.
For an estate-wide readiness readout — coverage scored from this converter's warnings and preflight blockers, plus a dependency-aware wave plan — use the sibling businessobjects-assessment skill. It is read-only and does not post to Sigma.
Before converting a selected report, capture its source responses:
node scripts/capture-webi.mjs <docId> --out snapshots/<host>/<docId>
This saves redacted raw and normalized document, report-element, variable,
filter, input-control, and data-provider responses. Review capture warnings; a
missing optional endpoint is not silently treated as an empty source feature.
Snapshots can still contain customer metadata and SQL. Keep them local and
restricted; snapshots/ and artifacts/ are gitignored.
Phase 2 — Universe → data model (do this before its reports)
node scripts/migrate-universe.mjs --file universe.xml --source-universe-id <id> --dry-run --out artifacts/universe
node scripts/migrate-universe.mjs --file universe.xml --source-universe-id <id>
Fetches the universe, converts it (tables→elements, dimensions/details→columns with business names, measures→metrics, joins→relationships with FK keys parsed from the join SQL, predefined filters + @-functions→warnings), POSTs the data model, and records the binding (data-model id + denormalized View element + measure formulas) in .bo-state.json.
The dry run is mandatory before publication. Review preflight.json and
conversion.json. Publication is blocked for outline-only RWS input, no
physical elements, no bindable View, or a multi-table universe with zero
relationships. --fail-on-warning additionally turns every converter warning
into a blocker. A blocked dry run still writes diagnostics and exits 2.
For a local SDK/IDT export, --source-universe-id is required operationally so
the host-qualified state binding can later be checked against the Webi provider.
Phase 2a — Target-layer remapping (ALWAYS ask first; skip only if the answer is "no")
The universe references the old physical table/column names. If the customer is not doing a like-for-like migration — they've restructured the warehouse (renamed tables, or consolidated several dimensions into one, e.g. a "platinum"/gold layer) — those names won't resolve against the new layer, and the converted model binds to tables that no longer exist. So before running Phase 2, ask the user:
"Has the warehouse been restructured relative to this universe — tables renamed, or dimensions consolidated (e.g. a platinum/gold layer)? Or does it still match the universe's original tables?"
--remap:
node scripts/migrate-universe.mjs <id> once (or convert offline) and read the element/column names — those are the old TABLE / COL tokens the remap is keyed on. The converter also warns on anything that doesn't resolve.GET /v2/connections/{id}/inodes / schema browse) and a table's columns (GET /v2/connections/tables/{inodeId}/columns) — then propose a best-guess mapping (match by normalized name) and ask the user to confirm or correct it. Don't silently guess; surface the proposed pairs and let them edit.remap.json and run:
node scripts/migrate-universe.mjs <universeId> --remap remap.json
{
"tableMap": {
"CUSTOMER_DIM_DE": { "table": "DIM_CUSTOMER", "schema": "PLATINUM" },
"CUSTOMER_DIM_AT": "DIM_CUSTOMER",
"CUSTOMER_DIM_CH": "DIM_CUSTOMER"
},
"columnMap": {
"CUSTOMER_DIM_DE.CUST_NAME": "CUSTOMER_NAME",
"*.REGION": "SALES_REGION"
}
}
tableMap values are a new table name or { table, database?, schema? } to also relocate it; many old tables may map to one (consolidation — they collapse into a single element). columnMap keys are "OLD_TABLE.OLD_COL" (or "*.OLD_COL" for any table); business names are preserved, only the physical column underneath is repointed.Remap: … matched no universe table/column warning means a key typo (the old name didn't exist). Iterate until those are gone, then verify in Phase 4.The remap repoints names; it does not do the platinum-layer remodeling itself (consolidating grain, collapsing star schemas, blending brands). The output is a faithful first draft on the new physical names —
translate → enrich/combine → validate. Set that expectation: the tool does the translate, the customer applies the platinum remodel on top.
(Agents with the MCP can pass the same maps as the table_map / column_map arguments to convert_bobj_to_sigma instead of the script flag.)
Phase 3 — Webi document → workbook
node scripts/migrate-webi.mjs <docId> --universe <universeId> --dry-run --out artifacts/webi
node scripts/migrate-webi.mjs --file snapshots/<host>/<docId>/normalized.json --universe <universeId> --dry-run
node scripts/migrate-webi.mjs <docId> --universe <universeId>
node scripts/migrate-webi.mjs <docId> --universe <universeId> --target report --dry-run
node scripts/migrate-webi.mjs <docId> --universe <universeId> --target report \
--create --page-size a4 --layout landscape --pdf artifacts/webi/report.pdf
Fetches the Webi document, maps report tabs→pages, tables→tables, crosstabs→pivot-tables, charts→bar/line/pie, measure cells→KPIs, filters→controls. Binds every element to the universe's View element and references columns qualified by the source element name ([Order Fact View/Net Revenue]) so nothing self-references. POSTs the workbook.
For --target report, the workbook remains the staging representation. A dry
run stops before all persistent work and states the pending lifecycle. A
non-dry run still requires explicit --create; it applies approved data-model
additions, GETs the data model after PUT, verifies every added name/formula,
resolves the View by stable source name, updates .bo-state.json if its
server-assigned ID changed, rebuilds the workbook against that current binding,
then verifies/creates/reads back the workbook and posts
/v2/workbooks/{id}/convertToReport with name, destination, selected page IDs,
description and format, saves every warning, GETs and validates/verifies the
report when possible, compares generated page/element coverage, then exports
the report PDF. Coverage preserves page order and compares element source,
columns/formulas, filters, groupings, sorts, conditional formats, and
chart/KPI bindings after server-ID remapping; only target-only defaults,
hidden dependencies, and absolute-layout generation are excluded. Conversion
page IDs always come from workbook readback (mapped
by ordered source-page name when Sigma assigns new IDs). The irreversible
report ID/URL and lifecycle status are saved immediately. Conversion can
remove workbook-only interactions or put dependencies on a hidden page;
warnings leave the completed evidence in a nonzero/pending state unless
--accept-conversion-warnings was explicitly approved. Material coverage
losses remain blocking. A pending run has already created the report: recover
its ID/URL from lifecycle.json; do not blindly rerun and create a duplicate.
Resume only evidence and acceptance with:
node scripts/migrate-webi.mjs --resume-report-id <reportId> \
--out <original-artifact-dir> --accept-conversion-warnings
The resume path creates no workbook/report. It requires lifecycle, staging
workbook readback, the saved conversion response, and warning evidence whose
stable SHA-256 hash is bound to both resource IDs. It repeats report GET,
validation/verify, full semantic coverage, and PDF export. If warnings exist,
omitting --accept-conversion-warnings deliberately leaves the report pending.
The preflight runs before data-model additions or workbook creation. It blocks an incomplete universe binding, missing reports/elements, multiple data providers, multiple universes, and source filters whose scope is not yet preserved. Do not bypass these by deleting capture metadata. Provider-aware source binding and scoped filter conversion must be implemented before those documents can publish safely.
Workbook code-rep wire shape (required since 2026-08). The workbook create / dry-run / update endpoints do not accept a flat
{ name, folderId, schemaVersion, pages:[{elements}] }body — that hard-400s. The/specendpoints (POST /v2/workbooks/spec,.../spec/verify,GET|PUT /v2/workbooks/{id}/spec, and the/v2/reports/...equivalents) are deprecated (OpenAPI 2.0.0+20261030); usePOST /v2/workbooks(dry run: adddryRun: true; an invalid body is an HTTP 400 witherrors),GET /v2/workbooks/{id}?includeContents=true(the read no longer returnsfolderId; takeparentIdfromGET /v2/files/{id}), andPUT /v2/workbooks/{id}/contents. The scripts do this for you (scripts/code_rep.mjscreatePath/readPath/updatePath/createBody). The local shape below keeps thedocumentkey; on the wire the same object is sent ascontents:{ name, folderId, document: { schemaVersion, kind: "workbook", pages: [/* metadata only — no nested elements */], elements: [/* flat array of every element */], layout: "<!-- XML: <Page id>…<Element elementId>… -->" } }
document.kind: "workbook"is required. Every element must be placed indocument.layout(<Element>/<Container>tags; not the legacy<LayoutElement>/<GridContainer>aliases). The data-model surface (/v2/dataModels/.../spec) is unchanged and stays flat — do not wrap DM payloads.The Webi converter still returns the convenient nested
pages[].elementsshape for local use.scripts/sigma.mjspostWorkbookalways runsprepareWorkbookForPost(scripts/code_rep.mjs) before the HTTP call: it flattens elements, setskind, synthesizes a stacked full-widthlayoutwhen missing, and wraps underdocument(createBodythen re-keys that tocontentsfor the wire). If you POST a workbook by hand (agent path / curl), callprepareWorkbookForPostfirst — or build the wrapped shape yourself. Never POST the raw converter object.
Report variables (/variables) are translated by converters/webi-formula.mjs and split by kind: a context-free measure/dimension becomes a reusable data-model addition (dataModelAdditions) that migrate-webi.mjs patches into the bound View element (GET spec → merge → PUT) before creating the workbook; a layout/window-dependent one (RunningSum/Previous/Rank/Percentage, or an In/ForEach/ForAll context operator) stays a workbook calc column. A DM-placed measure variable is referenced in the workbook by its inline re-aggregated formula (Sum([Order Fact View/Net Revenue]) / Sum([Order Fact View/Gross Revenue])), not by the metric name — a data-model metric is not addressable as [Element/MetricName] from a workbook (that 400s "Dependency not found"); the metric still lands in the DM for reuse. Review the warnings for NoFilter (compute on a separate unfiltered element), @Prompt/@Variable/@Select (model as a control/parameter), and context operators (set the Sigma grouping/partition and verify) — these are surfaced, not silently applied.
Phase 3b — Crystal Report → Sigma pixel-perfect report
Choose one extraction path:
# Supported loose-file path (Windows + customer-licensed SAP SDK)
dotnet build tools\crystal-extractor\CrystalExtractor.csproj -c Release
crystal-extractor.exe report.rpt --out report.crystal-ir.json --pdf report.crystal.pdf
# CMS/RAS path (BI Platform Java SDK jars)
groovy -cp "$BO_SDK_LIB/*" scripts/extract-crystal-cms.groovy \
--cms "$BO_CMS" --user "$BO_USER" --password "$BO_PASSWORD" \
--auth "$BO_AUTH" --id <SI_ID> --out-dir artifacts/crystal/cms
# Linux smoke path only (experimental reverse-engineered rpt-rs)
RPT_RS_BIN=/path/to/rpt node scripts/extract-crystal-rpt-rs.mjs report.rpt \
--out report.crystal-ir.json
All three emit the versioned
schemas/crystal-report-ir.schema.json contract. Never extract credentials into
the IR. For the pinned Meridian proof:
pip install -r requirements-crystal.txt
python3 scripts/seed-crystal-snowflake.py
node scripts/migrate-crystal.mjs --ir report.crystal-ir.json
# The previous command writes artifacts + calls /verify only.
node scripts/migrate-crystal.mjs --ir report.crystal-ir.json --create --pdf report.pdf
node scripts/migrate-crystal.mjs --ir single-table-report.crystal-ir.json --target workbook
# The previous command writes a stacked interactive draft + calls workbook /verify.
node scripts/migrate-crystal.mjs --ir multi-table-report.crystal-ir.json --target workbook \
--source-table WIDE_REPORT_ROWS --database ANALYTICS --schema PUBLIC \
--field-map crystal-wide-fields.json --create
Persistent Crystal report or workbook creation requires --create. Report
creation has no API cleanup in this project. Confirm SIGMA_FOLDER_ID, then
pass --create only with explicit approval.
Report code-rep wire shape. Reports use the same outer wrapper as current workbooks but a different document and layout language:
{ name, folderId, document: { schemaVersion, kind: "report", config: { pageWidth, pageHeight, margin }, pages: [/* metadata only */], panels: [/* header/footer metadata */], elements: [/* flat */], layout: "<Page id=\"…\"><Element x=\"…\" y=\"…\" width=\"…\" height=\"…\"/></Page>…" } }Do not route reports through
scripts/code_rep.mjs: workbook grid attributes, containers/tabs/overlays, and page-break elements are invalid. Usescripts/report-code-rep.mjs+scripts/sigma-report.mjs.
The first offline-tested profile targets the Meridian customer statement. The
seeder creates CRYSTAL_MIGRATION_DEMO.PUBLIC.CUSTOMER_STATEMENT_ROWS; the
report binds directly through a warehouse-table source. This avoids
pretending the existing one-hop relationship View is a lossless replacement
for Crystal's eight-table join graph.
Crystal→workbook reuses an explicit data-model binding when
--data-model-id, --data-model-element-id, and --source-name are supplied;
otherwise a single-table IR defaults to that table's database/schema/name. A
multi-table IR requires an explicit wide --source-table path plus a complete
--field-map, or a data-model mapping validated against the bound element's
GET readback. Duplicate physical names are ambiguous and also require
per-field mapping; never invent table-prefixed target aliases. Mapping JSON is
keyed preferably by IR field id and maps to actual target column names:
{
"customer-customer-id": "customer_customer_id",
"invoice-customer-id": "invoice_customer_id",
"invoice-amount-gross": "amount_gross"
}
IR fields and safely translated row-level formulas become an ungrouped detail table. Fully translated aggregate/measure formulas are withheld and recorded until a grouped/KPI scope is validated. Groups/summaries likewise require separate elements after grain review, and parameters with unknown domains are omitted rather than emitted as inert controls. The adapter emits flat current elements and a stacked grid layout. Physical pagination, repeat-header/footer panels, absolute twip geometry, section suppression/page breaks, multi-table join topology, and unsupported objects are recorded in the degradation ledger.
Phase 4 — Verify and accept
Use the current canonical gates for every resolved target:
/verify, create only when
approved, GET the created representation, and compare normalized documents.For reports also compare inventory/query results and inspect the exported PDF
against the Crystal SDK PDF oracle. Review every warning/degradation. If a
looked-up column shows "multiple values," fix relationship direction as
described above. Do not claim parity from artifact generation, a 200 response,
or /verify alone.
Set expectations with this before promising a Webi migration, and use it as the manual-finish checklist after Phase 3. Legend: 🟢 auto = the converters produce it working; 🟡 finish = Sigma fully supports it but the agent rebuilds/wires it (the converter warns or emits a stub); 🔴 rebuild = no direct path — re-model it. "Convert" here is agent-led: 🟡 items are expected finishing steps, not blockers.
Formulas & aggregation
| Webi | Status | What happens / what you do |
|---|---|---|
| Universe object SQL (SELECT, CASE, functions) | 🟢 | bobj.mjs maps functions, CASE→If; @-functions flagged |
Report variables — arithmetic / string / date / If | 🟢 | webi-formula.mjs translates |
RunningSum / RunningCount / Previous | 🟢 | → CumulativeSum / CumulativeCount / Lag (workbook calc column) |
Rank, Percentage (% of total) | 🟢 | → Rank/RankDense, PercentOfTotal |
| Subtotals (per break) / grand totals | 🟢 / 🟡 | Per-group subtotals auto-emitted from Webi breaks (see Formatting → Sections & breaks); a table grand total is not auto-emitted (Sigma UI footer) — add in Sigma |
Calculation context In / ForEach / ForAll | 🟡 | Parsed + warned: set the element grouping / window partition to the named dims and verify |
NoFilter | 🔴 | No direct equivalent — compute on a separate unfiltered element and reference it (warned) |
| Nested vars / % of a report grand total | 🟢 | Not viewport-limited: Sigma computes aggregates/window fns over the whole warehouse result, so "only x rows rendered" is a non-issue |
Formatting & layout
| Webi | Status | What happens / what you do |
|---|---|---|
| Table / crosstab / bar,line,pie,area,scatter,combo | 🟢 | mapped to table / pivot-table / matching chart; exotic viz → nearest Sigma equivalent |
| Sections & breaks | 🟢 / 🟡 | breaks → table groupings + per-group subtotals, auto (running totals rewritten to CumulativeSum(Sum(...))). Sections fold in as the outermost group key (+ warning — the master-detail band layout isn't reproduced 1:1). A report-level grand total is not auto-emitted (warned) — enable the table's Totals in Sigma. |
| Sorting | 🟢 | carried automatically — inside the grouping entry on a grouped/broken table (groupings[].sort), and as the element-level sort on an ungrouped table |
| Conditional formatting / alerters | 🟢 / 🟡 | Single-threshold color alerters → element-level conditionalFormats on tables & pivots, auto (operators > < >= <= = !=; background + text color; round-trip-confirmed live on both table and pivot-table elements — CSA.TJ E2E). Warned + skipped (re-author in Sigma): Between/ranges (Sigma has no native two-bound conditional format on the spec path — confirmed live), gradient/backgroundScale/fontScale/data-bar scales, border / font-size / content / image effects, multi-condition alerters, and KPI-cell / chart alerters (Sigma CF is table/pivot only). |
| Colors / fonts / borders | 🟡 | themes + element formatting; not 1:1 (expect design-system normalization) |
| Embedded images / logos | 🟡 | Sigma image element — re-add |
| Hidden content + show/hide | 🟡 | hidden columns/elements; dynamic → conditional visibility on a control |
| Fold/unfold, Drill | 🟡 | native grouping expand/collapse + drill-down/drill-anywhere — wire, not auto-mapped |
| Report headers/footers, page numbers | 🟡 / 🔴 | top-of-page text/image elements + export header/footer & page numbers; no page numbers on the interactive canvas |
| Relative (top/left) positioning | 🟡 | Sigma is a responsive grid + containers — rebuilt to grid, not pixel-mapped |
Filtering
| Webi | Status | What happens / what you do |
|---|---|---|
| Report / table / section filters | 🟡 | document filters → unbound list controls (best-effort); wire target + default; scope re-created as page control vs element filter |
| Filter on a formula/variable, or on a measure | 🟡 | supported (calc-column filters; top-N / number-range / having) — set on the element |
| Input controls | 🟡 | → Sigma controls (list / dropdown / date / top-N) |
| Element links (ad-hoc cross-filter) | 🟡 | → cross-element filters / actions (control in spec, click-target wired in UI) |
Query panel & query merge
| Webi | Status | What happens / what you do |
|---|---|---|
| Custom SQL (override universe SQL) | 🟢 | → Sigma Custom SQL data element |
| Merged objects; union / inner / left outer | 🟡 | model in the data model (relationships = many→one lookup; union element). Right outer → reframe as left |
| Combined queries: Union / Intersect / Minus | 🟡 | Union native; Intersect/Minus via Custom SQL or semi/anti-join |
| Subqueries; database rankings | 🟡 | joins / CTEs / Custom SQL; Rank + top-N pushed to the warehouse |
Prompts (@Prompt) | 🟡 | → Sigma controls/parameters (warned; can bind to filters or DM SQL) |
| Condition "In list from another query" | 🟡 | Semi-join / IN (subquery) — what BObj compiles to — runs verbatim in a Custom SQL element (or a join). Only no-code gap: no "is-in another element" filter / formula-level IsIn against another element (that errors). Same connection; cross-connection → blend |
| Non-universe Excel data provider | 🟡 | Sigma CSV/Excel upload as a source — wire manually |
| Query properties (refreshable, dup rows, trim) | 🟡 / n/a | data is live/refreshable; "distinct" toggle; Trim; some are Webi-only and safely dropped |
Finish-by-hand checklist (per migrated Webi report): heed every converter warning (NoFilter, @Prompt/@Variable/@Select, context operators), then in Sigma: enable totals/subtotals, re-apply sort, re-author only the WARNED conditional formats/alerters (ranges/Between, gradients/scales, borders, KPI-cell — single-threshold color rules convert automatically), wire filter/control scope + element links, re-add images/headers, and confirm any In/ForEach/ForAll grouping. Xcelsius/Design Studio/Lumira remain out of scope.
| Crystal construct | Status | Output / finish |
|---|---|---|
.rpt definition + page/printer settings | 🟢 | SAP SDK IR; rpt-rs smoke oracle |
| CMS definitions / scheduled instances | 🟢 | CMS query + RAS; SI_INSTANCE=0 only |
| A4/Letter dimensions, margins, absolute geometry | 🟢 | twips ÷ 15 → Sigma report pixels; PDF-check rounding |
| Page header/footer | 🟢 | report header/footer panels |
| Detail band fields | 🟢 | report table over live warehouse source |
| Groups/sorts/summaries | 🟡 | default keeps transaction detail; --group-customers opts into an aggregated table grouping; KPI carries grand total |
Formula refs, arithmetic, IIf/If, null/string/date/common aggregates | 🟢 / 🟡 | translated subset; every warning preserves source |
| Record/group selection + parameters | 🟡 | preserved; wire non-synced controls/filter scope after targeted verify |
| Conditional suppress/color/format | 🟡 | inventory preserved; map only verified Sigma report shapes |
| Lines/boxes | 🟡 | normalize into table/page styling |
| Embedded/dynamic images | 🟡 | emit only with portable URL/upload handle; otherwise ledger |
| Subreports | 🟡 | recursively extracted; first profile uses manual/static fallback |
| Crosstabs/charts | 🟡 | use report support matrix + targeted verify/readback/PDF |
WhilePrintingRecords, shared/global variables, UFLs | 🔴 | multi-pass/runtime semantics preserved, not silently approximated |
| Maps/OLE/opaque objects | 🔴 / 🟡 | static fallback or manual rebuild |
Crystal finish-by-hand checklist: inspect
*.degradations.json; wire parameters/selection scope; restore logos through
approved URL/upload handles; decide whether each subreport/advanced visual is
interactive or static; compare page count, clipping, repeated panels, table row
continuation, fonts, totals and representative data against the Crystal SDK
PDF.
If you're an agent with the Sigma data-model MCP available, you can skip converters/bobj.mjs and call the convert_bobj_to_sigma tool directly on the universe JSON from getUniverse(), then POST via the Sigma REST skill. The script path is the self-contained equivalent.
For workbooks: convert Webi with convertWebiToWorkbook, or Crystal with
convertCrystalToWorkbook, then wrap before POST —
prepareWorkbookForPost(result.workbook) from scripts/code_rep.mjs (or use
postWorkbook, which does it for you). Do not POST a flat
{schemaVersion, pages:[{elements}]} body; see Phase 3.
For Crystal/Sigma reports: normalize to Crystal IR, call
convertCrystalToReport, validate with validateReportSpec, call report
/verify, then create only with approved persistence. Use
scripts/report-code-rep.mjs; never reuse workbook grid layout. Defer
authoring support decisions to the installed sigma-reports skill/OpenAPI
support matrix.
For Webi/Sigma reports, create and read back the verified workbook first, then
use convertWorkbookToReport; do not relabel workbook JSON as
kind: "report". Save and review every conversion warning before validating,
verifying, and exporting the generated report.
extract-universe-sdk.groovy → ingestBobjSdkXml, auto-detected) supplies them. Same converter core..rpt production
extraction requires the official Windows SDK; CMS extraction requires
Java/RAS. Advanced/opaque features remain explicit degradations.@-functions & predefined filters — emitted as warnings; re-author as Sigma controls/filters.document wrapper (kind: "workbook", flat elements, metadata-only pages, layout). postWorkbook adapts converter output automatically; see Phase 3. Data-model POSTs stay flat.Run npm test for all offline universe, Webi, Crystal, workbook code-rep, and
report code-rep gates.
converters/bobj.mjs (opens in a new tab)converters/crystal-formula.mjs (opens in a new tab)converters/crystal-pettycash.mjs (opens in a new tab)converters/crystal-rpt-rs.mjs (opens in a new tab)converters/crystal-source.mjs (opens in a new tab)converters/crystal-xmlresume.mjs (opens in a new tab)converters/crystal.mjs (opens in a new tab)converters/webi-formula.mjs (opens in a new tab)converters/webi.mjs (opens in a new tab)fixtures/crystal/meridian-customer-statement.source.json (opens in a new tab)fixtures/crystal/owned-customer-statement.ir.json (opens in a new tab)fixtures/crystal/owned-pettycash-monthly.ir.json (opens in a new tab)fixtures/crystal/owned-xmlresume.ir.json (opens in a new tab)fixtures/crystal/pettycash-monthly-report.source.json (opens in a new tab)fixtures/crystal/xmlresume-report.source.json (opens in a new tab)fixtures/e2e_webi_variables.json (opens in a new tab)fixtures/efashion_universe.json (opens in a new tab)fixtures/efashion_universe.xml (opens in a new tab)fixtures/sample_webi.json (opens in a new tab)fixtures/sample_webi_variables.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
Generated from the plugin's indexed repository (twells89/businessobjects-to-sigma) — no native marketplace selected
npx claudepluginhub p/twells89-businessobjects-to-sigma