P_AcctgServiceDocument
Financials View of Service Document
P_AcctgServiceDocument is a Basic CDS View that provides data about "Financials View of Service Document" in SAP S/4HANA. It reads from 1 data source (fco_srvdoc) and exposes 24 fields with key fields ServiceDocumentType, ServiceDocument, ServiceDocumentItem. Part of development package K_SERVICE_DOC_CORE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fco_srvdoc | fco_srvdoc | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIACSRVDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceDocumentType | service_doc_type | ||
| KEY | ServiceDocument | service_doc_id | ||
| KEY | ServiceDocumentItem | service_doc_item_id | ||
| ControllingObject | objnr | |||
| ObjectType | ||||
| SolutionOrder | solution_order_id | |||
| BusinessSolutionOrder | solution_order_id | |||
| CompanyCode | company_code | |||
| ControllingArea | controlling_area | |||
| ProfitCenter | profit_center | |||
| FunctionalArea | functional_area | |||
| SalesOrganization | sales_organization | |||
| DistributionChannel | distribution_channel | |||
| Division | division | |||
| ResultAnalysisInternalID | rev_rec_key | |||
| Currency | object_currency | |||
| CostingSheet | costing_sheet | |||
| ServiceDocumentItemDescription | service_doc_item_desc | |||
| ServiceObjectType | object_type | |||
| ServiceDocumentItemObjectType | item_object_type | |||
| WBSElementInternalID | ||||
| SrvcContrItmControllingObject | objnr_sc | |||
| ServiceDocumentItemCharUUID | service_doc_item_guid_char | |||
| SrvcDocItmRevnAcctgRlvnceType | revacc_relevant_type |
@AbapCatalog.sqlViewName: 'PFIACSRVDOC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #BASIC
@ObjectModel.usageType: {
sizeCategory: #L,
serviceQuality: #C,
dataClass: #TRANSACTIONAL
}
//@EndUserText.label: 'Financials View of Service Document'
define view P_AcctgServiceDocument
as select from fco_srvdoc
{
key service_doc_type as ServiceDocumentType,
key service_doc_id as ServiceDocument,
key service_doc_item_id as ServiceDocumentItem,
objnr as ControllingObject,
cast(left(objnr, 2) as j_obart) as ObjectType,
solution_order_id as SolutionOrder,
solution_order_id as BusinessSolutionOrder,
company_code as CompanyCode,
controlling_area as ControllingArea,
profit_center as ProfitCenter,
functional_area as FunctionalArea,
sales_organization as SalesOrganization,
distribution_channel as DistributionChannel,
division as Division,
rev_rec_key as ResultAnalysisInternalID,
object_currency as Currency,
costing_sheet as CostingSheet,
service_doc_item_desc as ServiceDocumentItemDescription,
object_type as ServiceObjectType,
item_object_type as ServiceDocumentItemObjectType,
cast( wbs_elem as ps_s4_pspnr preserving type ) as WBSElementInternalID,
objnr_sc as SrvcContrItmControllingObject,
service_doc_item_guid_char as ServiceDocumentItemCharUUID,
revacc_relevant_type as SrvcDocItmRevnAcctgRlvnceType
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA