P_SettlmtMgmtDoc

DDL: P_SETTLMTMGMTDOC Type: view BASIC

P_SettlmtMgmtDoc is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (wbrk) and exposes 163 fields with key field SettlmtMgmtDoc.

Data Sources (1)

SourceAliasJoin Type
wbrk wbrk from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName PWLF_WBRK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED 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.private true view
Metadata.ignorePropagatedAnnotations true view

Fields (163)

KeyFieldSource TableSource FieldDescription
KEY SettlmtMgmtDoc wbrk wbeln Sett. Doc. List
SettlmtDocType
SettlmtDocCat
SettlmtProcessType
SettlmtProcessCat
LogisticsDataEntryCat wbrk wrtyp Entry Category
SettlmtCat wbrk abart Settl. Category
SettlmtMgmtDocCat wbrk wdtyp Doc. Category
PostingDate wbrk wfdat Posting Date
SettlmtMgmtAcctgTransfSts wbrk rfbsk Posting Status
DocumentDate wbrk bldat Journal Entry Date
DocumentReferenceID wbrk xblnr Reference
AssignmentReference wbrk zuonr Finance Project
SettlmtApplSts wbrk estatus Appl. Status
SettlmtApplStsGrp wbrk status_group Status Group
SupplierPricingProcedure
CustomerPricingProcedure
SupplierPricingDocument
CustomerPricingDocument
InvoicingParty wbrk lifre Location Alias
PayeeParty wbrk lnrzb Payee
AlternativeInvoicingParty wbrk lifnr_fi Alternative Supplier
BillToParty wbrk kunre Bill-to Party
PayerParty wbrk kunrg Payer
CompanyCode
IntercompanyCompanyCode
bukrs_debendasCustSettlmtCompanyCode
PurchasingOrganization wbrk ekorg Purchasing Org.
PurchasingGroup wbrk ekgrp Sub. purchasing grp
SalesOrganization wbrk vkorg SD Sales Org.
DistributionChannel wbrk vtweg RefDistCh-Cust/Mat.
Division wbrk spart Source supplier
SalesOffice wbrk vkbur Sales Office
SalesGroup wbrk vkgrp Sales Group
CreatedByUser
CreationDate
CreationTime
LastChangeDate
SettlmtDocCurrency wbrk waerl Doc. Currency
ExchangeRate
ExchangeRateType wbrk kurst Fix.rate type (EMU)
ExchangeRateIsFixed wbrk kufix Fixed Exch.Rate
ExchangeRateDate
SupplierTotalGrossAmount
SupplierTotalNetAmount
SupplierTotalTaxAmount
CustomerTotalGrossAmount
CustomerTotalNetAmount
CustomerTotalTaxAmount
SupplierPaymentTerms
SupplierCashDiscount1Days
SupplierCashDiscount2Days
SupplierNetPaymentDays
SupplierCashDiscount1Percent
SupplierCashDiscount2Percent
SupplierPaymentMethod
CustomerPaymentTerms wbrk ztermd Cust PayTrms
CustomerCashDiscount1Days
CustomerCashDiscount2Days
CustomerNetPaymentDays
CustomerCashDiscount1Percent
CustomerCashDiscount2Percent
CustomerPaymentMethod wbrk zlschd Cust Pmt Method
SuplrTotEligibleAmtForCshDisc
CustTotEligibleAmtForCshDisc
SettlmtMgmtDocIsCancelled
CancelledSettlmtMgmtDoc wbrk lfaks Reversed Document
SettlmtMgmtDocIsPrtlyRvsd wbrk fksto_part Partial Revrsl
SettlmtMgmtDocPartRvslCat
SupplierAdditionalValueDays
SupplierFixedValueDate
CustomerAdditionalValueDays
CustomerFixedValueDate
TaxExchangeRate
IntercompanyTaxExchangeRate
SupplyingCountry
TaxDepartureCountry wbrk landtx Tx Dep Ctry/Reg
TaxDestinationCountry wbrk land1tx Tx Des Ctry/Reg
IsEUTriangularDeal wbrk xegdr EU Triang. Deal
SettlmtCoCodeTaxCountry wbrk landtx_bukrs Tax Ctry/Reg. CoCode
SettlmtIntcoCoCodeTaxCountry wbrk landtx_bukrs_deb Tax C/R CoCode Cust.
SupplierVATRegistration
CustomerVATRegistration
StateCentralBankPaymentReason wbrk lzbkz SCB Ind.
CreditControlArea
CreditControlAreaCurrency
ReleasedCreditAmount wbrk cm_amount Credit Value
SettlmtDocActivityReason
PaymentReference
SupplierPaymentCurrency wbrk wpycur_p1 Payt Currency
SupplierPaytCurrencyExchRate
CustomerPaymentCurrency wbrk wpycur_p2 Payt Currency
CustomerPaytCurrencyExchRate
OneTimeCustomerAddressID wbrk cpdk_addr OTC Address
OneTimeSupplierAddressID wbrk cpdl_addr OTS Address
SettlmtReltdRefDocCat wbrk contract_type Document Type
SettlmtReltdRefDoc wbrk contract Trading Contract
CndnContrType wbrk contr_type Contract Type
SettlmtDocSmmrznCat wbrk collection_type Summarization
SettlmtMgmtDocCollSts wbrk coll_status Collective Settlement Status
SettlmtMgmtDocIsCollvDoc wbrk is_collection Document is Collective Document
CollSettlmtBlkgReason wbrk coll_block Collective Settlement Blocking Reason
SettlmtClassificationCat wbrk settle_category Classification Cat.
SettlmtPartnerCat wbrk settl_party Settlmt Part Cat
SupplierSettlmtStatus wbrk settl_status_v Settl. Status Supp.
CustomerSettlmtStatus wbrk settl_status_c Settl. Status Cust.
SupplierSettlmtDocCat wbrk settl_doctype_v Doc. Type - Suppl.
CustomerSettlmtDocCat wbrk settl_doctype_c Settlmt Doc Type
SupplierSettlmtBlkgReason wbrk settl_block_v Supplier Settlement Blocking Reason
CustomerSettlmtBlkgReason wbrk settl_block_c Customer Settlement Blocking Reason
FiscalPeriod
TrdgExpnSettlmtDoc wbrk settle_doc Settlement Doc.
TrdgExpnDocSettled wbrk doc_settled Doc. Settled
TrdgExpnCurrency wbrk ref_value_ref Unit
TrdgExpnAmount wbrk ref_value Value
SettlmtDateCat wbrk settl_date_type Settlement Date Type
ActualSettlmtDate wbrk act_settl_date Actual Settl. Date
SettlmtDateSequentialID wbrk settl_date_seq_id Settlement Date ID
SettlmtDate wbrk settlement_date Stlmt Date
RefSettlmtDate
SettlmtMgmtDocIncmpltnsRsn wbrk incomp_reason Incomplete Rsn
CombinedSettlmtPostgSts wbrk rfbsk_comb_sett Posting Status 2
DocIntrastatRelevance wbrk intrastat_rel Intrastat Rel.
IntrastatDeclnGdsFlwCat wbrk intrastat_flow_d Goods Flow
IncotermsVersion wbrk incov Inco. Version
IncotermsClassification wbrk inco1 Incoterms
IncotermsTransferLocation wbrk inco2 Incoterms 2
IncotermsLocation1 wbrk inco2_l Inco. Location1
IncotermsLocation2 wbrk inco3_l Inco. Location2
SettlmtBusProcVar wbrk process_type Type of Data
SettlmtBusProcCat wbrk use_case Use Case Type
SEPAMandate wbrk mndid Mandate Ref.
TotalSettlmtQuantity wbrk total_menge Total Quantity
TotalSettlmtQuantityUnit wbrk total_wfkme UoM Total Quantity
TotalSettlmtNetWeight wbrk total_ntgew Total Net Weight
TotalSettlmtGrossWeight wbrk total_brgew Total Gross Weight
TotalSettlmtWeightUnit wbrk total_gewei UoW Total Weight
TotalSettlmtVolume wbrk total_volum Total Volume
TotalSettlmtVolumeUnit wbrk total_voleh Unit Total Volume
TotalSettlmtPointsQty wbrk total_anzpu Total Points
TotalSettlmtPointsQtyUnit wbrk total_punei Unit Total Points
PersonWorkAgreement wbrk pernr Personnel no.
PersonnelCostCenter wbrk pers_kostl Worker Cost Center
PersonnelControllingArea wbrk pers_kokrs Worker Controlling Area
PostingPartnerCat wbrk post_party Posting Partner
SettlmtPeriodStartDate wbrk settl_start_date Start Date of Period
SettlmtPeriodEndDate
CndnContrProcVar wbrk process_variant Process Variant
CndnContrProcessCategory wbrk process_category Process Category
JournalEntryCreationDate wbrk jrnl_entr_crtn_dte_utc Journal Entry Creation Date
JournalEntryCreationTime wbrk jrnl_entr_crtn_tme_utc Journal Entry Creation Time
SettlmtCompensationReason wbrk settlmt_compn_rsn Compensation Reason
ConditionApplication wbrk kappl Application
SettlmtHasDvtgCndnContrData wbrk deviating_settl_item Dev. Settl Data Item
SettlmtMgmtDocHasNoTexts wbrk no_text_h No Texts Exist
SettlmtMgmtOutpCat
SettlmtCompnVar wbrk compn_variant Compensation Variant
SettlmtDocListType wbrk rrlcg SttDocList Type
ContractAccount
ApplElmntBehaviorGrp wbrk visibility_group Element Behavior Group
SettlmtMgmtAuthznCat wbrk authorization_category Authorization Cat.
SettlmtMgmtAdjmtCat
SettlmtMgmtDocChangeState

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_SettlmtMgmtDoc.
-- 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_SettlmtMgmtDoc AS
SELECT
  wbrk.wbeln AS SettlmtMgmtDoc,
  cast( wbrk.lfart as wlf_settlmt_doc_type preserving type ) AS SettlmtDocType,
  cast( wbrk.lftyp as wlf_settlmt_doc_cat preserving type ) AS SettlmtDocCat,
  cast( wbrk.wrart as wlf_settlmt_process_type preserving type ) AS SettlmtProcessType,
  cast( wbrk.wbtyp as wlf_settlmt_process_cat preserving type ) AS SettlmtProcessCat,
  wbrk.wrtyp AS LogisticsDataEntryCat,
  wbrk.abart AS SettlmtCat,
  wbrk.wdtyp AS SettlmtMgmtDocCat,
  wbrk.wfdat AS PostingDate,
  wbrk.rfbsk AS SettlmtMgmtAcctgTransfSts,
  wbrk.bldat AS DocumentDate,
  wbrk.xblnr AS DocumentReferenceID,
  wbrk.zuonr AS AssignmentReference,
  wbrk.estatus AS SettlmtApplSts,
  wbrk.status_group AS SettlmtApplStsGrp,
  cast( wbrk.kalsm as wlf_suplr_kalsm_d preserving type ) AS SupplierPricingProcedure,
  cast( wbrk.kalsmd as wlf_cust_kalsm_d preserving type ) AS CustomerPricingProcedure,
  cast( wbrk.knumv as wlf_knumv_k preserving type ) AS SupplierPricingDocument,
  cast( wbrk.knumvd as wlf_knumv_d preserving type ) AS CustomerPricingDocument,
  wbrk.lifre AS InvoicingParty,
  wbrk.lnrzb AS PayeeParty,
  wbrk.lifnr_fi AS AlternativeInvoicingParty,
  wbrk.kunre AS BillToParty,
  wbrk.kunrg AS PayerParty,
  cast( wbrk.bukrs as wlf_suplr_bukrs preserving type ) AS CompanyCode,
  cast( wbrk.bukrs_deb as wlf_bukrs_customer_regu preserving type ) AS IntercompanyCompanyCode,
  case wbrk.bukrs_deb when '' then wbrk.bukrs else wbrk.bukrs_deb end as CustSettlmtCompanyCode AS bukrs_debendasCustSettlmtCompanyCode,
  wbrk.ekorg AS PurchasingOrganization,
  wbrk.ekgrp AS PurchasingGroup,
  wbrk.vkorg AS SalesOrganization,
  wbrk.vtweg AS DistributionChannel,
  wbrk.spart AS Division,
  wbrk.vkbur AS SalesOffice,
  wbrk.vkgrp AS SalesGroup,
  cast( wbrk.ernam as wlf_created_by preserving type ) AS CreatedByUser,
  cast( wbrk.erdat as wlf_created_on preserving type ) AS CreationDate,
  cast( wbrk.erzet as wlf_created_at preserving type ) AS CreationTime,
  cast( wbrk.aedat as wlf_changed_on preserving type ) AS LastChangeDate,
  wbrk.waerl AS SettlmtDocCurrency,
  cast( wbrk.wkurs as wlf_ukurs_curr_no_cnext preserving type ) AS ExchangeRate,
  wbrk.kurst AS ExchangeRateType,
  wbrk.kufix AS ExchangeRateIsFixed,
  cast( wbrk.wkurs_dat as vdm_v_exchange_rate_date preserving type ) AS ExchangeRateDate,
  cast( wbrk.brtwr as wlf_brtwrk_lf preserving type ) AS SupplierTotalGrossAmount,
  cast( wbrk.netwr as wlf_netwrk_lf preserving type ) AS SupplierTotalNetAmount,
  cast( wbrk.mwsbk as wlf_suplr_mwsbk preserving type ) AS SupplierTotalTaxAmount,
  cast( wbrk.brtwrd as wlf_brtwrd_lf preserving type ) AS CustomerTotalGrossAmount,
  cast( wbrk.netwrd as wlf_netwrd_lf preserving type ) AS CustomerTotalNetAmount,
  cast( wbrk.mwsbkd as wlf_cust_mwsbk preserving type ) AS CustomerTotalTaxAmount,
  cast( wbrk.zterm as farp_dzterm preserving type ) AS SupplierPaymentTerms,
  cast( wbrk.zbd1t as farp_dzbd1t preserving type ) AS SupplierCashDiscount1Days,
  cast( wbrk.zbd2t as farp_dzbd2t preserving type ) AS SupplierCashDiscount2Days,
  cast( wbrk.zbd3t as farp_dzbd3t preserving type ) AS SupplierNetPaymentDays,
  cast( wbrk.zbd1p as dzbd1p_farp preserving type ) AS SupplierCashDiscount1Percent,
  cast( wbrk.zbd2p as dzbd2p_farp preserving type ) AS SupplierCashDiscount2Percent,
  cast( wbrk.zlsch as farp_schzw_bseg preserving type ) AS SupplierPaymentMethod,
  wbrk.ztermd AS CustomerPaymentTerms,
  cast( wbrk.zbd1td as wlf_cust_dzbd1t preserving type ) AS CustomerCashDiscount1Days,
  cast( wbrk.zbd2td as wlf_cust_dzbd2t preserving type ) AS CustomerCashDiscount2Days,
  cast( wbrk.zbd3td as wlf_cust_dzbd3t preserving type ) AS CustomerNetPaymentDays,
  cast( wbrk.zbd1pd as wlf_cust_dzbd1p preserving type ) AS CustomerCashDiscount1Percent,
  cast( wbrk.zbd2pd as wlf_cust_dzbd2p preserving type ) AS CustomerCashDiscount2Percent,
  wbrk.zlschd AS CustomerPaymentMethod,
  cast( wbrk.gskto as wlf_suplr_skfbp preserving type ) AS SuplrTotEligibleAmtForCshDisc,
  cast( wbrk.gsktod as wlf_cust_skfbp preserving type ) AS CustTotEligibleAmtForCshDisc,
  cast( wbrk.fksto as wlf_fksto preserving type ) AS SettlmtMgmtDocIsCancelled,
  wbrk.lfaks AS CancelledSettlmtMgmtDoc,
  wbrk.fksto_part AS SettlmtMgmtDocIsPrtlyRvsd,
  cast ( wbrk.fksto_party as wlf_partner_reversal_cat preserving type ) AS SettlmtMgmtDocPartRvslCat,
  cast( wbrk.valtg as wlf_wvaltk preserving type ) AS SupplierAdditionalValueDays,
  cast( wbrk.valdt as wlf_wvaldk preserving type ) AS SupplierFixedValueDate,
  cast( wbrk.valtgd as wlf_wvaltd preserving type ) AS CustomerAdditionalValueDays,
  cast( wbrk.valdtd as wlf_wvaldd preserving type ) AS CustomerFixedValueDate,
  cast( wbrk.txkrs as wlf_txkrs_no_cnext preserving type ) AS TaxExchangeRate,
  cast( wbrk.txkrs_ic as wlf_txkrs_ic_no_cnext preserving type ) AS IntercompanyTaxExchangeRate,
  cast( wbrk.landl as fac_landl preserving type ) AS SupplyingCountry,
  wbrk.landtx AS TaxDepartureCountry,
  wbrk.land1tx AS TaxDestinationCountry,
  wbrk.xegdr AS IsEUTriangularDeal,
  wbrk.landtx_bukrs AS SettlmtCoCodeTaxCountry,
  wbrk.landtx_bukrs_deb AS SettlmtIntcoCoCodeTaxCountry,
  cast( wbrk.stceg as wlf_suplr_stceg preserving type ) AS SupplierVATRegistration,
  cast( wbrk.stcegd as wlf_cust_stceg preserving type ) AS CustomerVATRegistration,
  wbrk.lzbkz AS StateCentralBankPaymentReason,
  cast( wbrk.kkber as farp_kkber preserving type ) AS CreditControlArea,
  cast( wbrk.cmwae as wlf_creditcontrolareacurrency preserving type ) AS CreditControlAreaCurrency,
  wbrk.cm_amount AS ReleasedCreditAmount,
  cast( wbrk.lfgru as wlf_wfgru_header preserving type ) AS SettlmtDocActivityReason,
  cast( wbrk.kidno as farp_kidno preserving type ) AS PaymentReference,
  wbrk.wpycur_p1 AS SupplierPaymentCurrency,
  cast( wbrk.wkurs_p1 as wlf_wkurs_p1_no_cnext preserving type ) AS SupplierPaytCurrencyExchRate,
  wbrk.wpycur_p2 AS CustomerPaymentCurrency,
  cast( wbrk.wkurs_p2 as wlf_wkurs_p2_no_cnext preserving type ) AS CustomerPaytCurrencyExchRate,
  wbrk.cpdk_addr AS OneTimeCustomerAddressID,
  wbrk.cpdl_addr AS OneTimeSupplierAddressID,
  wbrk.contract_type AS SettlmtReltdRefDocCat,
  wbrk.contract AS SettlmtReltdRefDoc,
  wbrk.contr_type AS CndnContrType,
  wbrk.collection_type AS SettlmtDocSmmrznCat,
  wbrk.coll_status AS SettlmtMgmtDocCollSts,
  wbrk.is_collection AS SettlmtMgmtDocIsCollvDoc,
  wbrk.coll_block AS CollSettlmtBlkgReason,
  wbrk.settle_category AS SettlmtClassificationCat,
  wbrk.settl_party AS SettlmtPartnerCat,
  wbrk.settl_status_v AS SupplierSettlmtStatus,
  wbrk.settl_status_c AS CustomerSettlmtStatus,
  wbrk.settl_doctype_v AS SupplierSettlmtDocCat,
  wbrk.settl_doctype_c AS CustomerSettlmtDocCat,
  wbrk.settl_block_v AS SupplierSettlmtBlkgReason,
  wbrk.settl_block_c AS CustomerSettlmtBlkgReason,
  cast( cast( concat( '0', wbrk.monat) as abap.numc( 3 ) ) as fins_fiscalperiod preserving type ) AS FiscalPeriod,
  wbrk.settle_doc AS TrdgExpnSettlmtDoc,
  wbrk.doc_settled AS TrdgExpnDocSettled,
  wbrk.ref_value_ref AS TrdgExpnCurrency,
  wbrk.ref_value AS TrdgExpnAmount,
  wbrk.settl_date_type AS SettlmtDateCat,
  wbrk.act_settl_date AS ActualSettlmtDate,
  wbrk.settl_date_seq_id AS SettlmtDateSequentialID,
  wbrk.settlement_date AS SettlmtDate,
  cast( wbrk.ref_settl_date as wb2_ref_settlement_date preserving type ) AS RefSettlmtDate,
  wbrk.incomp_reason AS SettlmtMgmtDocIncmpltnsRsn,
  wbrk.rfbsk_comb_sett AS CombinedSettlmtPostgSts,
  wbrk.intrastat_rel AS DocIntrastatRelevance,
  wbrk.intrastat_flow_d AS IntrastatDeclnGdsFlwCat,
  wbrk.incov AS IncotermsVersion,
  wbrk.inco1 AS IncotermsClassification,
  wbrk.inco2 AS IncotermsTransferLocation,
  wbrk.inco2_l AS IncotermsLocation1,
  wbrk.inco3_l AS IncotermsLocation2,
  wbrk.process_type AS SettlmtBusProcVar,
  wbrk.use_case AS SettlmtBusProcCat,
  wbrk.mndid AS SEPAMandate,
  wbrk.total_menge AS TotalSettlmtQuantity,
  wbrk.total_wfkme AS TotalSettlmtQuantityUnit,
  wbrk.total_ntgew AS TotalSettlmtNetWeight,
  wbrk.total_brgew AS TotalSettlmtGrossWeight,
  wbrk.total_gewei AS TotalSettlmtWeightUnit,
  wbrk.total_volum AS TotalSettlmtVolume,
  wbrk.total_voleh AS TotalSettlmtVolumeUnit,
  wbrk.total_anzpu AS TotalSettlmtPointsQty,
  wbrk.total_punei AS TotalSettlmtPointsQtyUnit,
  wbrk.pernr AS PersonWorkAgreement,
  wbrk.pers_kostl AS PersonnelCostCenter,
  wbrk.pers_kokrs AS PersonnelControllingArea,
  wbrk.post_party AS PostingPartnerCat,
  wbrk.settl_start_date AS SettlmtPeriodStartDate,
  cast( wbrk.act_settl_date as wb2_settlement_end_date preserving type ) AS SettlmtPeriodEndDate,
  wbrk.process_variant AS CndnContrProcVar,
  wbrk.process_category AS CndnContrProcessCategory,
  wbrk.jrnl_entr_crtn_dte_utc AS JournalEntryCreationDate,
  wbrk.jrnl_entr_crtn_tme_utc AS JournalEntryCreationTime,
  wbrk.settlmt_compn_rsn AS SettlmtCompensationReason,
  wbrk.kappl AS ConditionApplication,
  wbrk.deviating_settl_item AS SettlmtHasDvtgCndnContrData,
  wbrk.no_text_h AS SettlmtMgmtDocHasNoTexts,
  cast( wbrk.output_control_is_active as wlf_settlmt_mgmt_outp_cat preserving type ) AS SettlmtMgmtOutpCat,
  wbrk.compn_variant AS SettlmtCompnVar,
  wbrk.rrlcg AS SettlmtDocListType,
  cast( wbrk.vkont as vkont_gfn_kk preserving type ) AS ContractAccount,
  wbrk.visibility_group AS ApplElmntBehaviorGrp,
  wbrk.authorization_category AS SettlmtMgmtAuthznCat,
  cast( wbrk.corr_document as wlf_settlmt_mgmt_adjmt_cat preserving type ) AS SettlmtMgmtAdjmtCat,
  cast( wbrk.entity_tag as wlf_change_state ) AS SettlmtMgmtDocChangeState
FROM wbrk
;