I_SubscriptionContractItemSitn

DDL: I_SUBSCRIPTIONCONTRACTITEMSITN Type: view_entity COMPOSITE

SOM Subcription Contract End Situation

I_SubscriptionContractItemSitn is a Composite CDS View that provides data about "SOM Subcription Contract End Situation" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 41 fields with key fields ServiceObjectType, SubscriptionContract, SubscriptionContractItem.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItemEnhcd SubscriptionContractItem from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view
ObjectModel.uniqueIdField SubscriptionContractItemUUID view
EndUserText.label SOM Subcription Contract End Situation view
Metadata.ignorePropagatedAnnotations true view

Fields (41)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType I_ServiceDocumentItemEnhcd ServiceObjectType Object Type
KEY SubscriptionContract I_ServiceDocumentItemEnhcd ServiceDocument Transaction ID
KEY SubscriptionContractItem I_ServiceDocumentItemEnhcd ServiceDocumentItem Service Document
ServiceDocumentType I_ServiceDocumentItemEnhcd ServiceDocumentType Transaction Type
ServiceDocItemCategory I_ServiceDocumentItemEnhcd ServiceDocItemCategory
Product I_ServiceDocumentItemEnhcd Product Product Sold
ServiceDocumentItemQuantity I_ServiceDocumentItemEnhcd ServiceDocumentItemQuantity
ServiceDocItemQuantityUnit I_ServiceDocumentItemEnhcd ServiceDocItemQuantityUnit
SubscriptionContractExternalID I_ServiceDocumentItemEnhcd SubscriptionContract Transaction ID
SubscrpnContrItmEndDateTime I_ServiceDocumentItemEnhcd ServiceContrItemEndDateTime
SubscrpnContrItmStartDateTime I_ServiceDocumentItemEnhcd ServiceContrItemStartDateTime
SbscrContrTimeSliceStrtDteTme I_ServiceDocumentItemEnhcd SrvcDocItmTmeSliceStrtDteTme
SbscrContrTimeSliceEndDteTme I_ServiceDocumentItemEnhcd SrvcDocItmTmeSliceEndDteTme
SbscrContrItmGrcePerdDteTme I_ServiceDocumentItemEnhcd SrvcDocItmGrcePerdEndDateTime
ResponsibleSalesOrganization I_ServiceDocumentItemEnhcd ResponsibleSalesOrganization
SoldToParty I_ServiceDocumentItemEnhcd SoldToParty Sold-to Party
RespEmployeeBusinessPartnerId I_ServiceDocumentItemEnhcd ResponsibleEmployee Employee Resp.
ResponsibleEmployeeUserID RespEmployeeUser UserID User Name
NrOfSbscrContrItemExprdDays Days Before Subscription Contract Item End Date
NrOfSbscrContrItemGrcePerdDays Days Before End of Grace Period for Subscription Contract Item
SubscrpnContrItemEndDate I_ServiceDocumentItemEnhcd ServiceContractItemEndDate Subscription Contract Item End Date
SubscriptionContractItemUUID I_ServiceDocumentItemEnhcd ServiceDocumentItemUUID
SubscrpnContrItmCharUUID I_ServiceDocumentItemEnhcd ServiceDocumentItemCharUUID
SubscrpnContrActivationStatus I_ServiceDocumentItemEnhcd SubscrpnContrActivationStatus
SubscrpnContrTimeSliceStatus I_ServiceDocumentItemEnhcd SubscrpnContrTimeSliceStatus
ServiceDocumentItemIsRejected I_ServiceDocumentItemEnhcd ServiceDocumentItemIsRejected
SubscrpnOrdProdSelType I_ServiceDocumentItemEnhcd SubscrpnOrdProdSelType
ServiceContrItemEndDateTime I_ServiceDocumentItemEnhcd ServiceContrItemEndDateTime
SubscrpnContrAutoRnwlIsActv I_ServiceDocumentItemEnhcd SubscrpnContrAutoRnwlIsActv
BusSolutionQtnItemIsPhased I_ServiceDocumentItemEnhcd BusSolutionQtnItemIsPhased
SalesOrganizationOrgUnitID I_ServiceDocumentItemEnhcd SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID I_ServiceDocumentItemEnhcd SalesOfficeOrgUnitID
ServiceOrganization I_ServiceDocumentItemEnhcd ServiceOrganization
SalesGroupOrgUnitID I_ServiceDocumentItemEnhcd SalesGroupOrgUnitID
SalesOrganization I_ServiceDocumentItemEnhcd SalesOrganization Sales Organization
DistributionChannel I_ServiceDocumentItemEnhcd DistributionChannel RefDistCh-Cust/Mat.
Division I_ServiceDocumentItemEnhcd Division Internal Division ID
SalesOffice I_ServiceDocumentItemEnhcd SalesOffice Sales Office
SalesGroup I_ServiceDocumentItemEnhcd SalesGroup Sales Group
_RespEmployee I_ServiceDocumentItemEnhcd _RespEmployee
_ServiceDocument I_ServiceDocumentItemEnhcd _ServiceDocument

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_SubscriptionContractItemSitn.
-- 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.

CREATE VIEW I_SubscriptionContractItemSitn AS
SELECT
  SubscriptionContractItem.ServiceObjectType AS ServiceObjectType,
  SubscriptionContractItem.ServiceDocument AS SubscriptionContract,
  SubscriptionContractItem.ServiceDocumentItem AS SubscriptionContractItem,
  SubscriptionContractItem.ServiceDocumentType AS ServiceDocumentType,
  SubscriptionContractItem.ServiceDocItemCategory AS ServiceDocItemCategory,
  SubscriptionContractItem.Product AS Product,
  SubscriptionContractItem.ServiceDocumentItemQuantity AS ServiceDocumentItemQuantity,
  SubscriptionContractItem.ServiceDocItemQuantityUnit AS ServiceDocItemQuantityUnit,
  SubscriptionContractItem.SubscriptionContract AS SubscriptionContractExternalID,
  SubscriptionContractItem.ServiceContrItemEndDateTime AS SubscrpnContrItmEndDateTime,
  SubscriptionContractItem.ServiceContrItemStartDateTime AS SubscrpnContrItmStartDateTime,
  SubscriptionContractItem.SrvcDocItmTmeSliceStrtDteTme AS SbscrContrTimeSliceStrtDteTme,
  SubscriptionContractItem.SrvcDocItmTmeSliceEndDteTme AS SbscrContrTimeSliceEndDteTme,
  SubscriptionContractItem.SrvcDocItmGrcePerdEndDateTime AS SbscrContrItmGrcePerdDteTme,
  SubscriptionContractItem.ResponsibleSalesOrganization AS ResponsibleSalesOrganization,
  SubscriptionContractItem.SoldToParty AS SoldToParty,
  SubscriptionContractItem.ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
  RespEmployeeUser.UserID AS ResponsibleEmployeeUserID,
  division( tstmp_seconds_between(tstmp_current_utctimestamp(), SubscriptionContractItem.ServiceContrItemEndDateTime , 'NULL' ), 86400, 0) AS NrOfSbscrContrItemExprdDays,
  division( tstmp_seconds_between(tstmp_current_utctimestamp(), SubscriptionContractItem.SrvcDocItmGrcePerdEndDateTime , 'NULL' ), 86400, 0) AS NrOfSbscrContrItemGrcePerdDays,
  SubscriptionContractItem.ServiceContractItemEndDate AS SubscrpnContrItemEndDate,
  SubscriptionContractItem.ServiceDocumentItemUUID AS SubscriptionContractItemUUID,
  SubscriptionContractItem.ServiceDocumentItemCharUUID AS SubscrpnContrItmCharUUID,
  SubscriptionContractItem.SubscrpnContrActivationStatus AS SubscrpnContrActivationStatus,
  SubscriptionContractItem.SubscrpnContrTimeSliceStatus AS SubscrpnContrTimeSliceStatus,
  SubscriptionContractItem.ServiceDocumentItemIsRejected AS ServiceDocumentItemIsRejected,
  SubscriptionContractItem.SubscrpnOrdProdSelType AS SubscrpnOrdProdSelType,
  SubscriptionContractItem.ServiceContrItemEndDateTime AS ServiceContrItemEndDateTime,
  SubscriptionContractItem.SubscrpnContrAutoRnwlIsActv AS SubscrpnContrAutoRnwlIsActv,
  SubscriptionContractItem.BusSolutionQtnItemIsPhased AS BusSolutionQtnItemIsPhased,
  SubscriptionContractItem.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
  SubscriptionContractItem.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
  SubscriptionContractItem.ServiceOrganization AS ServiceOrganization,
  SubscriptionContractItem.SalesGroupOrgUnitID AS SalesGroupOrgUnitID,
  SubscriptionContractItem.SalesOrganization AS SalesOrganization,
  SubscriptionContractItem.DistributionChannel AS DistributionChannel,
  SubscriptionContractItem.Division AS Division,
  SubscriptionContractItem.SalesOffice AS SalesOffice,
  SubscriptionContractItem.SalesGroup AS SalesGroup,
  SubscriptionContractItem._RespEmployee AS _RespEmployee,
  SubscriptionContractItem._ServiceDocument AS _ServiceDocument
FROM I_ServiceDocumentItemEnhcd AS SubscriptionContractItem
;