P_RTPCOrderSettCstForRevLd

DDL: P_RTPCORDERSETTCSTFORREVLD SQL: PFIRTPCORSCFRLD Type: view BASIC

P_RTPCOrderSettCstForRevLd is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (acdoca) and exposes 53 fields.

Data Sources (1)

SourceAliasJoin Type
acdoca a from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PFIRTPCORSCFRLD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
VDM.private true view

Fields (53)

KeyFieldSource TableSource FieldDescription
lednr acdoca rldnr Ledger (Compat.)
aufnr aufnr SettlementOrder
objnr acdoca objnr Val. Obj. No.
gjahr ryear Ref. Year1
rbukrs rbukrs Company Code
fiscyearper fiscyearper Period/Year
belnr belnr SD Document
docln docln Matching Document Line Item
wrttp
kstar racct GL Account From
kostl ukostl OrigCCtr
lstar ulstar OrigAct.
hrkft hrkft Origin group order
vrgng vrgng Bus.Transaction
uspob uspob Source Object
vbund rassc Trading Partner
pargb sbusa Trdg Part.BA
beknz co_beknz Dr/Cr (Origin)
twaer rwcur Transaction Currency
meinh rvunit Valuation UoM
bemot bemot AcctIndicator
beltp beltp Debit Type
bttype bttype Business Transaction Type
awtyp awtyp Reference Document Type
awref awref Reference Doc.
awitem awitem Ref. Doc. Line Item
aworg aworg Refer. Org.Unit
awsys awsys Logical System
subta subta Sub Transaction
prec_awmult _prec_ref prec_awmult MultPrecRefID
hkgrp hkgrp Origin Group
wsl wsl OrigTrnsCrcyAmt
wsl2 wsl2 GV Amnt in TransCrcy
wsl3 wsl3 PCV Amnt in TrnsCrcy
hsl hsl Local Crcy Amt
ksl ksl GrpCurr
osl osl Other Crcy Amnt
vsl vsl Amount in Currency 2
bsl bsl Exchange Key
csl csl Amount in Currency 4
dsl dsl Amount in Currency 5
esl esl Amount in Currency 6
fsl fsl Amount in Currency 7
gsl gsl Amount in Currency 8
kfsl kfsl Fixed Amnt in GC
kfsl2 kfsl2 GV Fixd Amt Glb Crcy
kfsl3 kfsl3 PCV FixdAmt Glb Crcy
psl psl Price Variance
pfsl2 pfsl2 GVal FPrice Varc GC
pfsl3 pfsl3 PCVal FPrice Varc GC
vmsl vmsl Val. quantity
vmfsl vmfsl Fixed val. qty
co_osl co_osl Value/Obj. Crcy

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_RTPCOrderSettCstForRevLd.
-- 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: PFIRTPCORSCFRLD

CREATE VIEW P_RTPCOrderSettCstForRevLd AS
SELECT
  a.rldnr AS lednr,
  aufnr,
  a.objnr AS objnr,
  ryear AS gjahr,
  rbukrs,
  fiscyearper,
  belnr,
  docln,
  '04' AS wrttp,
  racct AS kstar,
  ukostl AS kostl,
  ulstar AS lstar,
  hrkft,
  vrgng,
  uspob,
  rassc AS vbund,
  sbusa AS pargb,
  co_beknz AS beknz,
  rwcur AS twaer,
  rvunit AS meinh,
  bemot,
  beltp,
  bttype,
  awtyp,
  awref,
  awitem,
  aworg,
  awsys,
  subta,
  _prec_ref.prec_awmult AS prec_awmult,
  hkgrp,
  wsl,
  wsl2,
  wsl3,
  hsl,
  ksl,
  osl,
  vsl,
  bsl,
  csl,
  dsl,
  esl,
  fsl,
  gsl,
  kfsl,
  kfsl2,
  kfsl3,
  psl,
  pfsl2,
  pfsl3,
  vmsl,
  vmfsl,
  co_osl
FROM acdoca AS a
;