R_SalesQuotationItemTextTP

DDL: R_SALESQUOTATIONITEMTEXTTP Type: view_entity TRANSACTIONAL

Sales Quotation Item - Text TP

R_SalesQuotationItemTextTP is a Transactional CDS View that provides data about "Sales Quotation Item - Text TP" in SAP S/4HANA. It reads from 3 data sources (P_SalesDocumentItemText, I_SalesDocumentItemBasic, I_SalesDocumentItemCategory) and exposes 17 fields with key fields SalesQuotation, SalesQuotationItem, Language, LongTextID. It has 4 associations to related views.

Data Sources (3)

SourceAliasJoin Type
P_SalesDocumentItemText P_SalesDocumentItemText from
I_SalesDocumentItemBasic SalesDocumentItemBasic inner
I_SalesDocumentItemCategory SalesDocumentItemCategory inner

Associations (4)

CardinalityTargetAliasCondition
[0..*] I_TextDeterminationProcedItem _TextDeterminationProcedItem $projection.TextDeterminationProcedure = _TextDeterminationProcedItem.TextDeterminationProcedure and $projection.LongTextID = _TextDeterminationProcedItem.LongTextID and _TextDeterminationProcedItem.TextObjectCategory = 'VBBP'
[1..1] R_SalesQuotationTP _SalesQuotation $projection.SalesQuotation = _SalesQuotation.SalesQuotation
[0..1] I_Language _Language $projection.LanguageForEdit = _Language.Language
[0..1] I_SDDocumentItemLongTextID _LongTextID $projection.LongTextIDForEdit = _LongTextID.LongTextID

Annotations (8)

NameValueLevelField
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Sales Quotation Item - Text TP view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY SalesQuotation
KEY SalesQuotationItem
KEY Language SalesQuotationItemText Language Report Text Language
KEY LongTextID SalesQuotationItemText LongTextID Text ID
LongTextIDForEdit SalesQuotationItemText LongTextID Text ID
LanguageForEdit SalesQuotationItemText Language Report Text Language
LongText SalesQuotationItemText LongText Text Name
TextDeterminationProcedure I_SalesDocumentItemCategory TextDeterminationProcedure
TextDeterminationProcedureItem _TextDeterminationProcedItem TextDeterminationProcedureItem
SalesQuotationType I_SalesDocumentItemBasic SalesDocumentType Sales Doc. Type
OrganizationDivision I_SalesDocumentItemBasic OrganizationDivision Org. Division
SalesOrganization I_SalesDocumentItemBasic SalesOrganization Sales Organization
DistributionChannel I_SalesDocumentItemBasic DistributionChannel RefDistCh-Cust/Mat.
_Item _Item
_SalesQuotation _SalesQuotation
_Language _Language
_LongTextID _LongTextID

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 R_SalesQuotationItemTextTP.
-- 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 R_SalesQuotationItemTextTP AS
SELECT
  cast(SalesQuotationItemText.SalesDocument as sales_quotation preserving type) AS SalesQuotation,
  cast(SalesQuotationItemText.SalesDocumentItem as sales_quotation_item preserving type) AS SalesQuotationItem,
  SalesQuotationItemText.Language AS Language,
  SalesQuotationItemText.LongTextID AS LongTextID,
  SalesQuotationItemText.LongTextID AS LongTextIDForEdit,
  SalesQuotationItemText.Language AS LanguageForEdit,
  SalesQuotationItemText.LongText AS LongText,
  SalesDocumentItemCategory.TextDeterminationProcedure AS TextDeterminationProcedure,
  _TextDeterminationProcedItem.TextDeterminationProcedureItem AS TextDeterminationProcedureItem,
  SalesDocumentItemBasic.SalesDocumentType AS SalesQuotationType,
  SalesDocumentItemBasic.OrganizationDivision AS OrganizationDivision,
  SalesDocumentItemBasic.SalesOrganization AS SalesOrganization,
  SalesDocumentItemBasic.DistributionChannel AS DistributionChannel
FROM P_SalesDocumentItemText
INNER JOIN I_SalesDocumentItemBasic AS SalesDocumentItemBasic ON /* join condition not captured in parsed metadata */
INNER JOIN I_SalesDocumentItemCategory AS SalesDocumentItemCategory ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_TextDeterminationProcedItem AS _TextDeterminationProcedItem ON TextDeterminationProcedure = _TextDeterminationProcedItem.TextDeterminationProcedure AND LongTextID = _TextDeterminationProcedItem.LongTextID AND _TextDeterminationProcedItem.TextObjectCategory = 'VBBP'  -- association [0..*]
LEFT OUTER JOIN R_SalesQuotationTP AS _SalesQuotation ON SalesQuotation = _SalesQuotation.SalesQuotation  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON LanguageForEdit = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentItemLongTextID AS _LongTextID ON LongTextIDForEdit = _LongTextID.LongTextID  -- association [0..1]
;