C_MakeBkTransfWthTmplItmTP
Consumption View for MBTs with Template Items
C_MakeBkTransfWthTmplItmTP is a Consumption CDS View that provides data about "Consumption View for MBTs with Template Items" in SAP S/4HANA. It reads from 1 data source (I_MakeBkTransfWthTmplItmTP) and exposes 44 fields with key fields MakeBankTransferRunID, MakeBankTransferItemID. It has 9 associations to related views. It is exposed through 1 OData service (ASQL_F3760). Part of development package ODATA_BANKTRANSFER.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MakeBkTransfWthTmplItmTP | base | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_MakeBkTransfWithTmplTP | _mbtlist | $projection.MakeBankTransferRunID = _mbtlist.MakeBankTransferRunID |
| [1..1] | I_BkAcctAndHsBkAcctLinkage | _aclink1 | base.CompanyCode = _aclink1.CompanyCode and base.HouseBank = _aclink1.HouseBank and base.HouseBankAccount = _aclink1.HouseBankAccount and _aclink1.BankAccountStatus = '02' |
| [1..1] | I_BkAcctAndHsBkAcctLinkage | _aclink2 | base.PayeeCompanyCode = _aclink2.CompanyCode and base.PayeeHouseBank = _aclink2.HouseBank and base.PayeeHouseBankAccount = _aclink2.HouseBankAccount and _aclink2.BankAccountStatus = '02' |
| [1..1] | I_HouseBankAccountVH | _bkaccnum1 | base.CompanyCode = _bkaccnum1.CompanyCode and base.HouseBank = _bkaccnum1.HouseBank and base.HouseBankAccount = _bkaccnum1.HouseBankAccount |
| [1..1] | I_HouseBankAccountVH | _bkaccnum2 | base.PayeeCompanyCode = _bkaccnum2.CompanyCode and base.PayeeHouseBank = _bkaccnum2.HouseBank and base.PayeeHouseBankAccount = _bkaccnum2.HouseBankAccount |
| [1..1] | I_CompanyCode | _CoCode1 | base.CompanyCode = _CoCode1.CompanyCode |
| [1..1] | I_CompanyCode | _CoCode2 | base.PayeeCompanyCode = _CoCode2.CompanyCode |
| [1..1] | I_Currency | _Currency | base.Currency = _Currency.Currency |
| [1..1] | C_PaytRequestInstructionKeyVH | _InstructionKeyVH | base.BankCountry = _InstructionKeyVH.BankCountryKey and base.PaymentMethod = _InstructionKeyVH.PaymentMethod and base.DataExchangeInstructionKey = _InstructionKeyVH.DataExchangeInstructionKey |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMBTTMPLITMTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Search.searchable | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F3760 | ASQL_F3760 | C2 | NOT_RELEASED |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MakeBankTransferRunID | I_MakeBkTransfWthTmplItmTP | MakeBankTransferRunID | |
| KEY | MakeBankTransferItemID | I_MakeBkTransfWthTmplItmTP | MakeBankTransferItemID | |
| RepetitiveCode | RepetitiveCode | |||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| BankAccount | _bkaccnum1 | BankAccountNumber | Bank Account | |
| Bank | _aclink1 | Bank | Bank Number | |
| HouseBank | HouseBank | House Bank | ||
| HouseBankAccount | HouseBankAccount | House Bank Account | ||
| BankAccountInternalID | _aclink1 | BankAccountInternalID | Technical ID | |
| BankAccountDescription | _aclink1 | BankAccountDescription | ||
| PayeeCompanyCode | I_MakeBkTransfWthTmplItmTP | PayeeCompanyCode | ||
| PayeeBankAccount | _bkaccnum2 | BankAccountNumber | Bank Account | |
| PayeeBank | _aclink2 | Bank | Bank Number | |
| PayeeHouseBank | PayeeHouseBank | |||
| PayeeHouseBankAccount | PayeeHouseBankAccount | |||
| PayeeBankAccountInternalID | _aclink2 | BankAccountInternalID | Technical ID | |
| PayeeBankAccountDescription | _aclink2 | BankAccountDescription | ||
| PaymentMethod | I_MakeBkTransfWthTmplItmTP | PaymentMethod | Pymt Meth. | |
| ValueDate | ValueDate | Value Date | ||
| PaymentRequestAmountInPaytCrcy | I_MakeBkTransfWthTmplItmTP | PaymentRequestAmountInPaytCrcy | ||
| Currency | I_MakeBkTransfWthTmplItmTP | Currency | Valuation Crcy | |
| Note | I_MakeBkTransfWthTmplItmTP | Note | TradeRequest Comment | |
| DataExchangeInstructionKey | I_MakeBkTransfWthTmplItmTP | DataExchangeInstructionKey | Instruction Key | |
| DataExchangeInstruction1 | I_MakeBkTransfWthTmplItmTP | DataExchangeInstruction1 | Instruction 1 | |
| DataExchangeInstruction2 | I_MakeBkTransfWthTmplItmTP | DataExchangeInstruction2 | Instruction 2 | |
| DataExchangeInstruction3 | I_MakeBkTransfWthTmplItmTP | DataExchangeInstruction3 | Instruction 3 | |
| DataExchangeInstruction4 | I_MakeBkTransfWthTmplItmTP | DataExchangeInstruction4 | Instruction 4 | |
| IsSinglePayment | I_MakeBkTransfWthTmplItmTP | IsSinglePayment | ||
| BankTransferReleaseAndPay | I_MakeBkTransfWthTmplItmTP | BankTransferReleaseAndPay | ||
| StateCentralBankPaymentReason | StateCentralBankPaymentReason | SCB Ind. | ||
| SupplierCountry | SupplierCountry | |||
| PaymentMethodSupplement | PaymentMethodSupplement | Pmnt Meth. Sup. | ||
| PaymentReference | PaymentReference | Payment Reference | ||
| BankAccountRevision | BankAccountRevision | |||
| PaymentRequest | I_MakeBkTransfWthTmplItmTP | PaymentRequest | ||
| BankCountry | BankCountry | Bank Ctry/Rgn. Key | ||
| PaymentMethodName | PaymentMethodName | Text | ||
| CompanyCodeName | _CoCode1 | CompanyCodeName | Company Name | |
| PayeeCompanyCodeName | ||||
| BankName | _aclink1 | BankName | Bank Name | |
| PayeeBankName | ||||
| _mbtlist | _mbtlist | |||
| _Currency | _Currency | |||
| _InstructionKeyVH | _InstructionKeyVH |
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_MakeBkTransfWthTmplItmTP.
-- 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_MakeBkTransfWthTmplItmTP AS
SELECT
base.MakeBankTransferRunID AS MakeBankTransferRunID,
base.MakeBankTransferItemID AS MakeBankTransferItemID,
RepetitiveCode,
CompanyCode,
_bkaccnum1.BankAccountNumber AS BankAccount,
_aclink1.Bank AS Bank,
HouseBank,
HouseBankAccount,
_aclink1.BankAccountInternalID AS BankAccountInternalID,
_aclink1.BankAccountDescription AS BankAccountDescription,
base.PayeeCompanyCode AS PayeeCompanyCode,
_bkaccnum2.BankAccountNumber AS PayeeBankAccount,
_aclink2.Bank AS PayeeBank,
PayeeHouseBank,
PayeeHouseBankAccount,
_aclink2.BankAccountInternalID AS PayeeBankAccountInternalID,
_aclink2.BankAccountDescription AS PayeeBankAccountDescription,
base.PaymentMethod AS PaymentMethod,
ValueDate,
base.PaymentRequestAmountInPaytCrcy AS PaymentRequestAmountInPaytCrcy,
base.Currency AS Currency,
base.Note AS Note,
base.DataExchangeInstructionKey AS DataExchangeInstructionKey,
base.DataExchangeInstruction1 AS DataExchangeInstruction1,
base.DataExchangeInstruction2 AS DataExchangeInstruction2,
base.DataExchangeInstruction3 AS DataExchangeInstruction3,
base.DataExchangeInstruction4 AS DataExchangeInstruction4,
base.IsSinglePayment AS IsSinglePayment,
base.BankTransferReleaseAndPay AS BankTransferReleaseAndPay,
StateCentralBankPaymentReason,
SupplierCountry,
PaymentMethodSupplement,
PaymentReference,
BankAccountRevision,
base.PaymentRequest AS PaymentRequest,
BankCountry,
PaymentMethodName,
_CoCode1.CompanyCodeName AS CompanyCodeName,
cast(_CoCode2.CompanyCodeName as fclm_payee_cocodename preserving type ) AS PayeeCompanyCodeName,
_aclink1.BankName AS BankName,
cast(_aclink2.BankName as fclm_payee_bankname preserving type ) AS PayeeBankName
FROM I_MakeBkTransfWthTmplItmTP AS base
LEFT OUTER JOIN C_MakeBkTransfWithTmplTP AS _mbtlist ON MakeBankTransferRunID = _mbtlist.MakeBankTransferRunID -- association [1..1]
LEFT OUTER JOIN I_BkAcctAndHsBkAcctLinkage AS _aclink1 ON base.CompanyCode = _aclink1.CompanyCode AND base.HouseBank = _aclink1.HouseBank AND base.HouseBankAccount = _aclink1.HouseBankAccount AND _aclink1.BankAccountStatus = '02' -- association [1..1]
LEFT OUTER JOIN I_BkAcctAndHsBkAcctLinkage AS _aclink2 ON base.PayeeCompanyCode = _aclink2.CompanyCode AND base.PayeeHouseBank = _aclink2.HouseBank AND base.PayeeHouseBankAccount = _aclink2.HouseBankAccount AND _aclink2.BankAccountStatus = '02' -- association [1..1]
LEFT OUTER JOIN I_HouseBankAccountVH AS _bkaccnum1 ON base.CompanyCode = _bkaccnum1.CompanyCode AND base.HouseBank = _bkaccnum1.HouseBank AND base.HouseBankAccount = _bkaccnum1.HouseBankAccount -- association [1..1]
LEFT OUTER JOIN I_HouseBankAccountVH AS _bkaccnum2 ON base.PayeeCompanyCode = _bkaccnum2.CompanyCode AND base.PayeeHouseBank = _bkaccnum2.HouseBank AND base.PayeeHouseBankAccount = _bkaccnum2.HouseBankAccount -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CoCode1 ON base.CompanyCode = _CoCode1.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CoCode2 ON base.PayeeCompanyCode = _CoCode2.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON base.Currency = _Currency.Currency -- association [1..1]
LEFT OUTER JOIN C_PaytRequestInstructionKeyVH AS _InstructionKeyVH ON base.BankCountry = _InstructionKeyVH.BankCountryKey AND base.PaymentMethod = _InstructionKeyVH.PaymentMethod AND base.DataExchangeInstructionKey = _InstructionKeyVH.DataExchangeInstructionKey -- association [1..1]
;
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