P_SG_OperationalAcctgDocItem
P_SG_OperationalAcctgDocItem is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 24 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | I_OperationalAcctgDocItem | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | PSGOPACCTGDOCIT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | AccountingDocument | AccountingDocument | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | AccountingDocumentItem | AccountingDocumentItem | ||
| TaxCode | TaxCode | |||
| DebitCreditCode | DebitCreditCode | |||
| TransactionCode | _JournalEntry | TransactionCode | ||
| ReferenceDocumentType | _JournalEntry | ReferenceDocumentType | ||
| AccountingDocumentHeaderText | _JournalEntry | AccountingDocumentHeaderText | ||
| BankName | ||||
| TaxID1 | _HouseBank | TaxID1 | ||
| PlanningLevel | PlanningLevel | |||
| TransactionTypeDetermination | TransactionTypeDetermination | |||
| TaxType | TaxType | |||
| ProfitLossAccountType | ProfitLossAccountType | |||
| FinancialAccountType | FinancialAccountType | |||
| CompanyCodeCurrencyDetnMethod | CompanyCodeCurrencyDetnMethod | |||
| Product | Product | |||
| DocumentItemText | DocumentItemText | |||
| IsAutomaticallyCreated | IsAutomaticallyCreated | |||
| CompanyCodeCurrency | CompanyCodeCurrency | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | |||
| TransactionCurrency | TransactionCurrency | |||
| AmountInTransactionCurrency | AmountInTransactionCurrency |
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@AbapCatalog: {sqlViewName: 'PSGOPACCTGDOCIT', preserveKey: true, compiler.compareFilter: true}
@VDM: {private: true, viewType: #COMPOSITE}
@ClientHandling: {algorithm: #SESSION_VARIABLE}
define view P_SG_OperationalAcctgDocItem
as select from I_OperationalAcctgDocItem
{
//I_OperationalAcctgDocItem
key CompanyCode,
key AccountingDocument,
key FiscalYear,
key AccountingDocumentItem,
TaxCode,
DebitCreditCode,
_JournalEntry.TransactionCode,
_JournalEntry.ReferenceDocumentType,
_JournalEntry.AccountingDocumentHeaderText,
_HouseBank._Bank.BankName,
_HouseBank.TaxID1,
PlanningLevel,
TransactionTypeDetermination,
TaxType,
ProfitLossAccountType,
FinancialAccountType,
CompanyCodeCurrencyDetnMethod,
Product,
DocumentItemText,
IsAutomaticallyCreated,
CompanyCodeCurrency,
AmountInCompanyCodeCurrency,
TransactionCurrency,
AmountInTransactionCurrency
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BANK",
"I_HOUSEBANK",
"I_JOURNALENTRY",
"I_OPERATIONALACCTGDOCITEM"
],
"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