I_OIL_StorageObjCharcAssgmt
Loc Stor Obj Charc Assignment
I_OIL_StorageObjCharcAssgmt is a Composite CDS View that provides data about "Loc Stor Obj Charc Assignment" in SAP S/4HANA. It reads from 1 data source (I_OIL_StorageObjCharcAssgmtBsc) and exposes 20 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_StorageObjCharcAssgmtBsc | SOCAssignment | 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 Assignment | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (20)
| 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_StorageObjCharcAssgmtBsc | StorObjectCharcSegmentNumber | SOCSEG number |
| KEY | AssignmentStartDateTimeValue | I_OIL_StorageObjCharcAssgmtBsc | AssignmentStartDateTimeValue | From timestamp |
| AssignmentEndDateTimeValue | I_OIL_StorageObjCharcAssgmtBsc | AssignmentEndDateTimeValue | To timestamp | |
| AssignedStorObjCharcSgmtNumber | I_OIL_StorageObjCharcAssgmtBsc | AssignedStorObjCharcSgmtNumber | SOCSEG number | |
| StorageObjectGroupNumberValue | I_OIL_StorageObjCharcAssgmtBsc | StorageObjectGroupNumberValue | SO Group ID | |
| CreationDate | I_OIL_StorageObjCharcAssgmtBsc | CreationDate | Time Stamp | |
| CreationTime | I_OIL_StorageObjCharcAssgmtBsc | CreationTime | Time of Change | |
| CreatedByUser | I_OIL_StorageObjCharcAssgmtBsc | CreatedByUser | User Name | |
| LastChangeDate | I_OIL_StorageObjCharcAssgmtBsc | LastChangeDate | Time Stamp | |
| LastChangeTime | I_OIL_StorageObjCharcAssgmtBsc | LastChangeTime | Time changed | |
| LastChangedByUser | I_OIL_StorageObjCharcAssgmtBsc | LastChangedByUser | User Name | |
| EntityIsBlocked | I_OIL_StorageObjCharcAssgmtBsc | EntityIsBlocked | Blocking ind. | |
| EntityIsMarkedForDeletion | I_OIL_StorageObjCharcAssgmtBsc | EntityIsMarkedForDeletion | Will be Deleted | |
| _BusinessLocation | _BusinessLocation | |||
| _BusinessPartnerRole | _BusinessPartnerRole | |||
| _StorageObjCharcSegment | I_OIL_StorageObjCharcAssgmtBsc | _StorageObjCharcSegment | ||
| _StorageObjCharcAssgdSgmt | I_OIL_StorageObjCharcAssgmtBsc | _StorageObjCharcAssgdSgmt |
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_StorageObjCharcAssgmt.
-- 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_StorageObjCharcAssgmt AS
SELECT
_LocSOC.BusinessLocationIdentifier AS BusinessLocationIdentifier,
_LocSOC.MktgRtlNtwkBusinessPartnerRole AS MktgRtlNtwkBusinessPartnerRole,
_LocSOC.BizLocStorObjectAssgmtSqncNmbr AS BizLocStorObjectAssgmtSqncNmbr,
SOCAssignment.StorObjectCharcSegmentNumber AS StorObjectCharcSegmentNumber,
SOCAssignment.AssignmentStartDateTimeValue AS AssignmentStartDateTimeValue,
SOCAssignment.AssignmentEndDateTimeValue AS AssignmentEndDateTimeValue,
SOCAssignment.AssignedStorObjCharcSgmtNumber AS AssignedStorObjCharcSgmtNumber,
SOCAssignment.StorageObjectGroupNumberValue AS StorageObjectGroupNumberValue,
SOCAssignment.CreationDate AS CreationDate,
SOCAssignment.CreationTime AS CreationTime,
SOCAssignment.CreatedByUser AS CreatedByUser,
SOCAssignment.LastChangeDate AS LastChangeDate,
SOCAssignment.LastChangeTime AS LastChangeTime,
SOCAssignment.LastChangedByUser AS LastChangedByUser,
SOCAssignment.EntityIsBlocked AS EntityIsBlocked,
SOCAssignment.EntityIsMarkedForDeletion AS EntityIsMarkedForDeletion,
SOCAssignment._StorageObjCharcSegment AS _StorageObjCharcSegment,
SOCAssignment._StorageObjCharcAssgdSgmt AS _StorageObjCharcAssgdSgmt
FROM I_OIL_StorageObjCharcAssgmtBsc AS SOCAssignment
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