I_StRpBillingWithRefAcctgDoc
Billing Documents With Reference Accounting Document
I_StRpBillingWithRefAcctgDoc is a Composite CDS View that provides data about "Billing Documents With Reference Accounting Document" in SAP S/4HANA. It reads from 1 data source (I_JournalEntry) and exposes 7 fields with key fields BillingDocument, SenderLogicalSystem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntry | _JournalEntry | left_outer |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISRBILLRACCDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Billing Documents With Reference Accounting Document | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | I_StRpBillingWithRefSDDocument | BillingDocument | |
| KEY | SenderLogicalSystem | I_StRpBillingWithRefSDDocument | SenderLogicalSystem | |
| ReferenceSDDocument | I_StRpBillingWithRefSDDocument | ReferenceSDDocument | ||
| AccountingDocument | I_JournalEntry | AccountingDocument | ||
| CompanyCode | I_JournalEntry | CompanyCode | ||
| FiscalYear | I_JournalEntry | FiscalYear | ||
| PostingDate | I_JournalEntry | PostingDate |
@AbapCatalog.sqlViewName: 'ISRBILLRACCDOC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@EndUserText.label: 'Billing Documents With Reference Accounting Document'
define view I_StRpBillingWithRefAcctgDoc as select distinct from I_StRpBillingWithRefSDDocument
//left outer join I_BillingDocument as _Billing on I_StRpBillingWithRefSDDocument.ReferenceSDDocument = _Billing.BillingDocument
left outer join I_JournalEntry as _JournalEntry on I_StRpBillingWithRefSDDocument.CompanyCode = _JournalEntry.CompanyCode
and ( I_StRpBillingWithRefSDDocument.ReferenceSDDocument = _JournalEntry.OriginalReferenceDocument
and ( _JournalEntry.OriginalReferenceDocument <> '') )
and _JournalEntry.AccountingDocumentCategory = ''
and I_StRpBillingWithRefSDDocument.SenderLogicalSystem = _JournalEntry.SenderLogicalSystem
{
key I_StRpBillingWithRefSDDocument.BillingDocument,
key I_StRpBillingWithRefSDDocument.SenderLogicalSystem,
I_StRpBillingWithRefSDDocument.ReferenceSDDocument,
_JournalEntry.AccountingDocument,
_JournalEntry.CompanyCode,
_JournalEntry.FiscalYear,
_JournalEntry.PostingDate
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_JOURNALENTRY",
"I_STRPBILLINGWITHREFSDDOCUMENT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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