R_BankRelationshipDocTP

DDL: R_BANKRELATIONSHIPDOCTP Type: view_entity TRANSACTIONAL Package: FCLM_BRM_DOC

Bank Relationship Document

R_BankRelationshipDocTP is a Transactional CDS View that provides data about "Bank Relationship Document" in SAP S/4HANA. It reads from 1 data source (I_BankRelationshipDocument) and exposes 16 fields with key field BankRelationshipDocumentUUID. It has 3 associations to related views. Part of development package FCLM_BRM_DOC.

Data Sources (1)

SourceAliasJoin Type
I_BankRelationshipDocument I_BankRelationshipDocument from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_BkRelshpDocAuthznGroupText _BkRelshpDocAuthznGroupText $projection.BkRelshpDocAuthorizationGroup = _BkRelshpDocAuthznGroupText.BkRelshpDocAuthorizationGroup
[0..*] R_BkRelshpDocAcctSelectionTP _DocBankAccountSelection
[0..*] R_BkRelshpDocAccountTP _DocBankAccount

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Bank Relationship Document view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.sapObjectNodeType.name BankRelationshipDocument view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY BankRelationshipDocumentUUID BankRelationshipDocumentUUID UUID
BankRelationshipDocumentID BankRelationshipDocumentID Document ID
BankRelationshipDocumentDesc BankRelationshipDocumentDesc Well Code Des.
BkRelshpDocAuthorizationGroup BkRelshpDocAuthorizationGroup Authorization Group
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LocalLastChangeDateTime LocalLastChangeDateTime Time Stamp
LastChangeDateTime LastChangeDateTime Timestamp
BkRelshpDocAttchIsChgd
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
_DocBankAccountSelection _DocBankAccountSelection
_DocBankAccount _DocBankAccount
_BkRelshpDocAuthznGroupText _BkRelshpDocAuthznGroupText
_CreatedBy _CreatedBy
_LastChangedBy _LastChangedBy

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 R_BankRelationshipDocTP.
-- 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 R_BankRelationshipDocTP AS
SELECT
  BankRelationshipDocumentUUID,
  BankRelationshipDocumentID,
  BankRelationshipDocumentDesc,
  BkRelshpDocAuthorizationGroup,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LocalLastChangeDateTime,
  LastChangeDateTime,
  cast( ' ' as xfeld preserving type ) AS BkRelshpDocAttchIsChgd,
  IsMarkedForDeletion
FROM I_BankRelationshipDocument
LEFT OUTER JOIN I_BkRelshpDocAuthznGroupText AS _BkRelshpDocAuthznGroupText ON BkRelshpDocAuthorizationGroup = _BkRelshpDocAuthznGroupText.BkRelshpDocAuthorizationGroup  -- association [0..*]
LEFT OUTER JOIN R_BkRelshpDocAcctSelectionTP AS _DocBankAccountSelection ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_BkRelshpDocAccountTP AS _DocBankAccount ON /* condition not available in parsed metadata */  -- association [0..*]
;