P_RO_SAFTJournalEntry
GL Entry for RO SAFT (intermediary step)
P_RO_SAFTJournalEntry is a Consumption CDS View that provides data about "GL Entry for RO SAFT (intermediary step)" in SAP S/4HANA. It reads from 1 data source (P_RO_SAFTJournalEntryItem) and exposes 20 fields with key fields StatryRptCategory, StatryRptgEntity, StatryRptRunID, SourceLedger, CompanyCode.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RO_SAFTJournalEntryItem | P_RO_SAFTJournalEntryItem | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_AlternativeGLAccountIsUsed | saft_ro_alt_gl_account_flag | |
| P_VATRegistration | stceg |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PROSAFTJRNLENTRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | GL Entry for RO SAFT (intermediary step) | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptCategory | Item | StatryRptCategory | Report ID |
| KEY | StatryRptgEntity | Item | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptRunID | Item | StatryRptRunID | Report Run ID |
| KEY | SourceLedger | Item | SourceLedger | Source Ledger |
| KEY | CompanyCode | Item | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | Item | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | Item | AccountingDocument | Journal Entry |
| KEY | Ledger | Item | Ledger | Ledger |
| AccountingDocumentType | Item | AccountingDocumentType | Journal Entry Type | |
| RO_SAFTJournalTransDescription | Item | RO_SAFTJournalTransDescription | ||
| RO_SAFTJournalTransaction | Item | RO_SAFTJournalTransaction | ||
| RO_SAFTJournalTransactionType | Item | RO_SAFTJournalTransactionType | ||
| RO_SAFTSourceDocument | Item | RO_SAFTSourceDocument | ||
| PostingDate | Item | PostingDate | Posting Date for GR | |
| DocumentDate | Item | DocumentDate | Journal Entry Date | |
| AccountingDocumentCreationDate | Item | AccountingDocumentCreationDate | Journal Entry Date | |
| AccountingDocCreatedByUser | Item | AccountingDocCreatedByUser | User which created overhead document | |
| CustomerTaxID5 | ||||
| SupplierTaxID5 | ||||
| TransactionCode |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_RO_SAFTJournalEntry.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PROSAFTJRNLENTRY
-- Parameters: P_AlternativeGLAccountIsUsed : saft_ro_alt_gl_account_flag, P_VATRegistration : stceg
CREATE VIEW P_RO_SAFTJournalEntry AS
SELECT
Item.StatryRptCategory AS StatryRptCategory,
Item.StatryRptgEntity AS StatryRptgEntity,
Item.StatryRptRunID AS StatryRptRunID,
Item.SourceLedger AS SourceLedger,
Item.CompanyCode AS CompanyCode,
Item.FiscalYear AS FiscalYear,
Item.AccountingDocument AS AccountingDocument,
Item.Ledger AS Ledger,
Item.AccountingDocumentType AS AccountingDocumentType,
Item.RO_SAFTJournalTransDescription AS RO_SAFTJournalTransDescription,
Item.RO_SAFTJournalTransaction AS RO_SAFTJournalTransaction,
Item.RO_SAFTJournalTransactionType AS RO_SAFTJournalTransactionType,
Item.RO_SAFTSourceDocument AS RO_SAFTSourceDocument,
Item.PostingDate AS PostingDate,
Item.DocumentDate AS DocumentDate,
Item.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
Item.AccountingDocCreatedByUser AS AccountingDocCreatedByUser,
max(Item.CustomerTaxID5) AS CustomerTaxID5,
max(Item.SupplierTaxID5) AS SupplierTaxID5,
max(Item.TransactionCode) AS TransactionCode
FROM P_RO_SAFTJournalEntryItem
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA