I_EmbargoedCountry
Embargo Country/Region
I_EmbargoedCountry is a Basic CDS View that provides data about "Embargo Country/Region" in SAP S/4HANA. It reads from 1 data source (/sapsll/ccctry) and exposes 15 fields with key fields LegalRegulation, EmbargoedCountry, ValidityStartDate. It has 7 associations to related views. Part of development package VDM_SLL_EMB.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /sapsll/ccctry | /sapsll/ccctry | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EmbargoLegalRegulation | _LegalRegulation | $projection.LegalRegulation = _LegalRegulation.LegalRegulation |
| [0..*] | I_LegalRegulationText | _LegalRegulationText | $projection.LegalRegulation = _LegalRegulationText.LegalRegulation |
| [0..1] | I_Country | _Country | $projection.EmbargoedCountry = _Country.Country |
| [0..*] | I_CountryText | _CountryText | $projection.EmbargoedCountry = _CountryText.Country |
| [0..1] | I_CalendarDate | _Date | $projection.ValidityStartDate = _Date.CalendarDate |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Embargo Country/Region | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IEMBCNTRY | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | EmbargoedCountry | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | M | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LegalRegulation | lgreg | Legal Regulation | |
| KEY | EmbargoedCountry | Partner Ctry/Rg | ||
| KEY | ValidityStartDate | datab | Validity period | |
| ValidityEndDate | datbi | Validity period | ||
| CreatedByUser | User Name | |||
| CreationDateTime | Time Stamp | |||
| LastChangedByUser | User Name | |||
| LastChangeDateTime | Time Stamp | |||
| _LegalRegulation | _LegalRegulation | |||
| _LegalRegulationText | _LegalRegulationText | |||
| _Country | _Country | |||
| _CountryText | _CountryText | |||
| _Date | _Date | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser |
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 I_EmbargoedCountry.
-- 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: IEMBCNTRY
CREATE VIEW I_EmbargoedCountry AS
SELECT
lgreg AS LegalRegulation,
cast ( lndpa as /sapsll/land1_itr ) AS EmbargoedCountry,
datab AS ValidityStartDate,
datbi AS ValidityEndDate,
cast (crea_uname as /sapsll/ernam_itr ) AS CreatedByUser,
cast (crea_date_time as sll_creadatetime ) AS CreationDateTime,
cast (lchg_uname as /sapsll/aenam_itr ) AS LastChangedByUser,
cast (lchg_date_time as sll_lchgdatetime) AS LastChangeDateTime
FROM /sapsll/ccctry
LEFT OUTER JOIN I_EmbargoLegalRegulation AS _LegalRegulation ON LegalRegulation = _LegalRegulation.LegalRegulation -- association [0..1]
LEFT OUTER JOIN I_LegalRegulationText AS _LegalRegulationText ON LegalRegulation = _LegalRegulationText.LegalRegulation -- association [0..*]
LEFT OUTER JOIN I_Country AS _Country ON EmbargoedCountry = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _CountryText ON EmbargoedCountry = _CountryText.Country -- association [0..*]
LEFT OUTER JOIN I_CalendarDate AS _Date ON ValidityStartDate = _Date.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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