P_SOFAProcFlow41
SOFA Process Flow: Level +4 Accounting
P_SOFAProcFlow41 is a Composite CDS View that provides data about "SOFA Process Flow: Level +4 Accounting" in SAP S/4HANA. It reads from 1 data source (I_AccountingDocument) and exposes 22 fields with key fields SalesDocument, SDDocumentCategory, Level3Document, Level3DocumentCategory, AccountingDocument. Part of development package ODATA_SD_SOFA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingDocument | AccountingDocument | inner |
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 | PSOFAPROCF41 | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | SalesDocument | ||
| KEY | SDDocumentCategory | SDDocumentCategory | ||
| KEY | Level3Document | Level3Document | ||
| KEY | Level3DocumentCategory | Level3DocumentCategory | ||
| KEY | AccountingDocument | I_AccountingDocument | AccountingDocument | |
| 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 | |||
| CompanyCode | I_AccountingDocument | CompanyCode | ||
| FiscalYear | I_AccountingDocument | FiscalYear | ||
| Level2DocumentCategory | Level2DocumentCategory |
@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: 'PSOFAPROCF41'
define view P_SOFAProcFlow41
as select distinct from P_SOFAPROCFLOW30 as Level3
inner join
I_AccountingDocument as AccountingDocument
on Level3.Level3Document = AccountingDocument.OriginalReferenceDocument
and AccountingDocument.ReferenceDocumentType = 'VBRK'
and LedgerGroup = ''
{
key SalesDocument,
key SDDocumentCategory,
key Level3Document,
key Level3DocumentCategory,
key AccountingDocument.AccountingDocument,
SalesDocumentType,
//Organization
SalesOrganization,
DistributionChannel,
OrganizationDivision,
OverallSDProcessStatus,
OverallTotalDeliveryStatus,
OverallOrdReltdBillgStatus,
//Misc
RequestedDeliveryDate,
--OverallSDProcessStatus,
SalesDocumentDate,
SalesGroup,
SalesOffice,
SoldToParty,
PurchaseOrderByCustomer,
//AccountingDocument additional keys
AccountingDocument.CompanyCode,
AccountingDocument.FiscalYear,
//Category
Level2DocumentCategory
}
where ( Level3DocumentCategory = 'M' --> Invoice
or Level3DocumentCategory = 'P' ) --> Debit Memo
and Level3.BillingDocumentIsCancelled != 'X' -- Don't consider Acc docs for cancelled inv
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