P_BILLINGDOCPROCFLOW0

CDS View

P_BILLINGDOCPROCFLOW0 is a CDS View in S/4HANA. It contains 4 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
P_BillingDocProcFlow10 view from CONSUMPTION

Fields (4)

KeyField CDS FieldsUsed in Views
BillingDocument BillingDocument 1
BillingDocumentType BillingDocumentType 1
SalesOrganization SalesOrganization 1
SDDocumentCategory SDDocumentCategory 1
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL

@VDM.private: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PBILLGDOCPROCF0'
@AbapCatalog.preserveKey:true

define view P_BillingDocProcFlow0
as select from
I_BillingDocumentBasic as BillingDocument
 {
   key BillingDocument,
   BillingDocumentCategory,

   SDDocumentCategory,
   BillingDocumentType,
   BillingDocumentIsCancelled,

   //Organization

   SalesOrganization
 }
 where  BillingDocument.SDDocumentCategory  = 'M'    --> Invoice
 or     BillingDocument.SDDocumentCategory  = 'U'    --> Pro Forma
 or     BillingDocument.SDDocumentCategory  = 'O'    --> Credit Memo
 or     BillingDocument.SDDocumentCategory  = 'P'    --> Debit  Memo
 or     BillingDocument.SDDocumentCategory  = '5'    --> Intercompany Invoice
 or     BillingDocument.SDDocumentCategory  = '6'    --> Intercompany Credit Memo
 or     BillingDocument.SDDocumentCategory  = 'ICPF' --> Intercompany Pro Forma Invoice
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLINGDOCUMENTBASIC"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/