C_BankTP

DDL: C_BANKTP Type: view_entity CONSUMPTION

Consumption Bank TP

C_BankTP is a Consumption CDS View that provides data about "Consumption Bank TP" in SAP S/4HANA. It reads from 1 data source (R_BankTP) and exposes 33 fields with key fields BankCountry, BankInternalID. It has 1 association to related views. It is exposed through 1 OData service (UI_BANK_MANAGE).

Data Sources (1)

SourceAliasJoin Type
R_BankTP R_BankTP projection

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_BankChangeDocument _BankChangeDocument $projection.BankCountry = _BankChangeDocument.BankCountry and $projection.BankInternalID = _BankChangeDocument.BankInternalID

Annotations (14)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Consumption Bank TP view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix BNK view
AbapCatalog.extensibility.allowNewDatasources true view
AbapCatalog.extensibility.quota.maximumFields 500 view
AbapCatalog.extensibility.quota.maximumBytes 5000 view
AbapCatalog.extensibility.allowNewCompositions true view
VDM.viewType #CONSUMPTION view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_BANK_MANAGE UI_BANK_MANAGE V4 C1 NOT_RELEASED

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY BankCountry BankCountry Bank Ctry/Rgn. Key
KEY BankInternalID BankInternalID Bank Key
BankKeyForDisplay BankKeyForDisplay Bank Key (Bank Name)
LongBankName LongBankName
BankName BankName Bank Name
LongBankBranch LongBankBranch
BankBranch BankBranch
AddressRegion AddressRegion Region
Region Region Venue Region
StreetName StreetName Text
CityName CityName Name
ShortStreetName ShortStreetName
ShortCityName ShortCityName
SWIFTCode SWIFTCode SWIFT/BIC
BankNetworkGrouping BankNetworkGrouping
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
BankNumber BankNumber Bank Key
BankCategory BankCategory
BankCategoryDescription BankCategoryDescription
LastChangeDateTime LastChangeDateTime Created On
CreationDate CreationDate Time Stamp
BankCountryName
RegionName
LongBankBranchIsHidden LongBankBranchIsHidden
BankNumberIsHidden BankNumberIsHidden
SWIFTCodeIsHidden SWIFTCodeIsHidden
BankNetworkGroupingIsHidden BankNetworkGroupingIsHidden
BankCategoryIsHidden BankCategoryIsHidden
BankAddressIsHidden BankAddressIsHidden
BankScriptedAddressIsHidden BankScriptedAddressIsHidden
_BankChangeDocument _BankChangeDocument
_BankCategory _BankCategory
_Country _Country

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_BankTP.
-- 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_BankTP AS
SELECT
  BankCountry,
  BankInternalID,
  BankKeyForDisplay,
  LongBankName,
  BankName,
  LongBankBranch,
  BankBranch,
  AddressRegion,
  Region,
  StreetName,
  CityName,
  ShortStreetName,
  ShortCityName,
  SWIFTCode,
  BankNetworkGrouping,
  IsMarkedForDeletion,
  BankNumber,
  BankCategory,
  BankCategoryDescription,
  LastChangeDateTime,
  CreationDate,
  _Country._Text[1:Language = $session.system_language].CountryShortName AS BankCountryName,
  _Region._RegionText[1:Language = $session.system_language].RegionName AS RegionName,
  LongBankBranchIsHidden,
  BankNumberIsHidden,
  SWIFTCodeIsHidden,
  BankNetworkGroupingIsHidden,
  BankCategoryIsHidden,
  BankAddressIsHidden,
  BankScriptedAddressIsHidden
FROM R_BankTP
LEFT OUTER JOIN C_BankChangeDocument AS _BankChangeDocument ON BankCountry = _BankChangeDocument.BankCountry AND BankInternalID = _BankChangeDocument.BankInternalID  -- association [0..*]
;