FIN_SUBVAL_ACCTGSRVCDOC
FIN Subst. acctg. srv. doc.
FIN_SUBVAL_ACCTGSRVCDOC is a CDS View that provides data about "FIN Subst. acctg. srv. doc." in SAP S/4HANA. It reads from 1 data source (I_AcctgServiceDocumentItem) and exposes 34 fields. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_AcctgServiceDocumentItem | asdi | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_Product | _Product | $projection.product = _Product.Product |
| [1] | I_ProductPlantBasic | _ProductPlant | $projection.product = _ProductPlant.Product and $projection.plant = _ProductPlant.Plant |
| [1] | E_ServiceDocument | _SrvcDocument | asdi.ServiceObjectType = _SrvcDocument.ServiceCategory and asdi.ServiceDocument = _SrvcDocument.ServiceOrder |
| [1] | E_ServiceDocumentItem | _SrvcDocumentItem | asdi.ServiceObjectType = _SrvcDocumentItem.ServiceCategory and asdi.ServiceDocument = _SrvcDocumentItem.ServiceOrderItem and asdi.ServiceDocumentItem = _SrvcDocumentItem.ServiceLineExternalID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FISACCSRVDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | FIN Subst. acctg. srv. doc. | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ServiceDocument | I_AcctgServiceDocumentItem | ServiceDocument | Transaction ID | |
| ServiceDocItemCategory | ||||
| ServiceDocumentType | I_AcctgServiceDocumentItem | ServiceDocumentType | Transaction Type | |
| DistributionChannel | I_AcctgServiceDocumentItem | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | ||||
| Product | ||||
| ProfitCenter | I_AcctgServiceDocumentItem | ProfitCenter | Profit Center | |
| Plant | ||||
| SalesOrganization | I_AcctgServiceDocumentItem | SalesOrganization | Sales Organization | |
| FunctionalArea | I_AcctgServiceDocumentItem | FunctionalArea | Sendr Fctl Area | |
| CostingSheet | I_AcctgServiceDocumentItem | CostingSheet | Costing Sheet | |
| CompanyCode | I_AcctgServiceDocumentItem | CompanyCode | Receiver Company Code | |
| ControllingSettlementProfile | ||||
| BusinessArea | ||||
| CostingVariant | ||||
| RevenueRecognitionIsActive | ||||
| ResultAnalysisInternalID | ||||
| SoldToParty | ||||
| BillToParty | ||||
| ShipToParty | ||||
| Equipment | ||||
| SalesOffice | ||||
| SalesGroup | ||||
| RespyMgmtTeamID | ||||
| ServiceTeam | ||||
| FunctionalLocation | ||||
| CustomerGroup | ||||
| BillableControl | ||||
| ServiceObjectType | I_AcctgServiceDocumentItem | ServiceObjectType | Object Type | |
| ServiceDocumentItem | I_AcctgServiceDocumentItem | ServiceDocumentItem | Service Document | |
| _Product | _Product | |||
| _ProductPlant | _ProductPlant | |||
| _SrvcDocument | _SrvcDocument | |||
| _SrvcDocumentItem | _SrvcDocumentItem |
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 FIN_SUBVAL_ACCTGSRVCDOC.
-- 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: FISACCSRVDOC
CREATE VIEW FIN_SUBVAL_ACCTGSRVCDOC AS
SELECT
asdi.ServiceDocument AS ServiceDocument,
asdi._ServiceDocumentItem.ServiceDocItemCategory AS ServiceDocItemCategory,
asdi.ServiceDocumentType AS ServiceDocumentType,
asdi.DistributionChannel AS DistributionChannel,
asdi._ServiceDocumentItem._Division.Division AS Division,
asdi._ServiceDocumentItem.Product AS Product,
asdi.ProfitCenter AS ProfitCenter,
asdi._ServiceDocumentItem.Plant AS Plant,
asdi.SalesOrganization AS SalesOrganization,
asdi.FunctionalArea AS FunctionalArea,
asdi.CostingSheet AS CostingSheet,
asdi.CompanyCode AS CompanyCode,
cast('' as aprof) AS ControllingSettlementProfile,
cast('' as gsber) AS BusinessArea,
cast('' as ck_klvar) AS CostingVariant,
cast('' as fco_revrec_active) AS RevenueRecognitionIsActive,
cast('' as fins_trr_recgnkey ) AS ResultAnalysisInternalID,
cast('' as kunag ) AS SoldToParty,
cast('' as kunre ) AS BillToParty,
cast('' as kunwe ) AS ShipToParty,
cast('' as equnr ) AS Equipment,
cast('' as vkbur ) AS SalesOffice,
cast('' as vkgrp) AS SalesGroup,
cast('00000000' as hrobjid) AS RespyMgmtTeamID,
cast('' as bu_partner) AS ServiceTeam,
cast('' as tplnr) AS FunctionalLocation,
cast('' as kdgrp) AS CustomerGroup,
cast('' as crmt_ac_indicator) AS BillableControl,
asdi.ServiceObjectType AS ServiceObjectType,
asdi.ServiceDocumentItem AS ServiceDocumentItem
FROM I_AcctgServiceDocumentItem AS asdi
LEFT OUTER JOIN I_Product AS _Product ON product = _Product.Product -- association [1]
LEFT OUTER JOIN I_ProductPlantBasic AS _ProductPlant ON product = _ProductPlant.Product AND plant = _ProductPlant.Plant -- association [1]
LEFT OUTER JOIN E_ServiceDocument AS _SrvcDocument ON asdi.ServiceObjectType = _SrvcDocument.ServiceCategory AND asdi.ServiceDocument = _SrvcDocument.ServiceOrder -- association [1]
LEFT OUTER JOIN E_ServiceDocumentItem AS _SrvcDocumentItem ON asdi.ServiceObjectType = _SrvcDocumentItem.ServiceCategory AND asdi.ServiceDocument = _SrvcDocumentItem.ServiceOrderItem AND asdi.ServiceDocumentItem = _SrvcDocumentItem.ServiceLineExternalID -- association [1]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA