R_ContractAccountPartnerTP

DDL: R_CONTRACTACCOUNTPARTNERTP Type: view_entity TRANSACTIONAL

Contract Account Partner - TP

R_ContractAccountPartnerTP is a Transactional CDS View that provides data about "Contract Account Partner - TP" in SAP S/4HANA. It reads from 1 data source (I_ContractAccountPartner) and exposes 130 fields with key fields ContractAccount, BusinessPartner. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ContractAccountPartner I_ContractAccountPartner from

Associations (3)

CardinalityTargetAliasCondition
[0..*] R_ContrAcctPrtnBusinessLockTP _ContrAcctPrtnBusinessLock
[0..*] R_ContrAcctPrtnCorrespncTP _ContrAcctPrtnCorrespnc
[0..*] R_ConAcctPrtnInvcgChrgDscTP _ContrAcctPrtnInvcgChrgAndDisc

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Contract Account Partner - TP view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey BusinessPartner view
ObjectModel.sapObjectNodeType.name ContractAccountPartner view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (130)

KeyFieldSource TableSource FieldDescription
KEY ContractAccount ContractAccount Contract Acct
KEY BusinessPartner BusinessPartner Issuing Authority
BusinessPartnerForEdit BusinessPartner Issuing Authority
ContractAccountName ContractAccountName Cont. acct name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
CreatedByUser CreatedByUser User Name
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
LastChangedByUser LastChangedByUser User Name
CABankIDForIncomingPayments CABankIDForIncomingPayments Bank Det. Inc.
CABankIDForOutgoingPayments CABankIDForOutgoingPayments Bank ID - Outg.
CAPaymentMethodForIncgPayment CAPaymentMethodForIncgPayment Inc.Payt Method
CAPaymentMethodForOutgPayment CAPaymentMethodForOutgPayment Outg.Payt Meth.
CAHouseBankReference CAHouseBankReference Own Bank Dtls
CAPaymentCardIDForIncomingPayt CAPaymentCardIDForIncomingPayt CardID Incoming
CAPaymentCardIDForOutgoingPayt CAPaymentCardIDForOutgoingPayt CardID Outgoing
SEPAMandate SEPAMandate SEPA Mandate
CADunningProcedure CADunningProcedure Dunning Proc.
CADunningNoticeGroup CADunningNoticeGroup Grouping
CACorrespondenceDunningProced CACorrespondenceDunningProced CorrDunnProced.
CACollectionsClerk CACollectionsClerk Clerk Respons.
CACollectionsMasterDataGroup CACollectionsMasterDataGroup Master Data Grp
CACollectionStrategy CACollectionStrategy Coll. Strategy
CACollectionsContactPerson CACollectionsContactPerson Contact Person
ContractAccountForPayment ContractAccountForPayment Paid By
CABusinessPartnerForPayment CABusinessPartnerForPayment Payer/Payee
CAAlternativePayer CAAlternativePayer Alternate Payer
CAAlternativePayee CAAlternativePayee Alt. Payee
CAAlternativeDunningRecipient CAAlternativeDunningRecipient Alt.dun. recip.
CAAlternativeInvoiceRecipient CAAlternativeInvoiceRecipient Alt. bill rec.
CAAlternativeCorrespncRcpnt CAAlternativeCorrespncRcpnt Corresp. Recip.
CAAddressIDOfAlternativePayer CAAddressIDOfAlternativePayer Alt.Payer AddNo
CAAddressIDOfAlternativePayee CAAddressIDOfAlternativePayee Alt.Payee AddNo
CAAddressIDOfAltvDunRecipient CAAddressIDOfAltvDunRecipient Address number for alternative dunning notice recipient
CAAddressIDOfAltvInvoiceRcpnt CAAddressIDOfAltvInvoiceRcpnt Address number for alternative bill recipient
CACurrencyForDirectDebitLimit CACurrencyForDirectDebitLimit Currency
CADirectDebitLimit CADirectDebitLimit Dir. Debit Lmt
CANmbrMnthsForDirectDebitLimit CANmbrMnthsForDirectDebitLimit No. of Months
CADirectDebitLimitCalcMode CADirectDebitLimitCalcMode Rolling
CATargetCurrencyForInvoicing CATargetCurrencyForInvoicing Target Currency
CAInvcgCategory CAInvcgCategory Invoicing Cat.
CAInvcgSchedule CAInvcgSchedule Scheduling
CABillgCycle CABillgCycle Billing Cycle
CALastDayOfBillingPeriod CALastDayOfBillingPeriod Last Day
CADetnCodeForAltvInvoiceForm CADetnCodeForAltvInvoiceForm Form Determin.
CABusinessPartnerForPosting CABusinessPartnerForPosting Post Partner
ContractAccountForPosting ContractAccountForPosting Contract Acct
CABusinessPartnerForInvcgList CABusinessPartnerForInvcgList Recipient
ContractAccountForInvcgList ContractAccountForInvcgList Contract Acct
CAMasterAgreement CAMasterAgreement Master Agrmt
CAPartnerSettlementRule CAPartnerSettlementRule Settlement Rule
ValdtyDateForWhldgTaxExmpCert ValdtyDateForWhldgTaxExmpCert Valid Until
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
CAWhldgTaxCodeOutgoingPayt CAWhldgTaxCodeOutgoingPayt W/Htax o.payts
CAWhldgTaxCodeIncomingPayt CAWhldgTaxCodeIncomingPayt W/Htax i.payts
WithholdingTaxCertificate WithholdingTaxCertificate WHT Certificate
CAAdditionalDaysForCashMgmt CAAdditionalDaysForCashMgmt CM Extra Days
CABusPartnerPostgLockExstcCode CABusPartnerPostgLockExstcCode BP Lock
CABusPartnerAddlLockExstcCode CABusPartnerAddlLockExstcCode Dun./Payt Lock
CABusinessPartnerLockStartDate CABusinessPartnerLockStartDate From
CABusinessPartnerLockEndDate CABusinessPartnerLockEndDate To
CABPReferenceNumber CABPReferenceNumber Reference No.
CACompanyCodeGroup CACompanyCodeGroup Company Code Gp
AltvContractAcctForCollvBills AltvContractAcctForCollvBills Coll. Bill Acct
CAInterestCode CAInterestCode Interest key
CashPlanningGroup CashPlanningGroup Planning Group
CARelationshipOfBPToContrAcct CARelationshipOfBPToContrAcct Acct.Relation.
AddressID AddressID Ship-to address
CAAddressIDOfJurisdictionCode CAAddressIDOfJurisdictionCode JurisdicCode address
CAAuthorizationGroup CAAuthorizationGroup AuthorizGroup
CAToleranceGroup CAToleranceGroup Tolerance group
CACorrespondenceVariant CACorrespondenceVariant Corresp.Variant
PartnerCompany PartnerCompany Trading Partner
CACorrespondenceActivityCode CACorrespondenceActivityCode Activity
CAClearingCategory CAClearingCategory Clearing Cat.
CADefaultClearingRstrcnCode CADefaultClearingRstrcnCode Restriction
SupplyingCountry SupplyingCountry Supplying Ctry/Reg.
BusinessPlace BusinessPlace Business place
PaymentCondition PaymentCondition Payment Terms
CAAccountDeterminationCode CAAccountDeterminationCode Acct Determ. ID
BusinessArea BusinessArea Business Area
CAPaymentCompanyCode CAPaymentCompanyCode Paying Co. Code
Country Country Venue: Ctry/Reg
_ContractAccount _ContractAccount
_ContrAcctPrtnBusinessLock _ContrAcctPrtnBusinessLock
_ContrAcctPrtnCorrespnc _ContrAcctPrtnCorrespnc
_ContrAcctPrtnInvcgChrgAndDisc _ContrAcctPrtnInvcgChrgAndDisc
_AcctDetnCode _AcctDetnCode
_AlternativePayee _AlternativePayee
_AlternativePayer _AlternativePayer
_AltvContrAcc _AltvContrAcc
_AltvCorrespncRcpnt _AltvCorrespncRcpnt
_AltvDunningRecipient _AltvDunningRecipient
_AltvInvoiceRecipient _AltvInvoiceRecipient
_BillgCycle _BillgCycle
_BPForInvcgList _BPForInvcgList
_BPForPayment _BPForPayment
_BPForPosting _BPForPosting
_BusinessArea _BusinessArea
_BusinessPartner _BusinessPartner
_ClearingCategory _ClearingCategory
_CollContactPerson _CollContactPerson
_CollectionStrategy _CollectionStrategy
_CollMasterDataGroup _CollMasterDataGroup
_CompCode _CompCode
_CompCodeGroup _CompCodeGroup
_ContrAcctForInvcgList _ContrAcctForInvcgList
_ContrAcctForPayt _ContrAcctForPayt
_ContrAcctForPosting _ContrAcctForPosting
_CorrespncVar _CorrespncVar
_CorrVariant _CorrVariant
_Country _Country
_CurrencyForDDL _CurrencyForDDL
_CurrencyForInvoicing _CurrencyForInvoicing
_DunningProcedure _DunningProcedure
_DunNoticeGroup _DunNoticeGroup
_HouseBankRef _HouseBankRef
_InterestCode _InterestCode
_InvcgCategory _InvcgCategory
_InvcgSchedule _InvcgSchedule
_MasterAgreement _MasterAgreement
_PaymentCompCode _PaymentCompCode
_PaymentCondition _PaymentCondition
_PaytMethodIncg _PaytMethodIncg
_PaytMethodOutg _PaytMethodOutg
_RelshpOfBP _RelshpOfBP
_SupplyingCountry _SupplyingCountry
_ToleranceGroup _ToleranceGroup

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_ContractAccountPartnerTP.
-- 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_ContractAccountPartnerTP AS
SELECT
  ContractAccount,
  BusinessPartner,
  BusinessPartner AS BusinessPartnerForEdit,
  ContractAccountName,
  CreationDate,
  CreationTime,
  CreatedByUser,
  IsMarkedForDeletion,
  LastChangeDate,
  LastChangeTime,
  LastChangedByUser,
  CABankIDForIncomingPayments,
  CABankIDForOutgoingPayments,
  CAPaymentMethodForIncgPayment,
  CAPaymentMethodForOutgPayment,
  CAHouseBankReference,
  CAPaymentCardIDForIncomingPayt,
  CAPaymentCardIDForOutgoingPayt,
  SEPAMandate,
  CADunningProcedure,
  CADunningNoticeGroup,
  CACorrespondenceDunningProced,
  CACollectionsClerk,
  CACollectionsMasterDataGroup,
  CACollectionStrategy,
  CACollectionsContactPerson,
  ContractAccountForPayment,
  CABusinessPartnerForPayment,
  CAAlternativePayer,
  CAAlternativePayee,
  CAAlternativeDunningRecipient,
  CAAlternativeInvoiceRecipient,
  CAAlternativeCorrespncRcpnt,
  CAAddressIDOfAlternativePayer,
  CAAddressIDOfAlternativePayee,
  CAAddressIDOfAltvDunRecipient,
  CAAddressIDOfAltvInvoiceRcpnt,
  CACurrencyForDirectDebitLimit,
  CADirectDebitLimit,
  CANmbrMnthsForDirectDebitLimit,
  CADirectDebitLimitCalcMode,
  CATargetCurrencyForInvoicing,
  CAInvcgCategory,
  CAInvcgSchedule,
  CABillgCycle,
  CALastDayOfBillingPeriod,
  CADetnCodeForAltvInvoiceForm,
  CABusinessPartnerForPosting,
  ContractAccountForPosting,
  CABusinessPartnerForInvcgList,
  ContractAccountForInvcgList,
  CAMasterAgreement,
  CAPartnerSettlementRule,
  ValdtyDateForWhldgTaxExmpCert,
  TaxJurisdiction,
  CAWhldgTaxCodeOutgoingPayt,
  CAWhldgTaxCodeIncomingPayt,
  WithholdingTaxCertificate,
  CAAdditionalDaysForCashMgmt,
  CABusPartnerPostgLockExstcCode,
  CABusPartnerAddlLockExstcCode,
  CABusinessPartnerLockStartDate,
  CABusinessPartnerLockEndDate,
  CABPReferenceNumber,
  CACompanyCodeGroup,
  AltvContractAcctForCollvBills,
  CAInterestCode,
  CashPlanningGroup,
  CARelationshipOfBPToContrAcct,
  AddressID,
  CAAddressIDOfJurisdictionCode,
  CAAuthorizationGroup,
  CAToleranceGroup,
  CACorrespondenceVariant,
  PartnerCompany,
  CACorrespondenceActivityCode,
  CAClearingCategory,
  CADefaultClearingRstrcnCode,
  SupplyingCountry,
  BusinessPlace,
  PaymentCondition,
  CAAccountDeterminationCode,
  BusinessArea,
  CAPaymentCompanyCode,
  Country
FROM I_ContractAccountPartner
LEFT OUTER JOIN R_ContrAcctPrtnBusinessLockTP AS _ContrAcctPrtnBusinessLock ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_ContrAcctPrtnCorrespncTP AS _ContrAcctPrtnCorrespnc ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN R_ConAcctPrtnInvcgChrgDscTP AS _ContrAcctPrtnInvcgChrgAndDisc ON /* condition not available in parsed metadata */  -- association [0..*]
;