C_SrcgProjShipgInstrnDocVarbl

DDL: C_SRCGPROJSHIPGINSTRNDOCVARBL SQL: CSPITMSHIPGINST Type: view CONSUMPTION Package: APPL_MM_PUR_SRCGPROJ_AI

Doc Varbl for Shipg Instrn for Srcg Proj

C_SrcgProjShipgInstrnDocVarbl is a Consumption CDS View that provides data about "Doc Varbl for Shipg Instrn for Srcg Proj" in SAP S/4HANA. It reads from 1 data source (I_SrcgProjItmShipgInstruction) and exposes 11 fields with key field SrcgProjItemShippingInstrUUID. It has 4 associations to related views. Part of development package APPL_MM_PUR_SRCGPROJ_AI.

Data Sources (1)

SourceAliasJoin Type
I_SrcgProjItmShipgInstruction I_SrcgProjItmShipgInstruction from

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_SourcingProjectDocVarbl _SourcingProject $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID
[1..1] C_SourcingProjectItemDocVarbl _SourcingProjectItem $projection.SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID
[1..*] I_Shippinginstructiontext _ShippingInstructionText $projection.ShippingInstruction = _ShippingInstructionText.ShippingInstruction and _ShippingInstructionText.Language = $session.system_language
[0..1] I_BackendPlantForPurg _BackendPlantForPurg $projection.Plant = _BackendPlantForPurg.Plant and $projection.CompanyCode = _BackendPlantForPurg.CompanyCode and $projection.ProcurementHubSourceSystem = _BackendPlantForPurg.ProcurementHubSourceSystem

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSPITMSHIPGINST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SrcgProjItemShippingInstrUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
EndUserText.label Doc Varbl for Shipg Instrn for Srcg Proj view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjItemShippingInstrUUID SrcgProjItemShippingInstrUUID Shipping Instructions UUID
SourcingProjectUUID SourcingProjectUUID Sourcing Project UUID
SourcingProjectItemUUID SourcingProjectItemUUID Item UUID
Plant Plant Valuation Area
PlantName _BackendPlantForPurg PlantName Plant Name
ShippingInstruction ShippingInstruction Shipping Instr.
ShippingInstructionName
CompanyCode CompanyCode Receiver Company Code
ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
_SourcingProject _SourcingProject
_SourcingProjectItem _SourcingProjectItem

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_SrcgProjShipgInstrnDocVarbl.
-- 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: CSPITMSHIPGINST

CREATE VIEW C_SrcgProjShipgInstrnDocVarbl AS
SELECT
  SrcgProjItemShippingInstrUUID,
  SourcingProjectUUID,
  SourcingProjectItemUUID,
  Plant,
  _BackendPlantForPurg.PlantName AS PlantName,
  ShippingInstruction,
  _ShippingInstructionText[1: Language = $session.system_language ].ShippingInstructionName AS ShippingInstructionName,
  CompanyCode,
  ProcurementHubSourceSystem
FROM I_SrcgProjItmShipgInstruction
LEFT OUTER JOIN C_SourcingProjectDocVarbl AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID  -- association [1..1]
LEFT OUTER JOIN C_SourcingProjectItemDocVarbl AS _SourcingProjectItem ON SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID  -- association [1..1]
LEFT OUTER JOIN I_Shippinginstructiontext AS _ShippingInstructionText ON ShippingInstruction = _ShippingInstructionText.ShippingInstruction AND _ShippingInstructionText.Language = $session.system_language  -- association [1..*]
LEFT OUTER JOIN I_BackendPlantForPurg AS _BackendPlantForPurg ON Plant = _BackendPlantForPurg.Plant AND CompanyCode = _BackendPlantForPurg.CompanyCode AND ProcurementHubSourceSystem = _BackendPlantForPurg.ProcurementHubSourceSystem  -- association [0..1]
;