I_SettlmtDoc
Settlement Document
I_SettlmtDoc (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
Sales
I_SettlmtDoc is a Basic CDS View (Dimension) that provides data about "Settlement Document" in SAP S/4HANA. It reads from 1 data source (R_SettlmtDoc) and exposes 240 fields with key field SettlmtDoc. It has 26 associations to related views. Part of development package WLF_API_A2A_SDOC_VDM.
SAP Help Documentation
| Category | Settlement Document |
|---|---|
| Data Category | Dimension |
Purpose
This CDS view is used to select the information about the settlement document. This CDS view provides the prerequisites for answering the following business questions: What are the settled documents? What parties (payer, supplier, invoicing and payee party) are involved?
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRU_KNA1 (Authorization Group for Customers) BEGRU_LFA1 (Authorization Group for Suppliers) COMPANY_ORG_AREA (Company Organizational Area) LFART (Settlement Document Type) W_WBRK_IC (Intercompany Organizational Area) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Object types This view is built on the following business objects: Settlement Document The key field is SettlmtDoc . You can use the view browser to navigate from the I_SettlmtDoc view to the following associated views (including detailed field and data type information) that are lower in the hierarchy: Settlement Document Item ( I_SettlmtDocItem ) Settlement Document Partner ( I_SettlmtDocPartner ) Settlement Document Supplier Pricing Element ( I_SettlmtDocSuplrPrcgElmnt ) Settlement Document Customer Pricing Element ( I_SettlmtDocCustPrcgElmnt ) Settlement Document Plain Long Text ( I_SettlmtDocPlainLongText ) Measures and attributes Some important measures and attributes are: Settlement document number ( SettlmtDoc ) Settlement document type ( SettlmtDocType ) Settlement process type ( SettlmtProcessType ) Settlement partner category ( SettlmtPartnerCat ) This field controls the partner for which a settlement document can be created and posted. The following values indicate that: ‘ ‘/blank - A settlement document is created and posted for the invoicing party and for the bill-to party 1 - A settlement document is created and posted for the invoicing party only 2 - A settlement document is created and posted for the bill-to party only Supplier settlement company code ( SuplrSettlmtCompanyCode ) Customer settlement company code ( CustSettlmtCompanyCode ) Sales organization ( SalesOrganization ) Purchasing organization ( PurchasingOrganization ) Invoicing party ( InvoicingParty ) Payee party ( PayeeParty ) Bill-to party ( BillToParty ) Payer party ( PayerParty ) Settlement management accounting transfer status ( SettlmtMgmtAcctgTransfSts ) Posting date ( PostingDate ) Document currency ( SettlmtDocCurrency ) Supplier-related gross amount ( SupplierTotalGrossAmount ) Supplier-related net amount ( SupplierTotalNetAmount ) Supplier-related tax amount ( SupplierTotalTaxAmount ) Customer-related gross amount ( CustomerTotalGrossAmount ) Customer-related net amount ( CustomerTotalNetAmount ) Customer-related tax amount ( CustomerTotalTaxAmount )
This CDS view is used to select the information about the settlement document. This CDS view provides the prerequisites for answering the following business questions: What are the settled documents? What parties (payer, supplier, invoicing and payee party) are involved?
Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRU_KNA1 (Authorization Group for Customers) BEGRU_LFA1 (Authorization Group for Suppliers) COMPANY_ORG_AREA (Company Organizational Area) LFART (Settlement Document Type) W_WBRK_IC (Intercompany Organizational Area) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.
Structure
Object types This view is built on the following business objects: Settlement Document The key field is SettlmtDoc . You can use the view browser to navigate from the I_SettlmtDoc view to the following associated views (including detailed field and data type information) that are lower in the hierarchy: Settlement Document Item ( I_SettlmtDocItem ) Settlement Document Partner ( I_SettlmtDocPartner ) Settlement Document Supplier Pricing Element ( I_SettlmtDocSuplrPrcgElmnt ) Settlement Document Customer Pricing Element ( I_SettlmtDocCustPrcgElmnt ) Settlement Document Plain Long Text ( I_SettlmtDocPlainLongText ) Measures and attributes Some important measures and attributes are: Settlement document number ( SettlmtDoc ) Settlement document type ( SettlmtDocType ) Settlement process type ( SettlmtProcessType ) Settlement partner category ( SettlmtPartnerCat ) This field controls the partner for which a settlement document can be created and posted. The following values indicate that: ‘ ‘/blank - A settlement document is created and posted for the invoicing party and for the bill-to party 1 - A settlement document is created and posted for the invoicing party only 2 - A settlement document is created and posted for the bill-to party only Supplier settlement company code ( SuplrSettlmtCompanyCode ) Customer settlement company code ( CustSettlmtCompanyCode ) Sales organization ( SalesOrganization ) Purchasing organization ( PurchasingOrganization ) Invoicing party ( InvoicingParty ) Payee party ( PayeeParty ) Bill-to party ( BillToParty ) Payer party ( PayerParty ) Settlement management accounting transfer status ( SettlmtMgmtAcctgTransfSts ) Posting date ( PostingDate ) Document currency ( SettlmtDocCurrency ) Supplier-related gross amount ( SupplierTotalGrossAmount ) Supplier-related net amount ( SupplierTotalNetAmount ) Supplier-related tax amount ( SupplierTotalTaxAmount ) Customer-related gross amount ( CustomerTotalGrossAmount ) Customer-related net amount ( CustomerTotalNetAmount ) Customer-related tax amount ( CustomerTotalTaxAmount )
SAP API Hub
| Category | Basic |
|---|---|
| State | C1 |
| Line of Business | Sales |
| Application Component | LO-AB |
| Capabilities | Association Target for Defining CDS Entities,Analytical Dimension,Data Source for Defining CDS Entities,Data Source in SQL Select |
| Extensible (Key User) | Yes |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Sales for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view is used to select the information about the settlement document.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li> <p>What are the settled documents?</p> </li> <li> <p>What parties (payer, supplier, invoicing and payee party) are involved?</p> </li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SettlmtDoc | R_SettlmtDoc | from |
Associations (26)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SettlmtDocItem | _Item | $projection.SettlmtDoc = _Item.SettlmtDoc |
| [0..*] | I_SettlmtDocPartner | _Partner | $projection.SettlmtDoc = _Partner.SettlmtDoc |
| [0..*] | I_SettlmtDocBankData | _BankData | $projection.SettlmtDoc = _BankData.SettlmtDoc |
| [0..1] | I_SettlmtDoc | _CanceledSettlmtDoc | $projection.CanceledSettlmtDoc = _CanceledSettlmtDoc.SettlmtDoc |
| [0..1] | I_SettlmtMgmtDocIncmpltnsRsnCd | _SettlmtDocIncmpltnsRsn | $projection.SettlmtDocIncmpltnsRsn = _SettlmtDocIncmpltnsRsn.SettlmtMgmtDocIncmpltnsRsn |
| [0..1] | I_SettlmtMgmtDocCollSts | _SettlmtDocCollSts | $projection.SettlmtDocCollSts = _SettlmtDocCollSts.SettlmtMgmtDocCollSts |
| [0..1] | I_SettlmtMgmtDocIsCollvDocCode | _SettlmtDocIsCollvDoc | $projection.SettlmtDocIsCollvDoc = _SettlmtDocIsCollvDoc.SettlmtMgmtDocIsCollvDoc |
| [0..1] | I_CompanyCode | _CustSettlmtCompanyCode | $projection.CustSettlmtCompanyCode = _CustSettlmtCompanyCode.CompanyCode |
| [0..1] | I_Country | _SuplrSettlmtCoCodeTaxCountry | $projection.SuplrSettlmtCoCodeTaxCountry = _SuplrSettlmtCoCodeTaxCountry.Country |
| [0..1] | I_Country | _CustSettlmtCoCodeTaxCountry | $projection.CustSettlmtCoCodeTaxCountry = _CustSettlmtCoCodeTaxCountry.Country |
| [0..1] | I_CustomerCompany | _BillToPartyCompany | $projection.BillToParty = _BillToPartyCompany.Customer and $projection.CustSettlmtCompanyCode = _BillToPartyCompany.CompanyCode |
| [0..1] | I_CustomerCompany | _PayerPartyCompany | $projection.PayerParty = _PayerPartyCompany.Customer and $projection.CustSettlmtCompanyCode = _PayerPartyCompany.CompanyCode |
| [0..*] | I_SettlmtDocSuplrPrcgElmnt | _SupplierPricingElement | $projection.SettlmtDoc = _SupplierPricingElement.SettlmtDoc |
| [0..*] | I_SettlmtDocCustPrcgElmnt | _CustomerPricingElement | $projection.SettlmtDoc = _CustomerPricingElement.SettlmtDoc |
| [0..*] | I_CreditControlAreaText | _CreditControlAreaText | $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea |
| [0..*] | I_SettlmtDocPlainLongText | _SettlmtDocPlainLongText | $projection.SettlmtDoc = _SettlmtDocPlainLongText.SettlmtDoc |
| [0..1] | I_ConditionContract | _SettlmtReltdCndnContr | $projection.SettlmtReltdCndnContr = _SettlmtReltdCndnContr.ConditionContract |
| [0..1] | I_SettlmtDocType | _SettlmtDocType | $projection.SettlmtDocType = _SettlmtDocType.SettlmtDocType |
| [0..1] | I_SettlmtProcessType | _SettlmtProcessType | $projection.SettlmtProcessType = _SettlmtProcessType.SettlmtProcessType |
| [0..1] | I_CndnContrType | _CndnContrType | $projection.CndnContrType = _CndnContrType.CndnContrType |
| [0..1] | I_SettlmtBusProcVar | _SettlmtBusProcVar | $projection.SettlmtBusProcVar = _SettlmtBusProcVar.SettlmtBusProcVar |
| [0..1] | I_SettlmtApplSts | _SettlmtApplSts | $projection.SettlmtApplSts = _SettlmtApplSts.SettlmtApplSts |
| [0..1] | I_SettlmtApplStsGrp | _SettlmtApplStsGrp | $projection.SettlmtApplStsGrp = _SettlmtApplStsGrp.SettlmtApplStsGrp |
| [0..1] | I_SettlmtApplStsGrpStsAssgmt | _SettlmtApplStsGrpStsAssgmt | $projection.SettlmtApplStsGrp = _SettlmtApplStsGrpStsAssgmt.SettlmtApplStsGrp and $projection.SettlmtApplSts = _SettlmtApplStsGrpStsAssgmt.SettlmtApplSts |
| [0..1] | I_TrdgExpnDocSettledCode | _TrdgExpnDocSettled | $projection.TrdgExpnDocSettled = _TrdgExpnDocSettled.TrdgExpnDocSettled |
| [1..1] | E_SettlmtMgmtDoc | _Extension | $projection.SettlmtDoc = _Extension.SettlmtMgmtDoc |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | SettlmtDoc | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | false | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.technicalName | IWLFSMTDOC | view | |
| EndUserText.label | Settlement Document | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (240)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SettlmtDoc | SettlmtDoc | Settlement Document Number | |
| SettlmtDocType | SettlmtDocType | Settlement Document Type | ||
| SettlmtDocCat | SettlmtDocCat | Settlement Document Category | ||
| SettlmtProcessType | SettlmtProcessType | Settlement Process Type | ||
| SettlmtProcessCat | SettlmtProcessCat | Settlement Process Category | ||
| LogisticsDataEntryCat | LogisticsDataEntryCat | Entry Category for Logistics Data | ||
| SettlmtCat | SettlmtCat | Settlement Category | ||
| SupplierPricingProcedure | SupplierPricingProcedure | Supplier Related Pricing Procedure | ||
| CustomerPricingProcedure | CustomerPricingProcedure | Customer Related Pricing Procedure | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| SettlmtMgmtAcctgTransfSts | SettlmtMgmtAcctgTransfSts | Posting Status for Transfer to Financial Accounting | ||
| InvoicingParty | InvoicingParty | Supplier in Settlement Management | ||
| PayeeParty | PayeeParty | Payee | ||
| BillToParty | BillToParty | Customer in Settlement Management | ||
| PayerParty | PayerParty | Payer | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | Distribution Channel | ||
| Division | Division | Internal Division ID | ||
| SuplrSettlmtCompanyCode | SuplrSettlmtCompanyCode | Supplier Company Code | ||
| CustSettlmtCompanyCode | CustSettlmtCompanyCode | Customer Company Code | ||
| CreatedByUser | CreatedByUser | Name of User who Created the Document | ||
| CreationDate | CreationDate | Date of Document Creation | ||
| CreationTime | CreationTime | Time of Document Creation | ||
| LastChangeDate | LastChangeDate | Date of Last Document Change | ||
| DocumentDate | DocumentDate | Document Date in Settlement Management Document | ||
| DocumentReferenceID | DocumentReferenceID | Reference Document Number | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| SettlmtDocCurrency | SettlmtDocCurrency | Currency of Settlement Document | ||
| ExchangeRate | ExchangeRate | Conversion Rate (Not Converted) | ||
| ExchangeRateIsFixed | ExchangeRateIsFixed | Indicator for Fixed Exchange Rate | ||
| ExchangeRateDate | ExchangeRateDate | Exchange Rate Date | ||
| SupplierTotalGrossAmount | SupplierTotalGrossAmount | Total Gross Amount for Supplier in Document Currency | ||
| SupplierTotalNetAmount | SupplierTotalNetAmount | Total Net Amount for Supplier in Document Currency | ||
| CustomerTotalGrossAmount | CustomerTotalGrossAmount | Total Gross Amount for Customer in Document Currency | ||
| CustomerTotalNetAmount | CustomerTotalNetAmount | Total Net Amount for Customer in Document Currency | ||
| SupplierPaymentTerms | SupplierPaymentTerms | Terms of Payment Key for Supplier | ||
| SupplierCashDiscount1Days | SupplierCashDiscount1Days | Supplier Cash Discount First Payment in Days | ||
| SupplierCashDiscount2Days | SupplierCashDiscount2Days | Supplier Cash Discount Second Payment in Days | ||
| SupplierNetPaymentDays | SupplierNetPaymentDays | Supplier Cash Discount Days | ||
| SupplierCashDiscount1Percent | SupplierCashDiscount1Percent | Supplier Cash Discount for First Payment in % | ||
| SupplierCashDiscount2Percent | SupplierCashDiscount2Percent | Supplier Cash Discount for Second Payment in % | ||
| SupplierPaymentMethod | SupplierPaymentMethod | Supplier Payment Method | ||
| CustomerPaymentTerms | CustomerPaymentTerms | Terms of Payment Key for Customer | ||
| CustomerCashDiscount1Days | CustomerCashDiscount1Days | Customer Cash Discount First Payment in Days | ||
| CustomerCashDiscount2Days | CustomerCashDiscount2Days | Customer Cash Discount Second Payment in Days | ||
| CustomerNetPaymentDays | CustomerNetPaymentDays | Customer Cash Discount Days | ||
| CustomerCashDiscount1Percent | CustomerCashDiscount1Percent | Customer Cash Discount for First Payment in % | ||
| CustomerCashDiscount2Percent | CustomerCashDiscount2Percent | Custromer Cash Discount for Second Payment in % | ||
| CustomerPaymentMethod | CustomerPaymentMethod | Customer Payment Method | ||
| SuplrTotEligibleAmtForCshDisc | SuplrTotEligibleAmtForCshDisc | Total Amount Eligible for Cash Discount of Supplier | ||
| CustTotEligibleAmtForCshDisc | CustTotEligibleAmtForCshDisc | Total Amount Eligible for Cash Discount of Customer | ||
| SettlmtDocIsCanceled | SettlmtDocIsCanceled | Settlement Document is Reversed | ||
| CanceledSettlmtDoc | CanceledSettlmtDoc | Reversed Document | ||
| SupplierPricingDocument | SupplierPricingDocument | Supplier Document Condition of Settlement Document | ||
| CustomerPricingDocument | CustomerPricingDocument | Customer Document Condition of Settlement Document | ||
| SupplierAdditionalValueDays | SupplierAdditionalValueDays | Additional Value Days for Supplier | ||
| SupplierFixedValueDate | SupplierFixedValueDate | Fixed Value Date for Supplier | ||
| CustomerAdditionalValueDays | CustomerAdditionalValueDays | Additional Value Days for Customer | ||
| CustomerFixedValueDate | CustomerFixedValueDate | Fixed Value Date for Customer | ||
| SupplierTotalTaxAmount | SupplierTotalTaxAmount | Total Tax Amount for Supplier in Document Currency | ||
| CustomerTotalTaxAmount | CustomerTotalTaxAmount | Total Tax Amount for Customer in Document Currency | ||
| TaxExchangeRate | TaxExchangeRate | Tax Conversion Rate (Not Converted) | ||
| IntercompanyTaxExchangeRate | IntercompanyTaxExchangeRate | Intercompany Tax Conversion Rate (Not Converted) | ||
| SupplyingCountry | SupplyingCountry | Supplying Country/Region | ||
| StateCentralBankPaymentReason | StateCentralBankPaymentReason | State Central Bank Indicator | ||
| CreditControlArea | CreditControlArea | Credit Control Area | ||
| SettlmtDocActivityReason | SettlmtDocActivityReason | Header Activity Reason for Document Creation | ||
| PaymentReference | PaymentReference | Payment Reference | ||
| SupplierPaymentCurrency | SupplierPaymentCurrency | Supplier Payment Currency for Automatic Payment | ||
| SupplierPaytCurrencyExchRate | SupplierPaytCurrencyExchRate | Exchange Rate of Supplier Payment Currency (Not Converted) | ||
| CustomerPaymentCurrency | CustomerPaymentCurrency | Customer Payment Currency for Automatic Payment | ||
| CustomerPaytCurrencyExchRate | CustomerPaytCurrencyExchRate | Exchange Rate of Customer Payment Currency (Not Converted) | ||
| SettlmtApplSts | SettlmtApplSts | Application Status for a Settlement Management Document | ||
| ExchangeRateType | ExchangeRateType | Exchange Rate Type | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| OneTimeCustomerAddressID | OneTimeCustomerAddressID | Address of One-Time Customer | ||
| OneTimeSupplierAddressID | OneTimeSupplierAddressID | Address of One-Time Supplier | ||
| SettlmtReltdCndnContr | SettlmtReltdCndnContr | Related Condition Contract in Settlement Management | ||
| SettlmtReltdTrdgContr | SettlmtReltdTrdgContr | Related Trading Contract in Settlement Management | ||
| SettlmtReltdPurgDoc | SettlmtReltdPurgDoc | Related Purchasing Document in Settlement Management | ||
| SettlmtReltdBillgDoc | SettlmtReltdBillgDoc | Related Billing Document in Settlement Management | ||
| SettlmtDocSmmrznCat | SettlmtDocSmmrznCat | Document Summarization Category | ||
| CreditControlAreaCurrency | CreditControlAreaCurrency | Currency of Credit Control Area | ||
| ReleasedCreditAmount | ReleasedCreditAmount | Released Credit Value of the Document | ||
| SettlmtClassificationCat | SettlmtClassificationCat | Settlement Classification Category | ||
| SettlmtPartnerCat | SettlmtPartnerCat | Settlement Partner Category | ||
| SupplierSettlmtStatus | SupplierSettlmtStatus | Settlement Status - Supplier | ||
| CustomerSettlmtStatus | CustomerSettlmtStatus | Settlement Status - Customer | ||
| SupplierSettlmtDocCat | SupplierSettlmtDocCat | Settlement Document Type - Supplier | ||
| CustomerSettlmtDocCat | CustomerSettlmtDocCat | Settlement Document Type - Customer | ||
| SupplierSettlmtBlkgReason | SupplierSettlmtBlkgReason | Reason for Supplier Settlement Block | ||
| CustomerSettlmtBlkgReason | CustomerSettlmtBlkgReason | Reason for Customer Settlement Block | ||
| FiscalPeriod | FiscalPeriod | Fiscal Period | ||
| TrdgExpnDocSettled | TrdgExpnDocSettled | Trading Expense Document Settled Indicator | ||
| TrdgExpnCurrency | TrdgExpnCurrency | Ref. Field for Trading Expenses Ref. Value (Crcy, %, Unit) | ||
| TrdgExpnAmount | TrdgExpnAmount | Reference Value for Trading Expenses | ||
| TrdgExpnSupplier | TrdgExpnSupplier | Trading Expense Supplier | ||
| TrdgExpnCustomer | TrdgExpnCustomer | Trading Expense Customer | ||
| CndnContrType | CndnContrType | Condition Contract Type | ||
| CndnContrProcVar | CndnContrProcVar | Condition Contract Process Variant | ||
| SettlmtDateCat | SettlmtDateCat | Rebates: Settlement Date Type | ||
| ActualSettlmtDate | ActualSettlmtDate | Actual Settlement Date | ||
| SettlmtDateSequentialID | SettlmtDateSequentialID | Settlement Date - Sequential ID | ||
| SettlmtDocIncmpltnsRsn | SettlmtDocIncmpltnsRsn | Incompleteness Reason of Settlement Management Document | ||
| AlternativeInvoicingParty | AlternativeInvoicingParty | Alternative Supplier | ||
| CombinedSettlmtPostgSts | CombinedSettlmtPostgSts | Posting Status for Combined Settlement | ||
| DocIntrastatRelevance | DocIntrastatRelevance | Document is Relevant for Intrastat Declarations | ||
| TaxDepartureCountry | TaxDepartureCountry | Tax Departure Country/Region | ||
| TaxDestinationCountry | TaxDestinationCountry | Tax Destination Country/Region | ||
| IsEUTriangularDeal | IsEUTriangularDeal | Indicator: Triangular Deal Within the EU | ||
| SupplierVATRegistration | SupplierVATRegistration | Supplier VAT Registration Number | ||
| CustomerVATRegistration | CustomerVATRegistration | Customer VAT Registration Number | ||
| IntrastatDeclnGdsFlwCat | IntrastatDeclnGdsFlwCat | Type of Goods Flow for Intrastat Declarations | ||
| IncotermsVersion | IncotermsVersion | Incoterms Version | ||
| IncotermsClassification | IncotermsClassification | Incoterms (Part 1) | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms (Part 2) | ||
| IncotermsLocation1 | IncotermsLocation1 | Incoterms Location 1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Incoterms Location 2 | ||
| SettlmtDate | SettlmtDate | Rebates: Settlement Date | ||
| RefSettlmtDate | RefSettlmtDate | Reference Date for a Delta Settlement | ||
| SettlmtBusProcVar | SettlmtBusProcVar | Settlement Management Process Category | ||
| SettlmtDocCollSts | SettlmtDocCollSts | Collective Settlement Status of Settlement Documents | ||
| SettlmtDocIsCollvDoc | SettlmtDocIsCollvDoc | Indicator that Document is a Collective Document | ||
| CollSettlmtBlkgReason | CollSettlmtBlkgReason | Reason for Collective Settlement Block | ||
| SuplrSettlmtCoCodeTaxCountry | SuplrSettlmtCoCodeTaxCountry | Tax Country/Region Company Code | ||
| CustSettlmtCoCodeTaxCountry | CustSettlmtCoCodeTaxCountry | Tax Country/Region Company Code Customer | ||
| SettlmtBusProcCat | SettlmtBusProcCat | Use Case Type | ||
| SEPAMandate | SEPAMandate | Unique Reference to Mandate for each Payee | ||
| TotalSettlmtQuantity | TotalSettlmtQuantity | Total Quantity of the Business Volume in a Settlement Run | ||
| TotalSettlmtQuantityUnit | TotalSettlmtQuantityUnit | Unit of Measure for Total Quantity | ||
| TotalSettlmtNetWeight | TotalSettlmtNetWeight | Total Net Weight of the Business Volume in a Settlement Run | ||
| TotalSettlmtGrossWeight | TotalSettlmtGrossWeight | Total Gross Weight of the Bus Volume in a Settlement Run | ||
| TotalSettlmtWeightUnit | TotalSettlmtWeightUnit | Unit of Weight for Total Weight | ||
| TotalSettlmtVolume | TotalSettlmtVolume | Total Volume of the Business Volume in a Settlement Run | ||
| TotalSettlmtVolumeUnit | TotalSettlmtVolumeUnit | Volume Unit for Total Volume | ||
| TotalSettlmtPointsQty | TotalSettlmtPointsQty | Total Points of the Business Volume in a Settlement Run | ||
| TotalSettlmtPointsQtyUnit | TotalSettlmtPointsQtyUnit | Points Unit for Total Points | ||
| PostingPartnerCat | PostingPartnerCat | Posting Partner | ||
| SettlmtPeriodStartDate | SettlmtPeriodStartDate | Start Date of Settlement Period | ||
| SettlmtPeriodEndDate | SettlmtPeriodEndDate | End Date of Settlement Period | ||
| CndnContrProcessCategory | CndnContrProcessCategory | Process Category of a Condition Contract | ||
| SettlmtApplStsGrp | SettlmtApplStsGrp | Status Group for Settlement Management Documents | ||
| SettlmtDocAuthznCat | SettlmtDocAuthznCat | Authorization Category | ||
| ETag | Entity Tag of a Settlement Management Document | |||
| SettlmtDocChangeState | SettlmtDocChangeState | Change State of a Settlement Management Document (ETag) | ||
| _Item | _Item | |||
| _Partner | _Partner | |||
| _BankData | _BankData | |||
| _SupplierPricingElement | _SupplierPricingElement | |||
| _CustomerPricingElement | _CustomerPricingElement | |||
| _SettlmtDocType | _SettlmtDocType | |||
| _SettlmtDocCat | _SettlmtDocCat | |||
| _SettlmtProcessType | _SettlmtProcessType | |||
| _SettlmtProcessCat | _SettlmtProcessCat | |||
| _LogisticsDataEntryCat | _LogisticsDataEntryCat | |||
| _SettlmtCat | _SettlmtCat | |||
| _SettlmtMgmtAcctgTransfSts | _SettlmtMgmtAcctgTransfSts | |||
| _InvoicingParty | _InvoicingParty | |||
| _PayeeParty | _PayeeParty | |||
| _BillToParty | _BillToParty | |||
| _PayerParty | _PayerParty | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _SuplrSettlmtCompanyCode | _SuplrSettlmtCompanyCode | |||
| _CustSettlmtCompanyCode | _CustSettlmtCompanyCode | |||
| _CreatedByUser | _CreatedByUser | |||
| _SettlmtDocCurrency | _SettlmtDocCurrency | |||
| _SupplierPaymentTerms | _SupplierPaymentTerms | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _CanceledSettlmtDoc | _CanceledSettlmtDoc | |||
| _SupplyingCountry | _SupplyingCountry | |||
| _CreditControlArea | _CreditControlArea | |||
| _SettlmtDocActivityReason | _SettlmtDocActivityReason | |||
| _SupplierPaymentCurrency | _SupplierPaymentCurrency | |||
| _CustomerPaymentCurrency | _CustomerPaymentCurrency | |||
| _SettlmtApplSts | _SettlmtApplSts | |||
| _SettlmtApplStsGrp | _SettlmtApplStsGrp | |||
| _SettlmtApplStsGrpStsAssgmt | _SettlmtApplStsGrpStsAssgmt | |||
| _ExchangeRateType | _ExchangeRateType | |||
| _SalesOffice | _SalesOffice | |||
| _SalesGroup | _SalesGroup | |||
| _OneTimeSupplierAddress | _OneTimeSupplierAddress | |||
| _OneTimeCustomerAddress | _OneTimeCustomerAddress | |||
| _SettlmtReltdPurgDoc | _SettlmtReltdPurgDoc | |||
| _SettlmtReltdBillgDoc | _SettlmtReltdBillgDoc | |||
| _SettlmtDocSmmrznCat | _SettlmtDocSmmrznCat | |||
| _CreditControlAreaCurrency | _CreditControlAreaCurrency | |||
| _SettlmtClassificationCat | _SettlmtClassificationCat | |||
| _SettlmtPartnerCat | _SettlmtPartnerCat | |||
| _SupplierSettlmtStatus | _SupplierSettlmtStatus | |||
| _CustomerSettlmtStatus | _CustomerSettlmtStatus | |||
| _SupplierSettlmtDocCat | _SupplierSettlmtDocCat | |||
| _CustomerSettlmtDocCat | _CustomerSettlmtDocCat | |||
| _SupplierSettlmtBlkgReason | _SupplierSettlmtBlkgReason | |||
| _CustomerSettlmtBlkgReason | _CustomerSettlmtBlkgReason | |||
| _TrdgExpnDocSettled | _TrdgExpnDocSettled | |||
| _TrdgExpnCurrency | _TrdgExpnCurrency | |||
| _TrdgExpnSupplier | _TrdgExpnSupplier | |||
| _TrdgExpnCustomer | _TrdgExpnCustomer | |||
| _SettlmtReltdCndnContr | _SettlmtReltdCndnContr | |||
| _CndnContrType | _CndnContrType | |||
| _CndnContrProcVar | _CndnContrProcVar | |||
| _SettlmtDateCat | _SettlmtDateCat | |||
| _SettlmtDocIncmpltnsRsn | _SettlmtDocIncmpltnsRsn | |||
| _AlternativeInvoicingParty | _AlternativeInvoicingParty | |||
| _CombinedSettlmtPostgSts | _CombinedSettlmtPostgSts | |||
| _DocIntrastatRelevance | _DocIntrastatRelevance | |||
| _TaxDepartureCountry | _TaxDepartureCountry | |||
| _TaxDestinationCountry | _TaxDestinationCountry | |||
| _IntrastatDeclnGdsFlwCat | _IntrastatDeclnGdsFlwCat | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _SettlmtBusProcVar | _SettlmtBusProcVar | |||
| _SettlmtDocCollSts | _SettlmtDocCollSts | |||
| _SettlmtDocIsCollvDoc | _SettlmtDocIsCollvDoc | |||
| _CollSettlmtBlkgReason | _CollSettlmtBlkgReason | |||
| _SuplrSettlmtCoCodeTaxCountry | _SuplrSettlmtCoCodeTaxCountry | |||
| _CustSettlmtCoCodeTaxCountry | _CustSettlmtCoCodeTaxCountry | |||
| _SettlmtBusProcCat | _SettlmtBusProcCat | |||
| _TotalSettlmtQuantityUnit | _TotalSettlmtQuantityUnit | |||
| _TotalSettlmtWeightUnit | _TotalSettlmtWeightUnit | |||
| _TotalSettlmtVolumeUnit | _TotalSettlmtVolumeUnit | |||
| _TotalSettlmtPointsQtyUnit | _TotalSettlmtPointsQtyUnit | |||
| _PostingPartnerCat | _PostingPartnerCat | |||
| _InvoicingPartyCompany | _InvoicingPartyCompany | |||
| _PayeePartyCompany | _PayeePartyCompany | |||
| _AltvInvoicingPartyCompany | _AltvInvoicingPartyCompany | |||
| _BillToPartyCompany | _BillToPartyCompany | |||
| _PayerPartyCompany | _PayerPartyCompany | |||
| _SalesArea | _SalesArea | |||
| _CndnContrProcessCategory | _CndnContrProcessCategory | |||
| _CreditControlAreaText | _CreditControlAreaText | |||
| _SettlmtDocAuthznCat | _SettlmtDocAuthznCat | |||
| _SettlmtDocPlainLongText | _SettlmtDocPlainLongText |
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_SettlmtDoc.
-- 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 I_SettlmtDoc AS
SELECT
SettlmtDoc,
SettlmtDocType,
SettlmtDocCat,
SettlmtProcessType,
SettlmtProcessCat,
LogisticsDataEntryCat,
SettlmtCat,
SupplierPricingProcedure,
CustomerPricingProcedure,
PostingDate,
SettlmtMgmtAcctgTransfSts,
InvoicingParty,
PayeeParty,
BillToParty,
PayerParty,
PurchasingOrganization,
PurchasingGroup,
SalesOrganization,
DistributionChannel,
Division,
SuplrSettlmtCompanyCode,
CustSettlmtCompanyCode,
CreatedByUser,
CreationDate,
CreationTime,
LastChangeDate,
DocumentDate,
DocumentReferenceID,
AssignmentReference,
SettlmtDocCurrency,
ExchangeRate,
ExchangeRateIsFixed,
ExchangeRateDate,
SupplierTotalGrossAmount,
SupplierTotalNetAmount,
CustomerTotalGrossAmount,
CustomerTotalNetAmount,
SupplierPaymentTerms,
SupplierCashDiscount1Days,
SupplierCashDiscount2Days,
SupplierNetPaymentDays,
SupplierCashDiscount1Percent,
SupplierCashDiscount2Percent,
SupplierPaymentMethod,
CustomerPaymentTerms,
CustomerCashDiscount1Days,
CustomerCashDiscount2Days,
CustomerNetPaymentDays,
CustomerCashDiscount1Percent,
CustomerCashDiscount2Percent,
CustomerPaymentMethod,
SuplrTotEligibleAmtForCshDisc,
CustTotEligibleAmtForCshDisc,
SettlmtDocIsCanceled,
CanceledSettlmtDoc,
SupplierPricingDocument,
CustomerPricingDocument,
SupplierAdditionalValueDays,
SupplierFixedValueDate,
CustomerAdditionalValueDays,
CustomerFixedValueDate,
SupplierTotalTaxAmount,
CustomerTotalTaxAmount,
TaxExchangeRate,
IntercompanyTaxExchangeRate,
SupplyingCountry,
StateCentralBankPaymentReason,
CreditControlArea,
SettlmtDocActivityReason,
PaymentReference,
SupplierPaymentCurrency,
SupplierPaytCurrencyExchRate,
CustomerPaymentCurrency,
CustomerPaytCurrencyExchRate,
SettlmtApplSts,
ExchangeRateType,
SalesOffice,
SalesGroup,
OneTimeCustomerAddressID,
OneTimeSupplierAddressID,
SettlmtReltdCndnContr,
SettlmtReltdTrdgContr,
SettlmtReltdPurgDoc,
SettlmtReltdBillgDoc,
SettlmtDocSmmrznCat,
CreditControlAreaCurrency,
ReleasedCreditAmount,
SettlmtClassificationCat,
SettlmtPartnerCat,
SupplierSettlmtStatus,
CustomerSettlmtStatus,
SupplierSettlmtDocCat,
CustomerSettlmtDocCat,
SupplierSettlmtBlkgReason,
CustomerSettlmtBlkgReason,
FiscalPeriod,
TrdgExpnDocSettled,
TrdgExpnCurrency,
TrdgExpnAmount,
TrdgExpnSupplier,
TrdgExpnCustomer,
CndnContrType,
CndnContrProcVar,
SettlmtDateCat,
ActualSettlmtDate,
SettlmtDateSequentialID,
SettlmtDocIncmpltnsRsn,
AlternativeInvoicingParty,
CombinedSettlmtPostgSts,
DocIntrastatRelevance,
TaxDepartureCountry,
TaxDestinationCountry,
IsEUTriangularDeal,
SupplierVATRegistration,
CustomerVATRegistration,
IntrastatDeclnGdsFlwCat,
IncotermsVersion,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
SettlmtDate,
RefSettlmtDate,
SettlmtBusProcVar,
SettlmtDocCollSts,
SettlmtDocIsCollvDoc,
CollSettlmtBlkgReason,
SuplrSettlmtCoCodeTaxCountry,
CustSettlmtCoCodeTaxCountry,
SettlmtBusProcCat,
SEPAMandate,
TotalSettlmtQuantity,
TotalSettlmtQuantityUnit,
TotalSettlmtNetWeight,
TotalSettlmtGrossWeight,
TotalSettlmtWeightUnit,
TotalSettlmtVolume,
TotalSettlmtVolumeUnit,
TotalSettlmtPointsQty,
TotalSettlmtPointsQtyUnit,
PostingPartnerCat,
SettlmtPeriodStartDate,
SettlmtPeriodEndDate,
CndnContrProcessCategory,
SettlmtApplStsGrp,
SettlmtDocAuthznCat,
cast ( '0000' as wlf_entity_tag preserving type ) AS ETag,
SettlmtDocChangeState
FROM R_SettlmtDoc
LEFT OUTER JOIN I_SettlmtDocItem AS _Item ON SettlmtDoc = _Item.SettlmtDoc -- association [0..*]
LEFT OUTER JOIN I_SettlmtDocPartner AS _Partner ON SettlmtDoc = _Partner.SettlmtDoc -- association [0..*]
LEFT OUTER JOIN I_SettlmtDocBankData AS _BankData ON SettlmtDoc = _BankData.SettlmtDoc -- association [0..*]
LEFT OUTER JOIN I_SettlmtDoc AS _CanceledSettlmtDoc ON CanceledSettlmtDoc = _CanceledSettlmtDoc.SettlmtDoc -- association [0..1]
LEFT OUTER JOIN I_SettlmtMgmtDocIncmpltnsRsnCd AS _SettlmtDocIncmpltnsRsn ON SettlmtDocIncmpltnsRsn = _SettlmtDocIncmpltnsRsn.SettlmtMgmtDocIncmpltnsRsn -- association [0..1]
LEFT OUTER JOIN I_SettlmtMgmtDocCollSts AS _SettlmtDocCollSts ON SettlmtDocCollSts = _SettlmtDocCollSts.SettlmtMgmtDocCollSts -- association [0..1]
LEFT OUTER JOIN I_SettlmtMgmtDocIsCollvDocCode AS _SettlmtDocIsCollvDoc ON SettlmtDocIsCollvDoc = _SettlmtDocIsCollvDoc.SettlmtMgmtDocIsCollvDoc -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CustSettlmtCompanyCode ON CustSettlmtCompanyCode = _CustSettlmtCompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Country AS _SuplrSettlmtCoCodeTaxCountry ON SuplrSettlmtCoCodeTaxCountry = _SuplrSettlmtCoCodeTaxCountry.Country -- association [0..1]
LEFT OUTER JOIN I_Country AS _CustSettlmtCoCodeTaxCountry ON CustSettlmtCoCodeTaxCountry = _CustSettlmtCoCodeTaxCountry.Country -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _BillToPartyCompany ON BillToParty = _BillToPartyCompany.Customer AND CustSettlmtCompanyCode = _BillToPartyCompany.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _PayerPartyCompany ON PayerParty = _PayerPartyCompany.Customer AND CustSettlmtCompanyCode = _PayerPartyCompany.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_SettlmtDocSuplrPrcgElmnt AS _SupplierPricingElement ON SettlmtDoc = _SupplierPricingElement.SettlmtDoc -- association [0..*]
LEFT OUTER JOIN I_SettlmtDocCustPrcgElmnt AS _CustomerPricingElement ON SettlmtDoc = _CustomerPricingElement.SettlmtDoc -- association [0..*]
LEFT OUTER JOIN I_CreditControlAreaText AS _CreditControlAreaText ON CreditControlArea = _CreditControlAreaText.CreditControlArea -- association [0..*]
LEFT OUTER JOIN I_SettlmtDocPlainLongText AS _SettlmtDocPlainLongText ON SettlmtDoc = _SettlmtDocPlainLongText.SettlmtDoc -- association [0..*]
LEFT OUTER JOIN I_ConditionContract AS _SettlmtReltdCndnContr ON SettlmtReltdCndnContr = _SettlmtReltdCndnContr.ConditionContract -- association [0..1]
LEFT OUTER JOIN I_SettlmtDocType AS _SettlmtDocType ON SettlmtDocType = _SettlmtDocType.SettlmtDocType -- association [0..1]
LEFT OUTER JOIN I_SettlmtProcessType AS _SettlmtProcessType ON SettlmtProcessType = _SettlmtProcessType.SettlmtProcessType -- association [0..1]
LEFT OUTER JOIN I_CndnContrType AS _CndnContrType ON CndnContrType = _CndnContrType.CndnContrType -- association [0..1]
LEFT OUTER JOIN I_SettlmtBusProcVar AS _SettlmtBusProcVar ON SettlmtBusProcVar = _SettlmtBusProcVar.SettlmtBusProcVar -- association [0..1]
LEFT OUTER JOIN I_SettlmtApplSts AS _SettlmtApplSts ON SettlmtApplSts = _SettlmtApplSts.SettlmtApplSts -- association [0..1]
LEFT OUTER JOIN I_SettlmtApplStsGrp AS _SettlmtApplStsGrp ON SettlmtApplStsGrp = _SettlmtApplStsGrp.SettlmtApplStsGrp -- association [0..1]
LEFT OUTER JOIN I_SettlmtApplStsGrpStsAssgmt AS _SettlmtApplStsGrpStsAssgmt ON SettlmtApplStsGrp = _SettlmtApplStsGrpStsAssgmt.SettlmtApplStsGrp AND SettlmtApplSts = _SettlmtApplStsGrpStsAssgmt.SettlmtApplSts -- association [0..1]
LEFT OUTER JOIN I_TrdgExpnDocSettledCode AS _TrdgExpnDocSettled ON TrdgExpnDocSettled = _TrdgExpnDocSettled.TrdgExpnDocSettled -- association [0..1]
LEFT OUTER JOIN E_SettlmtMgmtDoc AS _Extension ON SettlmtDoc = _Extension.SettlmtMgmtDoc -- association [1..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