R_PURORDITEMEXTERNALREFERENCE
PO Item External References
R_PURORDITEMEXTERNALREFERENCE is a CDS View in S/4HANA. PO Item External References. It contains 1 fields. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_PurchaseOrderProcessFlow | view | inner | COMPOSITE | Purchase Order Business Process Flow |
Fields (1)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | PurgDocExternalReferenceItem | PrecedingDocumentItem | 1 |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'PO Item External References'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #BASIC
define view entity R_PurOrdItemExternalReference as select from I_ExternalRefForPurgDoc as ExtRef
inner join R_PurchaseOrderItem as POItem on ExtRef.PurchasingDocumentUniqueID = POItem.PurchaseOrderItemUniqueID
{
key POItem.PurchaseOrder,
key POItem.PurchaseOrderItem,
key ExtRef.LinkType,
key ExtRef.SequenceNumber as PurgExtRefSequenceNumber,
ExtRef.PurgDocExternalReference,
cast(substring(ExtRef.PurgDocExternalReference, 16, 21) as mmpur_externalreferenceid) as PurgDocExternalReferenceItem,
ExtRef.PurgDocExternalSystem,
ExtRef.PurgDocExtReferenceNodeType,
POItem.Plant,
POItem._PurchaseOrder.PurchaseOrderType,
POItem._PurchaseOrder.PurchasingOrganization,
POItem._PurchaseOrder.PurchasingGroup
}
where ExtRef.SAPObjectNodeType = 'PurchaseOrderItem'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EXTERNALREFFORPURGDOC",
"R_PURCHASEORDER",
"R_PURCHASEORDERITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/