P_ARProcessFlowJournalEntryDoc
Journal Entry for AR process flow
P_ARProcessFlowJournalEntryDoc is a Consumption CDS View that provides data about "Journal Entry for AR process flow" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 67 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem. It has 3 associations to related views. Part of development package ODATA_PROCESS_FLOW_AR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | I_OperationalAcctgDocItem | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | $projection.Customer = _Customer.Customer |
| [1..1] | I_UserContactCard | _UserContactCard | $projection.accountingdoccreatedbyuser = _UserContactCard.ContactCardID |
| [0..1] | I_InternalOrder | _InternalOrder | $projection.OrderID = _InternalOrder.InternalOrder |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Journal Entry for AR process flow | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| DataAging.noAgingRestriction | true | view |
Fields (67)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | ||
| KEY | FiscalYear | FiscalYear | ||
| KEY | AccountingDocument | AccountingDocument | ||
| KEY | AccountingDocumentItem | AccountingDocumentItem | ||
| FinancialAccountType | FinancialAccountType | |||
| DebitCreditCode | DebitCreditCode | |||
| ReferenceDocumentType | ReferenceDocumentType | |||
| ReferenceDocument | OriginalReferenceDocument | |||
| BillingDocument | BillingDocument | |||
| PostingDate | PostingDate | |||
| NetDueDate | NetDueDate | |||
| TransactionCurrency | TransactionCurrency | |||
| AmountInTransactionCurrency | AmountInTransactionCurrency | |||
| CompanyCodeCurrency | CompanyCodeCurrency | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | |||
| ClearingDate | ClearingDate | |||
| ClearingDocFiscalYear | ClearingDocFiscalYear | |||
| ClearingJournalEntryFiscalYear | ClearingJournalEntryFiscalYear | |||
| ClearingAccountingDocument | ClearingAccountingDocument | |||
| ClearingJournalEntry | ClearingJournalEntry | |||
| AccountingDocCreatedByUser | _JournalEntry | AccountingDocCreatedByUser | ||
| DocumentDate | DocumentDate | |||
| FiscalPeriod | FiscalPeriod | |||
| FiscalPeriodName | ||||
| Customer | Customer | |||
| CustomerName | _Customer | CustomerName | ||
| Supplier | Supplier | |||
| AccountingDocumentType | AccountingDocumentType | |||
| AccountingDocumentTypeName | ||||
| Ledger | _JournalEntry | Ledger | ||
| IsLeadingLedger | ||||
| BusinessArea | BusinessArea | |||
| FunctionalArea | FunctionalArea | |||
| ProfitCenter | ProfitCenter | |||
| CostCenter | CostCenter | |||
| GLAccount | GLAccount | |||
| Segment | Segment | |||
| ControllingArea | ControllingArea | |||
| Plant | Plant | |||
| ValuationArea | ValuationArea | |||
| SalesOrder | SalesDocument | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _SalesDocument | _SalesDocument | |||
| _InternalOrder | _InternalOrder | |||
| _FixedAsset | _FixedAsset | |||
| FixedAsset | FixedAsset | |||
| MasterFixedAsset | MasterFixedAsset | |||
| OrderID | OrderID | |||
| ServiceDocument | ServiceDocument | |||
| ServiceDocumentType | ServiceDocumentType | |||
| CompanyCodeName | _CompanyCode | CompanyCodeName | ||
| AuthorizationGroup | _GLAccountInCompanyCode | AuthorizationGroup | ||
| SupplierFinsAuthorizationGrp | _Supplier | AuthorizationGroup | ||
| CustomerFinsAuthorizationGrp | _Customer | AuthorizationGroup | ||
| AcctgDocTypeAuthorizationGroup | _AccountingDocumentType | AuthorizationGroup | ||
| SalesOrderType | _SalesDocument | SalesOrderType | ||
| OrderType | _InternalOrder | OrderType | ||
| AssetClass | _FixedAsset | AssetClass | ||
| _UserContactCard | _UserContactCard | |||
| _CompanyCode | _CompanyCode | |||
| _Plant | _Plant | |||
| _SalesDoc | _SalesDoc | |||
| _ServiceDocument | _ServiceDocument | |||
| _ServiceDocumentType | _ServiceDocumentType |
@VDM.viewType: #CONSUMPTION
@VDM.private: true
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.privilegedAssociations: [ '_UserContactCard']
@EndUserText.label: 'Journal Entry for AR process flow'
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@AccessControl.personalData.blocking: #REQUIRED
@DataAging.noAgingRestriction: true
define view entity P_ARProcessFlowJournalEntryDoc
as select from I_OperationalAcctgDocItem
association [0..1] to I_Customer as _Customer on $projection.Customer = _Customer.Customer
association [1..1] to I_UserContactCard as _UserContactCard on $projection.accountingdoccreatedbyuser = _UserContactCard.ContactCardID
association [0..1] to I_InternalOrder as _InternalOrder on $projection.OrderID = _InternalOrder.InternalOrder
{
@ObjectModel.text.element: ['CompanyCodeName']
key CompanyCode,
key FiscalYear,
key AccountingDocument,
key AccountingDocumentItem,
FinancialAccountType,
DebitCreditCode,
ReferenceDocumentType,
OriginalReferenceDocument as ReferenceDocument,
BillingDocument,
PostingDate,
NetDueDate,
TransactionCurrency,
@Semantics.amount.currencyCode: 'TransactionCurrency'
AmountInTransactionCurrency,
CompanyCodeCurrency,
@Semantics: { amount : {currencyCode: 'CompanyCodeCurrency'} }
AmountInCompanyCodeCurrency,
ClearingDate,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'ClearingJournalEntryFiscalYear'
ClearingDocFiscalYear,
ClearingJournalEntryFiscalYear,
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'ClearingJournalEntry'
ClearingAccountingDocument,
ClearingJournalEntry,
_JournalEntry.AccountingDocCreatedByUser,
DocumentDate,
FiscalPeriod,
_FiscalPeriod._Text[1:Language = $session.system_language].FiscalPeriodName,
Customer,
_Customer.CustomerName,
Supplier,
AccountingDocumentType,
_AccountingDocumentType._Text[1:Language = $session.system_language].AccountingDocumentTypeName,
_JournalEntry.Ledger,
_JournalEntry._Ledger.IsLeadingLedger,
BusinessArea,
FunctionalArea,
ProfitCenter,
CostCenter,
GLAccount,
Segment,
ControllingArea,
Plant,
ValuationArea,
SalesDocument as SalesOrder,
_GLAccountInCompanyCode,
_Supplier,
_Customer,
_AccountingDocumentType,
_SalesDocument,
_InternalOrder,
_FixedAsset,
FixedAsset,
MasterFixedAsset,
OrderID,
ServiceDocument,
ServiceDocumentType,
@Semantics.text: true
_CompanyCode.CompanyCodeName as CompanyCodeName,
//Auth
_GLAccountInCompanyCode.AuthorizationGroup,
_Supplier.AuthorizationGroup as SupplierFinsAuthorizationGrp,
_Customer.AuthorizationGroup as CustomerFinsAuthorizationGrp,
_AccountingDocumentType.AuthorizationGroup as AcctgDocTypeAuthorizationGroup,
_SalesDocument.SalesOrderType,
_InternalOrder.OrderType,
_FixedAsset.AssetClass,
_UserContactCard,
_CompanyCode,
_Plant,
_SalesDoc,
_ServiceDocument,
_ServiceDocumentType
}
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