C_SubcontrgMntrStockAtPlant

DDL: C_SUBCONTRGMNTRSTOCKATPLANT SQL: CSUBCNTSTKPLNT Type: view CONSUMPTION

Subcontracting Stock at Plant

C_SubcontrgMntrStockAtPlant is a Consumption CDS View that provides data about "Subcontracting Stock at Plant" in SAP S/4HANA. It reads from 1 data source (P_UnrestrictedStk) and exposes 4 fields with key fields Material, Plant, MaterialBaseUnit.

Data Sources (1)

SourceAliasJoin Type
P_UnrestrictedStk P_UnrestrictedStk from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CSUBCNTSTKPLNT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Subcontracting Stock at Plant view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
KEY MaterialBaseUnit MaterialBaseUnit Valuation Unit
UnrestrictedStkInStkUnit UnrestrictedStkQty

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 C_SubcontrgMntrStockAtPlant.
-- 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: CSUBCNTSTKPLNT

CREATE VIEW C_SubcontrgMntrStockAtPlant AS
SELECT
  Material,
  Plant,
  MaterialBaseUnit,
  UnrestrictedStkQty AS UnrestrictedStkInStkUnit
FROM P_UnrestrictedStk
;