P_PaymentReceiptDocClass
Get doc class description for accounting document
P_PaymentReceiptDocClass is a Composite CDS View that provides data about "Get doc class description for accounting document" in SAP S/4HANA. It reads from 1 data source (I_AccountingDocumentType) and exposes 3 fields with key field AccountingDocumentType. Part of development package GLO_FIN_PAYMENT_RECEIPT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AccountingDocumentType | AccountingDocumentType | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRDOCCLASS | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.private | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountingDocumentType | I_AccountingDocumentType | AccountingDocumentType | |
| ODNDocumentClassName | ODNDocumentClassText | ODNDocumentClassName | ||
| AccountingDocumentTypeName | AccountingDocumentTypeText | AccountingDocumentTypeName |
@AbapCatalog.sqlViewName: 'PPRDOCCLASS'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@VDM.private: true
define view P_PaymentReceiptDocClass
with parameters
P_Language : sylangu
as select from I_AccountingDocumentType as AccountingDocumentType
left outer to one join I_AccountingDocumentTypeText as AccountingDocumentTypeText on AccountingDocumentType.AccountingDocumentType = AccountingDocumentTypeText.AccountingDocumentType
and AccountingDocumentTypeText.Language = :P_Language
left outer to one join I_DocTypeOfclDocClassAssgmt as DocTypeOfclDocClassAssgmt on Country = 'AR'
and DocTypeOfclDocClassAssgmt.AccountingDocumentType = AccountingDocumentType.AccountingDocumentType
left outer to one join I_ODNDocumentClassText as ODNDocumentClassText on CountryCode = 'AR'
and ODNDocumentClassText.ODNDocumentClass = DocTypeOfclDocClassAssgmt.ODNDocumentClass
and ODNDocumentClassText.Language = :P_Language
{
key AccountingDocumentType.AccountingDocumentType,
ODNDocumentClassText.ODNDocumentClassName,
AccountingDocumentTypeText.AccountingDocumentTypeName
}
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