I_OIL_StorageObjectCharcMatl
Loc Stor Obj Charc Material
I_OIL_StorageObjectCharcMatl is a Composite CDS View that provides data about "Loc Stor Obj Charc Material" in SAP S/4HANA. It reads from 1 data source (I_OIL_StorObjectCharcMatlBasic) and exposes 36 fields with key fields BusinessLocationIdentifier, MktgRtlNtwkBusinessPartnerRole, BizLocStorObjectAssgmtSqncNmbr, StorObjectCharcSegmentNumber, AssignmentStartDateTimeValue. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OIL_StorObjectCharcMatlBasic | SOCMaterial | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_OIL_BusinessLocationBasic | _BusinessLocation | _BusinessLocation.BusinessLocationIdentifier = $projection.BusinessLocationIdentifier |
| [0..1] | I_OIL_BusinessPartnerRoleVH | _BusinessPartnerRole | _BusinessPartnerRole.MktgRtlNtwkBusinessPartnerRole = $projection.MktgRtlNtwkBusinessPartnerRole |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Loc Stor Obj Charc Material | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessLocationIdentifier | _LocSOC | BusinessLocationIdentifier | Location ID |
| KEY | MktgRtlNtwkBusinessPartnerRole | _LocSOC | MktgRtlNtwkBusinessPartnerRole | Partner role |
| KEY | BizLocStorObjectAssgmtSqncNmbr | _LocSOC | BizLocStorObjectAssgmtSqncNmbr | Seq no. |
| KEY | StorObjectCharcSegmentNumber | I_OIL_StorObjectCharcMatlBasic | StorObjectCharcSegmentNumber | SOCSEG number |
| KEY | AssignmentStartDateTimeValue | I_OIL_StorObjectCharcMatlBasic | AssignmentStartDateTimeValue | From timestamp |
| KEY | MultipleMaterialAssignmentVal | I_OIL_StorObjectCharcMatlBasic | MultipleMaterialAssignmentVal | Mat.assn.cntr. |
| AssignmentEndDateTimeValue | I_OIL_StorObjectCharcMatlBasic | AssignmentEndDateTimeValue | To timestamp | |
| Material | I_OIL_StorObjectCharcMatlBasic | Material | Vehicle Model | |
| MaterialGroup | I_OIL_StorObjectCharcMatlBasic | MaterialGroup | Product Group | |
| Batch | I_OIL_StorObjectCharcMatlBasic | Batch | Lot No. | |
| ValuationType | I_OIL_StorObjectCharcMatlBasic | ValuationType | Valuation Type | |
| PhysicalInventoryStockType | I_OIL_StorObjectCharcMatlBasic | PhysicalInventoryStockType | Stock Type | |
| MaterialIsNonSpecialStock | I_OIL_StorObjectCharcMatlBasic | MaterialIsNonSpecialStock | Non-special stk | |
| MaterialIsSalesOrderStock | I_OIL_StorObjectCharcMatlBasic | MaterialIsSalesOrderStock | Sales ord.stock | |
| MaterialIsSupplierCsgnmtStock | I_OIL_StorObjectCharcMatlBasic | MaterialIsSupplierCsgnmtStock | Vdr.consg.stock | |
| MaterialIsProjectStock | I_OIL_StorObjectCharcMatlBasic | MaterialIsProjectStock | Project stock | |
| StorObjectMaterialVolumeUnit | I_OIL_StorObjectCharcMatlBasic | StorObjectMaterialVolumeUnit | Base Unit | |
| OilUnitOfMeasureGroup | I_OIL_StorObjectCharcMatlBasic | OilUnitOfMeasureGroup | UoM Group | |
| ConversionGroup | I_OIL_StorObjectCharcMatlBasic | ConversionGroup | Conv. Group | |
| MaterialSgmtPlannedCapacityQty | I_OIL_StorObjectCharcMatlBasic | MaterialSgmtPlannedCapacityQty | PldCapacity | |
| TankVolumeUnitOfMeasure | I_OIL_StorObjectCharcMatlBasic | TankVolumeUnitOfMeasure | Volume UoM | |
| PlannedEndDateTimeValue | I_OIL_StorObjectCharcMatlBasic | PlannedEndDateTimeValue | To timestamp | |
| CreationDate | I_OIL_StorObjectCharcMatlBasic | CreationDate | Time Stamp | |
| CreationTime | I_OIL_StorObjectCharcMatlBasic | CreationTime | Time of Change | |
| CreatedByUser | I_OIL_StorObjectCharcMatlBasic | CreatedByUser | User Name | |
| LastChangeDate | I_OIL_StorObjectCharcMatlBasic | LastChangeDate | Time Stamp | |
| LastChangeTime | I_OIL_StorObjectCharcMatlBasic | LastChangeTime | Time changed | |
| LastChangedByUser | I_OIL_StorObjectCharcMatlBasic | LastChangedByUser | User Name | |
| EntityIsBlocked | I_OIL_StorObjectCharcMatlBasic | EntityIsBlocked | Blocking ind. | |
| EntityIsMarkedForDeletion | I_OIL_StorObjectCharcMatlBasic | EntityIsMarkedForDeletion | Will be Deleted | |
| _BusinessLocation | _BusinessLocation | |||
| _BusinessPartnerRole | _BusinessPartnerRole | |||
| _StorageObjCharcSegment | I_OIL_StorObjectCharcMatlBasic | _StorageObjCharcSegment | ||
| _Material | I_OIL_StorObjectCharcMatlBasic | _Material | ||
| _MaterialGroup | I_OIL_StorObjectCharcMatlBasic | _MaterialGroup | ||
| _PhysInvtryStockType | I_OIL_StorObjectCharcMatlBasic | _PhysInvtryStockType |
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 I_OIL_StorageObjectCharcMatl.
-- 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.
CREATE VIEW I_OIL_StorageObjectCharcMatl AS
SELECT
_LocSOC.BusinessLocationIdentifier AS BusinessLocationIdentifier,
_LocSOC.MktgRtlNtwkBusinessPartnerRole AS MktgRtlNtwkBusinessPartnerRole,
_LocSOC.BizLocStorObjectAssgmtSqncNmbr AS BizLocStorObjectAssgmtSqncNmbr,
SOCMaterial.StorObjectCharcSegmentNumber AS StorObjectCharcSegmentNumber,
SOCMaterial.AssignmentStartDateTimeValue AS AssignmentStartDateTimeValue,
SOCMaterial.MultipleMaterialAssignmentVal AS MultipleMaterialAssignmentVal,
SOCMaterial.AssignmentEndDateTimeValue AS AssignmentEndDateTimeValue,
SOCMaterial.Material AS Material,
SOCMaterial.MaterialGroup AS MaterialGroup,
SOCMaterial.Batch AS Batch,
SOCMaterial.ValuationType AS ValuationType,
SOCMaterial.PhysicalInventoryStockType AS PhysicalInventoryStockType,
SOCMaterial.MaterialIsNonSpecialStock AS MaterialIsNonSpecialStock,
SOCMaterial.MaterialIsSalesOrderStock AS MaterialIsSalesOrderStock,
SOCMaterial.MaterialIsSupplierCsgnmtStock AS MaterialIsSupplierCsgnmtStock,
SOCMaterial.MaterialIsProjectStock AS MaterialIsProjectStock,
SOCMaterial.StorObjectMaterialVolumeUnit AS StorObjectMaterialVolumeUnit,
SOCMaterial.OilUnitOfMeasureGroup AS OilUnitOfMeasureGroup,
SOCMaterial.ConversionGroup AS ConversionGroup,
SOCMaterial.MaterialSgmtPlannedCapacityQty AS MaterialSgmtPlannedCapacityQty,
SOCMaterial.TankVolumeUnitOfMeasure AS TankVolumeUnitOfMeasure,
SOCMaterial.PlannedEndDateTimeValue AS PlannedEndDateTimeValue,
SOCMaterial.CreationDate AS CreationDate,
SOCMaterial.CreationTime AS CreationTime,
SOCMaterial.CreatedByUser AS CreatedByUser,
SOCMaterial.LastChangeDate AS LastChangeDate,
SOCMaterial.LastChangeTime AS LastChangeTime,
SOCMaterial.LastChangedByUser AS LastChangedByUser,
SOCMaterial.EntityIsBlocked AS EntityIsBlocked,
SOCMaterial.EntityIsMarkedForDeletion AS EntityIsMarkedForDeletion,
SOCMaterial._StorageObjCharcSegment AS _StorageObjCharcSegment,
SOCMaterial._Material AS _Material,
SOCMaterial._MaterialGroup AS _MaterialGroup,
SOCMaterial._PhysInvtryStockType AS _PhysInvtryStockType
FROM I_OIL_StorObjectCharcMatlBasic AS SOCMaterial
LEFT OUTER JOIN I_OIL_BusinessLocationBasic AS _BusinessLocation ON _BusinessLocation.BusinessLocationIdentifier = BusinessLocationIdentifier -- association [1..1]
LEFT OUTER JOIN I_OIL_BusinessPartnerRoleVH AS _BusinessPartnerRole ON _BusinessPartnerRole.MktgRtlNtwkBusinessPartnerRole = MktgRtlNtwkBusinessPartnerRole -- association [0..1]
;
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