C_SrvcQtanProcFlowInformation

DDL: C_SRVCQTANPROCFLOWINFORMATION Type: view CONSUMPTION

Srvc Quotation Info for Transaction History

C_SrvcQtanProcFlowInformation is a Consumption CDS View that provides data about "Srvc Quotation Info for Transaction History" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocument) and exposes 17 fields with key field ServiceQuotation. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocument I_ServiceDocument from

Parameters (1)

NameTypeDefault
P_Language spras

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SrvcMgmtObjectStatus _SrvcMgmtObjectStatus $projection.ServiceDocumentUUID = _SrvcMgmtObjectStatus.SrvcMgmtObjectUUID and _SrvcMgmtObjectStatus.SrvcMgmtObjectStatusIsInactive = '' and ( _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1002' or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1003' or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1004' or _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1005' )

Annotations (12)

NameValueLevelField
EndUserText.label Srvc Quotation Info for Transaction History view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey ServiceQuotation view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CSRVQTPRCFLWINF view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY ServiceQuotation ServiceDocument Transaction ID
ServiceDocumentUUID ServiceDocumentUUID Object GUID
PostingDate PostingDate Posting Date for GR
ServiceObjectType ServiceObjectType Object Type
ServiceDocumentType ServiceDocumentType Transaction Type
SalesOrganization SalesOrganization Sales Organization
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
ResponsibleEmployee ResponsibleEmployee Employee Resp.
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID Sales Organization
SalesOfficeOrgUnitID SalesOfficeOrgUnitID Sales Office
SalesGroupOrgUnitID SalesGroupOrgUnitID Sales Group
ServiceOrganization ServiceOrganization Service Organization
ProcessFlowNodeTitle
ProcessFlowNodeShortTitle

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_SrvcQtanProcFlowInformation.
-- 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.
-- Parameters: P_Language : spras

CREATE VIEW C_SrvcQtanProcFlowInformation AS
SELECT
  ServiceDocument AS ServiceQuotation,
  ServiceDocumentUUID,
  PostingDate,
  ServiceObjectType,
  ServiceDocumentType,
  SalesOrganization,
  SalesOffice,
  SalesGroup,
  DistributionChannel,
  Division,
  ResponsibleEmployee,
  SalesOrganizationOrgUnitID,
  SalesOfficeOrgUnitID,
  SalesGroupOrgUnitID,
  ServiceOrganization,
  I_ServiceDocument._ServiceDocumentType._ServiceDocumentTypeText[1: Language = :P_Language].ServiceDocumentTypeName AS ProcessFlowNodeTitle,
  I_ServiceDocument._ServiceDocumentType._ServiceDocumentTypeText[1: Language = :P_Language].ServiceDocumentTypeShortName AS ProcessFlowNodeShortTitle
FROM I_ServiceDocument
LEFT OUTER JOIN I_SrvcMgmtObjectStatus AS _SrvcMgmtObjectStatus ON ServiceDocumentUUID = _SrvcMgmtObjectStatus.SrvcMgmtObjectUUID AND _SrvcMgmtObjectStatus.SrvcMgmtObjectStatusIsInactive = '' AND ( _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1002' OR _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1003' OR _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1004' OR _SrvcMgmtObjectStatus.SrvcMgmtObjectStatus = 'I1005' )  -- association [0..1]
;