C_MakeBankTransferTP

DDL: C_MAKEBANKTRANSFERTP Type: view CONSUMPTION Package: ODATA_BANKTRANSFER

Make Bank Transfer View

C_MakeBankTransferTP is a Consumption CDS View that provides data about "Make Bank Transfer View" in SAP S/4HANA. It reads from 1 data source (I_MakeBankTransferTP) and exposes 65 fields with key field PaymentRequest. It has 7 associations to related views. It is exposed through 1 OData service (ASQL_F0691). Part of development package ODATA_BANKTRANSFER.

Data Sources (1)

SourceAliasJoin Type
I_MakeBankTransferTP _PaymentRequest from

Associations (7)

CardinalityTargetAliasCondition
[0..*] I_BankAccountText _PayingBankAcctText $projection.PayingBankAccountInternalID = _PayingBankAcctText.BankAccountInternalID
[0..*] I_BankAccountText _PayeeBankAcctText $projection.PayeeBankAccountInternalID = _PayeeBankAcctText.BankAccountInternalID
[0..1] I_Bank_2 _PayingBank $projection.BankCountry = _PayingBank.BankCountry and $projection.BankInternalID = _PayingBank.BankInternalID
[0..1] I_Bank_2 _PayeeBank $projection.PayeeBankCountry = _PayeeBank.BankCountry and $projection.PayeeBankKey = _PayeeBank.BankInternalID
[0..1] I_RepetitiveCodeVH _RepetitiveCodeVH $projection.RepetitiveCode = _RepetitiveCodeVH.RepetitiveCode and $projection.PayingCompanyCode = _RepetitiveCodeVH.PayingCompanyCode and $projection.PayingBankAccountInternalID = _RepetitiveCodeVH.PayingBankAccountInternalID and $projection.PayingBankAccount = _RepetitiveCodeVH.PayingBankAccount
[0..*] C_CurrencyValueHelp _PaymentRequestCurrency $projection.PaymentRequestCurrency = _PaymentRequestCurrency.Currency
[0..1] C_ClrgAcctgDocWthBatQuickVw _TrackInfo $projection.PaymentRequest = _TrackInfo.PaymentRequest and $projection.ClearingAccountingDocument = _TrackInfo.ClearingDocumentNumber

Annotations (24)

NameValueLevelField
AbapCatalog.sqlViewName CMAKEBTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Make Bank Transfer View view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.representativeKey PaymentRequest view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
Consumption.semanticObject BankAccount view
UI.headerInfo.typeName Make Bank Transfers view
UI.headerInfo.typeNamePlural Bank Transfers view
UI.headerInfo.title.label Payment Request view
UI.headerInfo.title.value PaymentRequest view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F0691 ASQL_F0691 C2 NOT_RELEASED

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY PaymentRequest I_MakeBankTransferTP PaymentRequest
ValueDate I_MakeBankTransferTP ValueDate Value Date
AccountingDocumentCreationDate I_MakeBankTransferTP AccountingDocumentCreationDate Journal Entry Date
PayingCompanyCode I_MakeBankTransferTP PayingCompanyCode Paying Company Code
PayingCompanyCodeName I_MakeBankTransferTP PayingCompanyCodeName
PayingBankAccountInternalID I_MakeBankTransferTP PayingBankAccountInternalID Technical ID
PayingBankAccount PayingBankAccount Bank Account
PayingBankAccountDescription
PayingHouseBank PayingHouseBank House Bank
PayingHouseBankAccount PayingHouseBankAccount House Bank Account
PayeeHouseBank PayeeHouseBank
PayeeHouseBankAccount PayeeHouseBankAccount
PaymentRequestAmountInPaytCrcy I_MakeBankTransferTP PaymentRequestAmountInPaytCrcy
PaymentRequestCurrency I_MakeBankTransferTP PaymentRequestCurrency
PaymentMethod I_MakeBankTransferTP PaymentMethod Pymt Meth.
PaymentMethodName I_MakeBankTransferTP PaymentMethodName Text
PayeeBankAccountInternalID I_MakeBankTransferTP PayeeBankAccountInternalID Technical ID
PayeeBankAccount PayeeBankAccount Bank Account
PayeeBankAccountDescription
PayeeCompanyCode
PayeeCompanyCodeName
CreatedByUser I_MakeBankTransferTP CreatedByUser User Name
CreatedByUserDescription I_MakeBankTransferTP CreatedByUserDescription Description
StatusCode I_MakeBankTransferTP StatusCode Statuscode
SystemStatusName SystemStatusName
PaymentRequestPostingDate I_MakeBankTransferTP PaymentRequestPostingDate
Note I_MakeBankTransferTP Note TradeRequest Comment
ClearingAccountingDocument I_MakeBankTransferTP ClearingAccountingDocument Clearing Journal Entry
RepetitiveCode I_MakeBankTransferTP RepetitiveCode
PaytReqIsReleasedForPosting I_MakeBankTransferTP PaytReqIsReleasedForPosting
PaytReqIsCompleted I_MakeBankTransferTP PaytReqIsCompleted
PaytReqIsReleasedForPayment I_MakeBankTransferTP PaytReqIsReleasedForPayment
IsReversed I_MakeBankTransferTP IsReversed Reversed?
BankTransferReleaseAndPay BankTransferReleaseAndPay
PayingBankKey Bank Key
BankName
PayeeBankKey
PayeeBankName
BankAccountRevision BankAccountRevision
IsSinglePayment IsSinglePayment
StateCentralBankPaymentReason I_MakeBankTransferTP StateCentralBankPaymentReason SCB Ind.
SupplyingCountry I_MakeBankTransferTP SupplyingCountry Supplying Ctry/Reg.
DataExchangeInstructionKey I_MakeBankTransferTP DataExchangeInstructionKey Instruction Key
DataExchangeInstruction1 I_MakeBankTransferTP DataExchangeInstruction1 Instruction 1
DataExchangeInstruction2 I_MakeBankTransferTP DataExchangeInstruction2 Instruction 2
DataExchangeInstruction3 I_MakeBankTransferTP DataExchangeInstruction3 Instruction 3
DataExchangeInstruction4 I_MakeBankTransferTP DataExchangeInstruction4 Instruction 4
PaymentMethodSupplement I_MakeBankTransferTP PaymentMethodSupplement Pmnt Meth. Sup.
PaymentReference I_MakeBankTransferTP PaymentReference Payment Reference
Country I_MakeBankTransferTP BankCountry Bank Ctry/Rgn. Key
BankInternalID BankInternalID Bank Key
BankCountry BankCountry Bank Ctry/Rgn. Key
PayeeBankCountry
BankKey BankInternalID Bank Key
PayeeBank PayeeBank
PayeeCountryName
LogHandle LogHandle LogsHandle
PaymentRequestOrigin I_MakeBankTransferTP PaymentRequestOrigin
_TrackInfo _TrackInfo
CountryName
BankCountryName
DataExchInstructionKeyName
_PaymentRequestCurrency _PaymentRequestCurrency
_RepetitiveCodeVH _RepetitiveCodeVH
_PmtMetdSupmntText _PmtMetdSupmntText

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_MakeBankTransferTP.
-- 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_MakeBankTransferTP AS
SELECT
  _PaymentRequest.PaymentRequest AS PaymentRequest,
  _PaymentRequest.ValueDate AS ValueDate,
  _PaymentRequest.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
  _PaymentRequest.PayingCompanyCode AS PayingCompanyCode,
  _PaymentRequest.PayingCompanyCodeName AS PayingCompanyCodeName,
  _PaymentRequest.PayingBankAccountInternalID AS PayingBankAccountInternalID,
  PayingBankAccount,
  _PayingBankAcctText[1: Language = $session.system_language].BankAccountDescription AS PayingBankAccountDescription,
  PayingHouseBank,
  PayingHouseBankAccount,
  PayeeHouseBank,
  PayeeHouseBankAccount,
  _PaymentRequest.PaymentRequestAmountInPaytCrcy AS PaymentRequestAmountInPaytCrcy,
  _PaymentRequest.PaymentRequestCurrency AS PaymentRequestCurrency,
  _PaymentRequest.PaymentMethod AS PaymentMethod,
  _PaymentRequest.PaymentMethodName AS PaymentMethodName,
  _PaymentRequest.PayeeBankAccountInternalID AS PayeeBankAccountInternalID,
  PayeeBankAccount,
  _PayeeBankAcctText[1: Language = $session.system_language].BankAccountDescription AS PayeeBankAccountDescription,
  cast( _PaymentRequest.PayeeCompanyCode as fclm_payee_companycode preserving type ) AS PayeeCompanyCode,
  cast(_PaymentRequest.PayeeCompanyCodeName as fclm_payee_cocodename preserving type ) AS PayeeCompanyCodeName,
  _PaymentRequest.CreatedByUser AS CreatedByUser,
  _PaymentRequest.CreatedByUserDescription AS CreatedByUserDescription,
  _PaymentRequest.StatusCode AS StatusCode,
  SystemStatusName,
  _PaymentRequest.PaymentRequestPostingDate AS PaymentRequestPostingDate,
  _PaymentRequest.Note AS Note,
  _PaymentRequest.ClearingAccountingDocument AS ClearingAccountingDocument,
  _PaymentRequest.RepetitiveCode AS RepetitiveCode,
  _PaymentRequest.PaytReqIsReleasedForPosting AS PaytReqIsReleasedForPosting,
  _PaymentRequest.PaytReqIsCompleted AS PaytReqIsCompleted,
  _PaymentRequest.PaytReqIsReleasedForPayment AS PaytReqIsReleasedForPayment,
  _PaymentRequest.IsReversed AS IsReversed,
  BankTransferReleaseAndPay,
  cast( BankInternalID as fclm_payer_bankkey preserving type ) AS PayingBankKey,
  cast(_PayingBank.BankName as fclm_payer_bankname preserving type ) AS BankName,
  cast( PayeeBankInternalID as fclm_payee_bankkey preserving type ) AS PayeeBankKey,
  cast( _PayeeBank.BankName as fclm_payee_bankname preserving type ) AS PayeeBankName,
  BankAccountRevision,
  IsSinglePayment,
  _PaymentRequest.StateCentralBankPaymentReason AS StateCentralBankPaymentReason,
  _PaymentRequest.SupplyingCountry AS SupplyingCountry,
  _PaymentRequest.DataExchangeInstructionKey AS DataExchangeInstructionKey,
  _PaymentRequest.DataExchangeInstruction1 AS DataExchangeInstruction1,
  _PaymentRequest.DataExchangeInstruction2 AS DataExchangeInstruction2,
  _PaymentRequest.DataExchangeInstruction3 AS DataExchangeInstruction3,
  _PaymentRequest.DataExchangeInstruction4 AS DataExchangeInstruction4,
  _PaymentRequest.PaymentMethodSupplement AS PaymentMethodSupplement,
  _PaymentRequest.PaymentReference AS PaymentReference,
  _PaymentRequest.BankCountry AS Country,
  BankInternalID,
  BankCountry,
  cast( PayeeBankCountry as fclm_payee_bkcntry preserving type ) AS PayeeBankCountry,
  BankInternalID AS BankKey,
  PayeeBank,
  cast(_PayeeBank._Country._Text[1: Language = $session.system_language].CountryName as fclm_payee_cntryname preserving type ) AS PayeeCountryName,
  LogHandle,
  _PaymentRequest.PaymentRequestOrigin AS PaymentRequestOrigin,
  cast(_CountryText[1: Language = $session.system_language].CountryName as fclm_payer_supcntryname preserving type ) AS CountryName,
  cast(_BankCountryText[1: Language = $session.system_language].CountryName as fclm_payer_cntryname preserving type ) AS BankCountryName,
  _DataExchInstructionKeysText[1: Language = $session.system_language].DataExchInstructionKeyName AS DataExchInstructionKeyName
FROM I_MakeBankTransferTP AS _PaymentRequest
LEFT OUTER JOIN I_BankAccountText AS _PayingBankAcctText ON PayingBankAccountInternalID = _PayingBankAcctText.BankAccountInternalID  -- association [0..*]
LEFT OUTER JOIN I_BankAccountText AS _PayeeBankAcctText ON PayeeBankAccountInternalID = _PayeeBankAcctText.BankAccountInternalID  -- association [0..*]
LEFT OUTER JOIN I_Bank_2 AS _PayingBank ON BankCountry = _PayingBank.BankCountry AND BankInternalID = _PayingBank.BankInternalID  -- association [0..1]
LEFT OUTER JOIN I_Bank_2 AS _PayeeBank ON PayeeBankCountry = _PayeeBank.BankCountry AND PayeeBankKey = _PayeeBank.BankInternalID  -- association [0..1]
LEFT OUTER JOIN I_RepetitiveCodeVH AS _RepetitiveCodeVH ON RepetitiveCode = _RepetitiveCodeVH.RepetitiveCode AND PayingCompanyCode = _RepetitiveCodeVH.PayingCompanyCode AND PayingBankAccountInternalID = _RepetitiveCodeVH.PayingBankAccountInternalID AND PayingBankAccount = _RepetitiveCodeVH.PayingBankAccount  -- association [0..1]
LEFT OUTER JOIN C_CurrencyValueHelp AS _PaymentRequestCurrency ON PaymentRequestCurrency = _PaymentRequestCurrency.Currency  -- association [0..*]
LEFT OUTER JOIN C_ClrgAcctgDocWthBatQuickVw AS _TrackInfo ON PaymentRequest = _TrackInfo.PaymentRequest AND ClearingAccountingDocument = _TrackInfo.ClearingDocumentNumber  -- association [0..1]
;