I_OIL_StorageObjCharcAssgmt

DDL: I_OIL_STORAGEOBJCHARCASSGMT Type: view_entity COMPOSITE

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)

SourceAliasJoin Type
I_OIL_StorageObjCharcAssgmtBsc SOCAssignment from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_OIL_BusinessLocationBasic _BusinessLocation _BusinessLocation.BusinessLocationIdentifier = $projection.BusinessLocationIdentifier
[0..1] I_OIL_BusinessPartnerRoleVH _BusinessPartnerRole _BusinessPartnerRole.MktgRtlNtwkBusinessPartnerRole = $projection.MktgRtlNtwkBusinessPartnerRole

Annotations (7)

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

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