I_AccountMasterData
Account Master Data
I_AccountMasterData is a Composite CDS View that provides data about "Account Master Data" in SAP S/4HANA. It reads from 4 data sources (I_BhvrlInsgtsCAHeader, I_BhvrlInsgtsCAPartner, I_BhvrlInsgtsCustomerWithRole, I_EventXtrctConfigWithParam) and exposes 9 fields with key fields BusinessPartner, BhvrlInsgtsAccountNumber. It has 1 association to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_BhvrlInsgtsCAHeader | fkkvk | from |
| I_BhvrlInsgtsCAPartner | fkkvkp | inner |
| I_BhvrlInsgtsCustomerWithRole | I_BhvrlInsgtsCustomerWithRole | inner |
| I_EventXtrctConfigWithParam | I_EventXtrctConfigWithParam | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_BhvrlInsgtsAccountCategory | bei_vktyp |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_AccountTypeTxt | _AccntTxt | $projection.BhvrlInsgtsAccountCategory = _AccntTxt.BhvrlInsgtsAccountCategory |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IACCTMASTERDATA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Account Master Data | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessPartner | I_BhvrlInsgtsCAPartner | BusinessPartner | Issuing Authority |
| KEY | BhvrlInsgtsAccountNumber | I_BhvrlInsgtsCAHeader | BhvrlInsgtsAccountNumber | Tech. CtrAcct |
| CustomerEventRecordID | ||||
| CompanyCode | I_BhvrlInsgtsCAPartner | CompanyCode | Receiver Company Code | |
| BhvrlInsgtsAccountName | I_BhvrlInsgtsCAPartner | BhvrlInsgtsAccountName | Cont. acct name | |
| BhvrlInsgtsAccountCategory | I_BhvrlInsgtsCAHeader | BhvrlInsgtsAccountCategory | Date type | |
| BhvrlInsgtsAccountCategoryTxt | _AccntTxt | BhvrlInsgtsAccountCategoryTxt | ||
| CAApplicationArea | _AccntTxt | CAApplicationArea | ApplicationArea | |
| CustomerEventStartDate | I_BhvrlInsgtsCAPartner | CreationDate | Time Stamp |
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_AccountMasterData.
-- 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: IACCTMASTERDATA
-- Parameters: P_BhvrlInsgtsAccountCategory : bei_vktyp
CREATE VIEW I_AccountMasterData AS
SELECT
fkkvkp.BusinessPartner AS BusinessPartner,
fkkvk.BhvrlInsgtsAccountNumber AS BhvrlInsgtsAccountNumber,
cast(concat(fkkvkp.BusinessPartner,fkkvkp.BhvrlInsgtsAccountNumber) as abap.char(70)) AS CustomerEventRecordID,
fkkvkp.CompanyCode AS CompanyCode,
fkkvkp.BhvrlInsgtsAccountName AS BhvrlInsgtsAccountName,
fkkvk.BhvrlInsgtsAccountCategory AS BhvrlInsgtsAccountCategory,
_AccntTxt.BhvrlInsgtsAccountCategoryTxt AS BhvrlInsgtsAccountCategoryTxt,
_AccntTxt.CAApplicationArea AS CAApplicationArea,
fkkvkp.CreationDate AS CustomerEventStartDate
FROM I_BhvrlInsgtsCAHeader AS fkkvk
INNER JOIN I_BhvrlInsgtsCAPartner AS fkkvkp ON /* join condition not captured in parsed metadata */
INNER JOIN I_EventXtrctConfigWithParam ON /* join condition not captured in parsed metadata */
INNER JOIN I_BhvrlInsgtsCustomerWithRole ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AccountTypeTxt AS _AccntTxt ON BhvrlInsgtsAccountCategory = _AccntTxt.BhvrlInsgtsAccountCategory -- association [1..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA