P_ACCTGSERVICEDOCUMENTITEM
Financials View of Service Document Item
P_ACCTGSERVICEDOCUMENTITEM is a CDS View in S/4HANA. Financials View of Service Document Item. It contains 1 fields. 8 CDS views read from this table.
CDS Views using this table (8)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_AccountingServiceDocument | view_entity | from | COMPOSITE | Accounting Service Document |
| I_AcctgServiceDocumentItemVH | view | from | COMPOSITE | Service Document Item ID |
| I_AcctgServiceDocumentType | view_entity | from | COMPOSITE | Accounting Service Document Type |
| I_AcctgServiceDocumentTypeVH | view | from | COMPOSITE | Service Document Type |
| I_AcctgServiceDocumentVH | view | from | COMPOSITE | Service Document ID |
| I_ServiceOrderDocumentItemVH | view | from | COMPOSITE | Service Order Document Item ID |
| I_ServiceOrderDocumentTypeVH | view | from | COMPOSITE | Service Order Document Type |
| I_ServiceOrderDocumentVH | view | from | COMPOSITE | Service Order Document ID |
Fields (1)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ServiceDocumentType | ServiceDocumentType | 2 |
@AbapCatalog.sqlViewName: 'PFIACSRVDOCITM'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
sizeCategory: #L,
serviceQuality: #C,
dataClass: #TRANSACTIONAL
}
//@EndUserText.label: 'Financials View of Service Document'
define view P_AcctgServiceDocumentItem
as select from I_AcctgServiceDocumentItem
association [1..*] to I_ProductText as _ProductText on $projection.OriginallyRequestedProduct = _ProductText.Product
{
key ServiceDocumentType,
key ServiceDocument,
key ServiceDocumentItem,
ControllingObject,
CompanyCode,
ControllingArea,
ProfitCenter,
FunctionalArea,
ResultAnalysisInternalID,
Currency,
cast(_ServiceDocument.ServiceDocumentDescription as fco_srvdoc_description) as ServiceDocumentDescription,
_ServiceDocumentItem.ServiceDocItemCategory as ServiceDocItemCategory,
ServiceDocumentItemDescription,
////cast(_ServiceDocumentItem.OriginallyRequestedProduct as productnumber) as OriginallyRequestedProduct,
_ServiceDocumentItem.OriginallyRequestedProduct as OriginallyRequestedProduct,
cast(_ServiceDocument.PostingDate as fco_srvdoc_date) as PostingDate,
_ServiceDocumentType[1: Language = $session.system_language].ServiceDocumentTypeName as ServiceDocumentTypeName,
_ServiceDocumentItem._ServiceDocItemCategory._ServiceDocItemCategoryText[1: Language = $session.system_language].ServiceDocItemCategoryName as ServiceDocItemCategoryName,
////_ProfitCenter[1: Language = $session.system_language].ProfitCenterName as ProfitCenterName,
_ServiceDocumentItem.SrvcOrderConfirmationRelevance as SrvcOrderConfirmationRelevance,
_ProductText,
_ServiceDocument,
_ServiceDocumentItem
}