P_ARProcessFlowQuotation
AR Process Flow - Quotation
P_ARProcessFlowQuotation is a Consumption CDS View that provides data about "AR Process Flow - Quotation" in SAP S/4HANA. It reads from 1 data source (I_SalesDocument) and exposes 35 fields with key field QuotationDocument. It has 2 associations to related views. Part of development package ODATA_PROCESS_FLOW_AR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocument | I_SalesDocument | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UserContactCard | _UserContactCard | _UserContactCard.ContactCardID = $projection.CreatedByUser |
| [0..1] | I_Customer | _ShipToParty | $projection.ShipToParty = _ShipToParty.Customer |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PARPROCFLOWQUOT | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | AR Process Flow - Quotation | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.preserveKey | true | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | QuotationDocument | SalesDocument | SD Document | |
| SalesDocumentDate | SalesDocumentDate | Document Date | ||
| SalesDocumentType | SalesDocumentType | Sales Doc. Type | ||
| SalesDocumentTypeName | ||||
| OverallSDProcessStatus | OverallSDProcessStatus | |||
| OverallSDProcessStatusDesc | ||||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| CustomerName | _SoldToParty | CustomerName | Name of Customer | |
| CustomerFullName | _SoldToParty | CustomerFullName | Customer Name | |
| ShipToParty | _Partner | Customer | Sold-to Party | |
| ShipToPartyName | _ShipToParty | CustomerName | Name of Customer | |
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOrganizationName | ||||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| DistributionChannelName | ||||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| DivisionName | ||||
| DivisionName1astxt_vtrberasSalesAreaDesc | ||||
| CustomerPaymentTerms | CustomerPaymentTerms | Pyt Terms | ||
| CustomerPaymentTermsName | ||||
| CreatedByUser | I_SalesDocument | CreatedByUser | User Name | |
| FullName | _UserContactCard | FullName | Name | |
| CreationDate | I_SalesDocument | CreationDate | Time Stamp | |
| CreationTime | CreationTime | Time of Change | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | Purchase Order Date | ||
| _Item | _Item | |||
| _ShipToParty | _ShipToParty | |||
| _SoldToParty | _SoldToParty | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _UserContactCard | _UserContactCard |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_ARProcessFlowQuotation.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PARPROCFLOWQUOT
CREATE VIEW P_ARProcessFlowQuotation AS
SELECT
SalesDocument AS QuotationDocument,
SalesDocumentDate,
SalesDocumentType,
_SalesDocumentType._Text[1:Language = $session.system_language].SalesDocumentTypeName AS SalesDocumentTypeName,
OverallSDProcessStatus,
_OverallSDProcessStatus._Text[1:Language = $session.system_language].OverallSDProcessStatusDesc AS OverallSDProcessStatusDesc,
TotalNetAmount,
TransactionCurrency,
SoldToParty,
_SoldToParty.CustomerName AS CustomerName,
_SoldToParty.CustomerFullName AS CustomerFullName,
_Partner.Customer AS ShipToParty,
_ShipToParty.CustomerName AS ShipToPartyName,
PurchaseOrderByCustomer,
SalesOrganization,
_SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
DistributionChannel,
_DistributionChannel._Text[1:Language = $session.system_language].DistributionChannelName AS DistributionChannelName,
OrganizationDivision,
_OrganizationDivision._Text[1:Language = $session.system_language].DivisionName AS DivisionName,
cast( concat_with_space( concat( concat_with_space( concat( _SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName, ','), cast(_DistributionChannel._Text[1:Language = $session.system_language].DistributionChannelName as vtxtk), 1), ','), _OrganizationDivision._Text[1:Language = $session.system_language].DivisionName, 1) as txt_vtrber ) as SalesAreaDesc AS DivisionName1astxt_vtrberasSalesAreaDesc,
CustomerPaymentTerms,
_CustomerPaymentTerms._Text[1:Language = $session.system_language].CustomerPaymentTermsName AS CustomerPaymentTermsName,
I_SalesDocument.CreatedByUser AS CreatedByUser,
_UserContactCard.FullName AS FullName,
I_SalesDocument.CreationDate AS CreationDate,
CreationTime,
SalesOffice,
SalesGroup,
CustomerPurchaseOrderDate
FROM I_SalesDocument
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON _UserContactCard.ContactCardID = CreatedByUser -- association [1..1]
LEFT OUTER JOIN I_Customer AS _ShipToParty ON ShipToParty = _ShipToParty.Customer -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA