I_AcctgServiceDocumentItemVH

DDL: I_ACCTGSERVICEDOCUMENTITEMVH SQL: IFIACSRVDOCITMVH Type: view COMPOSITE

Service Document Item ID

I_AcctgServiceDocumentItemVH (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_AcctgServiceDocumentItemVH is a Composite CDS View that provides data about "Service Document Item ID" in SAP S/4HANA. It reads from 1 data source (P_AcctgServiceDocumentItem) and exposes 15 fields with key fields ServiceDocumentType, ServiceDocument, ServiceDocumentItem. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Overhead Cost Controlling
Purpose
This view provides value help for the Service Document Item ( ServiceDocumentItem ) field. This view should be used for value help purposes only. If you intend to select the entire business data, use the view I_AcctgSrvcDocumentItemBasic instead. This CDS view provides the data to answer the following business questions: Which service document items are available in the system? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: CRM_ORD_PR (CRM Order - Business Transaction Type)

Structure
Important Fields Important fields in this view include the following: Field Name Description Comment ServiceDocumentType Service Document Type Service Document Type ServiceDocument Service Document Service Document ServiceDocumentItem Service Document Item Service Document Item CompanyCode Company Code Company Code ProfitCenter Profit Center Profit Center ServiceDocumentTypeName Description Description ServiceDocumentDescription Service Document Description Service Document Description ServiceDocItemCategory Item Category Item Category ServiceDocItemCategoryName Item Category Description Item Category Description ServiceDocumentItemDescription Service Document Item Description Service Document Item Description OriginallyRequestedProduct Product Name Product Name ProductName Product Description Product Description PostingDate Service Document Date Service Document Date SrvcOrderConfirmationRelevance Confirmation Relevance Relevant for Confirmation

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentCO-PC-OBJ-SRV
CapabilitiesData Provider for Value Help
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
P_AcctgServiceDocumentItem _AcctgServiceDocumentItem from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_AcctgServiceDocumentTypeVH _AcctgServiceDocumentTypeVH $projection.ServiceDocumentType = _AcctgServiceDocumentTypeVH.ServiceDocumentType

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IFIACSRVDOCITMVH view
ObjectModel.representativeKey ServiceDocumentItem view
ObjectModel.modelingPattern #VALUE_HELP_PROVIDER view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
Search.searchable true view
Consumption.ranked true view
EndUserText.label Service Document Item ID view
Metadata.ignorePropagatedAnnotations true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentType ServiceDocumentType Service Document Type
KEY ServiceDocument ServiceDocument Service Document ID
KEY ServiceDocumentItem ServiceDocumentItem Service Document Item ID
CompanyCode CompanyCode Receiver Company Code
ProfitCenter ProfitCenter Profit Center
ServiceDocumentTypeName ServiceDocumentTypeName Description
ServiceDocumentDescription ServiceDocumentDescription Service Document Description
ServiceDocItemCategory ServiceDocItemCategory Item Category
ServiceDocItemCategoryName Service Document Item Category Description
ServiceDocumentItemDescription ServiceDocumentItemDescription Service Document Item Description
OriginallyRequestedProduct OriginallyRequestedProduct Product Name Entered
ProductName Product Description
PostingDate PostingDate Service Document Date
SrvcOrderConfirmationRelevance SrvcOrderConfirmationRelevance Relevant for Confirmation
_AcctgServiceDocumentTypeVH _AcctgServiceDocumentTypeVH

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 I_AcctgServiceDocumentItemVH.
-- 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: IFIACSRVDOCITMVH

CREATE VIEW I_AcctgServiceDocumentItemVH AS
SELECT
  ServiceDocumentType,
  ServiceDocument,
  ServiceDocumentItem,
  CompanyCode,
  ProfitCenter,
  ServiceDocumentTypeName,
  ServiceDocumentDescription,
  ServiceDocItemCategory,
  cast( ServiceDocItemCategoryName as fco_srvdoc_item_type_desc preserving type ) AS ServiceDocItemCategoryName,
  ServiceDocumentItemDescription,
  OriginallyRequestedProduct,
  _ProductText[1: Language = $session.system_language].ProductName AS ProductName,
  PostingDate,
  SrvcOrderConfirmationRelevance
FROM P_AcctgServiceDocumentItem AS _AcctgServiceDocumentItem
LEFT OUTER JOIN I_AcctgServiceDocumentTypeVH AS _AcctgServiceDocumentTypeVH ON ServiceDocumentType = _AcctgServiceDocumentTypeVH.ServiceDocumentType  -- association [1..1]
;