P_RO_SAFTJournalEntryItemBase
RO SAFT acdoca
P_RO_SAFTJournalEntryItemBase is a Consumption CDS View that provides data about "RO SAFT acdoca" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 57 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | I_JournalEntryItem | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_AlternativeGLAccountIsUsed | saft_ro_alt_gl_account_flag |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PROSAFTJRNENITMB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | RO SAFT acdoca | view |
Fields (57)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | SourceLedger | ||
| KEY | CompanyCode | CompanyCode | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | AccountingDocument | AccountingDocument | ||
| KEY | LedgerGLLineItem | LedgerGLLineItem | ||
| KEY | Ledger | Ledger | ||
| AccountingDocumentCategory | AccountingDocumentCategory | |||
| AccountingDocumentItem | AccountingDocumentItem | |||
| FinancialAccountType | FinancialAccountType | |||
| Customer | Customer | |||
| Supplier | Supplier | |||
| DebitCreditCode | DebitCreditCode | |||
| Product | Product | |||
| Plant | Plant | |||
| TaxCode | TaxCode | |||
| TaxCountry | TaxCountry | |||
| ChartOfAccounts | ChartOfAccounts | |||
| GLAccount | GLAccount | |||
| GLAccountType | GLAccountType | |||
| CountryChartOfAccounts | _CompanyCode | CountryChartOfAccounts | ||
| AlternativeGLAccount | _GLAccountInCompanyCode | AlternativeGLAccount | ||
| PostingDate | PostingDate | |||
| DocumentDate | DocumentDate | |||
| AccountingDocumentCreationDate | _JournalEntry | AccountingDocumentCreationDate | ||
| AccountingDocCreatedByUser | _JournalEntry | AccountingDocCreatedByUser | ||
| AccountingDocumentType | AccountingDocumentType | |||
| ValueDate | ValueDate | |||
| DocumentItemText | DocumentItemText | |||
| BaseUnit | BaseUnit | |||
| ControllingArea | ControllingArea | |||
| ProfitCenter | ProfitCenter | |||
| _ProfitCenterTxt | _ProfitCenterTxt | |||
| Segment | Segment | |||
| _SegmentText | _SegmentText | |||
| CostCenter | CostCenter | |||
| _CostCenterTxt | _CostCenterTxt | |||
| OrderID | OrderID | |||
| _Order | _Order | |||
| WBSElement | WBSElement | |||
| WBSElementInternalID | WBSElementInternalID | |||
| _WBSElementBasicDataText | _WBSElementBasicDataText | |||
| TransactionTypeDetermination | TransactionTypeDetermination | |||
| _AccountingDocumentTypeText | _AccountingDocumentTypeText | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | |||
| CompanyCodeCurrency | CompanyCodeCurrency | |||
| AmountInTransactionCurrency | AmountInTransactionCurrency | |||
| TransactionCurrency | TransactionCurrency | |||
| LogicalSystem | LogicalSystem | |||
| Quantity | Quantity | |||
| ReferenceQuantity | ReferenceQuantity | |||
| ReferenceQuantityUnit | ReferenceQuantityUnit | |||
| SpecialGLCode | SpecialGLCode | |||
| DebitAmountInCoCodeCrcy | DebitAmountInCoCodeCrcy | |||
| CreditAmountInCoCodeCrcy | CreditAmountInCoCodeCrcy | |||
| _JournalEntry | _JournalEntry |
@AbapCatalog.sqlViewName: 'PROSAFTJRNENITMB'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #CONSUMPTION
@VDM.private:true
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #BLOCKED_DATA_INCLUDED
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'RO SAFT acdoca'
define view P_RO_SAFTJournalEntryItemBase
with parameters
P_AlternativeGLAccountIsUsed : saft_ro_alt_gl_account_flag
as select from I_JournalEntryItem
{
key SourceLedger,
key CompanyCode,
key FiscalYear,
key AccountingDocument,
key LedgerGLLineItem,
key Ledger,
AccountingDocumentCategory,
AccountingDocumentItem,
FinancialAccountType,
Customer,
Supplier,
DebitCreditCode,
Product,
Plant,
TaxCode,
TaxCountry,
ChartOfAccounts,
case $parameters.P_AlternativeGLAccountIsUsed
when 'X' then _CompanyCode.CountryChartOfAccounts
else ChartOfAccounts
end as ActiveChartOfAccounts,
GLAccount,
case $parameters.P_AlternativeGLAccountIsUsed
when 'X' then _GLAccountInCompanyCode.AlternativeGLAccount
else GLAccount
end as ActiveGLAccount,
GLAccountType,
_CompanyCode.CountryChartOfAccounts,
_GLAccountInCompanyCode.AlternativeGLAccount,
PostingDate,
DocumentDate,
_JournalEntry.AccountingDocumentCreationDate,
_JournalEntry.AccountingDocCreatedByUser,
AccountingDocumentType,
ValueDate,
DocumentItemText,
BaseUnit,
ControllingArea,
ProfitCenter,
_ProfitCenterTxt,
Segment,
_SegmentText,
CostCenter,
_CostCenterTxt,
OrderID,
_Order,
WBSElement,
WBSElementInternalID,
_WBSElementBasicDataText,
TransactionTypeDetermination,
_AccountingDocumentTypeText,
_Customer,
_Supplier,
AmountInCompanyCodeCurrency,
@Semantics.currencyCode:true
CompanyCodeCurrency,
AmountInTransactionCurrency,
@Semantics.currencyCode:true
TransactionCurrency,
LogicalSystem,
Quantity,
ReferenceQuantity,
ReferenceQuantityUnit,
SpecialGLCode,
DebitAmountInCoCodeCrcy,
CreditAmountInCoCodeCrcy,
_JournalEntry
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_GLACCOUNTINCOMPANYCODE",
"I_JOURNALENTRY",
"I_JOURNALENTRYITEM"
],
"ASSOCIATED":
[
"I_ACCOUNTINGDOCUMENTTYPETEXT",
"I_COSTCENTERTEXT",
"I_CUSTOMER",
"I_JOURNALENTRY",
"I_ORDER",
"I_PROFITCENTERTEXT",
"I_SEGMENTTEXT",
"I_SUPPLIER",
"I_WBSELEMENTBASICDATA"
],
"BASE":
[
"I_JOURNALENTRYITEM"
],
"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