CRMS4_MAGR_A_SRC
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)
| Source | Alias | Join Type |
|---|---|---|
| CRMS4_MAGR_H_SRC | _MAGRH | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | CRMS4_MAGR_I_SRC | _MAGRI | _MAGRH.header_guid = _MAGRI.header_guid |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA