I_INTRASTATSERVICECODE
Intrastat Service Code
I_INTRASTATSERVICECODE is a CDS View in S/4HANA. Intrastat Service Code. It contains 3 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_IntrastatSCByLanguage | view | from | CONSUMPTION | Intrastat Service Code by Given Language |
| I_IntrastatSCForKeyDate | view | from | COMPOSITE | Intrastate service code for key date |
Fields (3)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | TrdClassfctnNmbrSchmCntnt | TrdClassfctnNmbrSchmCntnt | 2 |
| KEY | ValidityStartDate | ValidityStartDate | 2 |
| ValidityEndDate | ValidityEndDate | 2 |
@EndUserText.label: 'Intrastat Service Code'
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'IISSRVCCD'
@AbapCatalog.preserveKey:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.privilegedAssociations: [ '_CreatedByUser' , '_LastChangedByUser' ]
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'IntrastatServiceCode'
@ObjectModel.usageType.sizeCategory: 'L'
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
define view I_IntrastatServiceCode
as select from I_TrdClassfctnNmbr as _TrdClassfctnNmbr
association [0..*] to I_TrdClassfctnNmbrOfficialDesc as _OfficialDesc on $projection.TrdClassfctnNmbrSchmCntnt = _OfficialDesc.TrdClassfctnNmbrSchmCntnt
and $projection.IntrastatServiceCode = _OfficialDesc.TrdClassfctnNmbr
and $projection.ValidityStartDate = _OfficialDesc.ValidityStartDate
association [0..*] to I_TrdClassfctnNmbrCnctntdDesc as _CnctntdDesc on $projection.TrdClassfctnNmbrSchmCntnt = _CnctntdDesc.TrdClassfctnNmbrSchmCntnt
and $projection.IntrastatServiceCode = _CnctntdDesc.TrdClassfctnNmbr
and $projection.ValidityStartDate = _CnctntdDesc.ValidityStartDate
{
key _TrdClassfctnNmbr.TrdClassfctnNmbrSchmCntnt,
key cast ( TrdClassfctnNmbr as /sapsll/isvco) as IntrastatServiceCode,
key ValidityStartDate,
@ObjectModel.text.association: '_OfficialDesc'
TrdClassfctnNmbr as TrdClassfctnNmbrForOfclDesc,
@ObjectModel.text.association: '_CnctntdDesc'
TrdClassfctnNmbr as TrdClassfctnNmbrForCnctntdDesc,
ValidityEndDate,
SupplementaryUnit,
SecondSupplementaryUnit,
CustomsUnitOfMeasure,
SecondCustomsUnitOfMeasure,
UnitOfMeasureSystem,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
_TrdClassfctnNmbrSchmCntnt,
@ObjectModel.filter.enabled: false
_OfficialDesc,
@ObjectModel.filter.enabled: false
_CnctntdDesc,
_CreatedByUser,
_LastChangedByUser
}
where
_TrdClassfctnNmbrSchmCntnt.TrdClassfctnNmbrSchmType = '03'