P_STOR_STL_DETAILS

DDL: P_STOR_STL_DETAILS SQL: P_STOR_STL_DTLS Type: view BASIC

P_STOR_STL_DETAILS is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (tj04, /accgo/t_stlitem, /accgo/t_stlhead, jest) and exposes 19 fields with key fields settl_doc, settl_yr.

Data Sources (4)

SourceAliasJoin Type
tj04 stat_cntr inner
/accgo/t_stlitem stl_item_data inner
/accgo/t_stlhead stlmt_data from
jest stlmt_status inner

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName P_STOR_STL_DTLS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY settl_doc /accgo/t_stlhead settl_doc Settlement Unit
KEY settl_yr /accgo/t_stlhead settl_yr Setl Unit Year
settl_cat /accgo/t_stlhead settl_cat Document Category
settl_type /accgo/t_stlhead settl_type Settlement Type
settl_side /accgo/t_stlhead side Side
appl_guid /accgo/t_stlhead appl_guid GUID (Hex) Specified by the Application
appl_version /accgo/t_stlhead appl_version Application Version
doc_typ /accgo/t_stlhead doc_typ Document Class
side /accgo/t_stlhead side Side
appldoc /accgo/t_stlhead appldoc Appl. Document No.
appldoc_item /accgo/t_stlhead appldoc_item Item No.
settl_item /accgo/t_stlitem settl_item Settl. Item
adj_uom /accgo/t_stlitem adj_uom Per Unit
doc_curr /accgo/t_stlitem doc_curr Doc. Currency
unit_uom /accgo/t_stlitem unit_uom Per Unit UoM
contract_qty /accgo/t_stlitem contract_qty Qty in Contract UoM
contract_uom /accgo/t_stlitem contract_uom Contract UoM
document_qty /accgo/t_stlitem document_qty Quantity in Doc UoM
document_uom /accgo/t_stlitem document_uom Document UoM

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_STOR_STL_DETAILS.
-- 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: P_STOR_STL_DTLS

CREATE VIEW P_STOR_STL_DETAILS AS
SELECT
  stlmt_data.settl_doc AS settl_doc,
  stlmt_data.settl_yr AS settl_yr,
  stlmt_data.settl_cat AS settl_cat,
  stlmt_data.settl_type AS settl_type,
  stlmt_data.side AS settl_side,
  stlmt_data.appl_guid AS appl_guid,
  stlmt_data.appl_version AS appl_version,
  stlmt_data.doc_typ AS doc_typ,
  stlmt_data.side AS side,
  stlmt_data.appldoc AS appldoc,
  stlmt_data.appldoc_item AS appldoc_item,
  stl_item_data.settl_item AS settl_item,
  stl_item_data.adj_uom AS adj_uom,
  stl_item_data.doc_curr AS doc_curr,
  stl_item_data.unit_uom AS unit_uom,
  stl_item_data.contract_qty AS contract_qty,
  stl_item_data.contract_uom AS contract_uom,
  stl_item_data.document_qty AS document_qty,
  stl_item_data.document_uom AS document_uom
FROM /accgo/t_stlhead AS stlmt_data
INNER JOIN /accgo/t_stlitem AS stl_item_data ON /* join condition not captured in parsed metadata */
INNER JOIN jest AS stlmt_status ON /* join condition not captured in parsed metadata */
INNER JOIN tj04 AS stat_cntr ON /* join condition not captured in parsed metadata */
;