P_SDControllingObjectStatus2
P_SDControllingObjectStatus2 is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (P_SDControllingObjectStatus1, P_SDControllingObjectStatus1, tj07, tj31) and exposes 13 fields with key fields objnr, stsma, stat, vrgng, stsma.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| P_SDControllingObjectStatus1 | p1 | from |
| P_SDControllingObjectStatus1 | p2 | union_all |
| tj07 | tj07 | inner |
| tj31 | tj31 | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSDCTRLGOSTS2 | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | objnr | P_SDControllingObjectStatus1 | objnr | Val. Obj. No. |
| KEY | stsma | P_SDControllingObjectStatus1 | stsma | Status Profile |
| KEY | stat | P_SDControllingObjectStatus1 | stat | Status of Time-Dependent Document Linkage |
| KEY | vrgng | tj31 | vrgng | Bus.Transaction |
| obtyp | P_SDControllingObjectStatus1 | obtyp | Picking area | |
| modkz | tj31 | modkz | Modif. Indic. | |
| objnr | Val. Obj. No. | |||
| KEY | stsma | P_SDControllingObjectStatus1 | stsma | Status Profile |
| KEY | stat | P_SDControllingObjectStatus1 | stat | Status of Time-Dependent Document Linkage |
| KEY | vrgng | tj07 | vrgng | Bus.Transaction |
| obtyp | P_SDControllingObjectStatus1 | obtyp | Picking area | |
| modkz | tj07 | modkz | Modif. Indic. | |
| inact | inact | TRUE |
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_SDControllingObjectStatus2.
-- 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: PSDCTRLGOSTS2
CREATE VIEW P_SDControllingObjectStatus2 AS
SELECT
p1.objnr AS objnr,
p1.stsma AS stsma,
p1.stat AS stat,
tj31.vrgng AS vrgng,
p1.obtyp AS obtyp,
tj31.modkz AS modkz,
inact
FROM P_SDControllingObjectStatus1 AS p1
INNER JOIN tj31 ON /* join condition not captured in parsed metadata */
INNER JOIN tj07 ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_SDControllingObjectStatus1
;
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