P_SOFAProcFlow11
P_SOFAProcFlow11 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_MfgOrder, P_SOFAProcFlow00) and exposes 18 fields with key fields SalesDocument, SDDocumentCategory, ManufacturingOrder.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MfgOrder | MfgOrder | inner |
| P_SOFAProcFlow00 | SalesDocument | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 | PSOFAPROCF11 | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | P_SOFAProcFlow00 | SalesDocument | |
| KEY | SDDocumentCategory | P_SOFAProcFlow00 | SDDocumentCategory | |
| KEY | ManufacturingOrder | I_MfgOrder | ManufacturingOrder | |
| ManufacturingOrderCategory | I_MfgOrder | ManufacturingOrderCategory | ||
| SalesDocumentType | SalesDocumentType | |||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| OrganizationDivision | 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: 'PSOFAPROCF11'
define view P_SOFAProcFlow11
as select from P_SOFAProcFlow00 as SalesDocument --> Level 0
inner join I_MfgOrder as MfgOrder
on SalesDocument.SalesDocument = MfgOrder.SalesOrder
and MfgOrder.SalesOrderItem != '000000'
{
key SalesDocument.SalesDocument,
key SalesDocument.SDDocumentCategory,
key MfgOrder.ManufacturingOrder,
MfgOrder.ManufacturingOrderCategory,
SalesDocumentType,
//Organization
SalesOrganization,
DistributionChannel,
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
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MFGORDER",
"P_SOFAPROCFLOW00"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA