C_IntrastatSCByLanguage

DDL: C_INTRASTATSCBYLANGUAGE SQL: CISSRVCCDBYLANG Type: view CONSUMPTION

Intrastat Service Code by Given Language

C_IntrastatSCByLanguage is a Consumption CDS View that provides data about "Intrastat Service Code by Given Language" in SAP S/4HANA. It reads from 2 data sources (I_Language, I_IntrastatServiceCode) and exposes 17 fields with key fields Language, TrdClassfctnNmbrSchmCntnt, IntrastatServiceCode, ValidityStartDate. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_Language _Language cross
I_IntrastatServiceCode IntrastatServiceCode from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_TrdClassfctnNmbrOfclDescByLa _OfficialDescOnLanguage _OfficialDescOnLanguage.TrdClassfctnNmbrSchmCntnt = $projection.TrdClassfctnNmbrSchmCntnt and _OfficialDescOnLanguage.TrdClassfctnNmbr = $projection.IntrastatServiceCode and _OfficialDescOnLanguage.ValidityStartDate = $projection.ValidityStartDate and _OfficialDescOnLanguage.Language = _Language.Language
[0..1] I_TrdClassfctnNmbrCoDescByLa _CnctntdDescOnLanguage _CnctntdDescOnLanguage.TrdClassfctnNmbrSchmCntnt = $projection.TrdClassfctnNmbrSchmCntnt and _CnctntdDescOnLanguage.TrdClassfctnNmbr = $projection.IntrastatServiceCode and _CnctntdDescOnLanguage.ValidityStartDate = $projection.ValidityStartDate and _CnctntdDescOnLanguage.Language = _Language.Language

Annotations (14)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CISSRVCCDBYLANG view
AbapCatalog.preserveKey true view
EndUserText.label Intrastat Service Code by Given Language view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY Language I_Language Language Report Text Language
KEY TrdClassfctnNmbrSchmCntnt I_IntrastatServiceCode TrdClassfctnNmbrSchmCntnt
KEY IntrastatServiceCode IntrastatServiceCode Intrastat Srvc. Code
KEY ValidityStartDate I_IntrastatServiceCode ValidityStartDate Validity Start Date
ValidityEndDate I_IntrastatServiceCode ValidityEndDate ValidTo
TrdClassfctnNmbrForOfclDesc TrdClassfctnNmbrForOfclDesc
TrdClassfctnNmbrForCnctntdDesc TrdClassfctnNmbrForCnctntdDesc
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
_OfficialDescOnLanguage _OfficialDescOnLanguage
_CnctntdDescOnLanguage _CnctntdDescOnLanguage
_OfficialDesc _OfficialDesc
_CnctntdDesc _CnctntdDesc
_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 C_IntrastatSCByLanguage.
-- 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: CISSRVCCDBYLANG

CREATE VIEW C_IntrastatSCByLanguage AS
SELECT
  _Language.Language AS Language,
  IntrastatServiceCode.TrdClassfctnNmbrSchmCntnt AS TrdClassfctnNmbrSchmCntnt,
  IntrastatServiceCode,
  IntrastatServiceCode.ValidityStartDate AS ValidityStartDate,
  IntrastatServiceCode.ValidityEndDate AS ValidityEndDate,
  TrdClassfctnNmbrForOfclDesc,
  TrdClassfctnNmbrForCnctntdDesc,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM I_IntrastatServiceCode AS IntrastatServiceCode
CROSS JOIN I_Language AS _Language
LEFT OUTER JOIN I_TrdClassfctnNmbrOfclDescByLa AS _OfficialDescOnLanguage ON _OfficialDescOnLanguage.TrdClassfctnNmbrSchmCntnt = TrdClassfctnNmbrSchmCntnt AND _OfficialDescOnLanguage.TrdClassfctnNmbr = IntrastatServiceCode AND _OfficialDescOnLanguage.ValidityStartDate = ValidityStartDate AND _OfficialDescOnLanguage.Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_TrdClassfctnNmbrCoDescByLa AS _CnctntdDescOnLanguage ON _CnctntdDescOnLanguage.TrdClassfctnNmbrSchmCntnt = TrdClassfctnNmbrSchmCntnt AND _CnctntdDescOnLanguage.TrdClassfctnNmbr = IntrastatServiceCode AND _CnctntdDescOnLanguage.ValidityStartDate = ValidityStartDate AND _CnctntdDescOnLanguage.Language = _Language.Language  -- association [0..1]
;