C_DK_SAFTHeaderCoHouseBank

DDL: C_DK_SAFTHEADERCOHOUSEBANK Type: view_entity CONSUMPTION

SAF T Danish Header Company House Bank

C_DK_SAFTHeaderCoHouseBank is a Consumption CDS View that provides data about "SAF T Danish Header Company House Bank" in SAP S/4HANA. It reads from 2 data sources (I_BankAccount, I_HouseBankAccount) and exposes 14 fields with key fields CompanyCode, BankAccountInternalID.

Data Sources (2)

SourceAliasJoin Type
I_BankAccount b inner
I_HouseBankAccount c inner

Annotations (7)

NameValueLevelField
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
EndUserText.label SAF T Danish Header Company House Bank view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode a CompanyCode Receiver Company Code
KEY BankAccountInternalID I_BankAccount BankAccountInternalID Technical ID
IBAN I_BankAccount IBAN IBAN House Bank
BankAccount I_HouseBankAccount BankAccount Bank acct
BankName
Bank I_BankAccount Bank Bank Number
BankCountry I_BankAccount BankCountry Bank Ctry/Rgn. Key
SWIFTCode
CountryCurrency
BankAccountCurrency I_BankAccount BankAccountCurrency Currency
GLAccount I_HouseBankAccount GLAccount General Ledger
ItemIsReportingRelevant
_Bank I_BankAccount _Bank
_BankCountry I_BankAccount _BankCountry

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 C_DK_SAFTHeaderCoHouseBank.
-- 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.

CREATE VIEW C_DK_SAFTHeaderCoHouseBank AS
SELECT
  a.CompanyCode AS CompanyCode,
  b.BankAccountInternalID AS BankAccountInternalID,
  b.IBAN AS IBAN,
  c.BankAccount AS BankAccount,
  b._Bank.BankName AS BankName,
  b.Bank AS Bank,
  b.BankCountry AS BankCountry,
  b._Bank.SWIFTCode AS SWIFTCode,
  b._Bank._Country.CountryCurrency AS CountryCurrency,
  b.BankAccountCurrency AS BankAccountCurrency,
  c.GLAccount AS GLAccount,
  'X' AS ItemIsReportingRelevant,
  b._Bank AS _Bank,
  b._BankCountry AS _BankCountry
INNER JOIN I_HouseBankAccount AS c ON /* join condition not captured in parsed metadata */
INNER JOIN I_BankAccount AS b ON /* join condition not captured in parsed metadata */
;