C_CashBankTP
Cash Transactional Bank Consumption
C_CashBankTP is a Consumption CDS View that provides data about "Cash Transactional Bank Consumption" in SAP S/4HANA. It reads from 1 data source (R_CashBankTP) and exposes 45 fields with key fields BankCountry, BankInternalID. It has 5 associations to related views. It is exposed through 2 OData services (ASQL_F1574A, UI_CASHBANK_MANAGE). Part of development package FCLM_MANAGEBANKS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_CashBankTP | R_CashBankTP | projection |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_CashBankAddress | _BankAddress | $projection.BankCountry = _BankAddress.BankCountry and $projection.BankInternalID = _BankAddress.BankInternalID |
| [0..*] | C_CashBankScriptedAddress | _BankScriptedAddress | $projection.BankCountry = _BankScriptedAddress.BankCountry and $projection.BankInternalID = _BankScriptedAddress.BankInternalID |
| [0..*] | C_CashBankContactPerson | _ContactPerson | $projection.BankCountry = _ContactPerson.BankCountry and $projection.BankInternalID = _ContactPerson.BankInternalID |
| [0..*] | C_CashBankBusinessPartnerUsed | _BusinessPartnerUsed | $projection.BankCountry = _BusinessPartnerUsed.BankCountry and $projection.BankInternalID = _BusinessPartnerUsed.BankInternalID |
| [0..*] | C_CashBankCompanyCodeUsed | _CompanyCodeUsed | $projection.BankCountry = _CompanyCodeUsed.BankCountry and $projection.BankInternalID = _CompanyCodeUsed.BankInternalID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Cash Transactional Bank Consumption | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Search.searchable | true | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F1574A | ASQL_F1574A | C2 | NOT_RELEASED | |
| UI_CASHBANK_MANAGE | UI_CASHBANK_MANAGE | V4 | C1 | NOT_RELEASED |
Fields (45)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BankCountry | BankCountry | Bank Ctry/Rgn. Key | |
| KEY | BankInternalID | BankInternalID | Bank Key | |
| CashBankKeyForDisplay | CashBankKeyForDisplay | Bank Key | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LongBankName | LongBankName | |||
| LongBankBranch | LongBankBranch | |||
| AddressRegion | AddressRegion | Region | ||
| CityName | CityName | Name | ||
| StreetName | StreetName | Text | ||
| BankIsInternal | BankIsInternal | |||
| BankIsStandard | BankIsStandard | |||
| SWIFTCode | SWIFTCode | SWIFT/BIC | ||
| BankNetworkGrouping | BankNetworkGrouping | |||
| BankNumber | BankNumber | Bank Key | ||
| IsMarkedForDeletion | IsMarkedForDeletion | Purch.org. data | ||
| BankCategory | BankCategory | |||
| BankCategoryDescription | _BankCategory | BankCategoryDescription | ||
| BankIsMyBank | BankIsMyBank | |||
| BankHasHouseBanks | BankHasHouseBanks | |||
| BankHasBankAccounts | BankHasBankAccounts | |||
| LastChangeDateTime | LastChangeDateTime | Created On | ||
| LongBankBranchIsHidden | LongBankBranchIsHidden | |||
| BankNumberIsHidden | BankNumberIsHidden | |||
| SWIFTCodeIsHidden | SWIFTCodeIsHidden | |||
| BankNetworkGroupingIsHidden | BankNetworkGroupingIsHidden | |||
| BankAddressIsHidden | BankAddressIsHidden | |||
| BankScriptedAddressIsHidden | BankScriptedAddressIsHidden | |||
| NumberOfBankAccounts | _BankUsage | NumberOfBankAccounts | ||
| NumberOfHouseBanks | _BankUsage | NumberOfHouseBanks | ||
| NumberOfBusinessPartnerUsed | _BankUsage | NumberOfBusinessPartnerUsed | ||
| NumberOfCompanyUsed | _BankUsage | NumberOfCompanyUsed | ||
| BankCountryName | ||||
| RegionName | ||||
| CreatedByUserFullName | _CreatedBy | UserDescription | Full Name | |
| BankHierarchyGroupName | _BankHierarchy | BankHierarchyGroupName | ||
| virtualHouseBanksIsHiddenabap_boolean | ||||
| virtualChangeDocObjectcdobjectv | ||||
| _BankAddress | _BankAddress | |||
| _BankScriptedAddress | _BankScriptedAddress | |||
| _ContactPerson | _ContactPerson | |||
| _BusinessPartnerUsed | _BusinessPartnerUsed | |||
| _CompanyCodeUsed | _CompanyCodeUsed | |||
| _BankCategory | _BankCategory | |||
| _Country | _Country | |||
| _UserContactCardCreation | _UserContactCardCreation |
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_CashBankTP.
-- 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_CashBankTP AS
SELECT
BankCountry,
BankInternalID,
CashBankKeyForDisplay,
CreatedByUser,
LongBankName,
LongBankBranch,
AddressRegion,
CityName,
StreetName,
BankIsInternal,
BankIsStandard,
SWIFTCode,
BankNetworkGrouping,
BankNumber,
IsMarkedForDeletion,
BankCategory,
_BankCategory.BankCategoryDescription AS BankCategoryDescription,
BankIsMyBank,
BankHasHouseBanks,
BankHasBankAccounts,
LastChangeDateTime,
LongBankBranchIsHidden,
BankNumberIsHidden,
SWIFTCodeIsHidden,
BankNetworkGroupingIsHidden,
BankAddressIsHidden,
BankScriptedAddressIsHidden,
_BankUsage.NumberOfBankAccounts AS NumberOfBankAccounts,
_BankUsage.NumberOfHouseBanks AS NumberOfHouseBanks,
_BankUsage.NumberOfBusinessPartnerUsed AS NumberOfBusinessPartnerUsed,
_BankUsage.NumberOfCompanyUsed AS NumberOfCompanyUsed,
_Country._Text[1:Language = $session.system_language].CountryShortName AS BankCountryName,
_Region._RegionText[1:Language = $session.system_language].RegionName AS RegionName,
_CreatedBy.UserDescription AS CreatedByUserFullName,
_BankHierarchy.BankHierarchyGroupName AS BankHierarchyGroupName,
virtual HouseBanksIsHidden :abap_boolean AS virtualHouseBanksIsHiddenabap_boolean,
virtual ChangeDocObject :cdobjectv AS virtualChangeDocObjectcdobjectv
FROM R_CashBankTP
LEFT OUTER JOIN C_CashBankAddress AS _BankAddress ON BankCountry = _BankAddress.BankCountry AND BankInternalID = _BankAddress.BankInternalID -- association [0..1]
LEFT OUTER JOIN C_CashBankScriptedAddress AS _BankScriptedAddress ON BankCountry = _BankScriptedAddress.BankCountry AND BankInternalID = _BankScriptedAddress.BankInternalID -- association [0..*]
LEFT OUTER JOIN C_CashBankContactPerson AS _ContactPerson ON BankCountry = _ContactPerson.BankCountry AND BankInternalID = _ContactPerson.BankInternalID -- association [0..*]
LEFT OUTER JOIN C_CashBankBusinessPartnerUsed AS _BusinessPartnerUsed ON BankCountry = _BusinessPartnerUsed.BankCountry AND BankInternalID = _BusinessPartnerUsed.BankInternalID -- association [0..*]
LEFT OUTER JOIN C_CashBankCompanyCodeUsed AS _CompanyCodeUsed ON BankCountry = _CompanyCodeUsed.BankCountry AND BankInternalID = _CompanyCodeUsed.BankInternalID -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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