A_ProdnRtgOpDocPRTAssgmt

DDL: A_PRODNRTGOPDOCPRTASSGMT Type: view_entity CONSUMPTION Package: ODATA_PP_ROUTING_API

Operation Document PRT Assignment

A_ProdnRtgOpDocPRTAssgmt is a Consumption CDS View that provides data about "Operation Document PRT Assignment" in SAP S/4HANA. It reads from 1 data source (R_ProdnRtgOpDocPRTAssgmtTP) and exposes 31 fields with key fields ProductionRoutingGroup, ProductionRouting, ProductionRoutingSequence, ProductionRoutingOpIntID, BOOOperationPRTInternalID. It is exposed through 2 OData services (API_PRODUCTIONROUTING, ASQL_F8414). Part of development package ODATA_PP_ROUTING_API.

Data Sources (1)

SourceAliasJoin Type
R_ProdnRtgOpDocPRTAssgmtTP R_ProdnRtgOpDocPRTAssgmtTP projection

Annotations (9)

NameValueLevelField
EndUserText.label Operation Document PRT Assignment view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name OperationDocumentPRTAssignment_Type view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

OData Services (2)

ServiceBindingVersionContractRelease
API_PRODUCTIONROUTING API_PRODUCTION_ROUTING V2 C2 Deprecated
ASQL_F8414 ASQL_F8414 C2 NOT_RELEASED

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY ProductionRoutingGroup ProductionRoutingGroup
KEY ProductionRouting ProductionRouting
KEY ProductionRoutingSequence ProductionRoutingSequence
KEY ProductionRoutingOpIntID ProductionRoutingOpIntID
KEY BOOOperationPRTInternalID BOOOperationPRTInternalID
KEY BOOOperationPRTIntVersCounter BOOOperationPRTIntVersCounter
DocumentType DocumentType Order Type
DocumentInfoRecord DocumentInfoRecord Document
DocumentVersion DocumentVersion Docu. Version
DocumentPart DocumentPart Document Part
ProdnRsceToolItemNumber ProdnRsceToolItemNumber Item Number
ProductionResourceType ProductionResourceType Object Type
ProductionResourceInternalID ProductionResourceInternalID Object ID
ProdnRsceToolStandardTextCode ProdnRsceToolStandardTextCode
ProdnRsceToolText ProdnRsceToolText
ProdnRsceToolControlProfile ProdnRsceToolControlProfile
ProdnRsceToolStandardWorkQty ProdnRsceToolStandardWorkQty Quantity
ProdnRsceToolStdWorkQtyUnit ProdnRsceToolStdWorkQtyUnit Unit
ProdnRsceToolTotQtyCalcFormula ProdnRsceToolTotQtyCalcFormula
ProdnRsceToolUsageQuantity ProdnRsceToolUsageQuantity
ProdnRsceToolUsageQuantityUnit ProdnRsceToolUsageQuantityUnit
ProdnRsceToolUsageQtyCalcFmla ProdnRsceToolUsageQtyCalcFmla
ChangeNumber ChangeNumber Change Number
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
ChangedDateTime _NonSqncTP ChangedDateTime Time Stamp
_Header _Header

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 A_ProdnRtgOpDocPRTAssgmt.
-- 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 A_ProdnRtgOpDocPRTAssgmt AS
SELECT
  ProductionRoutingGroup,
  ProductionRouting,
  ProductionRoutingSequence,
  ProductionRoutingOpIntID,
  BOOOperationPRTInternalID,
  BOOOperationPRTIntVersCounter,
  DocumentType,
  DocumentInfoRecord,
  DocumentVersion,
  DocumentPart,
  ProdnRsceToolItemNumber,
  ProductionResourceType,
  ProductionResourceInternalID,
  ProdnRsceToolStandardTextCode,
  ProdnRsceToolText,
  ProdnRsceToolControlProfile,
  ProdnRsceToolStandardWorkQty,
  ProdnRsceToolStdWorkQtyUnit,
  ProdnRsceToolTotQtyCalcFormula,
  ProdnRsceToolUsageQuantity,
  ProdnRsceToolUsageQuantityUnit,
  ProdnRsceToolUsageQtyCalcFmla,
  ChangeNumber,
  ValidityStartDate,
  ValidityEndDate,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  _NonSqncTP.ChangedDateTime AS ChangedDateTime
FROM R_ProdnRtgOpDocPRTAssgmtTP
;