P_RU_OneTimeAcctData1
P_RU_OneTimeAcctData1 is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_OneTimeAccountBP) and exposes 12 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OneTimeAccountBP | I_OneTimeAccountBP | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | PRUONETIMEACCT1 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | AccountingDocument | AccountingDocument | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | AccountingDocumentItem | AccountingDocumentItem | ||
| BusinessPartnerName1 | BusinessPartnerName1 | |||
| BusinessPartnerName2 | BusinessPartnerName2 | |||
| BusinessPartnerName3 | BusinessPartnerName3 | |||
| BusinessPartnerName4 | BusinessPartnerName4 | |||
| AddressID | AddressID | |||
| TaxID1 | TaxID1 | |||
| TaxID3 | TaxID3 | |||
| IsNaturalPerson | IsNaturalPerson |
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PRUONETIMEACCT1'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_RU_OneTimeAcctData1
as select from I_OneTimeAccountBP
{
key CompanyCode,
key AccountingDocument,
key FiscalYear,
key AccountingDocumentItem,
BusinessPartnerName1,
BusinessPartnerName2,
BusinessPartnerName3,
BusinessPartnerName4,
concat_with_space(concat_with_space(BusinessPartnerName1, BusinessPartnerName2, 1),
concat_with_space(BusinessPartnerName3, BusinessPartnerName4, 1),
1) as BusinessPartnerFullName,
AddressID,
TaxID1,
TaxID3,
cast( case length( TaxID1 )
when 12 then ''
else 'X'
end as firu_is_bp_org ) as BPIsOrganization,
cast( case length( TaxID1 )
when 12 then ''
else TaxID1
end as firu_partner_inn ) as RU_PartnerOrganizationINN,
cast( case length( TaxID1 )
when 12 then ''
else TaxID3
end as firu_partner_inn ) as RU_PartnerOrganizationKPP,
cast( case length( TaxID1 )
when 12 then TaxID1
else ''
end as firu_partner_pers_inn ) as RU_PartnerPersonINN,
IsNaturalPerson
}
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