ICA_BSEG_ENTRY_VIEW

DDL: ICA_BSEG_ENTRY_VIEW SQL: ICABSEGEV Type: view

ICA: Entry View Based on BSEG

ICA_BSEG_ENTRY_VIEW is a CDS View that provides data about "ICA: Entry View Based on BSEG" in SAP S/4HANA. It reads from 4 data sources (bkpf, bseg, finsc_fisc_date, t001) and exposes 51 fields.

Data Sources (4)

SourceAliasJoin Type
bkpf bkpf inner
bseg bseg from
finsc_fisc_date finsc_fisc_date inner
t001 t001 inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName ICABSEGEV view
EndUserText.label ICA: Entry View Based on BSEG view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
AbapCatalog.compiler.compareFilter true view

Fields (51)

KeyFieldSource TableSource FieldDescription
RCLNT bseg mandt Editing Client
method_id
DOCNR
DOCLN
GRREF
PSTAT
CSTAT
DUE_DATE
rbukrs bseg bukrs Value
ref_belnr bseg belnr SD Document
gjahr bseg gjahr Settlement Year
ref_docln
ryear finsc_fisc_date fiscal_year Tax Item Fiscal Year
poper finsc_fisc_date fiscal_period Posting Period
fiscyearper
periv finsc_fisc_date fiscal_year_variant FY Variant
xopvw xopvw OI Management
augdt augdt Clearing
augbl augbl Clrng doc.
auggj auggj Clrg Fiscal Yr
bschl bschl Posting Key
koart koart Account type
umskz umskz Special G/L Ind
rwcur bkpf waers Transaction Currency
rhcur t001 waers Transaction Currency
zuonr zuonr Finance Project
sgtxt sgtxt Text
rcomp rcomp Trading Partner
rassc vbund Trading Partner
racct altkt Group Account Number
lracct hkont Transfer acct
kunnr kunnr Stock customer
lifnr lifnr Vendor no.
awtyp bseg awtyp Reference Document Type
awkey bseg awkey RefKey GJE
awsys bseg awsys Logical System
budat h_budat Posting Date
bldat h_bldat Document Date
blart h_blart Document Type
xblnr xblnr Reference
bktxt bktxt Header Text
xref1_hd xref1_hd Ref.key(head) 1
xref2_hd xref2_hd Ref.key(head.)2
usnam usnam User Name
clientNULLastimestamp
aedat aedat Obsolete
bvorg bvorg Intercompany Transac
xreversing xreversing Reversal doc.
xreversed xreversed Reversed
rfccur rfccur Functional Currency
bstat h_bstat Document Status

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.
-- 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: ICABSEGEV

CREATE VIEW ICA_BSEG_ENTRY_VIEW AS
SELECT
  bseg.mandt AS RCLNT,
  cast ('' as ica_method_id) 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.bukrs AS rbukrs,
  bseg.belnr AS ref_belnr,
  bseg.gjahr AS gjahr,
  cast(concat('000', bseg.buzei) as docln6) AS ref_docln,
  finsc_fisc_date.fiscal_year AS ryear,
  finsc_fisc_date.fiscal_period AS poper,
  cast (finsc_fisc_date.fiscal_year_period as fis_jahrper_conv preserving type) AS fiscyearper,
  finsc_fisc_date.fiscal_year_variant AS periv,
  xopvw,
  augdt,
  augbl,
  auggj,
  bschl,
  koart,
  umskz,
  bkpf.waers AS rwcur,
  t001.waers AS rhcur,
  zuonr,
  sgtxt,
  rcomp,
  vbund AS rassc,
  altkt AS racct,
  hkont AS lracct,
  kunnr,
  lifnr,
  bseg.awtyp AS awtyp,
  bseg.awkey AS awkey,
  bseg.awsys AS awsys,
  h_budat AS budat,
  h_bldat AS bldat,
  h_blart AS blart,
  xblnr,
  bktxt,
  xref1_hd,
  xref2_hd,
  usnam,
  dats_tims_to_tstmp( cpudt, cputm, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as timestamp AS clientNULLastimestamp,
  aedat,
  bvorg,
  xreversing,
  xreversed,
  rfccur,
  h_bstat AS bstat
FROM bseg
INNER JOIN bkpf ON /* join condition not captured in parsed metadata */
INNER JOIN t001 ON /* join condition not captured in parsed metadata */
INNER JOIN finsc_fisc_date ON /* join condition not captured in parsed metadata */
;