J2G_SHSM_DEBI2

DDL: J2G_SHSM_DEBI2 SQL: J_2G_SHSMDEBI2 Type: view

J2G_SHSM_DEBI2 is a CDS View in SAP S/4HANA. It reads from 2 data sources (kna1, knb1) and exposes 21 fields with key fields bukrs, kunnr, mcod1, mcod3, pstlz.

Data Sources (2)

SourceAliasJoin Type
kna1 kna1 from
knb1 knb1 inner

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName J_2G_SHSMDEBI2 view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY bukrs
KEY kunnr
KEY mcod1
KEY mcod3
KEY pstlz
KEY sortl
KEY stcd2
CustomerAccountGroup kna1 ktokd DefCusAcctGr
A_AuthorizationGroup kna1 begru AuthorizGroup
B_AuthorizationGroup knb1 begru AuthorizGroup
DataControllerSet kna1 xdcset Data Ctrlr. Set
DataController1 kna1 data_ctrlr1 Data Controller
DataController2 kna1 data_ctrlr2 Data Controller
DataController3 kna1 data_ctrlr3 Data Controller
DataController4 kna1 data_ctrlr4 Data Controller
DataController5 kna1 data_ctrlr5 Data Controller
DataController6 kna1 data_ctrlr6 Data Controller
DataController7 kna1 data_ctrlr7 Data Controller
DataController8 kna1 data_ctrlr8 Data Controller
DataController9 kna1 data_ctrlr9 Data Controller
DataController10 kna1 data_ctrlr10 Data Controller

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 J2G_SHSM_DEBI2.
-- 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: J_2G_SHSMDEBI2

CREATE VIEW J2G_SHSM_DEBI2 AS
SELECT
  cast( knb1.bukrs as bukrs preserving type ) AS bukrs,
  cast( kna1.kunnr as kunnr preserving type ) AS kunnr,
  cast( kna1.mcod1 as mcdd1 preserving type ) AS mcod1,
  cast( kna1.mcod3 as mcdd3 preserving type ) AS mcod3,
  cast( kna1.pstlz as pstlz preserving type ) AS pstlz,
  cast( kna1.sortl as sortl preserving type ) AS sortl,
  cast( kna1.stcd2 as j_2gafm preserving type ) AS stcd2,
  kna1.ktokd AS CustomerAccountGroup,
  kna1.begru AS A_AuthorizationGroup,
  knb1.begru AS B_AuthorizationGroup,
  kna1.xdcset AS DataControllerSet,
  kna1.data_ctrlr1 AS DataController1,
  kna1.data_ctrlr2 AS DataController2,
  kna1.data_ctrlr3 AS DataController3,
  kna1.data_ctrlr4 AS DataController4,
  kna1.data_ctrlr5 AS DataController5,
  kna1.data_ctrlr6 AS DataController6,
  kna1.data_ctrlr7 AS DataController7,
  kna1.data_ctrlr8 AS DataController8,
  kna1.data_ctrlr9 AS DataController9,
  kna1.data_ctrlr10 AS DataController10
FROM kna1
INNER JOIN knb1 ON /* join condition not captured in parsed metadata */
;