C_SrvcOrdSrvcConfirmationVH

DDL: C_SRVCORDSRVCCONFIRMATIONVH SQL: CSRVCONFOFORD Type: view CONSUMPTION

Service Confirmations of Service Order

C_SrvcOrdSrvcConfirmationVH is a Consumption CDS View that provides data about "Service Confirmations of Service Order" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 27 fields with key fields ServiceObjectType, ServiceConfirmation. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd SrvcDocument from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_SrvcOrderFUPSrvcConfirmation _UnplndItmSrvcOrderSrvcConf $projection.ServiceConfirmationUUID = _UnplndItmSrvcOrderSrvcConf.ServiceDocumentUUID and _UnplndItmSrvcOrderSrvcConf.ServiceObjectType = 'BUS2000117'
[0..1] I_CustMgmtLifecycleUserStsText _SrvcDocCustMgmtLCUsrStsTxt _SrvcDocCustMgmtLCUsrStsTxt.CustMgmtLifecycleUserStatus = $projection.ServiceDocumentStatus and _SrvcDocCustMgmtLCUsrStsTxt.Language = $session.system_language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CSRVCONFOFORD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Service Confirmations of Service Order view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY ServiceConfirmation ServiceDocument Confirmation ID
ServiceConfirmationDescription ServiceDocumentDescription Description
ServiceConfirmationUUID ServiceDocumentUUID Object GUID
ServiceOrder
ServiceConfirmationType ServiceDocumentType Transaction Type
ServiceDocumentIsOpen ServiceDocumentIsOpen
ServiceDocumentIsReleased ServiceDocumentIsReleased
ServiceDocumentIsRejected ServiceDocumentIsRejected
ServiceDocumentHasError ServiceDocumentHasError
ServiceDocumentStatus ServiceDocumentStatus Status
ServiceDocumentUUID _UnplndItmSrvcOrderSrvcConf ServiceDocumentPredecessorUUID
SoldToParty SoldToParty Sold-to Party
_UnplndItmSrvcOrderSrvcConf _UnplndItmSrvcOrderSrvcConf
_SoldToParty _SoldToParty
ServiceDocumentType ServiceDocumentType Transaction Type
ResponsibleEmployee ResponsibleEmployee Employee Resp.
SalesOrganization SalesOrganization Sales Organization
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceOrganization ServiceOrganization
_SrvcDocCustMgmtLCUsrStsTxt _SrvcDocCustMgmtLCUsrStsTxt

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_SrvcOrdSrvcConfirmationVH.
-- 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.
-- SQL view name: CSRVCONFOFORD

CREATE VIEW C_SrvcOrdSrvcConfirmationVH AS
SELECT
  ServiceObjectType,
  ServiceDocument AS ServiceConfirmation,
  ServiceDocumentDescription AS ServiceConfirmationDescription,
  ServiceDocumentUUID AS ServiceConfirmationUUID,
  _ServiceDocPredecessor._ServiceDoc.ServiceDocument AS ServiceOrder,
  ServiceDocumentType AS ServiceConfirmationType,
  ServiceDocumentIsOpen,
  ServiceDocumentIsReleased,
  ServiceDocumentIsRejected,
  ServiceDocumentHasError,
  ServiceDocumentStatus,
  _UnplndItmSrvcOrderSrvcConf.ServiceDocumentPredecessorUUID AS ServiceDocumentUUID,
  SoldToParty,
  ServiceDocumentType,
  ResponsibleEmployee,
  SalesOrganization,
  DistributionChannel,
  Division,
  SalesOffice,
  SalesGroup,
  SalesOrganizationOrgUnitID,
  SalesOfficeOrgUnitID,
  SalesGroupOrgUnitID,
  ServiceOrganization
FROM I_ServiceDocumentEnhcd AS SrvcDocument
LEFT OUTER JOIN I_SrvcOrderFUPSrvcConfirmation AS _UnplndItmSrvcOrderSrvcConf ON ServiceConfirmationUUID = _UnplndItmSrvcOrderSrvcConf.ServiceDocumentUUID AND _UnplndItmSrvcOrderSrvcConf.ServiceObjectType = 'BUS2000117'  -- association [0..*]
LEFT OUTER JOIN I_CustMgmtLifecycleUserStsText AS _SrvcDocCustMgmtLCUsrStsTxt ON _SrvcDocCustMgmtLCUsrStsTxt.CustMgmtLifecycleUserStatus = ServiceDocumentStatus AND _SrvcDocCustMgmtLCUsrStsTxt.Language = $session.system_language  -- association [0..1]
;