P_CanclnBillingDocProcFlow0

DDL: P_CANCLNBILLINGDOCPROCFLOW0 SQL: PCBILLDOCPROCF0 Type: view CONSUMPTION

P_CanclnBillingDocProcFlow0 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_BillingDocument) and exposes 6 fields with key field BillingDocument.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocument BillingDocument from

Annotations (8)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PCBILLDOCPROCF0 view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocument BillingDocument
BillingDocumentCategory I_BillingDocument BillingDocumentCategory
SDDocumentCategory I_BillingDocument SDDocumentCategory
BillingDocumentType I_BillingDocument BillingDocumentType
BillingDocumentIsCancelled I_BillingDocument BillingDocumentIsCancelled
SalesOrganization I_BillingDocument SalesOrganization
@ClientHandling.algorithm: #SESSION_VARIABLE 
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL

@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'PCBILLDOCPROCF0'
define view P_CanclnBillingDocProcFlow0 as select from I_BillingDocument as BillingDocument
 {
   key BillingDocument.BillingDocument,
   
   BillingDocument.BillingDocumentCategory,   
   BillingDocument.SDDocumentCategory,
   BillingDocument.BillingDocumentType,
   BillingDocument.BillingDocumentIsCancelled,    
   BillingDocument.SalesOrganization
 }
 where  BillingDocument.SDDocumentCategory  = 'N'    --> Invoice canceled
 or     BillingDocument.SDDocumentCategory  = 'S'    --> Credit memo canceled
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/