ICA_BSEG_ENTRY_VIEW_3SL
Example: Operational Account Doc Item
ICA_BSEG_ENTRY_VIEW_3SL is a CDS View that provides data about "Example: Operational Account Doc Item" in SAP S/4HANA. It reads from 2 data sources (ICA_MatchingOplAcctgDocItem, ICA_FiscalCalendarDate) and exposes 54 fields. Part of development package FIN_ICA_MATCH.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ICA_MatchingOplAcctgDocItem | bseg | from |
| ICA_FiscalCalendarDate | finsc_fisc_date | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Example: Operational Account Doc Item | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (54)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| RCLNT | ||||
| method_id | ICA_MatchingOplAcctgDocItem | MatchingMethodID | ||
| DOCNR | ||||
| DOCLN | ||||
| GRREF | ||||
| PSTAT | ||||
| CSTAT | ||||
| DUE_DATE | ||||
| rbukrs | ICA_MatchingOplAcctgDocItem | CompanyCode | Receiver Company Code | |
| ref_belnr | ICA_MatchingOplAcctgDocItem | AccountingDocument | Journal Entry | |
| gjahr | ICA_MatchingOplAcctgDocItem | FiscalYear | G/L Fiscal Year | |
| ref_docln | ||||
| ryear | ICA_FiscalCalendarDate | fiscal_year | Tax Item Fiscal Year | |
| poper | ICA_FiscalCalendarDate | fiscal_period | Posting Period | |
| fiscyearper | ICA_FiscalCalendarDate | fiscal_year_period | Fiscal Year Period | |
| periv | ICA_FiscalCalendarDate | fiscal_year_variant | FY Variant | |
| xopvw | ICA_MatchingOplAcctgDocItem | IsOpenItemManaged | Open Item Management | |
| augdt | ICA_MatchingOplAcctgDocItem | ClearingDate | Clearing Date | |
| augbl | ICA_MatchingOplAcctgDocItem | ClearingJournalEntry | Clrng doc. | |
| auggj | ICA_MatchingOplAcctgDocItem | ClearingJournalEntryFiscalYear | Fiscal Year of Clearing Journal Entry | |
| bschl | ICA_MatchingOplAcctgDocItem | PostingKey | Posting Key | |
| koart | ICA_MatchingOplAcctgDocItem | FinancialAccountType | Fin. Account Type | |
| umskz | ICA_MatchingOplAcctgDocItem | SpecialGLCode | Special G/L Ind | |
| rwcur | ICA_MatchingOplAcctgDocItem | TransactionCurrency | Transaction Currency | |
| AmountInTransactionCurrencyendaswsl | ||||
| rhcur | ICA_MatchingOplAcctgDocItem | CompanyCodeCurrency | Local Currency | |
| AmountInCompanyCodeCurrencyendashsl | ||||
| rfccur | ICA_MatchingOplAcctgDocItem | FunctionalCurrency | Functional Currency | |
| AmountInFunctionalCurrencyendasfcsl | ||||
| zuonr | ICA_MatchingOplAcctgDocItem | AssignmentReference | Assignment Reference | |
| sgtxt | ICA_MatchingOplAcctgDocItem | DocumentItemText | Text | |
| rcomp | ICA_MatchingOplAcctgDocItem | Company | Owner | |
| rassc | ICA_MatchingOplAcctgDocItem | PartnerCompany | Trading Partner | |
| racct | ICA_MatchingOplAcctgDocItem | GLAccount | General Ledger | |
| lracct | ICA_MatchingOplAcctgDocItem | OperationalGLAccount | Operational G/L Acct | |
| kunnr | ICA_MatchingOplAcctgDocItem | Customer | Sold-to Party | |
| lifnr | ICA_MatchingOplAcctgDocItem | Supplier | Supplier | |
| awtyp | ICA_MatchingOplAcctgDocItem | ReferenceDocumentType | Reference Document Type | |
| awkey | ICA_MatchingOplAcctgDocItem | OriginalReferenceDocument | Reference Key | |
| awsys | ICA_MatchingOplAcctgDocItem | ReferenceDocumentLogicalSystem | Ref. Doc. Lgcl Syst. | |
| budat | ICA_MatchingOplAcctgDocItem | PostingDate | Posting Date for GR | |
| bldat | ICA_MatchingOplAcctgDocItem | DocumentDate | Journal Entry Date | |
| blart | ICA_MatchingOplAcctgDocItem | AccountingDocumentType | Journal Entry Type | |
| xblnr | ICA_MatchingOplAcctgDocItem | DocumentReferenceID | Reference | |
| bktxt | ICA_MatchingOplAcctgDocItem | AccountingDocumentHeaderText | Doc.Header Text | |
| xref1_hd | ICA_MatchingOplAcctgDocItem | Reference1InDocumentHeader | Reference 1 | |
| xref2_hd | ICA_MatchingOplAcctgDocItem | Reference2InDocumentHeader | Reference 2 | |
| usnam | ICA_MatchingOplAcctgDocItem | AccountingDocCreatedByUser | User which created overhead document | |
| timestamp | ICA_MatchingOplAcctgDocItem | Timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| aedat | ICA_MatchingOplAcctgDocItem | LastManualChangeDate | Manual Change Date | |
| bvorg | ICA_MatchingOplAcctgDocItem | IntercompanyTransaction | Intercompany Transaction | |
| xreversing | ICA_MatchingOplAcctgDocItem | IsReversal | Reversal doc. | |
| xreversed | ICA_MatchingOplAcctgDocItem | IsReversed | Reversed? | |
| bstat | ICA_MatchingOplAcctgDocItem | AccountingDocumentCategory | Journal Entry Category |
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 ICA_BSEG_ENTRY_VIEW_3SL.
-- 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.
CREATE VIEW ICA_BSEG_ENTRY_VIEW_3SL AS
SELECT
$session.client AS RCLNT,
bseg.MatchingMethodID AS method_id,
cast ('0000000000' as ica_docnr) AS DOCNR,
cast (0 as ica_docln) AS DOCLN,
cast ('000000000000' as ica_grref) AS GRREF,
cast ('00' as ica_pstat) AS PSTAT,
cast ('' as ica_cstat) AS CSTAT,
cast ('00000000' as ica_due_date) AS DUE_DATE,
bseg.CompanyCode AS rbukrs,
bseg.AccountingDocument AS ref_belnr,
bseg.FiscalYear AS gjahr,
cast(concat('000', bseg.AccountingDocumentItem) as abap.char( 6 )) AS ref_docln,
finsc_fisc_date.fiscal_year AS ryear,
finsc_fisc_date.fiscal_period AS poper,
finsc_fisc_date.fiscal_year_period AS fiscyearper,
finsc_fisc_date.fiscal_year_variant AS periv,
bseg.IsOpenItemManaged AS xopvw,
bseg.ClearingDate AS augdt,
bseg.ClearingJournalEntry AS augbl,
bseg.ClearingJournalEntryFiscalYear AS auggj,
bseg.PostingKey AS bschl,
bseg.FinancialAccountType AS koart,
bseg.SpecialGLCode AS umskz,
bseg.TransactionCurrency AS rwcur,
case when bseg.DebitCreditCode = 'H' then -bseg.AmountInTransactionCurrency else bseg.AmountInTransactionCurrency end as wsl AS AmountInTransactionCurrencyendaswsl,
bseg.CompanyCodeCurrency AS rhcur,
case when bseg.DebitCreditCode = 'H' then -bseg.AmountInCompanyCodeCurrency else bseg.AmountInCompanyCodeCurrency end as hsl AS AmountInCompanyCodeCurrencyendashsl,
bseg.FunctionalCurrency AS rfccur,
case when bseg.DebitCreditCode = 'H' then -bseg.AmountInFunctionalCurrency else bseg.AmountInFunctionalCurrency end as fcsl AS AmountInFunctionalCurrencyendasfcsl,
bseg.AssignmentReference AS zuonr,
bseg.DocumentItemText AS sgtxt,
bseg.Company AS rcomp,
bseg.PartnerCompany AS rassc,
bseg.GLAccount AS racct,
bseg.OperationalGLAccount AS lracct,
bseg.Customer AS kunnr,
bseg.Supplier AS lifnr,
bseg.ReferenceDocumentType AS awtyp,
bseg.OriginalReferenceDocument AS awkey,
bseg.ReferenceDocumentLogicalSystem AS awsys,
bseg.PostingDate AS budat,
bseg.DocumentDate AS bldat,
bseg.AccountingDocumentType AS blart,
bseg.DocumentReferenceID AS xblnr,
bseg.AccountingDocumentHeaderText AS bktxt,
bseg.Reference1InDocumentHeader AS xref1_hd,
bseg.Reference2InDocumentHeader AS xref2_hd,
bseg.AccountingDocCreatedByUser AS usnam,
bseg.Timestamp AS timestamp,
bseg.LastManualChangeDate AS aedat,
bseg.IntercompanyTransaction AS bvorg,
bseg.IsReversal AS xreversing,
bseg.IsReversed AS xreversed,
bseg.AccountingDocumentCategory AS bstat
FROM ICA_MatchingOplAcctgDocItem AS bseg
INNER JOIN ICA_FiscalCalendarDate AS finsc_fisc_date ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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