C_Customer360ApprovalBusDoc
Customer 360 business doc approvals
C_Customer360ApprovalBusDoc is a Consumption CDS View that provides data about "Customer 360 business doc approvals" in SAP S/4HANA. It reads from 2 data sources (I_Customer360BusDocSetting, I_SalesDocument) and exposes 19 fields with key fields SoldToParty, SalesDocument, SalesDocumentType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Customer360BusDocSetting | Customer360BusDocSetting | inner |
| I_SalesDocument | SalesDocument | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Customer 360 business doc approvals | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SoldToParty | I_SalesDocument | SoldToParty | Sold-to Party |
| KEY | SalesDocument | I_SalesDocument | SalesDocument | SD Document |
| KEY | SalesDocumentType | I_SalesDocument | SalesDocumentType | Sales Doc. Type |
| CustomerName | ||||
| SDDocumentCategory | I_SalesDocument | SDDocumentCategory | Document Cat. | |
| SalesDocApprovalStatus | I_SalesDocument | SalesDocApprovalStatus | ||
| TotalNetAmount | I_SalesDocument | TotalNetAmount | Total Net Amount | |
| TransactionCurrency | I_SalesDocument | TransactionCurrency | Transaction Currency | |
| CreationDate | I_SalesDocument | CreationDate | Time Stamp | |
| int1asSalesDocApprovalStsCriticality | ||||
| SDDocumentCategoryName | ||||
| SalesDocApprovalStatusDesc | ||||
| SalesDocumentTypeName | ||||
| _SalesDocApprovalStatus | I_SalesDocument | _SalesDocApprovalStatus | ||
| _SalesDocumentType | I_SalesDocument | _SalesDocumentType | ||
| SalesOrganization | I_SalesDocument | SalesOrganization | Sales Organization | |
| OrganizationDivision | I_SalesDocument | OrganizationDivision | Org. Division | |
| DistributionChannel | I_SalesDocument | DistributionChannel | RefDistCh-Cust/Mat. | |
| _SDDocumentCategory | I_SalesDocument | _SDDocumentCategory |
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 C_Customer360ApprovalBusDoc.
-- 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: CUST360BDAPRVL
CREATE VIEW C_Customer360ApprovalBusDoc AS
SELECT
SalesDocument.SoldToParty AS SoldToParty,
SalesDocument.SalesDocument AS SalesDocument,
SalesDocument.SalesDocumentType AS SalesDocumentType,
SalesDocument._SoldToParty.CustomerName AS CustomerName,
SalesDocument.SDDocumentCategory AS SDDocumentCategory,
SalesDocument.SalesDocApprovalStatus AS SalesDocApprovalStatus,
SalesDocument.TotalNetAmount AS TotalNetAmount,
SalesDocument.TransactionCurrency AS TransactionCurrency,
SalesDocument.CreationDate AS CreationDate,
cast( case SalesDocument.SalesDocApprovalStatus when 'D' then 2 when 'A' then 0 end as abap.int1 ) as SalesDocApprovalStsCriticality AS int1asSalesDocApprovalStsCriticality,
SalesDocument._SDDocumentCategory._Text[1:Language = $session.system_language].SDDocumentCategoryName AS SDDocumentCategoryName,
SalesDocument._SalesDocApprovalStatus._Text[1:Language = $session.system_language].SalesDocApprovalStatusDesc AS SalesDocApprovalStatusDesc,
SalesDocument._SalesDocumentType._Text[1:Language = $session.system_language].SalesDocumentTypeName AS SalesDocumentTypeName,
SalesDocument._SalesDocApprovalStatus AS _SalesDocApprovalStatus,
SalesDocument._SalesDocumentType AS _SalesDocumentType,
SalesDocument.SalesOrganization AS SalesOrganization,
SalesDocument.OrganizationDivision AS OrganizationDivision,
SalesDocument.DistributionChannel AS DistributionChannel,
SalesDocument._SDDocumentCategory AS _SDDocumentCategory
FROM I_SalesDocument AS SalesDocument
INNER JOIN I_Customer360BusDocSetting AS Customer360BusDocSetting ON /* join condition not captured in parsed metadata */
;
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