I_ProdAllocationObjectTP

DDL: I_PRODALLOCATIONOBJECTTP Type: view_entity TRANSACTIONAL

Product Allocation Object Transactional Processing

I_ProdAllocationObjectTP is a Transactional CDS View that provides data about "Product Allocation Object Transactional Processing" in SAP S/4HANA. It reads from 1 data source (I_ProductAllocationObject) and exposes 36 fields with key field ProductAllocationObjectUUID. It has 16 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProductAllocationObject Document from

Associations (16)

CardinalityTargetAliasCondition
[0..1] E_ProductAllocationObject _Extension _Extension.ProductAllocationObjectUUID = Document.ProductAllocationObjectUUID
[0..1] I_UnitOfMeasure _ProductAllocQuantityUnit _ProductAllocQuantityUnit.UnitOfMeasure = $projection.ProductAllocationQuantityUnit
[0..1] I_CollectiveAllocationType _CollectiveAllocationType _CollectiveAllocationType.CollectiveAllocationType = $projection.CollectiveAllocationType
[0..1] I_ProdAllocLifecycleStatus _ProdAllocLifecycleStatus _ProdAllocLifecycleStatus.ProdAllocationLifecycleStatus = $projection.ProdAllocationLifecycleStatus
[0..1] I_ProdAllocConsistencyStatus _ProdAllocConsistencyStatus _ProdAllocConsistencyStatus.ProdAllocConsistencyStatus = $projection.ProdAllocConsistencyStatus
[0..1] I_ProdAllocAsyncUpldStatus _ProdAllocAsyncUpldStatus _ProdAllocAsyncUpldStatus.ProdAllocAsyncUpldStatus = $projection.ProdAllocAsyncUpldStatus
[0..1] I_ProdAllocCheckDateTimeType _ProdAllocCheckDateTimeType _ProdAllocCheckDateTimeType.ProdAllocCheckDateTimeType = $projection.ProdAllocCheckDateTimeType
[0..1] I_ProductAllocationPeriodType _ProductAllocationPeriodType _ProductAllocationPeriodType.ProductAllocationPeriodType = $projection.ProductAllocationPeriodType
[0..1] I_ProdAllocPerdTimeZoneDetn _ProdAllocPerdTimeZoneDetn _ProdAllocPerdTimeZoneDetn.ProdAllocPeriodTimeZoneDetn = $projection.ProdAllocPeriodTimeZoneDetn
[0..1] I_TimeZone _ProdAllocPeriodTimeZone _ProdAllocPeriodTimeZone.TimeZoneID = $projection.ProdAllocationPeriodTimeZone
[0..1] I_FactoryCalendar _FactoryCalendar _FactoryCalendar.FactoryCalendar = $projection.FactoryCalendar
[0..1] I_User _CreatedByUser _CreatedByUser.UserID = $projection.CreatedByUser
[0..1] I_User _LastChangedByUser _LastChangedByUser.UserID = $projection.LastChangedByUser
[0..*] I_ProdAllocCharcValCombnTP _ProdAllocCharcValCombnTP
[0..*] I_ProdAllocCharcMetaDataTP _ProdAllocCharcMetaDataTP
[0..*] I_ProdAllocationObjectTTP _ProdAllocationObjectTTP

Annotations (23)

NameValueLevelField
EndUserText.label Product Allocation Object Transactional Processing view
ObjectModel.sapObjectNodeType.name ProductAllocationObject view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.transactionalProcessingEnabled true view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
ObjectModel.representativeKey ProductAllocationObjectUUID view
Analytics.technicalName IPALLOCOBJTP view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.lifecycle.draft.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.draft.expiryInterval P28D view
ObjectModel.lifecycle.enqueue.expiryBehavior #RELATIVE_TO_ENQUEUE_START view
ObjectModel.lifecycle.enqueue.expiryInterval PT15M view
ObjectModel.lifecycle.processing.expiryBehavior #RELATIVE_TO_PROCESSING_START view
ObjectModel.lifecycle.processing.expiryInterval PT30M view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix PAO view
AbapCatalog.extensibility.quota.maximumFields 204 view
AbapCatalog.extensibility.quota.maximumBytes 2040 view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY ProductAllocationObjectUUID I_ProductAllocationObject ProductAllocationObjectUUID Product Allocation Object UUID
ProductAllocationObject I_ProductAllocationObject ProductAllocationObject Allocation Object
ProductAllocationPeriodType I_ProductAllocationObject ProductAllocationPeriodType Period Type
ProdAllocPeriodTimeZoneDetn I_ProductAllocationObject ProdAllocPeriodTimeZoneDetn Period Time Zone Determination
ProdAllocationPeriodTimeZone I_ProductAllocationObject ProdAllocationPeriodTimeZone Period Time Zone
FactoryCalendar I_ProductAllocationObject FactoryCalendar Factory Calendar
ProdAllocCheckDateTimeType I_ProductAllocationObject ProdAllocCheckDateTimeType Check Date Time Type
ProductAllocationQuantityUnit I_ProductAllocationObject ProductAllocationQuantityUnit Quantity Unit
CollectiveAllocationType I_ProductAllocationObject CollectiveAllocationType Collective
IsSalesOrderAllocObj I_ProductAllocationObject IsSalesOrderAllocObj Sales Document
IsStockTransferOrderAllocObj I_ProductAllocationObject IsStockTransferOrderAllocObj Stock Transport
ProdAllocationLifecycleStatus I_ProductAllocationObject ProdAllocationLifecycleStatus Lifecycle Status
ProdAllocConsistencyStatus I_ProductAllocationObject ProdAllocConsistencyStatus Consistency Status
ProdAllocAsyncUpldStatus I_ProductAllocationObject ProdAllocAsyncUpldStatus Asynchronous Upload Status
ProdAllocObjPeriodAgedToDate I_ProductAllocationObject ProdAllocObjPeriodAgedToDate Periods Aged Until Date
CreationDateTime I_ProductAllocationObject CreationDateTime Timestamp
CreationDate Timestamp
CreatedByUser I_ProductAllocationObject CreatedByUser User Name
LastChangeDateTime I_ProductAllocationObject LastChangeDateTime Timestamp
LastChangeDate Timestamp
LastChangedByUser I_ProductAllocationObject LastChangedByUser User Name
_ProdAllocCharcValCombnTP _ProdAllocCharcValCombnTP
_ProdAllocCharcMetaDataTP _ProdAllocCharcMetaDataTP
_ProductAllocQuantityUnit _ProductAllocQuantityUnit
_CollectiveAllocationType _CollectiveAllocationType
_ProdAllocLifecycleStatus _ProdAllocLifecycleStatus
_ProdAllocConsistencyStatus _ProdAllocConsistencyStatus
_ProdAllocationObjectTTP _ProdAllocationObjectTTP
_ProdAllocCheckDateTimeType _ProdAllocCheckDateTimeType
_ProductAllocationPeriodType _ProductAllocationPeriodType
_ProdAllocAsyncUpldStatus _ProdAllocAsyncUpldStatus
_ProdAllocPerdTimeZoneDetn _ProdAllocPerdTimeZoneDetn
_ProdAllocPeriodTimeZone _ProdAllocPeriodTimeZone
_FactoryCalendar _FactoryCalendar
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

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_ProdAllocationObjectTP.
-- 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_ProdAllocationObjectTP AS
SELECT
  Document.ProductAllocationObjectUUID AS ProductAllocationObjectUUID,
  Document.ProductAllocationObject AS ProductAllocationObject,
  Document.ProductAllocationPeriodType AS ProductAllocationPeriodType,
  Document.ProdAllocPeriodTimeZoneDetn AS ProdAllocPeriodTimeZoneDetn,
  Document.ProdAllocationPeriodTimeZone AS ProdAllocationPeriodTimeZone,
  Document.FactoryCalendar AS FactoryCalendar,
  Document.ProdAllocCheckDateTimeType AS ProdAllocCheckDateTimeType,
  Document.ProductAllocationQuantityUnit AS ProductAllocationQuantityUnit,
  Document.CollectiveAllocationType AS CollectiveAllocationType,
  Document.IsSalesOrderAllocObj AS IsSalesOrderAllocObj,
  Document.IsStockTransferOrderAllocObj AS IsStockTransferOrderAllocObj,
  Document.ProdAllocationLifecycleStatus AS ProdAllocationLifecycleStatus,
  Document.ProdAllocConsistencyStatus AS ProdAllocConsistencyStatus,
  Document.ProdAllocAsyncUpldStatus AS ProdAllocAsyncUpldStatus,
  Document.ProdAllocObjPeriodAgedToDate AS ProdAllocObjPeriodAgedToDate,
  Document.CreationDateTime AS CreationDateTime,
  cast(substring(cast( CreationDateTime as abap.char(32)),1,8) as pal_creationdate) AS CreationDate,
  Document.CreatedByUser AS CreatedByUser,
  Document.LastChangeDateTime AS LastChangeDateTime,
  cast(substring(cast(LastChangeDateTime as abap.char(32)),1,8) as pal_lastchangedate) AS LastChangeDate,
  Document.LastChangedByUser AS LastChangedByUser
FROM I_ProductAllocationObject AS Document
LEFT OUTER JOIN E_ProductAllocationObject AS _Extension ON _Extension.ProductAllocationObjectUUID = Document.ProductAllocationObjectUUID  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _ProductAllocQuantityUnit ON _ProductAllocQuantityUnit.UnitOfMeasure = ProductAllocationQuantityUnit  -- association [0..1]
LEFT OUTER JOIN I_CollectiveAllocationType AS _CollectiveAllocationType ON _CollectiveAllocationType.CollectiveAllocationType = CollectiveAllocationType  -- association [0..1]
LEFT OUTER JOIN I_ProdAllocLifecycleStatus AS _ProdAllocLifecycleStatus ON _ProdAllocLifecycleStatus.ProdAllocationLifecycleStatus = ProdAllocationLifecycleStatus  -- association [0..1]
LEFT OUTER JOIN I_ProdAllocConsistencyStatus AS _ProdAllocConsistencyStatus ON _ProdAllocConsistencyStatus.ProdAllocConsistencyStatus = ProdAllocConsistencyStatus  -- association [0..1]
LEFT OUTER JOIN I_ProdAllocAsyncUpldStatus AS _ProdAllocAsyncUpldStatus ON _ProdAllocAsyncUpldStatus.ProdAllocAsyncUpldStatus = ProdAllocAsyncUpldStatus  -- association [0..1]
LEFT OUTER JOIN I_ProdAllocCheckDateTimeType AS _ProdAllocCheckDateTimeType ON _ProdAllocCheckDateTimeType.ProdAllocCheckDateTimeType = ProdAllocCheckDateTimeType  -- association [0..1]
LEFT OUTER JOIN I_ProductAllocationPeriodType AS _ProductAllocationPeriodType ON _ProductAllocationPeriodType.ProductAllocationPeriodType = ProductAllocationPeriodType  -- association [0..1]
LEFT OUTER JOIN I_ProdAllocPerdTimeZoneDetn AS _ProdAllocPerdTimeZoneDetn ON _ProdAllocPerdTimeZoneDetn.ProdAllocPeriodTimeZoneDetn = ProdAllocPeriodTimeZoneDetn  -- association [0..1]
LEFT OUTER JOIN I_TimeZone AS _ProdAllocPeriodTimeZone ON _ProdAllocPeriodTimeZone.TimeZoneID = ProdAllocationPeriodTimeZone  -- association [0..1]
LEFT OUTER JOIN I_FactoryCalendar AS _FactoryCalendar ON _FactoryCalendar.FactoryCalendar = FactoryCalendar  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON _CreatedByUser.UserID = CreatedByUser  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON _LastChangedByUser.UserID = LastChangedByUser  -- association [0..1]
LEFT OUTER JOIN I_ProdAllocCharcValCombnTP AS _ProdAllocCharcValCombnTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ProdAllocCharcMetaDataTP AS _ProdAllocCharcMetaDataTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_ProdAllocationObjectTTP AS _ProdAllocationObjectTTP ON /* condition not available in parsed metadata */  -- association [0..*]
;