P_ExtReferencesForPurReqnItm
P_ExtReferencesForPurReqnItm is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_ExternalRefForPurgDoc) and exposes 6 fields with key fields PurchaseReqnItemUniqueID, LinkType, PurgExtRefSequenceNumber.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ExternalRefForPurgDoc | I_ExternalRefForPurgDoc | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPURREQNEXTLINKS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseReqnItemUniqueID | PurchasingDocumentUniqueID | ||
| KEY | LinkType | LinkType | ||
| KEY | PurgExtRefSequenceNumber | SequenceNumber | ||
| PurReqnExternalReference | ||||
| PurReqnItemExternalReference | ||||
| PurReqnExternalSystemId |
@AbapCatalog.sqlViewName: 'PPURREQNEXTLINKS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private:true
@VDM.viewType: #BASIC
//@EndUserText.label: 'External References of PR Item'
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
//@VDM.lifecycle.contract.type: #NONE
define view P_ExtReferencesForPurReqnItm
as select from I_ExternalRefForPurgDoc
{
key PurchasingDocumentUniqueID as PurchaseReqnItemUniqueID,
key LinkType as LinkType,
key SequenceNumber as PurgExtRefSequenceNumber,
cast( substring( PurgDocExternalReference ,1, 35 ) as me_pur_ext_doc_id ) as PurReqnExternalReference,
cast( substring( PurgDocExternalReference ,36, 10 ) as me_pur_ext_doc_item_id ) as PurReqnItemExternalReference,
cast( PurgDocExternalSystem as mmpur_ext_system ) as PurReqnExternalSystemId
}
where
I_ExternalRefForPurgDoc.SAPObjectNodeType = 'PurchaseRequisitionItem'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EXTERNALREFFORPURGDOC"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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