I_AccountMasterData

DDL: I_ACCOUNTMASTERDATA SQL: IACCTMASTERDATA Type: view COMPOSITE

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)

SourceAliasJoin Type
I_BhvrlInsgtsCAHeader fkkvk from
I_BhvrlInsgtsCAPartner fkkvkp inner
I_BhvrlInsgtsCustomerWithRole I_BhvrlInsgtsCustomerWithRole inner
I_EventXtrctConfigWithParam I_EventXtrctConfigWithParam inner

Parameters (1)

NameTypeDefault
P_BhvrlInsgtsAccountCategory bei_vktyp

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_AccountTypeTxt _AccntTxt $projection.BhvrlInsgtsAccountCategory = _AccntTxt.BhvrlInsgtsAccountCategory

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;