C_BSOrdProcFlwSrvcContr

DDL: C_BSORDPROCFLWSRVCCONTR Type: view CONSUMPTION

Service Contract Attrib for BSOrd Prgrs

C_BSOrdProcFlwSrvcContr is a Consumption CDS View that provides data about "Service Contract Attrib for BSOrd Prgrs" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 6 fields with key field UI5NetworkGraphAttributeValue. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd SrvContHeader from

Associations (2)

CardinalityTargetAliasCondition
[0..1] P_BusSolnOrdSubsqntDocTypeText _DocumentType _DocumentType.UI5NetworkGraphDescription = 'CSCT'
[0..1] E_ServiceDocument _Extension _Extension.ServiceCategory = 'BUS2000112' and _Extension.ServiceOrder = SrvContHeader.ServiceDocument

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSRVCTRATTRIB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
EndUserText.label Service Contract Attrib for BSOrd Prgrs view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY UI5NetworkGraphAttributeValue I_ServiceDocumentEnhcd ServiceDocument Transaction ID
NetAmount I_ServiceDocumentEnhcd ServiceDocNetAmount
TransactionCurrency I_ServiceDocumentEnhcd TransactionCurrency Transaction Currency
UI5NetworkGraphStatusName _StatusText StatusName
HasError I_ServiceDocumentEnhcd ServiceDocumentHasError
UI5NetworkGraphDescription

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_BSOrdProcFlwSrvcContr.
-- 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_BSOrdProcFlwSrvcContr AS
SELECT
  SrvContHeader.ServiceDocument AS UI5NetworkGraphAttributeValue,
  SrvContHeader.ServiceDocNetAmount AS NetAmount,
  SrvContHeader.TransactionCurrency AS TransactionCurrency,
  _StatusText.StatusName AS UI5NetworkGraphStatusName,
  SrvContHeader.ServiceDocumentHasError AS HasError,
  _DocumentType[1: Language = $session.system_language].UI5NetworkGraphDescriptionName AS UI5NetworkGraphDescription
FROM I_ServiceDocumentEnhcd AS SrvContHeader
LEFT OUTER JOIN P_BusSolnOrdSubsqntDocTypeText AS _DocumentType ON _DocumentType.UI5NetworkGraphDescription = 'CSCT'  -- association [0..1]
LEFT OUTER JOIN E_ServiceDocument AS _Extension ON _Extension.ServiceCategory = 'BUS2000112' AND _Extension.ServiceOrder = SrvContHeader.ServiceDocument  -- association [0..1]
;