I_UtilitiesSalesContractItem

DDL: I_UTILITIESSALESCONTRACTITEM Type: view_entity BASIC

Utilities Sales Contract Item

I_UtilitiesSalesContractItem (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

UtilitiesSalesContractItem · Sales

I_UtilitiesSalesContractItem is a Basic CDS View that provides data about "Utilities Sales Contract Item" in SAP S/4HANA. It reads from 1 data source (crms4d_iuci_i) and exposes 49 fields with key fields UtilsSalesContractObjectType, UtilitiesSalesContract, UtilitiesSalesContractItem. It has 18 associations to related views.

SAP Help Documentation

CategorySales Contract
Data CategoryDimension
Purpose
This CDS view retrieves general IS-U sales contract item data.

Prerequisites
Authorizations The following authorization objects are required to use this CDS view: CRM_ORD_PR (Authorization to display IS-U sales contract item data)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentCRM-S4-IU
CapabilitiesData Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves general IS-U sales contract item data.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
crms4d_iuci_i crms4d_iuci_i from

Associations (18)

CardinalityTargetAliasCondition
[1..1] I_CustMgmtBusObjType _UtilsSalesContractObjectType _UtilsSalesContractObjectType.BusinessObjectType = $projection.UtilsSalesContractObjectType
[1..1] I_CustMgmtItmBusObjType _UtilsSlsContrItemObjectType _UtilsSlsContrItemObjectType.BusinessObjectType = $projection.UtilsSlsContractItemObjectType
[1..1] I_ServiceDocItemCategory _UtilsSlsContractItemCategory _UtilsSlsContractItemCategory.ServiceDocItemCategory = $projection.UtilsSalesContractItemCategory
[0..*] I_SrvcMgmtObjectStatus _UtilsSlsContrItemObjectStatus _UtilsSlsContrItemObjectStatus.SrvcMgmtObjectUUID = $projection.UtilitiesSalesContractItemUUID
[0..1] I_SrvcDocLifecycleStatus _UtilsSalesContractItemStatus $projection.UtilsSlsContrItmLfcycStatus = _UtilsSalesContractItemStatus.ServiceDocumentStatus
[1..1] I_UtilitiesSalesContract _UtilitiesSalesContract _UtilitiesSalesContract.UtilsSalesContractObjectType = $projection.UtilsSalesContractObjectType and _UtilitiesSalesContract.UtilitiesSalesContract = $projection.UtilitiesSalesContract
[0..1] I_UtilitiesSalesContractItem _UtilsSlsContrItemPreviousItem _UtilsSlsContrItemPreviousItem.UtilsSalesContractObjectType = $projection.UtilsSalesContractObjectType and _UtilsSlsContrItemPreviousItem.UtilitiesSalesContract = $projection.UtilitiesSalesContract and _UtilsSlsContrItemPreviousItem.UtilitiesSalesContractItem = $projection.UtilsSlsContrItemPreviousItem
[0..*] I_UtilsSalesContractPeriod _UtilsSalesContractPeriod _UtilsSalesContractPeriod.UtilsSalesContractObjectType = $projection.UtilsSalesContractObjectType and _UtilsSalesContractPeriod.UtilitiesSalesContract = $projection.UtilitiesSalesContract and _UtilsSalesContractPeriod.UtilitiesSalesContractItem = $projection.UtilitiesSalesContractItem
[0..1] I_Product _Product $projection.product = _Product.Product
[0..1] I_UtilitiesInstallation _UtilitiesInstallation _UtilitiesInstallation.UtilitiesInstallation = $projection.UtilitiesInstallation
[0..1] I_UtilitiesContract _UtilitiesContract _UtilitiesContract.UtilitiesContract = $projection.UtilitiesContract
[0..1] I_UtilitiesPremise _UtilitiesPremise _UtilitiesPremise.UtilitiesPremise = $projection.UtilitiesPremise
[0..*] I_UtilsAllocOfExtToIntPoD _UtilsAllocOfExtToIntPoD _UtilsAllocOfExtToIntPoD.UtilsInternalPointOfDelivery = $projection.UtilsInternalPointOfDelivery
[0..1] I_ContractAccountHeader _ContractAccount _ContractAccount.ContractAccount = $projection.ContractAccount
[0..1] I_Language _Language _Language.Language = $projection.Language
[0..1] I_User _CreatedByUser _CreatedByUser.UserID = $projection.CreatedByUser
[0..1] I_User _LastChangedByUser _LastChangedByUser.UserID = $projection.LastChangedByUser
[1..1] E_UtilitiesSalesContractItem _Extension _Extension.UtilsSalesContractObjectType = $projection.UtilsSalesContractObjectType and _Extension.UtilitiesSalesContract = $projection.UtilitiesSalesContract and _Extension.UtilitiesSalesContractItem = $projection.UtilitiesSalesContractItem

Annotations (13)

NameValueLevelField
EndUserText.label Utilities Sales Contract Item view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey UtilitiesSalesContractItem view
ObjectModel.sapObjectNodeType.name UtilitiesSalesContractItem view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY UtilsSalesContractObjectType objtype_h Business Trans. Cat.
KEY UtilitiesSalesContract object_id Transaction ID
KEY UtilitiesSalesContractItem number_int Shortened Item Number in Document
UtilitiesSalesContractUUID header_guid GUID of a CRM Order Object
UtilitiesSalesContractItemUUID item_guid GUID of a CRM Order Object
UtilsSlsContrItemCharacterUUID item_guid_char 32 Character CRM Object GUID
UtilsSlsContractItemObjectType objtype_i CRM Item Object Type
UtilsSlsContrItemDescription description_i Product Description
UtilsSalesContrLogicalItem logical_contract_item Logical Identifier for Associated Contract Items
ProductUUID product Internal Unique ID of Product
Product product_id Simulated Product ID
OriginallyRequestedProduct ordered_prod Product Name Entered
UtilsSlsContrItmPostgDateTime order_date Posting Date
UtilsSlsContrItemStartDateTime contstart Contract Start Date
UtilsSlsContrItemEndDateTime contend Contract End Date
UtilsSalesContractItemCategory itm_type Item Category
Language itm_language Short Text Language for an Item
UtilsInternalPointOfDelivery pod_int_ui Internal key for point of delivery
ContractAccount contract_account Contract Account Number
UtilitiesPremise premise Premise
UtilitiesContract isu_contract Contract
UtilsSlsContrItemPreviousItem previous_item Shortened Item Number in Document
UtilitiesSalesContractProcess pf_process Technical Name of Process
UtilsSlsContrUIProcess ui_process Technical Name of UI Process
UtilsSalesContractItemHasError stat_error Error Status
UtilsSalesContractItemIsOpen stat_open Status "Open"
UtilsSlsContrItemIsReleased stat_released Release Status
UtilsSlsContrItemIsRejected stat_cancelled Cancellation Status
UtilsSlsContractItemIsArchived stat_archived Archived
ChangedDateTime changed_at_i Changed On
CreatedByUser created_by_i User that Created the Transaction
LastChangedByUser changed_by_i Transaction Last Changed By
Associations_UtilitiesInstallation
_UtilitiesContract _UtilitiesContract
_UtilitiesPremise _UtilitiesPremise
_UtilsAllocOfExtToIntPoD _UtilsAllocOfExtToIntPoD
_ContractAccount _ContractAccount
_Product _Product
_UtilitiesSalesContract _UtilitiesSalesContract
_UtilsSalesContractPeriod _UtilsSalesContractPeriod
_UtilsSlsContrItemPreviousItem _UtilsSlsContrItemPreviousItem
_UtilsSlsContrItemObjectStatus _UtilsSlsContrItemObjectStatus
_UtilsSalesContractObjectType _UtilsSalesContractObjectType
_UtilsSlsContrItemObjectType _UtilsSlsContrItemObjectType
_UtilsSlsContractItemCategory _UtilsSlsContractItemCategory
_UtilsSalesContractItemStatus _UtilsSalesContractItemStatus
_Language _Language
_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_UtilitiesSalesContractItem.
-- 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_UtilitiesSalesContractItem AS
SELECT
  objtype_h AS UtilsSalesContractObjectType,
  object_id AS UtilitiesSalesContract,
  number_int AS UtilitiesSalesContractItem,
  header_guid AS UtilitiesSalesContractUUID,
  item_guid AS UtilitiesSalesContractItemUUID,
  item_guid_char AS UtilsSlsContrItemCharacterUUID,
  objtype_i AS UtilsSlsContractItemObjectType,
  description_i AS UtilsSlsContrItemDescription,
  logical_contract_item AS UtilsSalesContrLogicalItem,
  product AS ProductUUID,
  product_id AS Product,
  ordered_prod AS OriginallyRequestedProduct,
  order_date AS UtilsSlsContrItmPostgDateTime,
  contstart AS UtilsSlsContrItemStartDateTime,
  contend AS UtilsSlsContrItemEndDateTime,
  itm_type AS UtilsSalesContractItemCategory,
  itm_language AS Language,
  pod_int_ui AS UtilsInternalPointOfDelivery,
  contract_account AS ContractAccount,
  premise AS UtilitiesPremise,
  isu_contract AS UtilitiesContract,
  previous_item AS UtilsSlsContrItemPreviousItem,
  pf_process AS UtilitiesSalesContractProcess,
  ui_process AS UtilsSlsContrUIProcess,
  stat_error AS UtilsSalesContractItemHasError,
  stat_open AS UtilsSalesContractItemIsOpen,
  stat_released AS UtilsSlsContrItemIsReleased,
  stat_cancelled AS UtilsSlsContrItemIsRejected,
  stat_archived AS UtilsSlsContractItemIsArchived,
  changed_at_i AS ChangedDateTime,
  created_by_i AS CreatedByUser,
  changed_by_i AS LastChangedByUser
FROM crms4d_iuci_i
LEFT OUTER JOIN I_CustMgmtBusObjType AS _UtilsSalesContractObjectType ON _UtilsSalesContractObjectType.BusinessObjectType = UtilsSalesContractObjectType  -- association [1..1]
LEFT OUTER JOIN I_CustMgmtItmBusObjType AS _UtilsSlsContrItemObjectType ON _UtilsSlsContrItemObjectType.BusinessObjectType = UtilsSlsContractItemObjectType  -- association [1..1]
LEFT OUTER JOIN I_ServiceDocItemCategory AS _UtilsSlsContractItemCategory ON _UtilsSlsContractItemCategory.ServiceDocItemCategory = UtilsSalesContractItemCategory  -- association [1..1]
LEFT OUTER JOIN I_SrvcMgmtObjectStatus AS _UtilsSlsContrItemObjectStatus ON _UtilsSlsContrItemObjectStatus.SrvcMgmtObjectUUID = UtilitiesSalesContractItemUUID  -- association [0..*]
LEFT OUTER JOIN I_SrvcDocLifecycleStatus AS _UtilsSalesContractItemStatus ON UtilsSlsContrItmLfcycStatus = _UtilsSalesContractItemStatus.ServiceDocumentStatus  -- association [0..1]
LEFT OUTER JOIN I_UtilitiesSalesContract AS _UtilitiesSalesContract ON _UtilitiesSalesContract.UtilsSalesContractObjectType = UtilsSalesContractObjectType AND _UtilitiesSalesContract.UtilitiesSalesContract = UtilitiesSalesContract  -- association [1..1]
LEFT OUTER JOIN I_UtilitiesSalesContractItem AS _UtilsSlsContrItemPreviousItem ON _UtilsSlsContrItemPreviousItem.UtilsSalesContractObjectType = UtilsSalesContractObjectType AND _UtilsSlsContrItemPreviousItem.UtilitiesSalesContract = UtilitiesSalesContract AND _UtilsSlsContrItemPreviousItem.UtilitiesSalesContractItem = UtilsSlsContrItemPreviousItem  -- association [0..1]
LEFT OUTER JOIN I_UtilsSalesContractPeriod AS _UtilsSalesContractPeriod ON _UtilsSalesContractPeriod.UtilsSalesContractObjectType = UtilsSalesContractObjectType AND _UtilsSalesContractPeriod.UtilitiesSalesContract = UtilitiesSalesContract AND _UtilsSalesContractPeriod.UtilitiesSalesContractItem = UtilitiesSalesContractItem  -- association [0..*]
LEFT OUTER JOIN I_Product AS _Product ON product = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_UtilitiesInstallation AS _UtilitiesInstallation ON _UtilitiesInstallation.UtilitiesInstallation = UtilitiesInstallation  -- association [0..1]
LEFT OUTER JOIN I_UtilitiesContract AS _UtilitiesContract ON _UtilitiesContract.UtilitiesContract = UtilitiesContract  -- association [0..1]
LEFT OUTER JOIN I_UtilitiesPremise AS _UtilitiesPremise ON _UtilitiesPremise.UtilitiesPremise = UtilitiesPremise  -- association [0..1]
LEFT OUTER JOIN I_UtilsAllocOfExtToIntPoD AS _UtilsAllocOfExtToIntPoD ON _UtilsAllocOfExtToIntPoD.UtilsInternalPointOfDelivery = UtilsInternalPointOfDelivery  -- association [0..*]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccount ON _ContractAccount.ContractAccount = ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON _Language.Language = Language  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON _CreatedByUser.UserID = CreatedByUser  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON _LastChangedByUser.UserID = LastChangedByUser  -- association [0..1]
LEFT OUTER JOIN E_UtilitiesSalesContractItem AS _Extension ON _Extension.UtilsSalesContractObjectType = UtilsSalesContractObjectType AND _Extension.UtilitiesSalesContract = UtilitiesSalesContract AND _Extension.UtilitiesSalesContractItem = UtilitiesSalesContractItem  -- association [1..1]
;