I_SubscrpnContrItemDistrSitn
Subcription Contract Distribution Situation
I_SubscrpnContrItemDistrSitn is a Composite CDS View that provides data about "Subcription Contract Distribution Situation" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 30 fields with key fields ServiceObjectType, SubscriptionContract, SubscriptionContractItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItemEnhcd | SubscriptionContractItem | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | 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 | Subcription Contract Distribution Situation | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | |
| ResponsibleSalesOrganization | I_ServiceDocumentItemEnhcd | ResponsibleSalesOrganization | ||
| RespEmployeeBusinessPartnerId | I_ServiceDocumentItemEnhcd | ResponsibleEmployee | Employee Resp. | |
| ResponsibleEmployeeUserID | RespEmployeeUser | UserID | User Name | |
| SubscrpnDocItemStateSecsValue | Seconds in current state | |||
| SubscriptionContractItemUUID | I_ServiceDocumentItemEnhcd | ServiceDocumentItemUUID | ||
| SubscrpnContrItmCharUUID | I_ServiceDocumentItemEnhcd | ServiceDocumentItemCharUUID | ||
| SubscrpnContrTimeSliceStatus | I_ServiceDocumentItemEnhcd | SubscrpnContrTimeSliceStatus | ||
| SubscrpnDocItemDistrStepType | SubscrpnDocumentItemDistr | SubscrpnDocItemDistrStepType | ||
| SubscrpnDocItemDistrStepCat | SubscrpnDocumentItemDistr | SubscrpnDocItemDistrStepCat | ||
| SubscrpnDocItemDistrStepSchema | SubscrpnDocumentItemDistr | SubscrpnDocItemDistrStepSchema | ||
| SubscrpnDocItemDistrStepState | SubscrpnDocumentItemDistr | SubscrpnDocItemDistrStepState | ||
| SubscrpnDocItemDistrStep | SubscrpnDocumentItemDistr | SubscrpnDocItemDistrStep | ||
| SbscrDocItemDistrStpExecDteTme | SubscrpnDocumentItemDistr | SbscrDocItemDistrStpExecDteTme | ||
| 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_SubscrpnContrItemDistrSitn.
-- 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_SubscrpnContrItemDistrSitn 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.ResponsibleSalesOrganization AS ResponsibleSalesOrganization,
SubscriptionContractItem.ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
RespEmployeeUser.UserID AS ResponsibleEmployeeUserID,
tstmp_seconds_between( SubscrpnDocumentItemDistr.SbscrDocItemDistrStpExecDteTme, tstmp_current_utctimestamp() ,'NULL' ) AS SubscrpnDocItemStateSecsValue,
SubscriptionContractItem.ServiceDocumentItemUUID AS SubscriptionContractItemUUID,
SubscriptionContractItem.ServiceDocumentItemCharUUID AS SubscrpnContrItmCharUUID,
SubscriptionContractItem.SubscrpnContrTimeSliceStatus AS SubscrpnContrTimeSliceStatus,
SubscrpnDocumentItemDistr.SubscrpnDocItemDistrStepType AS SubscrpnDocItemDistrStepType,
SubscrpnDocumentItemDistr.SubscrpnDocItemDistrStepCat AS SubscrpnDocItemDistrStepCat,
SubscrpnDocumentItemDistr.SubscrpnDocItemDistrStepSchema AS SubscrpnDocItemDistrStepSchema,
SubscrpnDocumentItemDistr.SubscrpnDocItemDistrStepState AS SubscrpnDocItemDistrStepState,
SubscrpnDocumentItemDistr.SubscrpnDocItemDistrStep AS SubscrpnDocItemDistrStep,
SubscrpnDocumentItemDistr.SbscrDocItemDistrStpExecDteTme AS SbscrDocItemDistrStpExecDteTme,
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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA