J2G_SHSM_KRED1

DDL: J2G_SHSM_KRED1 SQL: J_2G_SHSMKRED1 Type: view

J2G_SHSM_KRED1 is a CDS View in SAP S/4HANA. It reads from 1 data source (lfa1) and exposes 19 fields with key fields lifnr, mcod1, mcod3, pstlz, sortl.

Data Sources (1)

SourceAliasJoin Type
lfa1 lfa1 from

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName J_2G_SHSMKRED1 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 (19)

KeyFieldSource TableSource FieldDescription
KEY lifnr
KEY mcod1
KEY mcod3
KEY pstlz
KEY sortl
KEY stcd2
SupplierAccountGroup lfa1 ktokk Vendor Group
AuthorizationGroup lfa1 begru AuthorizGroup
DataControllerSet lfa1 xdcset Data Ctrlr. Set
DataController1 lfa1 data_ctrlr1 Data Controller
DataController2 lfa1 data_ctrlr2 Data Controller
DataController3 lfa1 data_ctrlr3 Data Controller
DataController4 lfa1 data_ctrlr4 Data Controller
DataController5 lfa1 data_ctrlr5 Data Controller
DataController6 lfa1 data_ctrlr6 Data Controller
DataController7 lfa1 data_ctrlr7 Data Controller
DataController8 lfa1 data_ctrlr8 Data Controller
DataController9 lfa1 data_ctrlr9 Data Controller
DataController10 lfa1 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_KRED1.
-- 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_SHSMKRED1

CREATE VIEW J2G_SHSM_KRED1 AS
SELECT
  cast( lfa1.lifnr as lifnr preserving type ) AS lifnr,
  cast( lfa1.mcod1 as mcdd1 preserving type ) AS mcod1,
  cast( lfa1.mcod3 as mcdd3 preserving type ) AS mcod3,
  cast( lfa1.pstlz as pstlz preserving type ) AS pstlz,
  cast( lfa1.sortl as sortl preserving type ) AS sortl,
  cast( lfa1.stcd2 as j_2gafm preserving type ) AS stcd2,
  lfa1.ktokk AS SupplierAccountGroup,
  lfa1.begru AS AuthorizationGroup,
  lfa1.xdcset AS DataControllerSet,
  lfa1.data_ctrlr1 AS DataController1,
  lfa1.data_ctrlr2 AS DataController2,
  lfa1.data_ctrlr3 AS DataController3,
  lfa1.data_ctrlr4 AS DataController4,
  lfa1.data_ctrlr5 AS DataController5,
  lfa1.data_ctrlr6 AS DataController6,
  lfa1.data_ctrlr7 AS DataController7,
  lfa1.data_ctrlr8 AS DataController8,
  lfa1.data_ctrlr9 AS DataController9,
  lfa1.data_ctrlr10 AS DataController10
FROM lfa1
;