I_ContractAccountPartner
Contract Account Partner
I_ContractAccountPartner (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
ContractAccountPartner · Contract Accounting
I_ContractAccountPartner is a Basic CDS View (Dimension) that provides data about "Contract Account Partner" in SAP S/4HANA. It reads from 1 data source (fkkvkp) and exposes 145 fields with key fields ContractAccount, BusinessPartner. It has 54 associations to related views.
SAP Help Documentation
| Category | CDS Views for Master Data |
|---|---|
| Data Category | Dimension |
This CDS view represents the contract account-business partner relationship in Contract Accounting . A contract account can be assigned several business partners, where exactly one business partner needs to be maintained as the account holder of the contract account. All trade receivables and payables in Contract Accounting are posted to a contract account and assigned to a business partner. A contract account partner relationship principally stores payment arrangements. This CDS view provides the prerequisites for answering the following business questions: How are the contract accounts distributed to the individual company codes? How many of my customers are self-payers? Which customers are excluded from the standard dunning procedure? How many of my customers pay by credit card?
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: F_KKVK_BEG ( Contract Account Partner Authorization Group ) F_KKVK_BUK ( Contract Account Partner Company Code Authorization ) F_KKVK_VKT ( Contract Account Category )
SAP Business Warehouse (SAP BW) Extraction
Data Extraction Type Full Delta (change data capture) Corresponding DataSource (Extractor) This CDS view corresponds to the 0FC_ACCNTBP_ATTR_2 ( FI-CA: Contract Account - Partner-Specific Attributes ) DataSource (extractor). Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content . For more information about data extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Contract Accounting |
| Application Component | FI-CA |
| Capabilities | Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction, Analytical Dimension |
| Package | Contract Accounting for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view represents the contract account-business partner relationship in Contract Accounting. A contract account can be assigned several business partners, where exactly one business partner needs to be maintained as the account holder of the contract account. </p> <p>All trade receivables and payables in Contract Accounting are posted to a contract account and assigned to a business partner.</p> <p>A contract account partner relationship principally stores payment arrangements.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>How are the contract accounts distributed to the individual company codes?</p></li> <li><p>How many of my customers are self-payers?</p></li> <li><p>Which customers are excluded from the standard dunning procedure?</p></li> <li><p>How many of my customers pay by credit card?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fkkvkp | fkkvkp | from |
Associations (54)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [1..1] | I_BusinessPartner | _BusinessPartner | $projection.BusinessPartner = _BusinessPartner.BusinessPartner |
| [0..1] | I_BusinessPartner | _AlternativePayer | $projection.CAAlternativePayer = _AlternativePayer.BusinessPartner |
| [0..1] | I_BusinessPartner | _AlternativePayee | $projection.CAAlternativePayee = _AlternativePayee.BusinessPartner |
| [0..1] | I_BusinessPartner | _AltvDunningRecipient | $projection.CAAlternativeDunningRecipient = _AltvDunningRecipient.BusinessPartner |
| [0..1] | I_BusinessPartner | _AltvInvoiceRecipient | $projection.CAAlternativeInvoiceRecipient = _AltvInvoiceRecipient.BusinessPartner |
| [0..1] | I_BusinessPartner | _AltvCorrespncRcpnt | $projection.CAAlternativeCorrespncRcpnt = _AltvCorrespncRcpnt.BusinessPartner |
| [0..1] | I_BusinessPartner | _BPForPayment | $projection.CABusinessPartnerForPayment = _BPForPayment.BusinessPartner |
| [0..1] | I_BusinessPartner | _CollContactPerson | $projection.CACollectionsContactPerson = _CollContactPerson.BusinessPartner |
| [0..1] | I_BusinessPartner | _BPForPosting | $projection.CABusinessPartnerForPosting = _BPForPosting.BusinessPartner |
| [0..1] | I_BusinessPartner | _BPForInvcgList | $projection.CABusinessPartnerForInvcgList = _BPForInvcgList.BusinessPartner |
| [0..1] | I_CAAccountDetnCode | _AcctDetnCode | $projection.CAAccountDeterminationCode = _AcctDetnCode.CAAccountDeterminationCode |
| [0..1] | I_CAAuthorizationGroup | _CAAuthorizationGroup | $projection.CAAuthorizationGroup = _CAAuthorizationGroup.CAAuthorizationGroup and _CAAuthorizationGroup.CAAuthorizationGroupObject = 'CA_CONTACC' |
| [1..1] | I_CABillgCycle | _BillgCycle | $projection.CABillgCycle = _BillgCycle.CABillgCycle |
| [0..1] | I_CABusPrtnAddlLockExstcCode | _CABusPrtnAddlLockExstcCode | $projection.CABusPartnerAddlLockExstcCode = _CABusPrtnAddlLockExstcCode.CABusPartnerAddlLockExstcCode |
| [0..1] | I_CABusPrtnPostgLockExstcCode | _CABusPrtnPostgLockExstcCode | $projection.CABusPartnerPostgLockExstcCode = _CABusPrtnPostgLockExstcCode.CABusPartnerPostgLockExstcCode |
| [0..1] | I_CAClearingCategory | _ClearingCategory | $projection.CAClearingCategory = _ClearingCategory.CAClearingCategory |
| [0..1] | I_CACollectionStrategy | _CollectionStrategy | $projection.CACollectionStrategy = _CollectionStrategy.CACollectionStrategy |
| [0..1] | I_CACollMasterDataGroup | _CollMasterDataGroup | $projection.CACollectionsMasterDataGroup = _CollMasterDataGroup.CACollectionsMasterDataGroup |
| [1..1] | I_CACompanyCodeGroup | _CompCodeGroup | $projection.CACompanyCodeGroup = _CompCodeGroup.CACompanyCodeGroup |
| [0..1] | I_CACorrespncActivityCode | _CACorrespncActivityCode | $projection.CACorrespondenceActivityCode = _CACorrespncActivityCode.CACorrespondenceActivityCode |
| [1..1] | I_CACorrespondenceVariant | _CorrVariant | $projection.CACorrespondenceVariant = _CorrVariant.CACorrespondenceVariant |
| [1..1] | I_CACorrespondenceVariant | _CorrespncVar | $projection.CACorrespondenceVariant = _CorrespncVar.CACorrespondenceVariant |
| [1..1] | I_CADfltClearingRstrcnCode | _CADfltClearingRstrcnCode | $projection.CADefaultClearingRstrcnCode = _CADfltClearingRstrcnCode.CADefaultClearingRstrcnCode |
| [0..1] | I_CADirectDebitLimitCalcMode | _CADirectDebitLimitCalcMod | $projection.CADirectDebitLimitCalcMode = _CADirectDebitLimitCalcMod.CADirectDebitLimitCalcMode |
| [0..1] | I_CADunningProcedure | _DunningProcedure | $projection.CADunningProcedure = _DunningProcedure.CADunningProcedure |
| [0..1] | I_CADunningNoticeGroup | _DunNoticeGroup | $projection.CADunningNoticeGroup = _DunNoticeGroup.CADunningNoticeGroup |
| [0..1] | I_CAHouseBankReference | _HouseBankRef | $projection.capaymentcompanycode = _HouseBankRef.CAPaymentCompanyCode and $projection.CAHouseBankReference = _HouseBankRef.CAHouseBankReference |
| [0..1] | I_CAInterestCode | _InterestCode | $projection.CAInterestCode = _InterestCode.CAInterestCode |
| [0..1] | I_CAInvcgCategory | _InvcgCategory | $projection.CAInvcgCategory = _InvcgCategory.CAInvcgCategory |
| [1..1] | I_CAInvcgSchedule | _InvcgSchedule | $projection.CAInvcgSchedule = _InvcgSchedule.CAInvcgSchedule |
| [1..1] | I_CAMasterAgreement | _MasterAgreement | $projection.CAMasterAgreement = _MasterAgreement.CAMasterAgreement |
| [0..1] | I_CAPaymentMethod | _PaytMethodIncg | $projection.country = _PaytMethodIncg.Country and $projection.CAPaymentMethodForIncgPayment = _PaytMethodIncg.CAPaymentMethod |
| [0..1] | I_CAOutgoingPaymentMethod | _CAFirstOutgoingPaymentMethod | $projection.country = _CAFirstOutgoingPaymentMethod.Country and $projection.CAFirstOutgoingPaymentMethod = _CAFirstOutgoingPaymentMethod.CAOutgoingPaymentMethod |
| [0..1] | I_CAOutgoingPaymentMethod | _CASecondOutgoingPaymentMethod | $projection.country = _CASecondOutgoingPaymentMethod.Country and $projection.CASecondOutgoingPaymentMethod = _CASecondOutgoingPaymentMethod.CAOutgoingPaymentMethod |
| [0..1] | I_CAOutgoingPaymentMethod | _CAThirdOutgoingPaymentMethod | $projection.country = _CAThirdOutgoingPaymentMethod.Country and $projection.CAThirdOutgoingPaymentMethod = _CAThirdOutgoingPaymentMethod.CAOutgoingPaymentMethod |
| [0..1] | I_CAOutgoingPaymentMethod | _CAFourthOutgoingPaymentMethod | $projection.country = _CAFourthOutgoingPaymentMethod.Country and $projection.CAFourthOutgoingPaymentMethod = _CAFourthOutgoingPaymentMethod.CAOutgoingPaymentMethod |
| [0..1] | I_CAOutgoingPaymentMethod | _CAFifthOutgoingPaymentMethod | $projection.country = _CAFifthOutgoingPaymentMethod.Country and $projection.CAFifthOutgoingPaymentMethod = _CAFifthOutgoingPaymentMethod.CAOutgoingPaymentMethod |
| [0..1] | I_CAToleranceGroup | _ToleranceGroup | $projection.CAToleranceGroup = _ToleranceGroup.CAToleranceGroup |
| [1..1] | I_CompanyCode | _CompCode | $projection.CAStandardCompanyCode = _CompCode.CompanyCode |
| [1..1] | I_CompanyCode | _PaymentCompCode | $projection.capaymentcompanycode = _PaymentCompCode.CompanyCode |
| [0..1] | I_ContrAcctPrtnRelshpType | _RelshpOfBP | $projection.CARelationshipOfBPToContrAcct = _RelshpOfBP.CARelationshipOfBPToContrAcct |
| [1..1] | I_ContractAccountHeader | _ContrAcc | $projection.ContractAccount = _ContrAcc.ContractAccount |
| [0..1] | I_ContractAccountHeader | _AltvContrAcc | $projection.AltvContractAcctForCollvBills = _AltvContrAcc.ContractAccount |
| [0..1] | I_ContractAccountHeader | _ContrAcctForPayt | $projection.ContractAccountForPayment = _ContrAcctForPayt.ContractAccount |
| [0..1] | I_ContractAccountHeader | _ContrAcctForPosting | $projection.ContractAccountForPosting = _ContrAcctForPosting.ContractAccount |
| [0..1] | I_ContractAccountHeader | _ContrAcctForInvcgList | $projection.ContractAccountForInvcgList = _ContrAcctForInvcgList.ContractAccount |
| [0..1] | I_Country | _Country | $projection.country = _Country.Country |
| [0..1] | I_Country | _SupplyingCountry | $projection.SupplyingCountry = _SupplyingCountry.Country |
| [0..1] | I_Currency | _CurrencyForDDL | $projection.CACurrencyForDirectDebitLimit = _CurrencyForDDL.Currency |
| [0..1] | I_Currency | _CurrencyForInvoicing | $projection.CATargetCurrencyForInvoicing = _CurrencyForInvoicing.Currency |
| [0..1] | I_PaymentCondition | _PaymentCondition | $projection.PaymentCondition = _PaymentCondition.PaymentCondition |
| [1..1] | E_ContractAccountPartner | _Extension | $projection.ContractAccount = _Extension.ContractAccount and $projection.BusinessPartner = _Extension.BusinessPartner |
| [0..1] | I_CAPaymentMethod | _PaytMethodOutg | $projection.country = _PaytMethodOutg.Country and $projection.CAPaymentMethodForOutgPayment = _PaytMethodOutg.CAPaymentMethod |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICTRACCPARTNER | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Contract Account Partner | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.representativeKey | BusinessPartner | view | |
| ObjectModel.sapObjectNodeType.name | ContractAccountPartner | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #BASIC | view |
Fields (145)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ContractAccount | vkont | Contract Account Number | |
| KEY | BusinessPartner | gpart | Business Partner Number | |
| ContractAccountName | vkbez | Contract Account Name | ||
| CreationDate | erdat | Record Created On | ||
| CreationTime | ertim | Time at which the object was created | ||
| CreatedByUser | ernam | Name of Person Responsible for Creating the Object | ||
| IsMarkedForDeletion | Deletion Indicator | |||
| LastChangeDate | aedatp | Last Changed On | ||
| LastChangeTime | aetimp | Last Changed At | ||
| LastChangedByUser | aenamp | Name of Person Who Changed Object | ||
| CABankIDForIncomingPayments | ebvty | Bank Details ID for Incoming Payments | ||
| CABankIDForOutgoingPayments | abvty | Bank Details ID for Outgoing Payments | ||
| CAPaymentMethodForIncgPayment | ezawe | Incoming Payment Method | ||
| CACnctntdOutgPaymentMethods | azawe | Outgoing Payment Methods | ||
| CAFirstOutgoingPaymentMethod | First Outgoing Payment Method | |||
| CASecondOutgoingPaymentMethod | Second Outgoing Payment Method | |||
| CAThirdOutgoingPaymentMethod | Third Outgoing Payment Method | |||
| CAFourthOutgoingPaymentMethod | Fourth Outgoing Payment Method | |||
| CAFifthOutgoingPaymentMethod | Fifth Outgoing Payment Method | |||
| CAHouseBankReference | eigbv | Own Bank Details | ||
| CAPaymentCardIDForIncomingPayt | ccard_id | Payment Card ID for Incoming Payments | ||
| CAPaymentCardIDForOutgoingPayt | ccard_out | Payment Card ID for Outgoing Payments | ||
| SEPAMandate | mndid | Unique Reference to Mandate for each Payee | ||
| CADunningProcedure | mahnv | Dunning Procedure | ||
| CADunningNoticeGroup | mgrup | Grouping for Dunning Notices | ||
| CACorrespondenceDunningProced | corr_mahnv | Correspondence Dunning Procedure | ||
| CACollectionsClerk | persr | Clerk Responsible | ||
| CACollectionsMasterDataGroup | cmgrp | Collection Management: Master Data Group | ||
| CACollectionStrategy | strat | Collection Strategy | ||
| CACollectionsContactPerson | cpers | Collections Contact Person | ||
| ContractAccountForPayment | vkonv | Contract account used for payment transactions | ||
| CABusinessPartnerForPayment | gparv | BP Acting as Payer/Payee in Payment Transactions | ||
| CAAlternativePayer | abwre | Alternative Payer | ||
| CAAlternativePayee | abwra | Alternative Payee | ||
| CAAlternativeDunningRecipient | abwma | Alternative Dunning Recipient | ||
| CAAlternativeInvoiceRecipient | abwrh | Alternative Invoice Recipient | ||
| CAAlternativeCorrespncRcpnt | def_rec | Alternative Correspondence Recipient for Standard Case | ||
| CAAddressIDOfAlternativePayer | adrre | Address Number for Alternative Payer | ||
| CAAddressIDOfAlternativePayee | adrra | Address Number for Alternative Payee | ||
| CAAddressIDOfAltvDunRecipient | adrma | Address number for alternative dunning notice recipient | ||
| CAAddressIDOfAltvInvoiceRcpnt | adrrh | Address number for alternative bill recipient | ||
| CACurrencyForDirectDebitLimit | ddlcu | Currency of Direct Debit Limit | ||
| CADirectDebitLimit | ddlam | Direct Debit Limit | ||
| CANmbrMnthsForDirectDebitLimit | ddlnm | Number of Months for Calculation of Direct Debit Limit | ||
| CADirectDebitLimitCalcMode | ddlxg | Rolling Calculation of Direct Debit Limit | ||
| CATargetCurrencyForInvoicing | inv_curr | Target Currency of Invoicing | ||
| CAInvcgCategory | inv_category | Invoicing Category | ||
| CAInvcgSchedule | inv_schedule | Selection Characteristic for Scheduling | ||
| CABillgCycle | inv_cycle | Billing Cycle | ||
| CALastDayOfBillingPeriod | inv_cycle_day | Day of Period End | ||
| CADetnCodeForAltvInvoiceForm | inv_form_det_key | Determination Characteristic for Alternative Invoice Form | ||
| CABusinessPartnerForPosting | gpart_inv | Business Partner for Posting of the Invoice | ||
| ContractAccountForPosting | vkont_inv | Contract Account of Invoice Recipient | ||
| CABusinessPartnerForInvcgList | gpart_invlist | Recipient of Invoicing List | ||
| ContractAccountForInvcgList | vkont_invlist | Contract Account of Recipient of Invoicing List | ||
| CAMasterAgreement | makey | Identification of Master Agreement | ||
| CAPartnerSettlementRule | ptsrl | Partner Settlement Rule | ||
| ValdtyDateForWhldgTaxExmpCert | qszdt | Validity Date for Withholding Tax Exemption Certificate | ||
| TaxJurisdiction | Tax Jurisdiction | |||
| CAWhldgTaxCodeOutgoingPayt | qsskz_a | Witholding Tax Code For Outgoing Payments | ||
| CAWhldgTaxCodeIncomingPayt | qsskz_e | Withholding Tax Code For Incoming Payments | ||
| WithholdingTaxCertificate | Withholding Tax Certificate | |||
| CAAdditionalDaysForCashMgmt | fdztg | Cash Management Extra Days | ||
| CABusinessPartnerLock | bpl_xpocl | Business Partner Lock for Postings/Clearing | ||
| CABusPartnerPostgLockExstcCode | bpl_xpocl | Business Partner Lock for Postings/Clearing | ||
| CABusPartnerAddlLockExstcCode | bpl_xaddl | Business Partner Lock for Dunning / Payment | ||
| CABusinessPartnerLockStartDate | bpl_fdate | Lock valid from | ||
| CABusinessPartnerLockEndDate | bpl_tdate | Lock valid to | ||
| CABPReferenceNumber | exvko | Reference Number for Business Partner | ||
| CACompanyCodeGroup | opbuk | Company Code Group | ||
| AltvContractAcctForCollvBills | abwvk | Alternative Contract Account for Collective Bills | ||
| CAInterestCode | ikey | Interest key | ||
| CashPlanningGroup | fdgrp | Planning group | ||
| CARelationshipOfBPToContrAcct | vkpbz | Relationship of Business Partner to Contract Account | ||
| AddressID | adrnb | Address Number | ||
| CAAddressIDOfJurisdictionCode | adrjdc | Address Number for Jurisdiction Code Address | ||
| CAAuthorizationGroup | begru | Authorization Group | ||
| CAToleranceGroup | togru | Tolerance Group for Contract Account | ||
| CACorrespondenceVariant | coprc | Correspondence Variant | ||
| PartnerCompany | Company ID of Trading Partner | |||
| CACorrespondenceActivityCode | def_rec_ind | FI-CA correspondence - activity key | ||
| CAClearingCategory | vertyp | Clearing Category For Clearing Postings | ||
| CAClearingRestriction | augrs_def | Clearing Restriction | ||
| CADefaultClearingRstrcnCode | augrs_def | Clearing Restriction | ||
| SupplyingCountry | Supplying Country/Region | |||
| BusinessPlace | Business place | |||
| PaymentCondition | zahlkond | Payment Condition | ||
| CAAccountDeterminationCode | Account Determination ID | |||
| BusinessArea | Business Area | |||
| CAPaymentCompanyCode | _CompCodeGroup | CAPaymentCompanyCode | Company Code for Automatic Payment Transactions | |
| Country | Country/Region Key | |||
| _AcctDetnCode | _AcctDetnCode | |||
| _AlternativePayer | _AlternativePayer | |||
| _AlternativePayee | _AlternativePayee | |||
| _AltvDunningRecipient | _AltvDunningRecipient | |||
| _AltvInvoiceRecipient | _AltvInvoiceRecipient | |||
| _AltvCorrespncRcpnt | _AltvCorrespncRcpnt | |||
| _AltvContrAcc | _AltvContrAcc | |||
| _BillgCycle | _BillgCycle | |||
| _BPForInvcgList | _BPForInvcgList | |||
| _BPForPayment | _BPForPayment | |||
| _BPForPosting | _BPForPosting | |||
| _BusinessArea | _BusinessArea | |||
| _BusinessPartner | _BusinessPartner | |||
| _CAAuthorizationGroup | _CAAuthorizationGroup | |||
| _CABusPrtnAddlLockExstcCode | _CABusPrtnAddlLockExstcCode | |||
| _CABusPrtnPostgLockExstcCode | _CABusPrtnPostgLockExstcCode | |||
| _CACorrespncActivityCode | _CACorrespncActivityCode | |||
| _CADfltClearingRstrcnCode | _CADfltClearingRstrcnCode | |||
| _CADirectDebitLimitCalcMod | _CADirectDebitLimitCalcMod | |||
| _CAFifthOutgoingPaymentMethod | _CAFifthOutgoingPaymentMethod | |||
| _CAFirstOutgoingPaymentMethod | _CAFirstOutgoingPaymentMethod | |||
| _CAFourthOutgoingPaymentMethod | _CAFourthOutgoingPaymentMethod | |||
| _CASecondOutgoingPaymentMethod | _CASecondOutgoingPaymentMethod | |||
| _CAThirdOutgoingPaymentMethod | _CAThirdOutgoingPaymentMethod | |||
| _ClearingCategory | _ClearingCategory | |||
| _CollContactPerson | _CollContactPerson | |||
| _CollectionStrategy | _CollectionStrategy | |||
| _CollMasterDataGroup | _CollMasterDataGroup | |||
| _CompCode | _CompCode | |||
| _CompCodeGroup | _CompCodeGroup | |||
| _ContrAcc | _ContrAcc | |||
| _ContrAcctForPayt | _ContrAcctForPayt | |||
| _ContrAcctForInvcgList | _ContrAcctForInvcgList | |||
| _ContrAcctForPosting | _ContrAcctForPosting | |||
| _CorrVariant | _CorrVariant | |||
| _CorrespncVar | _CorrespncVar | |||
| _Country | _Country | |||
| _CurrencyForDDL | _CurrencyForDDL | |||
| _CurrencyForInvoicing | _CurrencyForInvoicing | |||
| _DunningProcedure | _DunningProcedure | |||
| _DunNoticeGroup | _DunNoticeGroup | |||
| _HouseBankRef | _HouseBankRef | |||
| _InvcgCategory | _InvcgCategory | |||
| _InvcgSchedule | _InvcgSchedule | |||
| _InterestCode | _InterestCode | |||
| _MasterAgreement | _MasterAgreement | |||
| _PaymentCompCode | _PaymentCompCode | |||
| _PaymentCondition | _PaymentCondition | |||
| _PaytMethodIncg | _PaytMethodIncg | |||
| _RelshpOfBP | _RelshpOfBP | |||
| _SupplyingCountry | _SupplyingCountry | |||
| _ToleranceGroup | _ToleranceGroup | |||
| CAPaymentMethodForOutgPayment | azawe | Outgoing Payment Methods | ||
| _PaytMethodOutg | _PaytMethodOutg |
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 I_ContractAccountPartner.
-- 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: ICTRACCPARTNER
CREATE VIEW I_ContractAccountPartner AS
SELECT
vkont AS ContractAccount,
gpart AS BusinessPartner,
vkbez AS ContractAccountName,
erdat AS CreationDate,
ertim AS CreationTime,
ernam AS CreatedByUser,
cast( loevm as loevm preserving type ) AS IsMarkedForDeletion,
aedatp AS LastChangeDate,
aetimp AS LastChangeTime,
aenamp AS LastChangedByUser,
ebvty AS CABankIDForIncomingPayments,
abvty AS CABankIDForOutgoingPayments,
ezawe AS CAPaymentMethodForIncgPayment,
azawe AS CACnctntdOutgPaymentMethods,
cast (substring(azawe, 1, 1) as azawe1_conacct_kk preserving type) AS CAFirstOutgoingPaymentMethod,
cast (substring(azawe, 2, 1) as azawe2_conacct_kk preserving type) AS CASecondOutgoingPaymentMethod,
cast (substring(azawe, 3, 1) as azawe3_conacct_kk preserving type) AS CAThirdOutgoingPaymentMethod,
cast (substring(azawe, 4, 1) as azawe4_conacct_kk preserving type) AS CAFourthOutgoingPaymentMethod,
cast (substring(azawe, 5, 1) as azawe5_conacct_kk preserving type) AS CAFifthOutgoingPaymentMethod,
eigbv AS CAHouseBankReference,
ccard_id AS CAPaymentCardIDForIncomingPayt,
ccard_out AS CAPaymentCardIDForOutgoingPayt,
mndid AS SEPAMandate,
mahnv AS CADunningProcedure,
mgrup AS CADunningNoticeGroup,
corr_mahnv AS CACorrespondenceDunningProced,
persr AS CACollectionsClerk,
cmgrp AS CACollectionsMasterDataGroup,
strat AS CACollectionStrategy,
cpers AS CACollectionsContactPerson,
vkonv AS ContractAccountForPayment,
gparv AS CABusinessPartnerForPayment,
abwre AS CAAlternativePayer,
abwra AS CAAlternativePayee,
abwma AS CAAlternativeDunningRecipient,
abwrh AS CAAlternativeInvoiceRecipient,
def_rec AS CAAlternativeCorrespncRcpnt,
adrre AS CAAddressIDOfAlternativePayer,
adrra AS CAAddressIDOfAlternativePayee,
adrma AS CAAddressIDOfAltvDunRecipient,
adrrh AS CAAddressIDOfAltvInvoiceRcpnt,
ddlcu AS CACurrencyForDirectDebitLimit,
ddlam AS CADirectDebitLimit,
ddlnm AS CANmbrMnthsForDirectDebitLimit,
ddlxg AS CADirectDebitLimitCalcMode,
inv_curr AS CATargetCurrencyForInvoicing,
inv_category AS CAInvcgCategory,
inv_schedule AS CAInvcgSchedule,
inv_cycle AS CABillgCycle,
inv_cycle_day AS CALastDayOfBillingPeriod,
inv_form_det_key AS CADetnCodeForAltvInvoiceForm,
gpart_inv AS CABusinessPartnerForPosting,
vkont_inv AS ContractAccountForPosting,
gpart_invlist AS CABusinessPartnerForInvcgList,
vkont_invlist AS ContractAccountForInvcgList,
makey AS CAMasterAgreement,
ptsrl AS CAPartnerSettlementRule,
qszdt AS ValdtyDateForWhldgTaxExmpCert,
cast( txjcd as fis_txjcd preserving type ) AS TaxJurisdiction,
qsskz_a AS CAWhldgTaxCodeOutgoingPayt,
qsskz_e AS CAWhldgTaxCodeIncomingPayt,
cast( qsznr as fis_wtcert preserving type ) AS WithholdingTaxCertificate,
fdztg AS CAAdditionalDaysForCashMgmt,
bpl_xpocl AS CABusinessPartnerLock,
bpl_xpocl AS CABusPartnerPostgLockExstcCode,
bpl_xaddl AS CABusPartnerAddlLockExstcCode,
bpl_fdate AS CABusinessPartnerLockStartDate,
bpl_tdate AS CABusinessPartnerLockEndDate,
exvko AS CABPReferenceNumber,
opbuk AS CACompanyCodeGroup,
abwvk AS AltvContractAcctForCollvBills,
ikey AS CAInterestCode,
fdgrp AS CashPlanningGroup,
vkpbz AS CARelationshipOfBPToContrAcct,
adrnb AS AddressID,
adrjdc AS CAAddressIDOfJurisdictionCode,
begru AS CAAuthorizationGroup,
togru AS CAToleranceGroup,
coprc AS CACorrespondenceVariant,
cast( vbund as fis_rassc preserving type ) AS PartnerCompany,
def_rec_ind AS CACorrespondenceActivityCode,
vertyp AS CAClearingCategory,
augrs_def AS CAClearingRestriction,
augrs_def AS CADefaultClearingRstrcnCode,
cast( landl as fac_landl preserving type ) AS SupplyingCountry,
cast( bupla as farp_bupla preserving type ) AS BusinessPlace,
zahlkond AS PaymentCondition,
cast( kofiz_sd as kofiz_kk preserving type ) AS CAAccountDeterminationCode,
cast( gsber as fis_rbusa preserving type ) AS BusinessArea,
_CompCodeGroup.CAPaymentCompanyCode AS CAPaymentCompanyCode,
_CompCodeGroup._CompanyCode.Country AS Country,
azawe AS CAPaymentMethodForOutgPayment
FROM fkkvkp
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_BusinessPartner AS _AlternativePayer ON CAAlternativePayer = _AlternativePayer.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _AlternativePayee ON CAAlternativePayee = _AlternativePayee.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _AltvDunningRecipient ON CAAlternativeDunningRecipient = _AltvDunningRecipient.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _AltvInvoiceRecipient ON CAAlternativeInvoiceRecipient = _AltvInvoiceRecipient.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _AltvCorrespncRcpnt ON CAAlternativeCorrespncRcpnt = _AltvCorrespncRcpnt.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BPForPayment ON CABusinessPartnerForPayment = _BPForPayment.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _CollContactPerson ON CACollectionsContactPerson = _CollContactPerson.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BPForPosting ON CABusinessPartnerForPosting = _BPForPosting.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BPForInvcgList ON CABusinessPartnerForInvcgList = _BPForInvcgList.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_CAAccountDetnCode AS _AcctDetnCode ON CAAccountDeterminationCode = _AcctDetnCode.CAAccountDeterminationCode -- association [0..1]
LEFT OUTER JOIN I_CAAuthorizationGroup AS _CAAuthorizationGroup ON CAAuthorizationGroup = _CAAuthorizationGroup.CAAuthorizationGroup AND _CAAuthorizationGroup.CAAuthorizationGroupObject = 'CA_CONTACC' -- association [0..1]
LEFT OUTER JOIN I_CABillgCycle AS _BillgCycle ON CABillgCycle = _BillgCycle.CABillgCycle -- association [1..1]
LEFT OUTER JOIN I_CABusPrtnAddlLockExstcCode AS _CABusPrtnAddlLockExstcCode ON CABusPartnerAddlLockExstcCode = _CABusPrtnAddlLockExstcCode.CABusPartnerAddlLockExstcCode -- association [0..1]
LEFT OUTER JOIN I_CABusPrtnPostgLockExstcCode AS _CABusPrtnPostgLockExstcCode ON CABusPartnerPostgLockExstcCode = _CABusPrtnPostgLockExstcCode.CABusPartnerPostgLockExstcCode -- association [0..1]
LEFT OUTER JOIN I_CAClearingCategory AS _ClearingCategory ON CAClearingCategory = _ClearingCategory.CAClearingCategory -- association [0..1]
LEFT OUTER JOIN I_CACollectionStrategy AS _CollectionStrategy ON CACollectionStrategy = _CollectionStrategy.CACollectionStrategy -- association [0..1]
LEFT OUTER JOIN I_CACollMasterDataGroup AS _CollMasterDataGroup ON CACollectionsMasterDataGroup = _CollMasterDataGroup.CACollectionsMasterDataGroup -- association [0..1]
LEFT OUTER JOIN I_CACompanyCodeGroup AS _CompCodeGroup ON CACompanyCodeGroup = _CompCodeGroup.CACompanyCodeGroup -- association [1..1]
LEFT OUTER JOIN I_CACorrespncActivityCode AS _CACorrespncActivityCode ON CACorrespondenceActivityCode = _CACorrespncActivityCode.CACorrespondenceActivityCode -- association [0..1]
LEFT OUTER JOIN I_CACorrespondenceVariant AS _CorrVariant ON CACorrespondenceVariant = _CorrVariant.CACorrespondenceVariant -- association [1..1]
LEFT OUTER JOIN I_CACorrespondenceVariant AS _CorrespncVar ON CACorrespondenceVariant = _CorrespncVar.CACorrespondenceVariant -- association [1..1]
LEFT OUTER JOIN I_CADfltClearingRstrcnCode AS _CADfltClearingRstrcnCode ON CADefaultClearingRstrcnCode = _CADfltClearingRstrcnCode.CADefaultClearingRstrcnCode -- association [1..1]
LEFT OUTER JOIN I_CADirectDebitLimitCalcMode AS _CADirectDebitLimitCalcMod ON CADirectDebitLimitCalcMode = _CADirectDebitLimitCalcMod.CADirectDebitLimitCalcMode -- association [0..1]
LEFT OUTER JOIN I_CADunningProcedure AS _DunningProcedure ON CADunningProcedure = _DunningProcedure.CADunningProcedure -- association [0..1]
LEFT OUTER JOIN I_CADunningNoticeGroup AS _DunNoticeGroup ON CADunningNoticeGroup = _DunNoticeGroup.CADunningNoticeGroup -- association [0..1]
LEFT OUTER JOIN I_CAHouseBankReference AS _HouseBankRef ON capaymentcompanycode = _HouseBankRef.CAPaymentCompanyCode AND CAHouseBankReference = _HouseBankRef.CAHouseBankReference -- association [0..1]
LEFT OUTER JOIN I_CAInterestCode AS _InterestCode ON CAInterestCode = _InterestCode.CAInterestCode -- association [0..1]
LEFT OUTER JOIN I_CAInvcgCategory AS _InvcgCategory ON CAInvcgCategory = _InvcgCategory.CAInvcgCategory -- association [0..1]
LEFT OUTER JOIN I_CAInvcgSchedule AS _InvcgSchedule ON CAInvcgSchedule = _InvcgSchedule.CAInvcgSchedule -- association [1..1]
LEFT OUTER JOIN I_CAMasterAgreement AS _MasterAgreement ON CAMasterAgreement = _MasterAgreement.CAMasterAgreement -- association [1..1]
LEFT OUTER JOIN I_CAPaymentMethod AS _PaytMethodIncg ON country = _PaytMethodIncg.Country AND CAPaymentMethodForIncgPayment = _PaytMethodIncg.CAPaymentMethod -- association [0..1]
LEFT OUTER JOIN I_CAOutgoingPaymentMethod AS _CAFirstOutgoingPaymentMethod ON country = _CAFirstOutgoingPaymentMethod.Country AND CAFirstOutgoingPaymentMethod = _CAFirstOutgoingPaymentMethod.CAOutgoingPaymentMethod -- association [0..1]
LEFT OUTER JOIN I_CAOutgoingPaymentMethod AS _CASecondOutgoingPaymentMethod ON country = _CASecondOutgoingPaymentMethod.Country AND CASecondOutgoingPaymentMethod = _CASecondOutgoingPaymentMethod.CAOutgoingPaymentMethod -- association [0..1]
LEFT OUTER JOIN I_CAOutgoingPaymentMethod AS _CAThirdOutgoingPaymentMethod ON country = _CAThirdOutgoingPaymentMethod.Country AND CAThirdOutgoingPaymentMethod = _CAThirdOutgoingPaymentMethod.CAOutgoingPaymentMethod -- association [0..1]
LEFT OUTER JOIN I_CAOutgoingPaymentMethod AS _CAFourthOutgoingPaymentMethod ON country = _CAFourthOutgoingPaymentMethod.Country AND CAFourthOutgoingPaymentMethod = _CAFourthOutgoingPaymentMethod.CAOutgoingPaymentMethod -- association [0..1]
LEFT OUTER JOIN I_CAOutgoingPaymentMethod AS _CAFifthOutgoingPaymentMethod ON country = _CAFifthOutgoingPaymentMethod.Country AND CAFifthOutgoingPaymentMethod = _CAFifthOutgoingPaymentMethod.CAOutgoingPaymentMethod -- association [0..1]
LEFT OUTER JOIN I_CAToleranceGroup AS _ToleranceGroup ON CAToleranceGroup = _ToleranceGroup.CAToleranceGroup -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompCode ON CAStandardCompanyCode = _CompCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _PaymentCompCode ON capaymentcompanycode = _PaymentCompCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_ContrAcctPrtnRelshpType AS _RelshpOfBP ON CARelationshipOfBPToContrAcct = _RelshpOfBP.CARelationshipOfBPToContrAcct -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContrAcc ON ContractAccount = _ContrAcc.ContractAccount -- association [1..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _AltvContrAcc ON AltvContractAcctForCollvBills = _AltvContrAcc.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContrAcctForPayt ON ContractAccountForPayment = _ContrAcctForPayt.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContrAcctForPosting ON ContractAccountForPosting = _ContrAcctForPosting.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContrAcctForInvcgList ON ContractAccountForInvcgList = _ContrAcctForInvcgList.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_Country AS _SupplyingCountry ON SupplyingCountry = _SupplyingCountry.Country -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CurrencyForDDL ON CACurrencyForDirectDebitLimit = _CurrencyForDDL.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CurrencyForInvoicing ON CATargetCurrencyForInvoicing = _CurrencyForInvoicing.Currency -- association [0..1]
LEFT OUTER JOIN I_PaymentCondition AS _PaymentCondition ON PaymentCondition = _PaymentCondition.PaymentCondition -- association [0..1]
LEFT OUTER JOIN E_ContractAccountPartner AS _Extension ON ContractAccount = _Extension.ContractAccount AND BusinessPartner = _Extension.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_CAPaymentMethod AS _PaytMethodOutg ON country = _PaytMethodOutg.Country AND CAPaymentMethodForOutgPayment = _PaytMethodOutg.CAPaymentMethod -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA