I_EmbargoedCountry

DDL: I_EMBARGOEDCOUNTRY SQL: IEMBCNTRY Type: view BASIC Package: VDM_SLL_EMB

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)

SourceAliasJoin Type
/sapsll/ccctry /sapsll/ccctry from

Associations (7)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;