C_ARProcessFlowServiceContract

DDL: C_ARPROCESSFLOWSERVICECONTRACT Type: view_entity CONSUMPTION Package: ODATA_PROCESS_FLOW_AR

Service Contract Attributes

C_ARProcessFlowServiceContract is a Consumption CDS View that provides data about "Service Contract Attributes" in SAP S/4HANA. It reads from 1 data source (P_ARProcessFlowServiceContract) and exposes 40 fields with key field ServiceDocument. It is exposed through 1 OData service (ASQL_F2692). Part of development package ODATA_PROCESS_FLOW_AR.

Data Sources (1)

SourceAliasJoin Type
P_ARProcessFlowServiceContract P_ARProcessFlowServiceContract from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
EndUserText.label Service Contract Attributes view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F2692 ASQL_F2692 C2 NOT_RELEASED

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocument ServiceDocument Transaction ID
ServiceObjectType ServiceObjectType Object Type
ServiceDocumentStatus ServiceDocumentStatus
ServiceDocNetAmount ServiceDocNetAmount
ServiceDocGrossAmount ServiceDocGrossAmount
TransactionCurrency TransactionCurrency Transaction Currency
ServiceDocumentCreationDate ServiceDocumentCreationDate
SoldToParty SoldToParty Sold-to Party
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
SalesOrganization SalesOrganization Sales Organization
SalesOrganizationName SalesOrganizationName Sales Organization Description
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
DistributionChannelName DistributionChannelName
Division Division Internal Division ID
DivisionName DivisionName Division Description
SalesAreaSemanticKey SalesArea
SalesAreaDesc SalesAreaDesc
CreatedByUser ServiceDocumentCreatedByUser
CreationDateTime ServiceDocCreationDateTime
ServiceContractStartDate ServiceContractStartDate
ServiceContractEndDate ServiceContractEndDate
CustomerPaymentTerms PaymentTerms Pyt Terms
NumberOfServiceDocuments
SDDocumentCategory SDDocumentCategory Document Cat.
ServiceDocumentStatusName ServiceDocumentStatusName
CustomerName CustomerName Name of Customer
FullName FullName Name
PaymentTermsName PaymentTermsName Description
SDDocumentCategoryName SDDocumentCategoryName
_DistributionChannel _DistributionChannel
_Division _Division
_PaymentTerms _PaymentTerms
_SalesOrganization _SalesOrganization
_ServiceDocument _ServiceDocument
_Item _Item
_ServiceObjType _ServiceObjType
_SoldToParty _SoldToParty
_SoldToPartyToCustomer _SoldToPartyToCustomer
_SrvcDocLifecycleStatus _SrvcDocLifecycleStatus
_TransactionCurrency _TransactionCurrency

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_ARProcessFlowServiceContract.
-- 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_ARProcessFlowServiceContract AS
SELECT
  ServiceDocument,
  ServiceObjectType,
  ServiceDocumentStatus,
  ServiceDocNetAmount,
  ServiceDocGrossAmount,
  TransactionCurrency,
  ServiceDocumentCreationDate,
  SoldToParty,
  PurchaseOrderByCustomer,
  SalesOrganization,
  SalesOrganizationName,
  DistributionChannel,
  DistributionChannelName,
  Division,
  DivisionName,
  SalesArea AS SalesAreaSemanticKey,
  SalesAreaDesc,
  ServiceDocumentCreatedByUser AS CreatedByUser,
  ServiceDocCreationDateTime AS CreationDateTime,
  ServiceContractStartDate,
  ServiceContractEndDate,
  PaymentTerms AS CustomerPaymentTerms,
  count( distinct _Item.ServiceDocumentItem ) AS NumberOfServiceDocuments,
  SDDocumentCategory,
  ServiceDocumentStatusName,
  CustomerName,
  FullName,
  PaymentTermsName,
  SDDocumentCategoryName
FROM P_ARProcessFlowServiceContract
;