R_ContractAccountPartnerDraft

DDL: R_CONTRACTACCOUNTPARTNERDRAFT Type: view_entity BASIC Package: RAP_FICA_CONTRACCT

Contract Account Partner - Draft

R_ContractAccountPartnerDraft is a Basic CDS View that provides data about "Contract Account Partner - Draft" in SAP S/4HANA. It reads from 1 data source (fkkvkp_draft) and exposes 106 fields with key fields ContractAccount, BusinessPartner, DraftUUID. It has 3 associations to related views. Part of development package RAP_FICA_CONTRACCT.

Data Sources (1)

SourceAliasJoin Type
fkkvkp_draft fkkvkp_draft from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_ContractAccountHeader _ContractAccount _ContractAccount.ContractAccount = $projection.ContractAccount
[0..1] E_ContractAccountPartnerDraft _Extension $projection.ContractAccount = _Extension.ContractAccount and $projection.BusinessPartner = _Extension.BusinessPartner and $projection.DraftUUID = _Extension.DraftUUID

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Contract Account Partner - Draft view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix VKP view
AbapCatalog.extensibility.quota.maximumFields 170 view
AbapCatalog.extensibility.quota.maximumBytes 3400 view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view

Fields (106)

KeyFieldSource TableSource FieldDescription
KEY ContractAccount contractaccount Contract Acct
KEY BusinessPartner businesspartner Issuing Authority
KEY DraftUUID draftuuid UUID
ParentDraftUUID parentdraftuuid NodeID
BusinessPartnerForEdit businesspartnerforedit Busn. Partner
ContractAccountName contractaccountname Cont. acct name
CreationDate creationdate Time Stamp
CreationTime creationtime Time of Change
ContrAcctPrtnCreationDateTime contracctprtncreationdatetime Created On
CreatedByUser createdbyuser User Name
IsMarkedForDeletion ismarkedfordeletion Purch.org. data
LastChangeDate lastchangedate Time Stamp
LastChangeTime lastchangetime Time changed
ContrAcctPrtnLastChgDateTime contracctprtnlastchgdatetime Last Changed On
LastChangedByUser lastchangedbyuser User Name
CABankIDForIncomingPayments cabankidforincomingpayments Bank Det. Inc.
CABankIDForOutgoingPayments cabankidforoutgoingpayments Bank ID - Outg.
CAIncomingPaymentMethod caincomingpaymentmethod Inc.Payt Method
CACnctntdOutgPaymentMethods cacnctntdoutgpaymentmethods Outg.Payt Meth.
CAFirstOutgoingPaymentMethod cafirstoutgoingpaymentmethod
CASecondOutgoingPaymentMethod casecondoutgoingpaymentmethod
CAThirdOutgoingPaymentMethod cathirdoutgoingpaymentmethod
CAFourthOutgoingPaymentMethod cafourthoutgoingpaymentmethod
CAFifthOutgoingPaymentMethod cafifthoutgoingpaymentmethod
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
ContrAcctPrtnHasInvcgChrgDsc contracctprtnhasinvcgchrgdsc Charges/Disc.
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
OutgPaytWithholdingTaxCode outgpaytwithholdingtaxcode W/Htax o.payts
IncgPaytWithholdingTaxCode incgpaytwithholdingtaxcode 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
CASubledgerApplication casubledgerapplication Subledger App
PaymentCondition paymentcondition Payment Terms
CAAccountDeterminationCode caaccountdeterminationcode Acct Determ. ID
BusinessArea businessarea Business Area
CAPaymentCompanyCode capaymentcompanycode Paying Co. Code
Country country Venue: Ctry/Reg
DraftEntityCreationDateTime draftentitycreationdatetime Draft Created On
DraftEntityLastChangeDateTime draftentitylastchangedatetime Draft Last Changed On
DraftAdministrativeDataUUID draftadministrativedatauuid UUID
DraftEntityOperationCode draftentityoperationcode Draft - Operation Code
HasActiveEntity hasactiveentity TRUE
DraftFieldChanges draftfieldchanges Field Changes
ContractAccountingPayer contractaccountingpayer Bus. Partner
ContractAccountingPayee contractaccountingpayee Bus. Partner
_BusinessPartner _BusinessPartner
_ContractAccount _ContractAccount

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_ContractAccountPartnerDraft.
-- 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_ContractAccountPartnerDraft AS
SELECT
  ContractAccount,
  BusinessPartner,
  DraftUUID,
  ParentDraftUUID,
  BusinessPartnerForEdit,
  ContractAccountName,
  CreationDate,
  CreationTime,
  ContrAcctPrtnCreationDateTime,
  CreatedByUser,
  IsMarkedForDeletion,
  LastChangeDate,
  LastChangeTime,
  ContrAcctPrtnLastChgDateTime,
  LastChangedByUser,
  CABankIDForIncomingPayments,
  CABankIDForOutgoingPayments,
  CAIncomingPaymentMethod,
  CACnctntdOutgPaymentMethods,
  CAFirstOutgoingPaymentMethod,
  CASecondOutgoingPaymentMethod,
  CAThirdOutgoingPaymentMethod,
  CAFourthOutgoingPaymentMethod,
  CAFifthOutgoingPaymentMethod,
  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,
  ContrAcctPrtnHasInvcgChrgDsc,
  CATargetCurrencyForInvoicing,
  CAInvcgCategory,
  CAInvcgSchedule,
  CABillgCycle,
  CALastDayOfBillingPeriod,
  CADetnCodeForAltvInvoiceForm,
  CABusinessPartnerForPosting,
  ContractAccountForPosting,
  CABusinessPartnerForInvcgList,
  ContractAccountForInvcgList,
  CAMasterAgreement,
  CAPartnerSettlementRule,
  ValdtyDateForWhldgTaxExmpCert,
  TaxJurisdiction,
  OutgPaytWithholdingTaxCode,
  IncgPaytWithholdingTaxCode,
  WithholdingTaxCertificate,
  CAAdditionalDaysForCashMgmt,
  CABusPartnerPostgLockExstcCode,
  CABusPartnerAddlLockExstcCode,
  CABusinessPartnerLockStartDate,
  CABusinessPartnerLockEndDate,
  CABPReferenceNumber,
  CACompanyCodeGroup,
  AltvContractAcctForCollvBills,
  CAInterestCode,
  CashPlanningGroup,
  CARelationshipOfBPToContrAcct,
  AddressID,
  CAAddressIDOfJurisdictionCode,
  CAAuthorizationGroup,
  CAToleranceGroup,
  CACorrespondenceVariant,
  PartnerCompany,
  CACorrespondenceActivityCode,
  CAClearingCategory,
  CADefaultClearingRstrcnCode,
  SupplyingCountry,
  BusinessPlace,
  CASubledgerApplication,
  PaymentCondition,
  CAAccountDeterminationCode,
  BusinessArea,
  CAPaymentCompanyCode,
  Country,
  DraftEntityCreationDateTime,
  DraftEntityLastChangeDateTime,
  DraftAdministrativeDataUUID,
  DraftEntityOperationCode,
  HasActiveEntity,
  DraftFieldChanges,
  ContractAccountingPayer,
  ContractAccountingPayee
FROM fkkvkp_draft
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccount ON _ContractAccount.ContractAccount = ContractAccount  -- association [0..1]
LEFT OUTER JOIN E_ContractAccountPartnerDraft AS _Extension ON ContractAccount = _Extension.ContractAccount AND BusinessPartner = _Extension.BusinessPartner AND DraftUUID = _Extension.DraftUUID  -- association [0..1]
;