@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":""
}
}*/