P_MakeBankTransferTemplate

DDL: P_MAKEBANKTRANSFERTEMPLATE SQL: PMBKWITHTMPL Type: view BASIC

P_MakeBankTransferTemplate is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (fibl_rpcode_tdef, fibl_rpcode) and exposes 21 fields with key field RepetitiveCodeFlowID.

Data Sources (2)

SourceAliasJoin Type
fibl_rpcode_tdef _rpcodetext left_outer
fibl_rpcode a from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PMBKWITHTMPL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.representativeKey RepetitiveCodeFlowID view
VDM.private true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY RepetitiveCodeFlowID
RepetitiveCode fibl_rpcode rpcode Repetitive Code
PayingCompanyCode fibl_rpcode bukrs Value
PayingHouseBank fibl_rpcode hbkid House Bank
PayingHouseBankAccount fibl_rpcode hktid House Bank Account
PayeeCompanyCode fibl_rpcode pbukr Target Company Code
HouseBank
PayeeHouseBank fibl_rpcode partn Ptr/cus
HouseBankAccount
PayeeHouseBankAccount fibl_rpcode parta Bank Details
PaymentMethod
Currency fibl_rpcode waers Transaction Currency
RepetitiveCodeReferenceText fibl_rpcode_tdef rp_text Reference Text
BankCountry fibl_rpcode banks Bank Ctry/Rgn. Key
PayingBankKey fibl_rpcode bankl House Bank
PayeeBankAccount fibl_rpcode bankn Bank acct
RepetitiveCodeCategory fibl_rpcode ptype Procurem.Trans.
CreationDate fibl_rpcode dcrea Created On
CreationUserName fibl_rpcode ucrea Created By
LastChangeDate fibl_rpcode drele Release Date
LastChangeByUserName fibl_rpcode urele Released By

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 P_MakeBankTransferTemplate.
-- 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.
-- SQL view name: PMBKWITHTMPL

CREATE VIEW P_MakeBankTransferTemplate AS
SELECT
  concat(concat(a.rpcode,a.bukrs),a.hbkid) AS RepetitiveCodeFlowID,
  a.rpcode AS RepetitiveCode,
  a.bukrs AS PayingCompanyCode,
  a.hbkid AS PayingHouseBank,
  a.hktid AS PayingHouseBankAccount,
  a.pbukr AS PayeeCompanyCode,
  cast(a.partn as fclm_bam_aclink_hbkid ) AS HouseBank,
  a.partn AS PayeeHouseBank,
  cast(a.parta as fclm_bam_aclink_hktid ) AS HouseBankAccount,
  a.parta AS PayeeHouseBankAccount,
  cast(a.zlsch as char1) AS PaymentMethod,
  a.waers AS Currency,
  _rpcodetext.rp_text AS RepetitiveCodeReferenceText,
  a.banks AS BankCountry,
  a.bankl AS PayingBankKey,
  a.bankn AS PayeeBankAccount,
  a.ptype AS RepetitiveCodeCategory,
  a.dcrea AS CreationDate,
  a.ucrea AS CreationUserName,
  a.drele AS LastChangeDate,
  a.urele AS LastChangeByUserName
FROM fibl_rpcode AS a
LEFT OUTER JOIN fibl_rpcode_tdef AS _rpcodetext ON /* join condition not captured in parsed metadata */
;