C_BSQPMServiceOrder

DDL: C_BSQPMSERVICEORDER Type: view_entity CONSUMPTION

BSQPM Service Order Attribute

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

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd ServiceOrder from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_ServiceDocument _Extension _Extension.ServiceOrder = ServiceOrder.ServiceDocument

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label BSQPM Service Order 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 (5)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument ServiceDocument Transaction ID
RequestedServiceStartDate RequestedServiceStartDate
RequestedServiceEndDate RequestedServiceEndDate
NetAmount I_ServiceDocumentEnhcd ServiceDocNetAmount
TransactionCurrency 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_BSQPMServiceOrder.
-- 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_BSQPMServiceOrder AS
SELECT
  ServiceDocument,
  RequestedServiceStartDate,
  RequestedServiceEndDate,
  ServiceOrder.ServiceDocNetAmount AS NetAmount,
  TransactionCurrency
FROM I_ServiceDocumentEnhcd AS ServiceOrder
LEFT OUTER JOIN E_ServiceDocument AS _Extension ON _Extension.ServiceOrder = ServiceOrder.ServiceDocument  -- association [0..1]
;