P_SOFAProcFlow00

DDL: P_SOFAPROCFLOW00 SQL: PSOFAPROCF0 Type: view COMPOSITE

P_SOFAProcFlow00 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 16 fields with key fields SalesDocument, SDDocumentCategory.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocument SalesDocument from

Annotations (8)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName PSOFAPROCF0 view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument SalesDocument
KEY SDDocumentCategory SDDocumentCategory
SalesDocumentType SalesDocumentType
SalesOrganization I_SalesDocument SalesOrganization
DistributionChannel I_SalesDocument DistributionChannel
OrganizationDivision I_SalesDocument OrganizationDivision
OverallSDProcessStatus OverallSDProcessStatus
OverallTotalDeliveryStatus OverallTotalDeliveryStatus
OverallOrdReltdBillgStatus OverallOrdReltdBillgStatus
RequestedDeliveryDate RequestedDeliveryDate
OverallSDProcessStatus
SalesDocumentDate SalesDocumentDate
SalesGroup SalesGroup
SalesOffice SalesOffice
SoldToParty SoldToParty
PurchaseOrderByCustomer PurchaseOrderByCustomer
@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: #COMPOSITE
@AbapCatalog.sqlViewName: 'PSOFAPROCF0'

define view P_SOFAProcFlow00 
as select from
I_SalesDocument as SalesDocument          --PurchaseOrderByCustomer needs VBKD
{ 
   key SalesDocument,
   key SDDocumentCategory,
   
   SalesDocumentType,
   //Organization

   SalesDocument.SalesOrganization,
   SalesDocument.DistributionChannel,
   SalesDocument.OrganizationDivision,   

   OverallSDProcessStatus,
   OverallTotalDeliveryStatus,
   OverallOrdReltdBillgStatus, 
   
   //Misc

   RequestedDeliveryDate,
   --OverallSDProcessStatus,
   SalesDocumentDate,
   SalesGroup,
   SalesOffice,
   SoldToParty,
   PurchaseOrderByCustomer
   
         
 }
 where SalesDocument.SDDocumentCategory = 'C'   --> Order
 or    SalesDocument.SDDocumentCategory = 'I'   --> Order w/o charge
 or    SalesDocument.SDDocumentCategory = 'L'   --> Debit Memo Request
 
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/