P_SettlmtMgmtDocListItem

DDL: P_SETTLMTMGMTDOCLISTITEM Type: view BASIC Package: WLF_FS_PERS_COMMON

Settlement Management Document List Item Basic

P_SettlmtMgmtDocListItem is a Basic CDS View that provides data about "Settlement Management Document List Item Basic" in SAP S/4HANA. It reads from 1 data source (wbrl) and exposes 23 fields with key fields SettlmtMgmtDoc, SettlmtMgmtDocListItem. Part of development package WLF_FS_PERS_COMMON.

Data Sources (1)

SourceAliasJoin Type
wbrl wbrl from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PWLF_WBRL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY SettlmtMgmtDoc wbrl wbeln Sett. Doc. List
KEY SettlmtMgmtDocListItem wbrl posnr WBS Element
ReferenceSettlmtMgmtDoc
SettlmtDocListItemIsCancelled wbrl fksto_li Reversed
PrcDetnIsIncmplt wbrl wuvprs Incomp. Pricing
InvoicingParty wbrl lifre Location Alias
PayeeParty wbrl lnrzb Payee
BillToParty wbrl kunre Bill-to Party
PayerParty wbrl kunrg Payer
SettlmtDocListItemNetAmount
SettlmtDocListItemTaxAmount
NonDeductibleInputTaxAmount wbrl navnw Non-deductible
SettlmtRemunerationNetAmt wbrl kwert_rl SDoc List Value
SettlmtRemunerationTaxAmt wbrl mwsbp_rl SDListCond Tax
TaxCountry wbrl tax_country Tax Ctry/Rgn
TaxJurisdiction wbrl txjcd Tax Jurisdict.
BusinessPlace wbrl bupla Business place
SettlmtDocCat wbrl lftyp Sett. Doc. Cat.
SettlmtDocListCat wbrl wdtyp_l List Doc. Cat.
SettlmtDocListItemCat wbrl wdtyp_li Doc. Cat of List Itm
SettlmtExtAcctgDocItem
SettlmtExtAcctgDocFiscalYear
SettlmtExtAcctgDocCompanyCode

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 P_SettlmtMgmtDocListItem.
-- 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 P_SettlmtMgmtDocListItem AS
SELECT
  wbrl.wbeln AS SettlmtMgmtDoc,
  wbrl.posnr AS SettlmtMgmtDocListItem,
  cast( wbrl.wbeln_lf as wbeln_ag preserving type ) AS ReferenceSettlmtMgmtDoc,
  wbrl.fksto_li AS SettlmtDocListItemIsCancelled,
  wbrl.wuvprs AS PrcDetnIsIncmplt,
  wbrl.lifre AS InvoicingParty,
  wbrl.lnrzb AS PayeeParty,
  wbrl.kunre AS BillToParty,
  wbrl.kunrg AS PayerParty,
  cast( wbrl.netwr as wlf_netwr_rl preserving type ) AS SettlmtDocListItemNetAmount,
  cast( wbrl.mwsbp as mwsbp preserving type ) AS SettlmtDocListItemTaxAmount,
  wbrl.navnw AS NonDeductibleInputTaxAmount,
  wbrl.kwert_rl AS SettlmtRemunerationNetAmt,
  wbrl.mwsbp_rl AS SettlmtRemunerationTaxAmt,
  wbrl.tax_country AS TaxCountry,
  wbrl.txjcd AS TaxJurisdiction,
  wbrl.bupla AS BusinessPlace,
  wbrl.lftyp AS SettlmtDocCat,
  wbrl.wdtyp_l AS SettlmtDocListCat,
  wbrl.wdtyp_li AS SettlmtDocListItemCat,
  cast( substring( wbrl.ext_doc_item, 8, 3 ) as wlf_ext_buzei ) AS SettlmtExtAcctgDocItem,
  cast( wbrl.ext_doc_year as wlf_ext_acctg_gjahr_no_cnext preserving type ) AS SettlmtExtAcctgDocFiscalYear,
  cast( wbrl.ext_doc_bukrs as wlf_ext_acctg_bukrs preserving type ) AS SettlmtExtAcctgDocCompanyCode
FROM wbrl
;