CRMS4_MAGR_A_SRC

DDL: CRMS4_MAGR_A_SRC SQL: CRMS4_MAGRASRCH Type: view

Master Agreement

CRMS4_MAGR_A_SRC is a CDS View that provides data about "Master Agreement" in SAP S/4HANA. It reads from 1 data source (CRMS4_MAGR_H_SRC) and exposes 25 fields with key fields object_type, object_id. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
CRMS4_MAGR_H_SRC _MAGRH from

Associations (1)

CardinalityTargetAliasCondition
[0..*] CRMS4_MAGR_I_SRC _MAGRI _MAGRH.header_guid = _MAGRI.header_guid

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CRMS4_MAGRASRCH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Master Agreement view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY object_type object_type Type
KEY object_id object_id Transaction ID
valid_from valid_from Validity Start Time
valid_to valid_to Validity End Time
header_guid header_guid Unique Identifier
GUID GUID UUID 22 char.
process_type process_type Type of Data
posting_date posting_date Posting Date
description description Well Code Des.
DESCRIPTION_UC DESCRIPTION_UC Label Desc.
CREATED_AT CREATED_AT Uploaded On
CREATED_BY CREATED_BY Version Created By
auth_scope auth_scope Authorization Scope
object_id_ok object_id_ok ID Valid
SOLD_TO_PARTY_LIST SOLD_TO_PARTY_LIST Broker Name
payer payer Payer
payer_list payer_list Broker Name
person_resp person_resp Employee Responsible
dis_channel dis_channel Distribution Channel
sales_org sales_org Sales Organization
sales_office sales_office Sales Office
sales_group sales_group Sales Group
service_org service_org Service Organization
stat_open stat_open Open
_MAGRI _MAGRI

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 CRMS4_MAGR_A_SRC.
-- 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: CRMS4_MAGRASRCH

CREATE VIEW CRMS4_MAGR_A_SRC AS
SELECT
  object_type,
  object_id,
  valid_from,
  valid_to,
  header_guid,
  GUID,
  process_type,
  posting_date,
  description,
  DESCRIPTION_UC,
  CREATED_AT,
  CREATED_BY,
  auth_scope,
  object_id_ok,
  SOLD_TO_PARTY_LIST,
  payer,
  payer_list,
  person_resp,
  dis_channel,
  sales_org,
  sales_office,
  sales_group,
  service_org,
  stat_open
FROM CRMS4_MAGR_H_SRC AS _MAGRH
LEFT OUTER JOIN CRMS4_MAGR_I_SRC AS _MAGRI ON _MAGRH.header_guid = _MAGRI.header_guid  -- association [0..*]
;