A_ServiceQtanFUPSrvcOrd

DDL: A_SERVICEQTANFUPSRVCORD Type: view_entity CONSUMPTION

Follow-Up Service Orders

A_ServiceQtanFUPSrvcOrd is a Consumption CDS View that provides data about "Follow-Up Service Orders" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 15 fields with key fields ServiceQuotation, ServiceDocumentasServiceOrder. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentEnhcd SrvcDocEnhcd from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_ServiceQuotation _ServiceQuotation $projection.ServiceQuotation = _ServiceQuotation.ServiceQuotation

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Follow-Up Service Orders view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ServiceQuotation I_ServiceDocumentEnhcd ServiceDocument Transaction ID
KEY ServiceDocumentasServiceOrder
DistributionChannel I_ServiceDocumentEnhcd DistributionChannel RefDistCh-Cust/Mat.
Division I_ServiceDocumentEnhcd Division Internal Division ID
RespEmployeeBusinessPartnerId I_ServiceDocumentEnhcd ResponsibleEmployee Employee Resp.
SalesGroup I_ServiceDocumentEnhcd SalesGroup Sales Group
SalesGroupOrgUnitID I_ServiceDocumentEnhcd SalesGroupOrgUnitID
SalesOffice I_ServiceDocumentEnhcd SalesOffice Sales Office
SalesOfficeOrgUnitID I_ServiceDocumentEnhcd SalesOfficeOrgUnitID
SalesOrganization I_ServiceDocumentEnhcd SalesOrganization Sales Organization
SalesOrganizationOrgUnitID I_ServiceDocumentEnhcd SalesOrganizationOrgUnitID
ServiceDocumentType I_ServiceDocumentEnhcd ServiceDocumentType Transaction Type
ServiceObjectType I_ServiceDocumentEnhcd ServiceObjectType Object Type
ServiceOrganization I_ServiceDocumentEnhcd ServiceOrganization
_ServiceQuotation _ServiceQuotation

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_ServiceQtanFUPSrvcOrd.
-- 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_ServiceQtanFUPSrvcOrd AS
SELECT
  SrvcDocEnhcd.ServiceDocument AS ServiceQuotation,
  SrvcDocEnhcd._ServiceDocSuccessor[inner where ServiceDocumentRelationType = 'VONA' and ServiceDocSuccessorBusObjType = 'BUS2000116'] ._ServiceDoc[inner where ServiceDocumentIsQuotation is initial] .ServiceDocument as ServiceOrder AS ServiceDocumentasServiceOrder,
  SrvcDocEnhcd.DistributionChannel AS DistributionChannel,
  SrvcDocEnhcd.Division AS Division,
  SrvcDocEnhcd.ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
  SrvcDocEnhcd.SalesGroup AS SalesGroup,
  SrvcDocEnhcd.SalesGroupOrgUnitID AS SalesGroupOrgUnitID,
  SrvcDocEnhcd.SalesOffice AS SalesOffice,
  SrvcDocEnhcd.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
  SrvcDocEnhcd.SalesOrganization AS SalesOrganization,
  SrvcDocEnhcd.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
  SrvcDocEnhcd.ServiceDocumentType AS ServiceDocumentType,
  SrvcDocEnhcd.ServiceObjectType AS ServiceObjectType,
  SrvcDocEnhcd.ServiceOrganization AS ServiceOrganization
FROM I_ServiceDocumentEnhcd AS SrvcDocEnhcd
LEFT OUTER JOIN A_ServiceQuotation AS _ServiceQuotation ON ServiceQuotation = _ServiceQuotation.ServiceQuotation  -- association [1..1]
;