I_SecurityAccount

DDL: I_SECURITYACCOUNT SQL: ISECACCOUNT Type: view BASIC

Security Account

I_SecurityAccount (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Securities Account · Financial Operations

I_SecurityAccount is a Basic CDS View (Dimension) that provides data about "Security Account" in SAP S/4HANA. It reads from 1 data source (twd01) and exposes 9 fields with key fields CompanyCode, SecurityAccount. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Master Data
Data CategoryDimension
StatusReleased
Data Extraction TypeFull (physical deletions are possible in source tables)
Corresponding DataSourceISECACCOUNT
Purpose
This CDS view provides access to securities account master data. It answers the following questions: Which securities accounts exist? To which securities account type and group does a securities account belong? To which depository bank does a securities account belong?

Prerequisites
The role must grant display authorization for the following authorization objects and fields: Authorization for Securities Account ( T_DEAL_DP ) Company Code

Structure
Main CDS filters The main filters are: Company code Securities account Attributes Some important attributes are: Company code Securities account Securities account name Securities account group Securities account type Depository bank

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessFinancial Operations
Application ComponentFIN-FSCM-TRM
CapabilitiesAnalytical Dimension, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageFinancial Operations for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to securities account master data. It answers the following questions:</p> <ul> <li><p>Which securities accounts exist?</p></li> <li><p>To which securities account type and group does a securities account belong?</p></li> <li><p>To which depository bank does a securities account belong?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
twd01 SecurityAccount from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SecurityAccountType _SecurityAccountType $projection.SecurityAccountType = _SecurityAccountType.SecurityAccountType
[0..1] I_SecurityAccountGroup _SecurityAccountGroup $projection.SecurityAccountGroup = _SecurityAccountGroup.SecurityAccountGroup and $projection.CompanyCode = _SecurityAccountGroup.CompanyCode

Annotations (20)

NameValueLevelField
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ISECACCOUNT view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Security Account view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey SecurityAccount view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.sapObjectNodeType.name SecuritiesAccount view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode twd01 bukrs Company Code
KEY SecurityAccount Security Account
SecurityAccountName Name of the Security Account
SecurityAccountGroup Securities Account Group
SecurityAccountType Securities Account Type
DepositoryBank Business Partner in Role Depository Bank
_CompanyCode _CompanyCode
_SecurityAccountType _SecurityAccountType
_SecurityAccountGroup _SecurityAccountGroup

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_SecurityAccount.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ISECACCOUNT

CREATE VIEW I_SecurityAccount AS
SELECT
  SecurityAccount.bukrs AS CompanyCode,
  cast(SecurityAccount.rldepo as ftr_gen_security_account preserving type) AS SecurityAccount,
  cast(SecurityAccount.xldepo as ftr_gen_security_account_name preserving type) AS SecurityAccountName,
  cast(SecurityAccount.sec_acc_grp as ftr_gen_sec_account_group preserving type) AS SecurityAccountGroup,
  cast(SecurityAccount.secacc_type as ftr_gen_security_account_type preserving type ) AS SecurityAccountType,
  cast(SecurityAccount.rdpbank as ftr_gen_partnr_depository_bank preserving type ) AS DepositoryBank
FROM twd01 AS SecurityAccount
LEFT OUTER JOIN I_SecurityAccountType AS _SecurityAccountType ON SecurityAccountType = _SecurityAccountType.SecurityAccountType  -- association [0..1]
LEFT OUTER JOIN I_SecurityAccountGroup AS _SecurityAccountGroup ON SecurityAccountGroup = _SecurityAccountGroup.SecurityAccountGroup AND CompanyCode = _SecurityAccountGroup.CompanyCode  -- association [0..1]
;