Fisvid_Docnr_Gap_Base

DDL: FISVD_DOCNR_GAP_BASE SQL: FISV_GAPBASE Type: view

Base Data from BKPF

Fisvid_Docnr_Gap_Base is a CDS View that provides data about "Base Data from BKPF" in SAP S/4HANA. It reads from 2 data sources (bkpf, Fisvd_Docnr_Gap_Rangeblock) and exposes 8 fields.

Data Sources (2)

SourceAliasJoin Type
bkpf bkpf from
Fisvd_Docnr_Gap_Rangeblock rangeblock inner

Parameters (2)

NameTypeDefault
P_bukrs abap.char( 4 )
P_gjahr abap.numc( 4 )

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName FISV_GAPBASE view
EndUserText.label Base Data from BKPF view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
mandt bkpf mandt Editing Client
bukrs bkpf bukrs Value
range Fisvd_Docnr_Gap_Rangeblock nrrangenr Number Range
gjahr bkpf gjahr Settlement Year
yearfrom Fisvd_Docnr_Gap_Rangeblock yearfrom FY from
yearto Fisvd_Docnr_Gap_Rangeblock yearto
cpudt bkpf cpudt Imported On
flag

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 Fisvid_Docnr_Gap_Base.
-- 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_GAPBASE
-- Parameters: P_bukrs : abap.char( 4 ), P_gjahr : abap.numc( 4 )

CREATE VIEW Fisvid_Docnr_Gap_Base AS
SELECT
  bkpf.mandt AS mandt,
  bkpf.bukrs AS bukrs,
  rangeblock.nrrangenr AS range,
  bkpf.gjahr AS gjahr,
  rangeblock.yearfrom AS yearfrom,
  rangeblock.yearto AS yearto,
  bkpf.cpudt AS cpudt,
  cast(1 as abap.int2) AS flag
FROM bkpf
INNER JOIN Fisvd_Docnr_Gap_Rangeblock AS rangeblock ON /* join condition not captured in parsed metadata */
;