All skills
secondsky avatar

/sap-sac-scripting

@620a19a
by Eddiesecondsky/sap-skills456 stars
120

Comprehensive SAC scripting skill for SAP Analytics Cloud Analytics Designer and Optimized Story Experience. This skill should be used when the user asks to "create SAC script", "debug Analytics Designer", "optimize SAC performance", "planning operations in SAC", "filter data in SAC", "use DataSource API", "chart scripting", "table manipulation", "SAC event handlers", "version management", "data locking", "Optimized Story Experience API", "OSE scripting", "OSE widget API", "OSE DataSource", "story scripting API", "OSE planning API", "OSE method", "optimized story", "SAC story scripting", "story script", "SAC scripting", "debug SAC runtime in Microsoft Edge via CDP", or works with SAC widgets, planning models, or analytics applications.

Use this Skill: https://skilld.dev/gh/secondsky/sap-skills/sap-sac-scripting

This session only. Nothing lands on disk.

referencesanalytics-designer-restrictions.md

≈758 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Analytics Designer Restrictions (2025.23)

Source: help-portal-5128c44bafd04e19a4e1ee352ee1f14e.md (Known Restrictions in Analytics Designer).

Popup limitations

  • Popups larger than main canvas render poorly; add ≥2 widgets for proper display.
  • Height/width settings fail with a single widget.
  • Filter line widgets in popups lose source reference after reload; click each popup to reactivate.
  • setTheme() does not affect popups directly; place widgets in a panel and set theme there.
  • New theme settings require previewing each popup during design.
  • enter/backspace keys fail on multiple tables with Optimized Presentation; avoid that option.
  • Planning mass entry, distribute values, value locks, version history unsupported in popups—place table on canvas/panel and toggle visibility.

Model API limits

  • PlanningModel.createMembers() works only for generic dimensions (not Date).
  • Version management APIs unsupported for BPC writeback-enabled versions; use UI publish/version tools instead.

DataSource function limits

  • setVariableValue: no runtime/design-time validation; unsupported combos can error.
  • setDimensionFilter: ranges on fiscal hierarchies unsupported; users may still change filters in tables even if selection mode locked; runtime filter selection follows design-time selection mode.

Smart Discovery

  • Cannot run after SmartDiscoveryAPIs without specifying Entity (pre-2021.1 versions).

Styling limits

  • Explorer quick menus not controlled via styling panel (Filter/Exclude, Drill, Smart Insight remain).
  • Tables: “Restore to Theme Preference” fails after styling changes; default theme not reapplied.

Export limits

  • Cannot save a theme as new after deletion.
  • Navigation panel: changing sort order unsupported for SAC models on SAP HANA.
  • PDF export: garbled text possible for CJK/Russian/Arabic; CSS partially applied; custom widgets may be incomplete; only visible widgets in containers export (no scrolled content).
  • Number format APIs do not affect tooltip measures (only axis measures).

Chart API limits

  • addMeasure/removeMeasure feeds supported only: Feed.ValueAxis, Feed.ValueAxis2, Feed.Color, Feed.bubbleWidth.
  • onSelect event unsupported for cluster bubble charts.

Browser limits

  • Safari: R visualizations with HTML blocked when 3rd-party cookies blocked; Request Desktop Website not supported for analytic apps on mobile Safari.

Embedding

  • Embedding analytic apps into stories/digital boardroom via web page widget not officially supported.

Input control limits

  • Only dimension member input controls; calculation input controls limited to restricted measures.
  • Dynamic forecast: calculation input controls for version/cut-over date in forecast tables unsupported.
  • Display: after setSelectedMembers() control may show member ID when collapsed/all members selected/hierarchy flat.

Implementation notes

  • Use provided workarounds where possible; verify restricted features in target browser/device.

Source: SKILL.md on GitHub

1 alert16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is a comprehensive reference and template collection for SAP Analytics Cloud (SAC) scripting. It provides secure instructions for setting up an associated Model Context Protocol (MCP) server, including commit pinning and security flags during installation. It also incorporates multiple security best practices for developers, such as origin validation for iframe communication.

  • Socket16d

    1 alert: gptAnomaly

  • Snyk16d

    Risk: MEDIUM · 1 issue

  • Runlayer6mo

    32/61 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 620a19a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 2 months ago
Other metadata
metadata
{
  "maintainer": "Eduard Jiglau",
  "maintainer_email": "hello@sap-ai-skills.com",
  "website": "https://sap-ai-skills.com",
  "version": "2.4.1",
  "last_verified": "2026-06-11",
  "sac_version": "Q2 2026 (2026.8)",
  "api_reference_version": "2025.20 (OSE Q2 2026)",
  "documentation_source": "https://help.sap.com/docs/SAP_ANALYTICS_CLOUD",
  "reference_files": 66,
  "template_patterns": 56,
  "agents": 4,
  "commands": 4,
  "status": "docs_audited_runtime_pending",
  "known_issues": [
    "Live SAC story/runtime checks require tenant evidence before claiming production validation."
  ]
}

README badge

README badge for secondsky/sap-skills/sap-sac-scripting