R_SettlmtDocList

DDL: R_SETTLMTDOCLIST Type: view BASIC

Settlement Document List

R_SettlmtDocList is a Basic CDS View that provides data about "Settlement Document List" in SAP S/4HANA. It reads from 1 data source (R_SettlmtMgmtDoc) and exposes 109 fields with key field SettlmtDocList. It has 22 associations to related views.

Data Sources (1)

SourceAliasJoin Type
R_SettlmtMgmtDoc R_SettlmtMgmtDoc from

Associations (22)

CardinalityTargetAliasCondition
[0..*] R_SettlmtDocListItem _SettlmtDocListItem $projection.SettlmtDocList = _SettlmtDocListItem.SettlmtDocList
[0..*] I_SettlmtDocListPlainLongText _SettlmtDocListPlainLongText $projection.SettlmtDocList = _SettlmtDocListPlainLongText.SettlmtDocList
[0..1] I_SettlmtMgmtAcctgTransfSts _SettlmtDocListAcctgTransfSts $projection.SettlmtDocListAcctgTransfSts = _SettlmtDocListAcctgTransfSts.SettlmtMgmtAcctgTransfSts
[0..*] R_SettlmtDocListPartner _SettlmtDocListPartner $projection.SettlmtDocList = _SettlmtDocListPartner.SettlmtDocList
[0..*] R_SettlmtDocListBankData _SettlmtDocListBankData $projection.SettlmtDocList = _SettlmtDocListBankData.SettlmtDocList
[0..1] I_SupplierCompany _InvoicingPartyCompany $projection.InvoicingParty = _InvoicingPartyCompany.Supplier and $projection.CompanyCode = _InvoicingPartyCompany.CompanyCode
[0..1] I_SupplierCompany _PayeePartyCompany $projection.PayeeParty = _PayeePartyCompany.Supplier and $projection.CompanyCode = _PayeePartyCompany.CompanyCode
[0..1] I_SupplierCompany _AltvInvoicingPartyCompany $projection.AlternativeInvoicingParty = _AltvInvoicingPartyCompany.Supplier and $projection.CompanyCode = _AltvInvoicingPartyCompany.CompanyCode
[0..1] I_CustomerCompany _BillToPartyCompany $projection.BillToParty = _BillToPartyCompany.Customer and $projection.CompanyCode = _BillToPartyCompany.CompanyCode
[0..1] I_CustomerCompany _PayerPartyCompany $projection.PayerParty = _PayerPartyCompany.Customer and $projection.CompanyCode = _PayerPartyCompany.CompanyCode
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Currency _SettlmtDocListCurrency $projection.SettlmtDocListCurrency = _SettlmtDocListCurrency.Currency
[0..1] I_PaymentTerms _PaymentTerms $projection.PaymentTerms = _PaymentTerms.PaymentTerms
[0..1] R_SettlmtDocList _RvsdSettlmtDocList $projection.RvsdSettlmtDocList = _RvsdSettlmtDocList.SettlmtDocList
[0..*] I_CreditControlAreaText _CreditControlAreaText $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea
[0..1] I_SettlmtActivityReasonCode _SettlmtDocListActivityReason $projection.SettlmtDocListActivityReason = _SettlmtDocListActivityReason.SettlmtActivityReason
[0..1] I_SettlmtMgmtDocIncmpltnsRsnCd _SettlmtDocListIncmpltnsRsn $projection.SettlmtDocListIncmpltnsRsn = _SettlmtDocListIncmpltnsRsn.SettlmtMgmtDocIncmpltnsRsn
[0..1] I_SettlmtMgmtDocCat _SettlmtDocListCat $projection.SettlmtDocListCat = _SettlmtDocListCat.SettlmtMgmtDocCat
[0..1] I_Currency _SettlmtDocListPaymentCurrency $projection.SettlmtDocListPaymentCurrency = _SettlmtDocListPaymentCurrency.Currency
[0..1] I_Country _SettlmtCoCodeTaxCountry $projection.SettlmtCoCodeTaxCountry = _SettlmtCoCodeTaxCountry.Country
[0..1] I_SettlmtMgmtOutpCat _SettlmtDocListOutpCat $projection.SettlmtDocListOutpCat = _SettlmtDocListOutpCat.SettlmtMgmtOutpCat
[1..1] E_SettlmtMgmtDoc _Extension $projection.SettlmtDocList = _Extension.SettlmtMgmtDoc

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName RWLFSMTDOCLST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Settlement Document List view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SettlmtDocList view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XXL view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions false view

Fields (109)

KeyFieldSource TableSource FieldDescription
KEY SettlmtDocList Document Number
SettlmtDocType SettlmtDocType Settlement Document Type
SettlmtDocCat SettlmtDocCat Settlement Document Category
SettlmtProcessType SettlmtProcessType Settlement Process Type
SettlmtDocListCat SettlmtMgmtDocCat
LogisticsDataEntryCat LogisticsDataEntryCat Entry Category
SettlmtDocListAcctgTransfSts SettlmtMgmtAcctgTransfSts Posting Status
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
DocumentReferenceID DocumentReferenceID Reference
AssignmentReference AssignmentReference Assignment Reference
SettlmtApplSts SettlmtApplSts Appl. Status
SettlmtApplStsGrp SettlmtApplStsGrp Status Group
InvoicingParty InvoicingParty Supplier
PayeeParty PayeeParty Payee
AlternativeInvoicingParty AlternativeInvoicingParty Alternative Supplier
BillToParty BillToParty Inv. Recipient
PayerParty PayerParty Payer
CompanyCode Receiver Company Code
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangeDate LastChangeDate Time Stamp
SettlmtDocListCurrency SettlmtDocCurrency Doc. Currency
ExchangeRate ExchangeRate Exchange rate
ExchangeRateType ExchangeRateType Exch. Rate Type
ExchangeRateIsFixed ExchangeRateIsFixed Fixed Exch.Rate
ExchangeRateDate ExchangeRateDate Translatn Date
SettlmtDocListIsReversed Doc. Reversed
RvsdSettlmtDocList CancelledSettlmtMgmtDoc
SupplyingCountry SupplyingCountry Supplying Ctry/Reg.
TaxDepartureCountry TaxDepartureCountry Tx Dep Ctry/Reg
TaxDestinationCountry TaxDestinationCountry Tx Des Ctry/Reg
IsEUTriangularDeal IsEUTriangularDeal Is EU Triangular Deal
StateCentralBankPaymentReason StateCentralBankPaymentReason SCB Ind.
CreditControlArea CreditControlArea Credit Control Area
SettlmtDocListActivityReason SettlmtDocActivityReason Header Document Creation Activity Reason
PaymentReference PaymentReference Payment Reference
FiscalPeriod FiscalPeriod Tax period
SettlmtDate SettlmtDate Settlement Date
SettlmtDocListIncmpltnsRsn SettlmtMgmtDocIncmpltnsRsn
DocIntrastatRelevance DocIntrastatRelevance Intrastat Rel.
IntrastatDeclnGdsFlwCat IntrastatDeclnGdsFlwCat Goods Flow
IncotermsVersion IncotermsVersion Inco. Version
IncotermsClassification IncotermsClassification Incoterms
IncotermsTransferLocation IncotermsTransferLocation Incoterms 2
IncotermsLocation1 IncotermsLocation1 Inco. Location1
IncotermsLocation2 IncotermsLocation2 Inco. Location2
SettlmtBusProcVar SettlmtBusProcVar Proc. Category
SettlmtBusProcCat SettlmtBusProcCat Use Case Type
SEPAMandate SEPAMandate SEPA Mandate
SettlmtDocListType SettlmtDocListType
SettlmtDocListOutpCat SettlmtMgmtOutpCat
_SettlmtDocListItem _SettlmtDocListItem
_SettlmtDocListPlainLongText _SettlmtDocListPlainLongText
_SettlmtDocListPartner _SettlmtDocListPartner
_SettlmtDocListBankData _SettlmtDocListBankData
_SettlmtDocType _SettlmtDocType
_SettlmtDocCat _SettlmtDocCat
_SettlmtProcessType _SettlmtProcessType
_SettlmtDocListCat _SettlmtDocListCat
_LogisticsDataEntryCat _LogisticsDataEntryCat
_SettlmtDocListAcctgTransfSts _SettlmtDocListAcctgTransfSts
_SettlmtApplSts _SettlmtApplSts
_SettlmtApplStsGrp _SettlmtApplStsGrp
_SettlmtApplStsGrpStsAssgmt _SettlmtApplStsGrpStsAssgmt
_InvoicingParty _InvoicingParty
_PayeeParty _PayeeParty
_AlternativeInvoicingParty _AlternativeInvoicingParty
_BillToParty _BillToParty
_PayerParty _PayerParty
_InvoicingPartyCompany _InvoicingPartyCompany
_PayeePartyCompany _PayeePartyCompany
_AltvInvoicingPartyCompany _AltvInvoicingPartyCompany
_BillToPartyCompany _BillToPartyCompany
_PayerPartyCompany _PayerPartyCompany
_CompanyCode _CompanyCode
_PurchasingOrganization _PurchasingOrganization
_PurchasingGroup _PurchasingGroup
_SalesOrganization _SalesOrganization
_DistributionChannel _DistributionChannel
_Division _Division
_SalesArea _SalesArea
_CreatedByUser _CreatedByUser
_SettlmtDocListCurrency _SettlmtDocListCurrency
_ExchangeRateType _ExchangeRateType
_PaymentTerms _PaymentTerms
_RvsdSettlmtDocList _RvsdSettlmtDocList
_SupplyingCountry _SupplyingCountry
_TaxDepartureCountry _TaxDepartureCountry
_TaxDestinationCountry _TaxDestinationCountry
_SettlmtCoCodeTaxCountry _SettlmtCoCodeTaxCountry
_CreditControlArea _CreditControlArea
_CreditControlAreaText _CreditControlAreaText
_SettlmtDocListActivityReason _SettlmtDocListActivityReason
_SettlmtDocListPaymentCurrency _SettlmtDocListPaymentCurrency
_SettlmtDocListIncmpltnsRsn _SettlmtDocListIncmpltnsRsn
_DocIntrastatRelevance _DocIntrastatRelevance
_IntrastatDeclnGdsFlwCat _IntrastatDeclnGdsFlwCat
_IncotermsVersion _IncotermsVersion
_IncotermsClassification _IncotermsClassification
_SettlmtBusProcVar _SettlmtBusProcVar
_SettlmtBusProcCat _SettlmtBusProcCat
_SettlmtDocListOutpCat _SettlmtDocListOutpCat

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_SettlmtDocList.
-- 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_SettlmtDocList AS
SELECT
  cast( SettlmtMgmtDoc as wbeln_rl preserving type ) AS SettlmtDocList,
  SettlmtDocType,
  SettlmtDocCat,
  SettlmtProcessType,
  SettlmtMgmtDocCat AS SettlmtDocListCat,
  LogisticsDataEntryCat,
  SettlmtMgmtAcctgTransfSts AS SettlmtDocListAcctgTransfSts,
  PostingDate,
  DocumentDate,
  DocumentReferenceID,
  AssignmentReference,
  SettlmtApplSts,
  SettlmtApplStsGrp,
  InvoicingParty,
  PayeeParty,
  AlternativeInvoicingParty,
  BillToParty,
  PayerParty,
  cast( CompanyCode as fis_bukrs preserving type ) AS CompanyCode,
  PurchasingOrganization,
  PurchasingGroup,
  SalesOrganization,
  DistributionChannel,
  Division,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangeDate,
  SettlmtDocCurrency AS SettlmtDocListCurrency,
  ExchangeRate,
  ExchangeRateType,
  ExchangeRateIsFixed,
  ExchangeRateDate,
  cast( SettlmtMgmtDocIsCancelled as wlf_fksto_e preserving type ) AS SettlmtDocListIsReversed,
  CancelledSettlmtMgmtDoc AS RvsdSettlmtDocList,
  SupplyingCountry,
  TaxDepartureCountry,
  TaxDestinationCountry,
  IsEUTriangularDeal,
  StateCentralBankPaymentReason,
  CreditControlArea,
  SettlmtDocActivityReason AS SettlmtDocListActivityReason,
  PaymentReference,
  FiscalPeriod,
  SettlmtDate,
  SettlmtMgmtDocIncmpltnsRsn AS SettlmtDocListIncmpltnsRsn,
  DocIntrastatRelevance,
  IntrastatDeclnGdsFlwCat,
  IncotermsVersion,
  IncotermsClassification,
  IncotermsTransferLocation,
  IncotermsLocation1,
  IncotermsLocation2,
  SettlmtBusProcVar,
  SettlmtBusProcCat,
  SEPAMandate,
  SettlmtDocListType,
  SettlmtMgmtOutpCat AS SettlmtDocListOutpCat
FROM R_SettlmtMgmtDoc
LEFT OUTER JOIN R_SettlmtDocListItem AS _SettlmtDocListItem ON SettlmtDocList = _SettlmtDocListItem.SettlmtDocList  -- association [0..*]
LEFT OUTER JOIN I_SettlmtDocListPlainLongText AS _SettlmtDocListPlainLongText ON SettlmtDocList = _SettlmtDocListPlainLongText.SettlmtDocList  -- association [0..*]
LEFT OUTER JOIN I_SettlmtMgmtAcctgTransfSts AS _SettlmtDocListAcctgTransfSts ON SettlmtDocListAcctgTransfSts = _SettlmtDocListAcctgTransfSts.SettlmtMgmtAcctgTransfSts  -- association [0..1]
LEFT OUTER JOIN R_SettlmtDocListPartner AS _SettlmtDocListPartner ON SettlmtDocList = _SettlmtDocListPartner.SettlmtDocList  -- association [0..*]
LEFT OUTER JOIN R_SettlmtDocListBankData AS _SettlmtDocListBankData ON SettlmtDocList = _SettlmtDocListBankData.SettlmtDocList  -- association [0..*]
LEFT OUTER JOIN I_SupplierCompany AS _InvoicingPartyCompany ON InvoicingParty = _InvoicingPartyCompany.Supplier AND CompanyCode = _InvoicingPartyCompany.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _PayeePartyCompany ON PayeeParty = _PayeePartyCompany.Supplier AND CompanyCode = _PayeePartyCompany.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_SupplierCompany AS _AltvInvoicingPartyCompany ON AlternativeInvoicingParty = _AltvInvoicingPartyCompany.Supplier AND CompanyCode = _AltvInvoicingPartyCompany.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _BillToPartyCompany ON BillToParty = _BillToPartyCompany.Customer AND CompanyCode = _BillToPartyCompany.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CustomerCompany AS _PayerPartyCompany ON PayerParty = _PayerPartyCompany.Customer AND CompanyCode = _PayerPartyCompany.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _SettlmtDocListCurrency ON SettlmtDocListCurrency = _SettlmtDocListCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTerms ON PaymentTerms = _PaymentTerms.PaymentTerms  -- association [0..1]
LEFT OUTER JOIN R_SettlmtDocList AS _RvsdSettlmtDocList ON RvsdSettlmtDocList = _RvsdSettlmtDocList.SettlmtDocList  -- association [0..1]
LEFT OUTER JOIN I_CreditControlAreaText AS _CreditControlAreaText ON CreditControlArea = _CreditControlAreaText.CreditControlArea  -- association [0..*]
LEFT OUTER JOIN I_SettlmtActivityReasonCode AS _SettlmtDocListActivityReason ON SettlmtDocListActivityReason = _SettlmtDocListActivityReason.SettlmtActivityReason  -- association [0..1]
LEFT OUTER JOIN I_SettlmtMgmtDocIncmpltnsRsnCd AS _SettlmtDocListIncmpltnsRsn ON SettlmtDocListIncmpltnsRsn = _SettlmtDocListIncmpltnsRsn.SettlmtMgmtDocIncmpltnsRsn  -- association [0..1]
LEFT OUTER JOIN I_SettlmtMgmtDocCat AS _SettlmtDocListCat ON SettlmtDocListCat = _SettlmtDocListCat.SettlmtMgmtDocCat  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _SettlmtDocListPaymentCurrency ON SettlmtDocListPaymentCurrency = _SettlmtDocListPaymentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Country AS _SettlmtCoCodeTaxCountry ON SettlmtCoCodeTaxCountry = _SettlmtCoCodeTaxCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_SettlmtMgmtOutpCat AS _SettlmtDocListOutpCat ON SettlmtDocListOutpCat = _SettlmtDocListOutpCat.SettlmtMgmtOutpCat  -- association [0..1]
LEFT OUTER JOIN E_SettlmtMgmtDoc AS _Extension ON SettlmtDocList = _Extension.SettlmtMgmtDoc  -- association [1..1]
;