P_STOR_STL_DETAILS
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)
| Source | Alias | Join Type |
|---|---|---|
| tj04 | stat_cntr | inner |
| /accgo/t_stlitem | stl_item_data | inner |
| /accgo/t_stlhead | stlmt_data | from |
| jest | stlmt_status | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA