R_SalesQuotationItemTextTP
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. Part of development package RAP_SD_SLS_QUT.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_SalesDocumentItemText | P_SalesDocumentItemText | from |
| I_SalesDocumentItemBasic | SalesDocumentItemBasic | inner |
| I_SalesDocumentItemCategory | SalesDocumentItemCategory | inner |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesQuotation | |||
| KEY | SalesQuotationItem | |||
| KEY | Language | SalesQuotationItemText | Language | |
| KEY | LongTextID | SalesQuotationItemText | LongTextID | |
| LongTextIDForEdit | SalesQuotationItemText | LongTextID | ||
| LanguageForEdit | SalesQuotationItemText | Language | ||
| LongText | SalesQuotationItemText | LongText | ||
| TextDeterminationProcedure | I_SalesDocumentItemCategory | TextDeterminationProcedure | ||
| TextDeterminationProcedureItem | _TextDeterminationProcedItem | TextDeterminationProcedureItem | ||
| SalesQuotationType | I_SalesDocumentItemBasic | SalesDocumentType | ||
| OrganizationDivision | I_SalesDocumentItemBasic | OrganizationDivision | ||
| SalesOrganization | I_SalesDocumentItemBasic | SalesOrganization | ||
| DistributionChannel | I_SalesDocumentItemBasic | DistributionChannel | ||
| _Item | _Item | |||
| _SalesQuotation | _SalesQuotation | |||
| _Language | _Language | |||
| _LongTextID | _LongTextID |
@VDM: {
lifecycle.contract.type: #SAP_INTERNAL_API,
viewType: #TRANSACTIONAL
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #L
}
}
@ObjectModel.semanticKey: ['SalesQuotation', 'SalesQuotationItem', 'Language', 'LongTextID']
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@EndUserText.label: 'Sales Quotation Item - Text TP'
define view entity R_SalesQuotationItemTextTP
as select from P_SalesDocumentItemText( P_SAPClient : $session.client ) as SalesQuotationItemText
inner join I_SalesDocumentItemBasic as SalesDocumentItemBasic on SalesDocumentItemBasic.SalesDocument = SalesQuotationItemText.SalesDocument
and SalesDocumentItemBasic.SalesDocumentItem = SalesQuotationItemText.SalesDocumentItem
and SalesDocumentItemBasic.SDDocumentCategory = 'B'
inner join I_SalesDocumentItemCategory as SalesDocumentItemCategory on SalesDocumentItemCategory.SalesDocumentItemCategory = SalesDocumentItemBasic.SalesDocumentItemCategory
association to parent R_SalesQuotationItemTP as _Item on $projection.SalesQuotation = _Item.SalesQuotation
and $projection.SalesQuotationItem = _Item.SalesQuotationItem
association [0..*] to I_TextDeterminationProcedItem as _TextDeterminationProcedItem on $projection.TextDeterminationProcedure = _TextDeterminationProcedItem.TextDeterminationProcedure
and $projection.LongTextID = _TextDeterminationProcedItem.LongTextID
and _TextDeterminationProcedItem.TextObjectCategory = 'VBBP'
association [1..1] to R_SalesQuotationTP as _SalesQuotation on $projection.SalesQuotation = _SalesQuotation.SalesQuotation
association [0..1] to I_Language as _Language on $projection.LanguageForEdit = _Language.Language
association [0..1] to I_SDDocumentItemLongTextID as _LongTextID on $projection.LongTextIDForEdit = _LongTextID.LongTextID
{
key cast(SalesQuotationItemText.SalesDocument as sales_quotation preserving type) as SalesQuotation,
key cast(SalesQuotationItemText.SalesDocumentItem as sales_quotation_item preserving type) as SalesQuotationItem,
key SalesQuotationItemText.Language,
key SalesQuotationItemText.LongTextID,
@ObjectModel.foreignKey.association: '_LongTextID'
SalesQuotationItemText.LongTextID as LongTextIDForEdit,
@ObjectModel.foreignKey.association: '_Language'
SalesQuotationItemText.Language as LanguageForEdit,
@ObjectModel.virtualElement: true
SalesQuotationItemText.LongText,
@Consumption.hidden: true
SalesDocumentItemCategory.TextDeterminationProcedure,
_TextDeterminationProcedItem.TextDeterminationProcedureItem as TextDeterminationProcedureItem,
// For Access control
@Consumption.hidden: true
SalesDocumentItemBasic.SalesDocumentType as SalesQuotationType,
@Consumption.hidden: true
SalesDocumentItemBasic.OrganizationDivision,
@Consumption.hidden: true
SalesDocumentItemBasic.SalesOrganization,
@Consumption.hidden: true
SalesDocumentItemBasic.DistributionChannel,
// Exposed associations
_Item,
_SalesQuotation,
_Language,
_LongTextID
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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