P_RO_SAFTOplAcctgDocItmBase
RO SAFT bseg
P_RO_SAFTOplAcctgDocItmBase is a Consumption CDS View that provides data about "RO SAFT bseg" in SAP S/4HANA. It reads from 1 data source (I_OperationalAcctgDocItem) and exposes 44 fields with key fields CompanyCode, FiscalYear, AccountingDocument, AccountingDocumentItem. Part of development package GLO_FIN_IS_SAFT_RO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_OperationalAcctgDocItem | I_OperationalAcctgDocItem | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_AlternativeGLAccountIsUsed | saft_ro_alt_gl_account_flag |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PROSAFTOADIB | 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 bseg | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | AccountingDocumentItem | AccountingDocumentItem | Posting View Item | |
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| Product | Product | Product Sold | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| TransactionTypeDetermination | TransactionTypeDetermination | Transaction Key | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| IsNegativePosting | IsNegativePosting | Negative Posting | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| OriginalTaxBaseAmount | OriginalTaxBaseAmount | |||
| AmountInTransactionCurrency | AmountInTransactionCurrency | Pt Crcy Amt | ||
| OriglTaxBaseAmountInCoCodeCrcy | OriglTaxBaseAmountInCoCodeCrcy | |||
| AmountInCompanyCodeCurrency | AmountInCompanyCodeCurrency | Local Crcy Amt | ||
| DocumentItemText | DocumentItemText | Text | ||
| Quantity | Quantity | Value | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| CountryChartOfAccounts | _CompanyCode | CountryChartOfAccounts | Chart of Accts | |
| AlternativeGLAccount | _GLAccountInCompanyCode | AlternativeGLAccount | Group Account | |
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| SpecialGLCode | SpecialGLCode | Special G/L Ind | ||
| AccountingDocumentItemType | AccountingDocumentItemType | Line Item ID | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| TaxCode | TaxCode | Tax Code | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| _ProfitCenterText | _ProfitCenterText | |||
| CostCenter | CostCenter | Cost Center | ||
| _CostCenterText | _CostCenterText | |||
| Segment | Segment | Segment number | ||
| _SegmentText | _SegmentText | |||
| WBSElementInternalID | WBSElementInternalID | WBS Internal ID | ||
| _WBSElementBasicData | _WBSElementBasicData | |||
| _WBSElementBasicDataText | _WBSElementBasicDataText | |||
| OrderID | OrderID | Order ID | ||
| _Order | _Order |
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_SAFTOplAcctgDocItmBase.
-- 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: PROSAFTOADIB
-- Parameters: P_AlternativeGLAccountIsUsed : saft_ro_alt_gl_account_flag
CREATE VIEW P_RO_SAFTOplAcctgDocItmBase AS
SELECT
CompanyCode,
FiscalYear,
AccountingDocument,
AccountingDocumentItem,
AccountingDocumentType,
Product,
BaseUnit,
TransactionTypeDetermination,
PostingDate,
CompanyCodeCurrency,
TransactionCurrency,
IsNegativePosting,
DebitCreditCode,
OriginalTaxBaseAmount,
AmountInTransactionCurrency,
OriglTaxBaseAmountInCoCodeCrcy,
AmountInCompanyCodeCurrency,
DocumentItemText,
Quantity,
ChartOfAccounts,
GLAccount,
_CompanyCode.CountryChartOfAccounts AS CountryChartOfAccounts,
_GLAccountInCompanyCode.AlternativeGLAccount AS AlternativeGLAccount,
FinancialAccountType,
SpecialGLCode,
AccountingDocumentItemType,
VATRegistration,
Customer,
Supplier,
PaymentTerms,
PaymentMethod,
TaxCode,
ControllingArea,
ProfitCenter,
CostCenter,
Segment,
WBSElementInternalID,
OrderID
FROM I_OperationalAcctgDocItem
;
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