P_SDControllingObjectStatus2

DDL: P_SDCONTROLLINGOBJECTSTATUS2 SQL: PSDCTRLGOSTS2 Type: view BASIC

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)

SourceAliasJoin Type
P_SDControllingObjectStatus1 p1 from
P_SDControllingObjectStatus1 p2 union_all
tj07 tj07 inner
tj31 tj31 inner

Annotations (8)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;