C_BSQPMServiceContract

DDL: C_BSQPMSERVICECONTRACT Type: view_entity CONSUMPTION

BSQPM Service Contract Attribute

C_BSQPMServiceContract is a Consumption CDS View that provides data about "BSQPM Service Contract Attribute" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 3 fields with key field ServiceDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd SrvcContract from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_ServiceDocument _Extension _Extension.ServiceOrder = SrvcContract.ServiceDocument and _Extension.ServiceCategory = SrvcContract.ServiceObjectType

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label BSQPM Service Contract Attribute view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument I_ServiceDocumentEnhcd ServiceDocument Transaction ID
ServiceDocNetAmount I_ServiceDocumentEnhcd ServiceDocNetAmount
TransactionCurrency I_ServiceDocumentEnhcd TransactionCurrency Transaction Currency

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 C_BSQPMServiceContract.
-- 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 C_BSQPMServiceContract AS
SELECT
  SrvcContract.ServiceDocument AS ServiceDocument,
  SrvcContract.ServiceDocNetAmount AS ServiceDocNetAmount,
  SrvcContract.TransactionCurrency AS TransactionCurrency
FROM I_ServiceDocumentEnhcd AS SrvcContract
LEFT OUTER JOIN E_ServiceDocument AS _Extension ON _Extension.ServiceOrder = SrvcContract.ServiceDocument AND _Extension.ServiceCategory = SrvcContract.ServiceObjectType  -- association [0..1]
;