SHSM_AGR_REL_CM

DDL: SHSM_AGR_REL_CM Type: view Package: AGR_EXCHANGE_GENERAL

CDS View replacing search help V_AGR_REL_CM

SHSM_AGR_REL_CM is a CDS View that provides data about "CDS View replacing search help V_AGR_REL_CM" in SAP S/4HANA. It reads from 1 data source (agr_rel_knuma_cm) and exposes 9 fields. Part of development package AGR_EXCHANGE_GENERAL.

Data Sources (1)

SourceAliasJoin Type
agr_rel_knuma_cm agr_rel_knuma_cm from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName SHSM_AGR_REL_CDS view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label CDS View replacing search help V_AGR_REL_CM view

Fields (9)

KeyFieldSource TableSource FieldDescription
knuma kona knuma Agreement
bonem kona bonem Rebate recip.
bosta kona bosta Cond.Rec Status
vkorg kona vkorg SD Sales Org.
vtweg kona vtweg RefDistCh-Cust/Mat.
spart kona spart Source supplier
boart kona boart Agreement type
cmpgn_id agr_rel_knuma_cm cmpgn_id Campaign ID
cmpgn_extid CMPB_MAP cmpgn_extid Campaign

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 SHSM_AGR_REL_CM.
-- 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.

CREATE VIEW SHSM_AGR_REL_CM AS
SELECT
  kona.knuma AS knuma,
  kona.bonem AS bonem,
  kona.bosta AS bosta,
  kona.vkorg AS vkorg,
  kona.vtweg AS vtweg,
  kona.spart AS spart,
  kona.boart AS boart,
  agr_rel_knuma_cm.cmpgn_id AS cmpgn_id,
  CMPB_MAP.cmpgn_extid AS cmpgn_extid
FROM agr_rel_knuma_cm
;