A_SalesSchedgAgrmtItemText

DDL: A_SALESSCHEDGAGRMTITEMTEXT Type: view COMPOSITE Package: P_SLSSA_INTEGRATION_ODATA

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)

SourceAliasJoin Type
P_SalesDocumentItemText P_SalesDocumentItemText inner
I_SalesSchedgAgrmt SalesSchedgAgrmt from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;