I_SbsMssProcgElmContrDocChg

DDL: I_SBSMSSPROCGELMCONTRDOCCHG Type: view_entity BASIC

SMP Element for Document Change

I_SbsMssProcgElmContrDocChg is a Basic CDS View that provides data about "SMP Element for Document Change" in SAP S/4HANA. It reads from 1 data source (crms4d_som_mped) and exposes 31 fields with key field SubscrpnMassProcgElmntUUID. It has 9 associations to related views.

Data Sources (1)

SourceAliasJoin Type
crms4d_som_mped crms4d_som_mped from

Associations (9)

CardinalityTargetAliasCondition
[0..1] I_SubscrpnMassProcgElmntSts _SubscrpnMassProcgElmntSts $projection.SubscrpnMassProcgElmntSts = _SubscrpnMassProcgElmntSts.SubscrpnMassProcgElmntSts
[0..1] I_ContractAccountPartner _ContractAccountPartner $projection.SbsMssProcgElmContractAccount = _ContractAccountPartner.ContractAccount and $projection.SbsMssProcgElmntSoldToParty = _ContractAccountPartner.BusinessPartner
[0..1] I_BusinessPartner _SoldToParty $projection.SbsMssProcgElmntSoldToParty = _SoldToParty.BusinessPartner
[0..1] I_SalesOrganization _SalesOrganization $projection.SubscrpnMassProcgElmntSlsOrg = _SalesOrganization.SalesOrganization
[0..1] I_SalesOffice _SalesOffice $projection.SubscrpnMassProcgElmntSlsOffc = _SalesOffice.SalesOffice
[0..1] I_SalesGroup _SalesGroup $projection.SubscrpnMassProcgElmntSlsGrp = _SalesGroup.SalesGroup
[0..1] I_Division _Division $projection.SubscrpnMassProcgElmntDivn = _Division.Division
[0..1] I_DistributionChannel _DistributionChannel $projection.SbsMssProcgElmDistrChnl = _DistributionChannel.DistributionChannel
[0..1] I_SalesOrganizationUnit _SalesOrganizationUnit $projection.SbsMssProcgElmSlsOrgUntID = _SalesOrganizationUnit.OrganizationalUnit

Annotations (10)

NameValueLevelField
EndUserText.label SMP Element for Document Change view
Metadata.ignorePropagatedAnnotations true view
Analytics.technicalName ISBSMSSPROCGELMNTCONTRDOCCHG view
ObjectModel.representativeKey SubscrpnMassProcgElmntUUID view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY SubscrpnMassProcgElmntUUID subscrpnmassprocgelmntuuid UUID
CreatedByUser createdbyuser User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LocalLastChangeDateTime locallastchangedatetime Time Stamp
SubscrpnMassProcgUUID subscrpnmassprocguuid Mass Processing UUID
SubscrpnMassProcgID subscrpnmassprocgid Mass Processing ID
SbsMssProcgElmntProcdAtDteTme sbsmssprocgelmntprocdatdtetme Processed At
SubscrpnMassProcgElmntSts subscrpnmassprocgelmntsts Status
SubscrpnMassProcgElmntLgHandle subscrpnmassprocgelmntlghandle Handle
SubscriptionContract subscriptioncontract Transaction ID
SubscriptionChangeOrder subscriptionchangeorder Transaction ID
SbsMssProcgElmFllwUpDoc sbsmssprocgelmfllwupdoc ID
SbsMssProcgElmntActvtnDteTme sbsmssprocgelmntactvtndtetme Activation Timestamp
SbsMssProcgElmntSoldToParty sbsmssprocgelmntsoldtoparty Customer
SbsMssProcgElmContractAccount sbsmssprocgelmcontractaccount Contract Acct
SubscrpnMassProcgElmntSlsOrg subscrpnmassprocgelmntslsorg Sales Org.
SbsMssProcgElmDistrChnl sbsmssprocgelmdistrchnl Distribution Channel
SubscrpnMassProcgElmntDivn subscrpnmassprocgelmntdivn Division
SubscrpnMassProcgElmntSlsOffc subscrpnmassprocgelmntslsoffc Sales Office
SubscrpnMassProcgElmntSlsGrp subscrpnmassprocgelmntslsgrp Sales Group
SbsMssProcgElmSlsOrgUntID sbsmssprocgelmslsorguntid Sales Org. ID
_SubscrpnMassProcgElmntSts _SubscrpnMassProcgElmntSts
_ContractAccountPartner _ContractAccountPartner
_SoldToParty _SoldToParty
_SalesOrganization _SalesOrganization
_SalesOffice _SalesOffice
_SalesGroup _SalesGroup
_Division _Division
_DistributionChannel _DistributionChannel
_SalesOrganizationUnit _SalesOrganizationUnit

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_SbsMssProcgElmContrDocChg.
-- 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_SbsMssProcgElmContrDocChg AS
SELECT
  SubscrpnMassProcgElmntUUID,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LocalLastChangeDateTime,
  SubscrpnMassProcgUUID,
  SubscrpnMassProcgID,
  SbsMssProcgElmntProcdAtDteTme,
  SubscrpnMassProcgElmntSts,
  SubscrpnMassProcgElmntLgHandle,
  SubscriptionContract,
  SubscriptionChangeOrder,
  SbsMssProcgElmFllwUpDoc,
  SbsMssProcgElmntActvtnDteTme,
  SbsMssProcgElmntSoldToParty,
  SbsMssProcgElmContractAccount,
  SubscrpnMassProcgElmntSlsOrg,
  SbsMssProcgElmDistrChnl,
  SubscrpnMassProcgElmntDivn,
  SubscrpnMassProcgElmntSlsOffc,
  SubscrpnMassProcgElmntSlsGrp,
  SbsMssProcgElmSlsOrgUntID
FROM crms4d_som_mped
LEFT OUTER JOIN I_SubscrpnMassProcgElmntSts AS _SubscrpnMassProcgElmntSts ON SubscrpnMassProcgElmntSts = _SubscrpnMassProcgElmntSts.SubscrpnMassProcgElmntSts  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON SbsMssProcgElmContractAccount = _ContractAccountPartner.ContractAccount AND SbsMssProcgElmntSoldToParty = _ContractAccountPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _SoldToParty ON SbsMssProcgElmntSoldToParty = _SoldToParty.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SubscrpnMassProcgElmntSlsOrg = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_SalesOffice AS _SalesOffice ON SubscrpnMassProcgElmntSlsOffc = _SalesOffice.SalesOffice  -- association [0..1]
LEFT OUTER JOIN I_SalesGroup AS _SalesGroup ON SubscrpnMassProcgElmntSlsGrp = _SalesGroup.SalesGroup  -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON SubscrpnMassProcgElmntDivn = _Division.Division  -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON SbsMssProcgElmDistrChnl = _DistributionChannel.DistributionChannel  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganizationUnit AS _SalesOrganizationUnit ON SbsMssProcgElmSlsOrgUntID = _SalesOrganizationUnit.OrganizationalUnit  -- association [0..1]
;