A_CustProjSlsOrdItemText
Sales Order Item Text
A_CustProjSlsOrdItemText is a Composite CDS View that provides data about "Sales Order Item Text" in SAP S/4HANA. It reads from 2 data sources (I_CustProjSlsOrdItem, P_SalesDocumentItemText) and exposes 11 fields with key fields CustomerProject, SalesOrderItem, Language, LongTextID. It has 1 association to related views. Part of development package SD_SLS_PBS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CustProjSlsOrdItem | CustProjSlsOrdItem | inner |
| P_SalesDocumentItemText | P_SalesDocumentItemText | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_CustProjSlsOrdItem | _CustProjSlsOrdItem | _CustProjSlsOrdItem.CustomerProject = $projection.CustomerProject and _CustProjSlsOrdItem.SalesOrderItem = $projection.SalesOrderItem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACUSTPROJSOITXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Sales Order Item Text | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerProject | I_CustProjSlsOrdItem | CustomerProject | Engmnt Project ID |
| KEY | SalesOrderItem | I_CustProjSlsOrdItem | SalesOrderItem | Sales Order Item |
| KEY | Language | Language | Report Text Language | |
| KEY | LongTextID | LongTextID | Text ID | |
| LongText | LongText | Text Name | ||
| SalesOrder | ||||
| SalesOrderType | I_CustProjSlsOrdItem | SalesOrderType | Sales Order Type | |
| OrganizationDivision | I_CustProjSlsOrdItem | OrganizationDivision | Org. Division | |
| SalesOrganization | I_CustProjSlsOrdItem | SalesOrganization | Sales Organization | |
| DistributionChannel | I_CustProjSlsOrdItem | DistributionChannel | RefDistCh-Cust/Mat. | |
| _CustProjSlsOrdItem | _CustProjSlsOrdItem |
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 A_CustProjSlsOrdItemText.
-- 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: ACUSTPROJSOITXT
CREATE VIEW A_CustProjSlsOrdItemText AS
SELECT
CustProjSlsOrdItem.CustomerProject AS CustomerProject,
CustProjSlsOrdItem.SalesOrderItem AS SalesOrderItem,
Language,
LongTextID,
LongText,
cast(CustProjSalesOrderItemText.SalesDocument as vdm_sales_order preserving type) AS SalesOrder,
CustProjSlsOrdItem.SalesOrderType AS SalesOrderType,
CustProjSlsOrdItem.OrganizationDivision AS OrganizationDivision,
CustProjSlsOrdItem.SalesOrganization AS SalesOrganization,
CustProjSlsOrdItem.DistributionChannel AS DistributionChannel
FROM P_SalesDocumentItemText
INNER JOIN I_CustProjSlsOrdItem AS CustProjSlsOrdItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_CustProjSlsOrdItem AS _CustProjSlsOrdItem ON _CustProjSlsOrdItem.CustomerProject = CustomerProject AND _CustProjSlsOrdItem.SalesOrderItem = SalesOrderItem -- association [1..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