A_SvTrMtAgrReltdSbscrOrd

DDL: A_SVTRMTAGRRELTDSBSCRORD Type: view_entity CONSUMPTION

Header Related Subscription Order

A_SvTrMtAgrReltdSbscrOrd is a Consumption CDS View that provides data about "Header Related Subscription Order" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 6 fields with key field SubscriptionOrder. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItemEnhcd I_ServiceDocumentItemEnhcd from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_SrvcTransMasterAgreement _MasterAgreement $projection.CustMgmtMasterAgreement = _MasterAgreement.SrvcTransMstrAgrmtID

Annotations (9)

NameValueLevelField
EndUserText.label Header Related Subscription Order view
AccessControl.authorizationCheck #CHECK view
Metadata.ignorePropagatedAnnotations true view
OData.entityType.name MasterAgreementRelatedSubscriptionOrder_Type view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SubscriptionOrder ServiceDocument Transaction ID
ServiceObjectType ServiceObjectType Object Type
SoldToParty SoldToParty Sold-to Party
PostingDate PostingDate Posting Date for GR
CustMgmtMasterAgreement CustMgmtMasterAgreement
_MasterAgreement _MasterAgreement

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 A_SvTrMtAgrReltdSbscrOrd.
-- 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 A_SvTrMtAgrReltdSbscrOrd AS
SELECT
  ServiceDocument AS SubscriptionOrder,
  ServiceObjectType,
  SoldToParty,
  PostingDate,
  CustMgmtMasterAgreement
FROM I_ServiceDocumentItemEnhcd
LEFT OUTER JOIN A_SrvcTransMasterAgreement AS _MasterAgreement ON CustMgmtMasterAgreement = _MasterAgreement.SrvcTransMstrAgrmtID  -- association [1..1]
;