P_PurchaseOrderForCIC
P_PurchaseOrderForCIC is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocument) and exposes 14 fields with key field Id.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocument | I_PurchasingDocument | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Id | PurchasingDocument | ||
| Display_Id | ||||
| Description | PurchasingDocumentName | |||
| Note | ||||
| Type | PurchasingDocumentType | |||
| Supplier | Supplier | |||
| Purchasing_Organization | PurchasingOrganization | |||
| Purchasing_Group | PurchasingGroup | |||
| Currency | DocumentCurrency | |||
| Status | PurchasingProcessingStatus | |||
| SupplyingPlant | SupplyingPlant | |||
| PurchasingDocumentDeletionCode | PurchasingDocumentDeletionCode | |||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | |||
| PurchasingCompletenessStatus | PurchasingCompletenessStatus |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #L,
dataClass: #MIXED
}
@VDM.private: true
@VDM.viewType: #BASIC
define view entity P_PurchaseOrderForCIC
as select from I_PurchasingDocument {
key PurchasingDocument as Id,
'' as Display_Id,
PurchasingDocumentName as Description,
'' as Note,
PurchasingDocumentType as Type,
Supplier,
PurchasingOrganization as Purchasing_Organization,
PurchasingGroup as Purchasing_Group,
DocumentCurrency as Currency,
PurchasingProcessingStatus as Status,
SupplyingPlant,
PurchasingDocumentDeletionCode,
IsEndOfPurposeBlocked,
PurchasingCompletenessStatus
}
where
// PurchasingDocumentDeletionCode is initial and
( PurchasingDocumentType = 'NB' or PurchasingDocumentType = 'UB' )
and PurchasingDocumentCategory = 'F'
//and IsEndOfPurposeBlocked <> 'X'
//and PurchasingCompletenessStatus <> 'X'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCHASINGDOCUMENT"
],
"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