FISVD_GL_DOCNR_GAP_RESULT
Gap start and end number with date
FISVD_GL_DOCNR_GAP_RESULT is a CDS View that provides data about "Gap start and end number with date" in SAP S/4HANA. It reads from 5 data sources (FISVD_GL_DOCNR_GAP_CONVERTBASE, FISVD_GL_DOCNR_GAP_CONVERTBASE, FISVD_GL_DOCNR_GAP_MERGESTART, FISVD_GL_DOCNR_GAP_MERGESTART, FISVD_GL_DOCNR_GAP_SUMFLAG) and exposes 31 fields.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| FISVD_GL_DOCNR_GAP_CONVERTBASE | cb | inner |
| FISVD_GL_DOCNR_GAP_CONVERTBASE | cb | inner |
| FISVD_GL_DOCNR_GAP_MERGESTART | ms | from |
| FISVD_GL_DOCNR_GAP_MERGESTART | ms | union_all |
| FISVD_GL_DOCNR_GAP_SUMFLAG | sf | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_bukrs | abap.char( 4 ) | |
| P_gjahr | abap.numc( 4 ) |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FISV_GLGAPRESULT | view | |
| EndUserText.label | Gap start and end number with date | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| mandt | gs | mandt | Editing Client | |
| bukrs | gs | bukrs | Value | |
| rldnr | gs | rldnr | Ledger (Compat.) | |
| range | gs | range | Range | |
| dbelnr | ||||
| yearfrom | gs | yearfrom | FY from | |
| yearto | gs | yearto | ||
| gjahr | FISVD_GL_DOCNR_GAP_CONVERTBASE | gjahr | Settlement Year | |
| cpudt | FISVD_GL_DOCNR_GAP_CONVERTBASE | cpudt | Imported On | |
| gaptype | ||||
| mandt | Editing Client | |||
| bukrs | FISVD_GL_DOCNR_GAP_SUMFLAG | bukrs | Value | |
| rldnr | FISVD_GL_DOCNR_GAP_SUMFLAG | rldnr | Ledger (Compat.) | |
| range | FISVD_GL_DOCNR_GAP_SUMFLAG | range | Range | |
| dbelnr | FISVD_GL_DOCNR_GAP_SUMFLAG | dbelnr | ||
| yearfrom | FISVD_GL_DOCNR_GAP_SUMFLAG | yearfrom | FY from | |
| yearto | FISVD_GL_DOCNR_GAP_SUMFLAG | yearto | ||
| gjahr | FISVD_GL_DOCNR_GAP_CONVERTBASE | gjahr | Settlement Year | |
| cpudt | FISVD_GL_DOCNR_GAP_CONVERTBASE | cpudt | Imported On | |
| gaptype | ||||
| mandt | Editing Client | |||
| bukrs | FISVD_GL_DOCNR_GAP_MERGESTART | bukrs | Value | |
| rldnr | FISVD_GL_DOCNR_GAP_MERGESTART | rldnr | Ledger (Compat.) | |
| range | FISVD_GL_DOCNR_GAP_MERGESTART | range | Range | |
| dbelnr | ||||
| yearfrom | FISVD_GL_DOCNR_GAP_MERGESTART | yearfrom | FY from | |
| yearto | FISVD_GL_DOCNR_GAP_MERGESTART | yearto | ||
| gjahr | Settlement Year | |||
| cpudt | FISVD_GL_DOCNR_GAP_MERGESTART | cpudt | Imported On | |
| gaptype | ||||
| gaptypetext |
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 FISVD_GL_DOCNR_GAP_RESULT.
-- 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: FISV_GLGAPRESULT
-- Parameters: P_bukrs : abap.char( 4 ), P_gjahr : abap.numc( 4 )
CREATE VIEW FISVD_GL_DOCNR_GAP_RESULT AS
SELECT
gs.mandt AS mandt,
gs.bukrs AS bukrs,
gs.rldnr AS rldnr,
gs.range AS range,
gs.dbelnr + 1 AS dbelnr,
gs.yearfrom AS yearfrom,
gs.yearto AS yearto,
cb.gjahr AS gjahr,
cb.cpudt AS cpudt,
cast('O' as abap.char(1)) AS gaptype,
cast('' as val_text) AS gaptypetext
FROM FISVD_GL_DOCNR_GAP_MERGESTART AS ms
INNER JOIN FISVD_GL_DOCNR_GAP_CONVERTBASE AS cb ON /* join condition not captured in parsed metadata */
INNER JOIN FISVD_GL_DOCNR_GAP_SUMFLAG AS sf ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): FISVD_GL_DOCNR_GAP_MERGESTART
;
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