R_BillingDocumentTextTP
Billing Document - Text TP
R_BillingDocumentTextTP is a Transactional CDS View that provides data about "Billing Document - Text TP" in SAP S/4HANA. It reads from 3 data sources (I_BillingDocument, I_BillingDocumentType_2, P_BillingDocumentText) and exposes 11 fields with key fields BillingDocument, Language, LongTextID. It has 3 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocument | BillingDocument | inner |
| I_BillingDocumentType_2 | BillingDocumentType | inner |
| P_BillingDocumentText | P_BillingDocumentText | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.LanguageForEdit = _Language.Language |
| [0..1] | I_SDDocumentLongTextID | _LongTextID | $projection.LongTextIDForEdit = _LongTextID.LongTextID |
| [0..1] | I_TextDeterminationProcedItem | _TextDeterminationProcedItem | $projection.BillgDocTextDetnProcedure = _TextDeterminationProcedItem.TextDeterminationProcedure and $projection.LongTextID = _TextDeterminationProcedItem.LongTextID and _TextDeterminationProcedItem.TextObjectCategory = 'VBBK' and _TextDeterminationProcedItem.TextDeterminationProcedObject = 'C' |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| EndUserText.label | Billing Document - Text TP | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | Text | BillingDocument | SD Document |
| KEY | Language | Text | Language | Report Text Language |
| KEY | LongTextID | Text | LongTextID | Text ID |
| LanguageForEdit | Text | Language | Report Text Language | |
| LongTextIDForEdit | Text | LongTextID | Text ID | |
| LongText | Text | LongText | Text Name | |
| BillgDocTextDetnProcedure | I_BillingDocumentType_2 | BillgDocTextDetnProcedure | ||
| TextDeterminationProcedureItem | _TextDeterminationProcedItem | TextDeterminationProcedureItem | ||
| _BillingDocument | _BillingDocument | |||
| _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_BillingDocumentTextTP.
-- 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_BillingDocumentTextTP AS
SELECT
Text.BillingDocument AS BillingDocument,
Text.Language AS Language,
Text.LongTextID AS LongTextID,
Text.Language AS LanguageForEdit,
Text.LongTextID AS LongTextIDForEdit,
Text.LongText AS LongText,
BillingDocumentType.BillgDocTextDetnProcedure AS BillgDocTextDetnProcedure,
_TextDeterminationProcedItem.TextDeterminationProcedureItem AS TextDeterminationProcedureItem
FROM P_BillingDocumentText
INNER JOIN I_BillingDocument AS BillingDocument ON /* join condition not captured in parsed metadata */
INNER JOIN I_BillingDocumentType_2 AS BillingDocumentType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Language AS _Language ON LanguageForEdit = _Language.Language -- association [0..1]
LEFT OUTER JOIN I_SDDocumentLongTextID AS _LongTextID ON LongTextIDForEdit = _LongTextID.LongTextID -- association [0..1]
LEFT OUTER JOIN I_TextDeterminationProcedItem AS _TextDeterminationProcedItem ON BillgDocTextDetnProcedure = _TextDeterminationProcedItem.TextDeterminationProcedure AND LongTextID = _TextDeterminationProcedItem.LongTextID AND _TextDeterminationProcedItem.TextObjectCategory = 'VBBK' AND _TextDeterminationProcedItem.TextDeterminationProcedObject = 'C' -- association [0..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