ERPClimb logoERPClimb
SAC Security
SAC / Datasphereintermediate 9 min read

Designing Row-Level Data Access Control in SAC Models (Part 3)

Preview · a free account unlocks the full lesson

Key takeaway

Learn how to implement row-level (data-level) security in SAC using Data Access Control objects on planning and BI models, and how this interacts with role-based object security.

In this lessonShow sections

Visual overview

Designing Row-Level Data Access Control in SAC Models (Part 3) — learning sheetIn one line: Learn how to implement row-level (data-level) security in SAC using Data Access Control objects on planning and BI models, and how this interacts with role-based object security.ERPClimb.com / SAC / LESSON 3/4 / LEARNING SHEETDesigning Row-Level Data Access Control in SAC Models(Part 3)1 · IN ONE LINELearn how to implement row-level (data-level) security in SAC using Data Access Controlobjects on planning and BI models, and how this interacts with role-based object security.2 · KEY IDEAS EXPLAINED1Role-based security in SAC controls what a usercan see and do at the object level (which stories,models, or folders they can access), but it doesnot restrict which rows of data within a model auser is allowed to view. That is the job of DataAccess Control (DAC), SAC's mechanism for…2Data Access Control in SAC works by linking adimension (or a specific attribute of a dimension)in a model to a mapping of user attributes. Youtypically build a dedicated 'Data Access Control'object in the modeler, choose the model and thedimension to secure (for example, Region, Cost…3Once a Data Access Control object is created andactivated, it is applied to the target model, andfrom that point every story, application, orplanning model consuming that model automaticallyinherits the row filtering — there is no need torebuild each story. This is a key operational…4A critical design decision is how DAC interactswith public versus private dimensions, and withmodel types. Not all dimension types or modelconfigurations support DAC identically, andplanning models have additional considerationsbecause write-back must also respect the same…3 · DO · AVOIDBest practice!Common mistakeDrive Data Access Control mappings from amaintained source table or system-of-record…Clearly separate responsibilities:object-level security via roles/teams for 'can…For live-connected models, rely primarily onsource-system authorizations and use SAC DAC…✕Confusing role-based object security (who canopen a story) with row-level Data Access…✕Manually maintaining a small hardcoded DACmapping in SAC instead of a…✕Not testing planning/write-back behaviorseparately from viewing behavior, assuming DAC…4 · IN A REAL PROJECTA retail client rolled out a single SAC sales planning model to 40 regional managers plus a small centralfinance team. Initially all users shared one model and one story, relying only on team-based folder security,which meant every regional manager could see and, worse, plan against every other region's numbers. During UAT…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Role-based security in SAC controls what a user can see and do at the object level (which stories, models, or folders they can access), but it does not restrict which rows of data within a model a user is allowed to view. That is the job of Data Access Control (DAC), SAC's mechanism for row-level security.

This distinction matters enormously in real deployments: a sales manager and a finance controller may both have 'View' access to the same regional sales model, but each should only see data for their own region, cost center, or profit center. Without row-level security, every authorized user sees every row, which is both a data governance risk and often a contractual or regulatory problem (e.g., HR compensation data, customer-specific pricing).

Data Access Control in SAC works by linking a dimension (or a specific attribute of a dimension) in a model to a mapping of user attributes. You typically build a dedicated 'Data Access Control' object in the modeler, choose the model and the dimension to secure (for example, Region, Cost Center, or Company Code), and then define which values each user or team is permitted to see.

This mapping can be maintained manually inside SAC, or driven by a user attribute stored in the SAC user profile (such as a custom attribute populated during provisioning or SSO), or driven by data coming from a source table/model that lists user-to-value assignments. The source-table approach scales much better for large user populations because it can be refreshed as part of data loads rather than manually maintained by an administrator.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.