Agent skill

Sap Sac Planning

by secondsky in secondsky/sap-skills

SAP Analytics Cloud (SAC) planning guidance for planning models, planning-enabled stories, data actions, multi actions, version management, data locking, calendar/input workflows, allocations, value…

GPL-3.0Auto-check passedBusiness, Finance & HR

Install Sap Sac Planning

skills CLI
$ npx skills add secondsky/sap-skills --skill sap-sac-planning -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install secondsky/sap-skills sap-sac-planning --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/secondsky/sap-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/sap-sac-planning/skills/sap-sac-planning .claude/skills/sap-sac-planning && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sap-sac-planning
GitHub stars
462
Token cost
~10k tokens
SKILL.md length
3,096 words
Files
33 (incl. references)
Skills in repo
41
Repo updated
First seen
Licence
GPL-3.0

At a glance

SAP Analytics Cloud (SAC) planning guidance for planning models, planning-enabled stories, data actions, multi actions, version management, data locking, calendar/input workflows, allocations, value…

  • Works in 4 steps: Create Planning Model with required… → Add Table Widget to story and link to… → Enable Planning on the table → …
  • Tasks that involve Performance reviews
  • SKILL.md covers Related Skills, Reference Add-Ons (2026), Table of Contents and When to Use This Skill, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Sap Sac Planning is an agent skill from secondsky/sap-skills. SAP Analytics Cloud (SAC) planning guidance for planning models, planning-enabled stories, data actions, multi actions, version management, data locking, calendar/input workflows, allocations, value driver trees, BPC live planning, and Seamless Planning with SAP Datasphere. Use this for planning design, planning APIs, data action debugging, planning performance reviews, and authenticated SAC planning story triage in Microsoft Edge via CDP; use sap-sac-scripting for non-planning SAC scripts and sap-datasphere for…

Its SKILL.md is about 10k tokens, which your agent loads only when the skill is triggered. The skill folder holds 34 other files, including reference files (for example `README.md`, `agents/openai.yaml` and `references/advanced-formulas.md`).

It sits in Business, Finance & HR, covering Performance reviews. The repository describes itself as: Production-ready plugins for SAP development with AI coding assistants — BTP, CAP, Fiori, ABAP, HANA, Analytics Cloud, Datasphere, and more. The licence is GPL-3.0.

When your agent uses it

  • Tasks that involve Performance reviews

Example prompts

  • “/sap-sac-planning”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Create Planning Model with required dimensions
  2. Add Table Widget to story and link to planning model
  3. Enable Planning on the table
  4. Configure Data Entry

What it can do on your machine

Read from SKILL.md and the folder at commit 652a861. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • help.sap.com
    • learning.sap.com
    • sap-ai-skills.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sap Sac Planning loads about 10k tokens when it runs, and up to ~64k if it reads all its reference files. Until then it costs about 139 tokens; SKILL.md has 3,096 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~139
When it runs · the whole SKILL.md, loaded when a task matches
~10k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~64k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from secondsky/sap-skills at commit 652a861, republished under its GPL-3.0 licence (© secondsky). 3,096 words, ~9,977 tokens.

Download SKILL.mdSave it as .claude/skills/sap-sac-planning/SKILL.md (or your agent's skills folder). This skill also uses 32 other files; get the full folder from GitHub.
name
sap-sac-planning
description
SAP Analytics Cloud (SAC) planning guidance for planning models, planning-enabled stories, data actions, multi actions, version management, data locking, calendar/input workflows, allocations, value driver trees, BPC live planning, and Seamless Planning with SAP Datasphere. Use this for planning design, planning APIs, data action debugging, planning performance reviews, and authenticated SAC planning story triage in Microsoft Edge via CDP; use sap-sac-scripting for non-planning SAC scripts and sap-datasphere for Datasphere modeling.
license
GPL-3.0
metadata.maintainer
Eduard Jiglau
metadata.maintainer_email
hello@sap-ai-skills.com
metadata.website
https://sap-ai-skills.com
metadata.version
2.4.1
metadata.last_verified
2026-06-11
metadata.sac_version
2026.8
metadata.documentation_source
https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7
metadata.api_reference
https://help.sap.com/doc/958d4c11261f42e992e8d01a4c0dde25/2026.8/en-US/index.html
metadata.reference_files
26

SAP Analytics Cloud Planning Skill

  • sap-sac-scripting: Use for Analytics Designer/OSE scripts that automate planning interactions
  • sap-datasphere: Use for Seamless Planning with Datasphere and data foundation design
  • sap-sac-custom-widget: Use when planning applications include custom widgets
  • sap-dependency-security: Use for source-pinned SAC MCP setup and local tooling trust

Comprehensive skill for building enterprise planning applications with SAP Analytics Cloud.


Reference Add-Ons (2026)

  • Execution guides: references/data-actions.md, references/multi-actions.md, references/allocations.md, references/scheduling-calendar.md, references/data-locking.md
  • Modeling & governance: references/modeling-basics.md, references/version-management.md, references/version-edit-modes.md, references/version-publishing-notes.md
  • Calculations & intelligence: references/advanced-formulas.md, references/predictive-conversion.md, references/ai-planning-analytics.md, references/api-snippets.md
  • Workflow aids: references/input-tasks.md, references/job-monitoring.md
  • Browser triage: shared sap-browser-automation for manual in-app authentication, approved Edge profile copying, fresh Edge/CDP setup, DevToolsActivePort fallback, and target selection; local references/edge-cdp-control.md retains planning writeback safety
  • Added in 2025: references/seamless-planning-datasphere.md, references/bpc-live-connection.md, references/value-driver-trees.md, references/data-action-tracing.md
  • New in 2026: references/whats-new-2026-planning.md
  • Ready-to-use templates: templates/data-action-checklist.md, templates/multi-action-checklist.md, templates/parameter-table.md

Use these to keep instructions concise in this file while deep-dives remain one click away.

For authenticated SAC planning browser inspection, use sap-browser-automation for the browser/authentication layer and load local references/edge-cdp-control.md for planning-specific boundaries. Use CDP for local read-only triage of planning tables, console errors, data action status, and approved screenshots; require explicit approval before any writeback, publish, data action, multi action, or lock-changing interaction.


Table of Contents

When to Use This Skill

Use this skill when working on tasks involving:

Planning Application Development:

  • Creating planning-enabled stories with data entry
  • Building analytics designer applications for planning
  • Implementing input forms and planning tables
  • Configuring planning models with Version and Date dimensions
  • Setting up data sources for planning scenarios

Data Actions & Multi Actions:

  • Creating data actions for copy, allocation, and calculations
  • Building multi actions to orchestrate planning operations
  • Configuring parameters (member, number, string, datetime types)
  • Implementing embedded data actions
  • Setting up API steps for external integrations

Version Management:

  • Managing public and private versions
  • Publishing workflows (Publish As, Publish Private Data)
  • Sharing private versions with collaborators
  • Version creation and deletion via API

Planning Workflows:

  • Setting up calendar-based planning processes
  • Creating general tasks, review tasks, and composite tasks
  • Implementing multi-level approval workflows
  • Configuring data locking tasks
  • Managing task dependencies

JavaScript Planning APIs:

  • Using getPlanning() API for data entry
  • Working with PlanningModel API for master data
  • Implementing DataSource API for filtering and querying
  • Writing scripts for planning automation
  • Handling version management via API

Data Entry & Allocation:

  • Implementing spreading (to child members)
  • Configuring distribution (between siblings)
  • Setting up rule-based allocations
  • Copy/paste operations in planning tables
  • Using advanced formulas for calculations

Data Locking:

  • Configuring data locking on models
  • Setting up lock states (locked, restricted, open)
  • Creating data locking tasks in calendar
  • Implementing event-based data locking
  • Integrating data locking in multi actions

Seamless Planning with Datasphere (2025):

  • Planning models with Datasphere storage
  • Cross-model planning with unified data
  • Direct persistence to Datasphere
  • Enterprise data governance for planning

BPC Live Connection:

  • Planning with BPC Embedded on S/4HANA
  • Running BPC planning sequences from SAC
  • Master data planning via BPC
  • Live data connection configuration

Value Driver Trees:

  • Building business value chain visualizations
  • What-if analysis and scenario simulation
  • Driver-based planning
  • Interactive planning dashboards

Data Action Debugging:

  • Tracing data action execution
  • Adding tracepoints for debugging
  • Analyzing intermediate results
  • Troubleshooting allocation issues

Quick Start

Creating a Planning-Enabled Story
  1. Create Planning Model with required dimensions:

    • Version dimension (required)
    • Date dimension (required)
    • Account dimension (recommended)
    • Other business dimensions
  2. Add Table Widget to story and link to planning model

  3. Enable Planning on the table:

    • Select table → Planning panel → Enable Planning
    • Configure version selection (public or private)
  4. Configure Data Entry:

    • Set editable measures/accounts
    • Configure spreading behavior
    • Set up validation rules
Creating an Analytics Designer Planning Application
  1. Create Analytic Application (not Optimized Story)
  2. Add Planning Model as data source
  3. Add Table Widget and enable planning
  4. Write Scripts for:
    • Version selection
    • Data submission
    • Custom validation
    • Workflow triggers

Core Concepts

Model Types

Planning Model:

  • Supports data write-back
  • Requires Version and Date dimensions
  • Enables spreading, distribution, allocation
  • Supports data locking
  • Used for budgeting, forecasting, planning

Analytic Model:

  • Read-only (no write-back)
  • No required dimensions
  • Better performance for reporting
  • Use when planning not needed
Version Management

Public Versions:

  • Visible to all users with access
  • Shared across the organization
  • Require publish to update

Private Versions:

  • Visible only to creator (unless shared)
  • Used for simulation and what-if analysis
  • Can be published to public or new version

Edit Mode:

  • Temporary private copy when editing public version
  • Changes visible only to editor until published
  • Automatic validation on publish

Reference: See references/version-management.md for detailed workflows.

Planning API Overview

getPlanning() API - Table planning operations:

javascript
// Check if planning is enabled
var isEnabled = Table_1.getPlanning().isEnabled();

// Get public versions
var publicVersions = Table_1.getPlanning().getPublicVersions();

// Get private version
var privateVersion = Table_1.getPlanning().getPrivateVersion();

// Set user input (data entry)
Table_1.getPlanning().setUserInput(selection, value);

// Submit data changes
Table_1.getPlanning().submitData();

PlanningModel API - Master data operations:

javascript
// Get dimension members with properties
var members = PlanningModel_1.getMembers("CostCenter");

// Create new members
PlanningModel_1.createMembers("CostCenter", [
    {id: "CC100", description: "Marketing"}
]);

// Update existing members
PlanningModel_1.updateMembers("CostCenter", [
    {id: "CC100", description: "Marketing Dept"}
]);

// Delete members
PlanningModel_1.deleteMembers("CostCenter", ["CC100"]);

DataSource API - Filtering and querying:

javascript
// Set dimension filter
Table_1.getDataSource().setDimensionFilter("Version",
    "[Version].[parentId].&[public.Actual]");

// Get members with booked values only
var members = Table_1.getDataSource().getMembers("Account",
    {accessMode: MemberAccessMode.BookedValues});

// Remove filter
Table_1.getDataSource().removeDimensionFilter("Version");

Reference: See references/api-reference.md for complete API documentation.


Data Actions

Data actions perform calculations and data manipulation on planning models.

Step Types
Step TypePurpose
CopyMove data between dimensions/versions
Advanced FormulaComplex calculations
AllocationRule-based distribution
Currency ConversionConvert currencies
Embedded Data ActionRun another data action
Creating a Copy Step
Source:
  Version = Actual
  Year = 2024

Target:
  Version = Budget
  Year = 2025

Mapping:
  Account = Account (same)
  CostCenter = CostCenter (same)
Advanced Formula Example
// Calculate forecast = Actual + (Budget - Actual) * 0.5
[Version].[Forecast] = [Version].[Actual] +
    ([Version].[Budget] - [Version].[Actual]) * 0.5
Parameters

Add parameters to make data actions reusable:

  • Member Parameter: Select dimension member
  • Number Parameter: Enter numeric value
  • String Parameter: Enter text (2025+)
  • Datetime Parameter: Select date/time (2025+)

Reference: See references/data-actions.md for complete configuration guide.


Multi Actions

Multi actions orchestrate multiple planning operations across models and versions.

Available Step Types
  1. Data Action Step: Run data action with parameters
  2. Version Management Step: Publish versions
  3. Predictive Step: Run forecasting scenarios
  4. Data Import Step: Import from SAP sources
  5. API Step: Call external HTTP APIs
  6. Data Locking Step: Lock/unlock data slices
  7. PaPM Step: Run Profitability and Performance Management
Example Multi Action Flow
1. Clean target version (Data Action)
2. Import actuals (Data Import)
3. Run forecast (Predictive)
4. Calculate allocations (Data Action)
5. Publish to public version (Version Management)
6. Lock published data (Data Locking)
Cross-Model Parameters

When using public dimensions, create cross-model parameters to share values across steps in different models.

Reference: See references/data-actions.md for multi action configuration.


S/4HANA ACDOCP Export

Legacy/deprecated path for exporting native planning data from SAC to SAP S/4HANA's ACDOCP table (central ERP plan data storage). As of Q2 2026, SAP deprecates exporting model data to SAP S/4HANA and recommends the write-back integration scenario instead. Keep this section for maintaining existing landscapes, not as the default design for new planning solutions.

Architecture
SAC Planning Model → Data Export Service → Cloud Connector → API_PLPACDOCPDATA_SRV → ACDOCP
Prerequisites
RequirementDetails
Legacy ModeMust be enabled on planning model
OData ServiceActivate API_PLPACDOCPDATA_SRV in /IWFND/MAINT_SERVICE
Cloud ConnectorRequired for on-premise S/4HANA
Required Dimensions for Export
  • Version (Plan Category): Only public versions can be exported
  • FiscalYearPeriod: Mandatory in export scope
  • Measure: Only ONE target measure per export job
  • G/L Account: Required for ACDOCP mapping
Export Behavior
  • Exported data overwrites existing data within scope
  • S/4HANA generates delta records for changes
  • Deletions don't propagate: Set values to 0 and re-export to clear ACDOCP data
  • Filters cannot be changed after export job creation—name jobs descriptively
Legacy Maintenance Checklist

Do not create this path for new implementations without confirming the deprecation impact, SAP Note 3707288 guidance, and a supported migration path.

  1. Enable Legacy Mode on planning model
  2. Create S/4HANA connection with Cloud Connector
  3. Data Management → Create Data Export Job
  4. Map dimensions to ACDOCP fields
  5. Define export scope (FiscalYearPeriod + PlanningCategory mandatory)
  6. Schedule or run export

Reference: See references/s4hana-acdocp-export.md for legacy configuration details and references/whats-new-2026-planning.md for the Q2 2026 deprecation note.


Seamless Planning with Datasphere

Seamless Planning unifies SAC planning with SAP Datasphere, enabling enterprise-grade storage and governance for plan data.

Architecture Overview
SAC (Planning Logic & UX) ──Direct Persistence──► Datasphere (Data Storage & Governance)

What stays in SAC: Planning calculations, version management, data actions, calendar workflows What moves to Datasphere: Fact data, public dimensions, physical storage, data governance

Key Benefits
BenefitDescription
Unified DataCentralized storage ensures consistency
Direct PersistenceChanges in SAC instantly reflect in Datasphere
Optimized ResourcesReduces SAC memory and storage footprint
Enterprise ReusabilityDatasphere modeling extends to planning data
Prerequisites
  1. SAC tenant on SAP HANA Cloud - Verify in System → About
  2. Co-located tenants - Same SAP data center region
  3. 1:1 tenant linkage - One SAC tenant to one Datasphere tenant
  4. Consistent IdP - Same SAML identity provider
  5. Datasphere space roles - DW Modeler, DW Integrator, or DW Space Administrator
Quick Setup
  1. Create new Planning Model
  2. Select SAP Datasphere Space as Data Storage Location
  3. Configure dimensions (public dimensions stored in Datasphere)
  4. Enable Expose to Datasphere in Model Details
  5. Plan normally in SAC - changes persist automatically
Cross-Model Planning

All models for cross-model operations (data actions, multi actions) must be in the same Datasphere space.

Reference: See references/seamless-planning-datasphere.md for detailed architecture, configuration, and troubleshooting.


BPC Live Connection

SAC supports live data connections to BPC Embedded on S/4HANA, enabling planning with the BPC engine while using SAC's modern interface.

Supported BPC Versions
VersionPlanning Support
BPC Embedded (S/4HANA)Full planning features
BPC for NetWeaverLimited (read-only)
BPC StandardExport to BPC required
Planning Features via BPC Live
  • Data Entry: Direct input to BPC models
  • Planning Sequences: Execute FOX scripts from SAC
  • Version Management: BPC-controlled categories
  • Master Data Planning: Update dimension properties
  • Data Locking: BPC locks integration
Running BPC Planning Sequences
javascript
// Execute BPC planning sequence
PlanningSequence_1.setParameterValue("FISCAL_YEAR", "2025");
PlanningSequence_1.setParameterValue("VERSION", "PLAN");
PlanningSequence_1.execute().then(function() {
    Table_1.getDataSource().refreshData();
});
When to Use BPC Live vs Native SAC

Use BPC Live when: Existing BPC investment, complex FOX scripts, integrated with BW reporting Use Native SAC when: New implementation, simpler requirements, mobile-first applications

Reference: See references/bpc-live-connection.md for setup, prerequisites, and troubleshooting.


Value Driver Trees

Value Driver Trees (VDT) visualize how values flow through a planning model, enabling driver-based planning and what-if analysis.

Use Cases
ScenarioExample
Driver-Based PlanningModel how prices, headcount impact revenue
What-If AnalysisSimulate scenarios, see cascading effects
Strategic PlanningVisualize value chain impacts
Executive PresentationsTouchscreen-friendly boardroom displays
Creating a Value Driver Tree
  1. Add Value Driver Tree widget to story or application
  2. Select planning model with Date dimension
  3. Add nodes (auto-create from model or manual)
  4. Configure measures and structures per node
  5. Link nodes (drivers right, outcomes left)
  6. Set presentation date range
Node Configuration
SetupDescription
1 Account + 1 StructureSingle row of values
Multiple AccountsRow per account (e.g., sales + quantity)
Multiple StructuresCompare scenarios/currencies
JavaScript API
javascript
// Get VDT reference
var vdt = ValueDriverTree_1;

// Get selected node value
var value = vdt.getSelectedNode().getValue("Revenue", "2025Q1");

// Collapse/expand nodes
vdt.collapseNode("Node_Revenue");
vdt.expandNode("Node_Revenue");

Reference: See references/value-driver-trees.md for detailed setup and best practices.


Data Action Tracing

Data Action Tracing is a debugging tool for inspecting intermediate results during data action execution.

When to Use Tracing
ScenarioHow Tracing Helps
New DevelopmentValidate each step produces expected results
Debugging FailuresIdentify which step causes incorrect data
Performance InvestigationSee which steps process most data
Allocation DebuggingValidate driver ratios and distributions
Adding Tracepoints
  1. Open data action in Data Action Designer
  2. Navigate to step where you want to trace
  3. Click Add Tracepoint (or right-click → Add Tracepoint)
  4. Name descriptively (e.g., "After Copy Step", "Before Allocation")
Running Trace Mode
  1. Open data action in designer
  2. Click Run with Tracing
  3. Set required parameters
  4. Execute - data captured at each tracepoint
  5. Review results in Tracing Results Panel
Analyzing Results
ViewDescription
Data at TracepointAll values at that point
Changes Since PreviousDelta between tracepoints
Filtered ViewFocus on specific data
TRACE() in Advanced Formulas
// Add tracepoints in script
[Revenue] = [Quantity] * [Price]
TRACE("After_Revenue_Calc")

[Final] = [Revenue] * (1 + [Tax])
TRACE("After_Tax")

Reference: See references/data-action-tracing.md for complete debugging guide.


Planning Workflows (Calendar)

The SAP Analytics Cloud calendar organizes collaborative planning processes.

Task Types

General Task: Data entry by assignees

  • Attach work file (story/application)
  • Set due dates and notifications
  • Track completion status

Review Task: Approval workflow

  • Review results of general tasks
  • Approve or reject submissions
  • Automatic notification on status change

Composite Task: Combined entry and review

  • Simplified approval for single-level workflows
  • Driving dimension support for regional planning

Data Locking Task: Schedule lock changes

  • Specify data slice to lock/unlock
  • Set target lock state
  • Event-based triggering
Show full SKILL.md (1,214 more words)Show less
Multi-Level Approval
Round 1: Regional Managers review regional plans
    ↓ (on approval)
Round 2: Finance Director reviews consolidated plan
    ↓ (on approval)
Round 3: CFO final approval
    ↓ (on approval)
Data Locking: Lock approved plan data
Task Dependencies

Configure predecessor tasks to create sequential workflows:

  • Review tasks automatically start when predecessor completes
  • Data locking tasks trigger on approval events

Reference: See references/planning-workflows.md for calendar configuration.


Spreading & Distribution

Spreading (Vertical)

Distributes values from parent to child members:

  • Equal Spread: Divide equally among children
  • Proportional Spread: Maintain existing ratios
  • Automatic: SAC determines best method
javascript
// Spreading happens automatically when entering at aggregate level
// Example: Enter 1000 at "Total Regions" spreads to child regions
Distribution (Horizontal)

Moves values between members at same hierarchy level:

  • Select source and target cells
  • Choose distribution method
  • Apply via context menu or script
Allocation by Rules

Configure structured allocations in data actions:

  • Define driver accounts for percentage distribution
  • Set allocation targets
  • Execute via data action or multi action

Data Locking

Protect planning data during and after planning cycles.

Lock States
StateData EntryOwner Can Edit
OpenYesYes
RestrictedNo (except owner)Yes
LockedNoNo
MixedVariesVaries (selection contains multiple states)
Configuration
  1. Enable Data Locking on planning model
  2. Define Driving Dimensions (e.g., Region, Version)
  3. Assign Owners to data slices
  4. Configure Lock Regions via model settings
Script Example
javascript
// Get data locking object
var dataLocking = Table_1.getPlanning().getDataLocking();

// Get lock state for selection
var selection = Table_1.getSelections()[0];
var lockState = dataLocking.getState(selection);

// Check if locked
if (lockState === DataLockingState.Locked) {
    Application.showMessage("This data is locked.");
}

Reference: See references/planning-workflows.md for data locking patterns.


Members on the Fly

Create, update, and delete dimension members dynamically at runtime.

Supported Operations
javascript
// Create new member
PlanningModel_1.createMembers("CostCenter", {
    id: "CC_NEW",
    description: "New Cost Center"
});

// Update existing member
PlanningModel_1.updateMembers("CostCenter", {
    id: "CC_NEW",
    description: "Updated Description"
});

// Get single member
var member = PlanningModel_1.getMember("CostCenter", "CC_NEW");

// Get members with pagination
var members = PlanningModel_1.getMembers("CostCenter", {
    offset: "0",
    limit: "100"
});
Important Restrictions
  • Dimension Type: Only "Generic" dimensions supported (NOT Account, Version, Time, Organization)
  • Refresh Required: Call Application.refreshData() after member changes
  • Custom Properties: Use prefixes to avoid naming conflicts (e.g., "CUSTOM_Region")

Reference: See references/analytics-designer-planning.md for complete API documentation.


Common JavaScript Patterns

Finding Active Version by Attribute
javascript
var allVersions = PlanningModel_1.getMembers("Version");
var activeVersion = "";

for (var i = 0; i < allVersions.length; i++) {
    if (allVersions[i].properties.Active === "X") {
        activeVersion = allVersions[i].id;
        break;
    }
}
console.log("Active Version: " + activeVersion);
Setting Filter from Planning Cycle
javascript
Application.showBusyIndicator();
Table_1.setVisible(false);

// Find active planning cycle
var cycles = PlanningModel_1.getMembers("PlanningCycle");
var activeCycle = "";

for (var i = 0; i < cycles.length; i++) {
    if (cycles[i].properties.Flag === "ACTIVE") {
        activeCycle = cycles[i].id;
        break;
    }
}

// Apply MDX filter
Table_1.getDataSource().setDimensionFilter("Date",
    "[Date].[YQM].&[" + activeCycle + "]");

Table_1.setVisible(true);
Application.hideBusyIndicator();
Version Publishing
javascript
// Get forecast version
var forecastVersion = Table_1.getPlanning().getPublicVersion("Forecast2025");

// Check if changes need publishing
if (forecastVersion.isDirty()) {
    forecastVersion.publish();
    Application.showMessage("Version published successfully.");
}
Data Action Execution
javascript
// Execute data action with parameters
DataAction_1.setParameterValue("Version", "Budget");
DataAction_1.setParameterValue("Year", "2025");

DataAction_1.execute();

// Or execute in background
DataAction_1.executeInBackground();

Reference: See references/javascript-patterns.md for more examples.


Performance Best Practices

Data Action Optimization
  1. Use Input Controls: Link to parameters to reduce data scope
  2. Embed Related Actions: Combine actions on same model/version
  3. Minimize Cross-Model Operations: Keep data in single model when possible
  4. Use Batch Processing: Group operations in single transaction
Story Performance
  1. Enable Data Locking Selectively: Only on models that need it
  2. Use Growing Mode: For large tables with pagination
  3. Limit Visible Dimensions: Reduce data cells displayed
  4. Optimize Filters: Apply story filters before data entry
API Performance
  1. Use Booked Values Filter: Retrieve only posted data
  2. Limit getMembers() Results: Set limit parameter
  3. Cache Member Lists: Store in script variables when reusing
  4. Use Busy Indicator: Improve perceived performance

Troubleshooting

Issue: Data not saving

Check:

  1. Planning enabled on table?
  2. User has planning permissions?
  3. Data locked?
  4. Validation rules failing?

Debug:

javascript
console.log("Planning enabled: " + Table_1.getPlanning().isEnabled());
var lockState = Table_1.getPlanning().getDataLocking().getState(selection);
console.log("Lock state: " + lockState);
Issue: Version not publishing

Check:

  1. Valid changes only? (Invalid changes discarded)
  2. Data access control allowing write?
  3. Version not already published?
Issue: Data action failing

Check:

  1. Source data exists?
  2. Target version writable?
  3. Dimension mappings correct?
  4. Parameters set correctly?

Debug: Use data action tracing table with "Show Only Leaves" option.

Issue: getMembers() returns empty

Check:

  1. Dimension name correct?
  2. Model connected?
  3. User has read access?
  4. Using correct API (PlanningModel vs DataSource)?

Essential Resources:

Planning Model & Data:

Data Actions & Multi Actions:

Version Management:

Data Locking:

Calendar & Workflows:

Allocations & Spreading:

Learning Resources:


Bundled Reference Files

This skill includes comprehensive reference documentation (26 files):

API & Scripting:

  1. references/api-reference.md: Complete Analytics Designer API for planning
  2. references/analytics-designer-planning.md: Planning scripting, setUserInput, versions, data locking, members on the fly
  3. references/api-snippets.md: Quick API code examples and snippets

Core Planning Features: 4. references/data-actions.md: Data Actions, Multi Actions, parameters, steps 5. references/multi-actions.md: Orchestrate multiple planning operations 6. references/allocations.md: Rule-based distribution and allocations 7. references/advanced-formulas.md: Complex calculations and formulas 8. references/predictive-conversion.md: Predictive forecasting integration

Workflow & Collaboration: 9. references/planning-workflows.md: Calendar, tasks, approvals, data locking 10. references/scheduling-calendar.md: Planning calendar setup 11. references/input-tasks.md: Collaborative data entry tasks 12. references/job-monitoring.md: Track data action execution

Version Management: 13. references/version-management.md: Versions, publishing, sharing, edit mode 14. references/version-edit-modes.md: Version editing workflows 15. references/version-publishing-notes.md: Publishing best practices

Integration & Advanced: 16. references/s4hana-acdocp-export.md: Legacy/deprecated S/4HANA ACDOCP export reference for existing landscapes 17. references/ai-planning-analytics.md: AI-powered planning features

Development: 18. references/javascript-patterns.md: Code snippets, patterns, best practices 19. references/modeling-basics.md: Planning model fundamentals 20. references/data-locking.md: Configure and manage data locks 21. references/edge-cdp-control.md: SAC planning browser add-on for the shared sap-browser-automation authentication, Edge/CDP, and recovery layer

New in 2025: 22. references/seamless-planning-datasphere.md: Seamless Planning architecture, prerequisites, configuration with SAP Datasphere 23. references/bpc-live-connection.md: BPC Embedded live connection, planning sequences, master data planning 24. references/value-driver-trees.md: Value driver tree setup, node configuration, JavaScript API 25. references/data-action-tracing.md: Data action tracing, tracepoints, debugging techniques

New in 2026: 26. references/whats-new-2026-planning.md: QRC1 and QRC2 2026 planning features, asymmetric reporting, composite versioning, AI-assisted data actions, API enhancements


Instructions for Claude

When using this skill:

  1. Check model type first - Ensure planning model (not analytic) for write operations
  2. Verify planning enabled - Table must have planning enabled
  3. Use appropriate API - PlanningModel for master data, getPlanning() for transactions
  4. Handle versions correctly - Private for drafts, publish to public when ready
  5. Respect data locking - Check lock state before suggesting edits
  6. Use busy indicators - For long operations to improve UX
  7. Follow MDX syntax - For dimension filters: [Dim].[Hierarchy].&[Member]
  8. Test data actions - Use tracing before production deployment
  9. Consider performance - Apply filters to reduce data scope
  10. Link to documentation - Include relevant SAP Help links in responses

For troubleshooting:

  • Check console for script errors
  • Verify model connectivity
  • Review data action logs
  • Test with simplified scenarios first
  • Check user permissions and data access

What's New in 2026

QRC1 2026 (2026.3)
  • AI-Assisted Data Actions: Generate advanced formula scripts from natural-language comments, or generate comments from existing scripts.
  • Live Data Connectivity to Snowflake: Planning-capable models can connect live to Snowflake.
  • Story Versioning: Up to 10 major versions of stories for safe iterative development.
QRC2 2026 (2026.8)
  • Asymmetric Reporting: Tables with differing time ranges, hierarchies, and measures per row/column. Supports planning data entry.
  • Composite Versioning: Manage up to 10 versions of composites with rollback support.
  • Data Export API in Job Monitor: Track data extraction and delta calculation jobs.
  • Data Import Service API Enhancements: Import master data into Datasphere public dimensions; import external fact data to seamless planning private versions.
  • onAfterExecute Event Enhancement: Additional upload info (message, statistics, rejected records, target version, file name).
  • Multi-Action API Step: HTTP 204 Response: Accepted as success response.
  • Calendar: Team References Retained: Teams auto-sync on event activation.
  • Mixing Advanced Filters in Just Ask: Exclude date members with date range filters.
  • Deprecation: Export Model Data to S/4HANA: Use write-back integration instead.

Reference: See references/whats-new-2026-planning.md for detailed descriptions, usage instructions, and source citations.


Bundled Resources

Reference Documentation
  • references/data-actions.md - Data actions configuration and execution
  • references/multi-actions.md - Multi-action orchestration
  • references/allocations.md - Allocation methods and spreading
  • references/scheduling-calendar.md - Workflow scheduling
  • references/data-locking.md - Data locking configuration
  • references/version-management.md - Version management best practices
  • references/api-reference.md - Planning API reference
  • references/javascript-patterns.md - JavaScript scripting patterns
  • references/edge-cdp-control.md - Planning-specific add-on for the shared sap-browser-automation Edge/CDP and authentication layer
Templates
  • templates/data-action-checklist.md - Data action implementation checklist
  • templates/multi-action-checklist.md - Multi-action setup guide
  • templates/parameter-table.md - Parameter table template

License: GPL-3.0 Version: 1.5.0 Maintained by: Eduard Jiglau Email: hello@sap-ai-skills.com Website: https://sap-ai-skills.com Repository: https://github.com/secondsky/sap-skills

© secondsky, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 32 other files (references) in plugins/sap-sac-planning/skills/sap-sac-planning of secondsky/sap-skills.

  • SKILL.md
  • README.md
  • agents/openai.yaml
  • references/advanced-formulas.md
  • references/ai-planning-analytics.md
  • references/allocations.md
  • references/analytics-designer-planning.md
  • references/api-reference.md
  • references/api-snippets.md
  • references/bpc-live-connection.md
  • references/data-action-tracing.md
  • references/data-actions.md
  • references/data-locking.md
  • references/edge-cdp-control.md
  • references/input-tasks.md
  • references/javascript-patterns.md
  • references/job-monitoring.md
  • references/modeling-basics.md
  • references/multi-actions.md
  • … and 14 more

Open the folder on GitHubat commit 652a861

Compare with similar skills

Sap Sac Planning next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sap Sac Planning compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sap Sac Planning this skillsecondsky/sap-skills462—~10kAutomated safety check: PassGPL-3.0
Nextjs React ExpertDokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI508—~1.7kAutomated safety check: PassCustom licence
Deep Analysisnicepkg/auto-company1941 repos~2.7kAutomated safety check: NotesNone
Gatingoaustegard/claude-skills150—~3.1kAutomated safety check: PassMIT
Tech Presentation Interviewcuriositech/some_claude_skills243—~3.6kAutomated safety check: PassMIT
Wp Performance Reviewelvismdev/claude-wordpress-skills2351 repos~4.5kAutomated safety check: PassMIT

Similar skills

  • Nextjs React Expert

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    React and Next.js performance optimization from Vercel Engineering.

    508 GitHub stars~1.7k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Deep Analysis

    nicepkg/auto-company

    Analytical thinking patterns for comprehensive evaluation, code audits, security analysis, and performance reviews.

    194 GitHub starsUsed in 1 repo~2.7k tokens
    Business, Finance & HRAuto-check: notes
  • Gating

    oaustegard/claude-skills

    Build and audit deterministic verification gates — a check that blocks a pipeline and can be shown to go red.

    150 GitHub stars~3.1k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Tech Presentation Interview

    curiositech/some_claude_skills

    Prepares for "reverse system design" rounds where you present YOUR past technical work.

    243 GitHub stars~3.6k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Wp Performance Review

    elvismdev/claude-wordpress-skills

    WordPress performance code review and optimization analysis.

    235 GitHub starsUsed in 1 repo~4.5k tokens
    Business, Finance & HRAuto-check passed
  • Authoring Skills

    friday-platform/friday-studio

    Authors new agent skills that follow the Anthropic + agentskills.io specification.

    104 GitHub stars~2.4k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed

More from secondsky/sap-skills

All 41 skills in this repo
  • Sap Rpt1

    secondsky/sap-skills

    SAP-RPT-1-OSS local tabular prediction workflows for FI/CO prototype datasets.

    462 GitHub stars~1.8k tokensUpdated 4 days ago
    Auto-check: notes
  • Dependency Upgrade

    secondsky/sap-skills

    Secure dependency upgrades with supply chain protection, cooldowns, and staged rollout.

    462 GitHub stars~4.8k tokensUpdated 4 days ago
    Auto-check: warnings
  • Sap Abap

    secondsky/sap-skills

    Comprehensive ABAP development skill for SAP systems. An agent skill from secondsky/sap-skills.

    462 GitHub stars~3.9k tokensUpdated 4 days ago
    Auto-check passed
  • Sap Dependency Security

    secondsky/sap-skills

    SAP dependency security and MCP executable trust policy with secure upgrades, cooldowns, staged rollout, and supply-chain protection.

    462 GitHub stars~5.9k tokensUpdated 4 days ago
    Auto-check: warnings
  • Sap Abap Cds

    secondsky/sap-skills

    Comprehensive SAP ABAP CDS (Core Data Services) reference for data modeling, view development, and semantic enrichment.

    462 GitHub stars~4.2k tokensUpdated 4 days ago
    Auto-check passed
  • Sap AI Core

    secondsky/sap-skills

    Guides development with SAP AI Core and SAP AI Launchpad for enterprise AI/ML workloads on SAP BTP.

    462 GitHub stars~3.3k tokensUpdated 4 days ago
    Auto-check passed

Questions about Sap Sac Planning

What does Sap Sac Planning do?

SAP Analytics Cloud (SAC) planning guidance for planning models, planning-enabled stories, data actions, multi actions, version management, data locking, calendar/input workflows, allocations, value…. Sap Sac Planning is an agent skill from secondsky/sap-skills. SAP Analytics Cloud (SAC) planning guidance for planning models, planning-enabled stories, data actions, multi actions, version management, data locking, calendar/input workflows, allocations, value driver trees, BPC live planning, and Seamless Planning with SAP Datasphere.

When should I use Sap Sac Planning?

Sap Sac Planning fits situations like: tasks that involve Performance reviews.

How do I install Sap Sac Planning in Claude Code?

Run `npx skills add secondsky/sap-skills --skill sap-sac-planning -a claude-code`. Or copy the skill folder (plugins/sap-sac-planning/skills/sap-sac-planning in secondsky/sap-skills) into .claude/skills/sap-sac-planning in your project. Claude Code loads it when a task matches its description.

How do I install Sap Sac Planning in Codex?

Run `npx skills add secondsky/sap-skills --skill sap-sac-planning -a codex`. Or copy the skill folder (plugins/sap-sac-planning/skills/sap-sac-planning in secondsky/sap-skills) into .agents/skills/sap-sac-planning in your project. Codex loads it when a task matches its description.

Can I use Sap Sac Planning in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add secondsky/sap-skills --skill sap-sac-planning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sap-sac-planning, .gemini/skills/sap-sac-planning, .github/skills/sap-sac-planning and .opencode/skills/sap-sac-planning in your project.

What does Sap Sac Planning need to run?

SKILL.md names no scripts, command-line tools or credentials: Sap Sac Planning is instructions for the agent only.

Does Sap Sac Planning access the network?

SKILL.md names 3 domains. As links in the text: help.sap.com, learning.sap.com and sap-ai-skills.com. This is read from the text; nothing was executed.

Is Sap Sac Planning safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sap Sac Planning use?

Sap Sac Planning is published under the GPL-3.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sap Sac Planning use?

About 10k tokens (SKILL.md is roughly 40k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 54k tokens, read only when the agent opens those files.

What are the alternatives to Sap Sac Planning?

Skills that share tags, products or a category with Sap Sac Planning: Nextjs React Expert (Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI, 508 stars), Deep Analysis (nicepkg/auto-company, 194 stars), Gating (oaustegard/claude-skills, 150 stars) and Tech Presentation Interview (curiositech/some_claude_skills, 243 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sap Sac Planning?

secondsky (a GitHub user) maintains it in secondsky/sap-skills, which has 462 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 5, 2026.

Source: secondsky/sap-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.