P_PurchaseOrderForCIC

DDL: P_PURCHASEORDERFORCIC Type: view_entity BASIC

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)

SourceAliasJoin Type
I_PurchasingDocument I_PurchasingDocument from

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/