A_SalesSchedgAgrmtItemText
Item Text
A_SalesSchedgAgrmtItemText is a Composite CDS View that provides data about "Item Text" in SAP S/4HANA. It reads from 2 data sources (P_SalesDocumentItemText, I_SalesSchedgAgrmt) and exposes 11 fields with key fields SalesSchedulingAgreement, SalesSchedulingAgreementItem, Language, LongTextID. It has 2 associations to related views. Part of development package P_SLSSA_INTEGRATION_ODATA.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_SalesDocumentItemText | P_SalesDocumentItemText | inner |
| I_SalesSchedgAgrmt | SalesSchedgAgrmt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_SalesSchedgAgrmt | _SalesSchedgAgrmt | _SalesSchedgAgrmt.SalesSchedulingAgreement = $projection.SalesSchedulingAgreement |
| [1..1] | A_SalesSchedgAgrmtItem | _SalesSchedgAgrmtItem | $projection.SalesSchedulingAgreement = _SalesSchedgAgrmtItem.SalesSchedulingAgreement and $projection.SalesSchedulingAgreementItem = _SalesSchedgAgrmtItem.SalesSchedulingAgreementItem |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Item Text | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AbapCatalog.sqlViewName | ASSAITEMTEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | 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 | SalesSchedulingAgreement | I_SalesSchedgAgrmt | SalesSchedulingAgreement | Sales Document |
| KEY | SalesSchedulingAgreementItem | |||
| KEY | Language | SalesSchedgAgrmtItemText | Language | Report Text Language |
| KEY | LongTextID | SalesSchedgAgrmtItemText | LongTextID | Text ID |
| LongText | SalesSchedgAgrmtItemText | LongText | Text Name | |
| SalesSchedgAgrmtType | I_SalesSchedgAgrmt | SalesSchedgAgrmtType | ||
| OrganizationDivision | I_SalesSchedgAgrmt | OrganizationDivision | Org. Division | |
| SalesOrganization | I_SalesSchedgAgrmt | SalesOrganization | Sales Organization | |
| DistributionChannel | I_SalesSchedgAgrmt | DistributionChannel | RefDistCh-Cust/Mat. | |
| _SalesSchedgAgrmt | _SalesSchedgAgrmt | |||
| _SalesSchedgAgrmtItem | _SalesSchedgAgrmtItem |
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_SalesSchedgAgrmtItemText.
-- 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.
CREATE VIEW A_SalesSchedgAgrmtItemText AS
SELECT
SalesSchedgAgrmt.SalesSchedulingAgreement AS SalesSchedulingAgreement,
cast(SalesSchedgAgrmtItemText.SalesDocumentItem as vdm_sales_schedg_agrmt_item preserving type) AS SalesSchedulingAgreementItem,
SalesSchedgAgrmtItemText.Language AS Language,
SalesSchedgAgrmtItemText.LongTextID AS LongTextID,
SalesSchedgAgrmtItemText.LongText AS LongText,
SalesSchedgAgrmt.SalesSchedgAgrmtType AS SalesSchedgAgrmtType,
SalesSchedgAgrmt.OrganizationDivision AS OrganizationDivision,
SalesSchedgAgrmt.SalesOrganization AS SalesOrganization,
SalesSchedgAgrmt.DistributionChannel AS DistributionChannel
FROM I_SalesSchedgAgrmt AS SalesSchedgAgrmt
INNER JOIN P_SalesDocumentItemText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_SalesSchedgAgrmt AS _SalesSchedgAgrmt ON _SalesSchedgAgrmt.SalesSchedulingAgreement = SalesSchedulingAgreement -- association [1..1]
LEFT OUTER JOIN A_SalesSchedgAgrmtItem AS _SalesSchedgAgrmtItem ON SalesSchedulingAgreement = _SalesSchedgAgrmtItem.SalesSchedulingAgreement AND SalesSchedulingAgreementItem = _SalesSchedgAgrmtItem.SalesSchedulingAgreementItem -- 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