I_SERVICEDOCUMENTENHCD
Service Transaction Enhanced
I_SERVICEDOCUMENTENHCD is a CDS View in S/4HANA. Service Transaction Enhanced. It contains 139 fields. 117 CDS views read from this table.
CDS Views using this table (117)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_BusinessSolutionOrder | view | from | COMPOSITE | Solution Order Header |
| A_BusinessSolutionQuotation | view | from | COMPOSITE | Solution Quotation Header |
| A_BusSolnOrdBillgReqItmPrcElm | view | inner | COMPOSITE | Service Contract Item BRL Price Elements |
| A_BusSolnOrderItemPriceElement | view | inner | COMPOSITE | Item Price Element |
| A_BusSolnOrdItmRateElmntPrcElm | view | inner | COMPOSITE | Item Rate Element Price Element |
| A_BusSolnQtanItmPriceElement | view | inner | COMPOSITE | Item Price Element |
| A_ServiceConfirmation | view | from | COMPOSITE | Service Confirmation |
| A_ServiceConfItemPriceElement | view | inner | COMPOSITE | Price Element of Srvc Confirmation Item |
| A_ServiceConfPriceElement | view | inner | COMPOSITE | Price Element of Service Confirmation |
| A_ServiceContract | view | from | CONSUMPTION | Service Contract Header |
| A_ServiceContrItemPriceElement | view | inner | COMPOSITE | Item Price Element |
| A_ServiceOrder | view | from | COMPOSITE | Service Order |
| A_ServiceOrderItemPriceElement | view | inner | COMPOSITE | Price Element of Service Order Item |
| A_ServiceOrderPriceElement | view | inner | COMPOSITE | Price Element of Service Order |
| A_ServiceOrderTemplate | view | from | COMPOSITE | Service Order Template |
| A_ServiceQtanFUPSrvcOrd | view_entity | from | CONSUMPTION | Follow-Up Service Orders |
| A_ServiceQtanItemPriceElement | view | inner | COMPOSITE | Price Element of Srvc Quotation Item |
| A_ServiceQtanPriceElement | view | inner | COMPOSITE | Price Element of Service Quotation |
| A_ServiceQuotation | view | from | COMPOSITE | Service Quotation |
| A_ServiceRequest | view | from | COMPOSITE | Service Request |
| A_ServiceRequestReason | view | from | COMPOSITE | Service Request Reason |
| A_SrvcContrBillgReqItmPrcElmnt | view | inner | COMPOSITE | BRL Price Element |
| A_SubscriptionContract | view_entity | from | CONSUMPTION | Subscription Contract Header |
| A_SubscrpnContrItmPrElmnt | view_entity | inner | CONSUMPTION | Subscription Contract Item Pricing Element |
| C_BSOrdProcFlwRefSrvcContr | view | from | CONSUMPTION | SrvcContr Prdcssr Attrib for BSOrd Prgrs |
| C_BSOrdProcFlwRoot | view | from | CONSUMPTION | Solution Order Attrib for BSOrd Prgrs |
| C_BSOrdProcFlwSrvcConf | view | from | CONSUMPTION | SrvcConf Attrib for BSOrd Prgrs |
| C_BSOrdProcFlwSrvcContr | view | from | CONSUMPTION | Service Contract Attrib for BSOrd Prgrs |
| C_BSOrdProcFlwSrvcOrd | view | from | CONSUMPTION | Service Order Attrib for BSOrd Prgrs |
| C_BSQPMServiceConfirmation | view_entity | from | CONSUMPTION | SQ Progress Monitor Service Confirmation |
| C_BSQPMServiceContract | view_entity | from | CONSUMPTION | BSQPM Service Contract Attribute |
| C_BSQPMServiceOrder | view_entity | from | CONSUMPTION | BSQPM Service Order Attribute |
| C_BSQPMSubscriptionContract | view_entity | from | CONSUMPTION | BSQPM Subscription Contract Attribute |
| C_BSQPMSubscriptionOrder | view_entity | from | CONSUMPTION | Subscription Order Attribute |
| C_BusSolnOrdEmailDataProvider | view | from | CONSUMPTION | Email data provider for Solution Order OM |
| C_Customer360ServiceOrder | view_entity | from | CONSUMPTION | Customer 360 Service Order |
| C_Customer360ServiceQuotation | view_entity | from | CONSUMPTION | Service quotations for customer 360 |
| C_InhRepairOpenSrvcConf | view | from | CONSUMPTION | In-House Repair with Open Confirmations |
| C_ServiceContractTemplateVH | view_entity | from | CONSUMPTION | Service Contract Template |
| C_ServiceDocObjPgErrorLog | view | from | CONSUMPTION | View for Service document error messages |
| C_ServiceDocObjPgNotes | view | from | CONSUMPTION | View for Service document notes |
| C_ServiceMgmtOvPgGlobalFltr | view | from | CONSUMPTION | Query view for Service management filter |
| C_ServiceOrderEnhcd | view | from | CONSUMPTION | Get all basic data for Service Order |
| C_ServiceOrderTemplateVH | view | from | CONSUMPTION | List of Service Templates |
| C_SrvcConfListRptAndObjPg | view | from | CONSUMPTION | Service Confirmation |
| C_SrvcContrListRptAndObjPg | view | from | CONSUMPTION | Service Contract |
| C_SrvcDocObjPgTransHistory | view | from | CONSUMPTION | View for Service document transaction history |
| C_SrvcOrdEmailDataProvider | view | from | CONSUMPTION | Email Data Provider for Service Order |
| C_SrvcOrderDateTimeline | view | from | CONSUMPTION | Date timeline for Service Order |
| C_SrvcOrderListRptAndObjPg | view | from | CONSUMPTION | Service Order |
| C_SrvcOrderObjPgPricingDets | view | from | CONSUMPTION | Service Order Price Details |
| C_SrvcOrdFUPSrvcConfTransHist | view | from | CONSUMPTION | View for Service document transaction history |
| C_SrvcOrdSrvcConfirmationVH | view | from | CONSUMPTION | Service Confirmations of Service Order |
| C_SrvcQtanEmailDataProvider | view | from | CONSUMPTION | Email Data Provider for Service Quotation |
| C_SrvcQtanEmailParameter | view | from | CONSUMPTION | Parameters for Service Quotation Email Template |
| C_SrvcQtanListRptAndObjPg | view | from | CONSUMPTION | Service Quotation |
| ESH_N_SOLUTIONORDER | view | from | ||
| ESH_N_SRVCCONF | view | from | ||
| ESH_N_SRVCCONTR | view | from | ||
| ESH_N_SRVCQTAN | view | from | ||
| ESH_N_SRVCREQ | view | from | ||
| ESH_N_SRVORD | view | from | ||
| I_BusSolnOrdBasicFinancial | view | from | COMPOSITE | Solution Order for Financial Reporting |
| I_InhRepairOpenSrvcConf | view | from | COMPOSITE | In-House Repair with Open Confirmations |
| I_NumberOfServiceDocuments | view | from | COMPOSITE | View to fetch no of service documents |
| I_ServiceContractFinDataCube | view | from | COMPOSITE | Service Contract Financial Data Cube |
| I_ServiceContractPeriodicCube | view | from | COMPOSITE | Service Contract Cube with Periodic Data |
| I_ServiceOrderCube | view | from | COMPOSITE | Service Order - Cube |
| I_ServiceOrderEnhcd | view | from | COMPOSITE | Get all basic data for Service Order |
| I_ServiceOrderItemEnhcd | view | from | COMPOSITE | Get basic data for Service Order Item |
| I_ServiceQuotationStdVH | view | from | COMPOSITE | Service Quotation |
| I_SrvcDocDocumentFlow | view | from | COMPOSITE | Trans Hist of Preced and Follow-Up Trans |
| I_SrvcDocDocumentFlow | view | union | COMPOSITE | Trans Hist of Preced and Follow-Up Trans |
| I_SrvcDocStatusChangeDocument | view | inner | COMPOSITE | Change Documents for Status |
| I_SrvcOrderFUPSrvcConfirmation | view | from | COMPOSITE | Retrieves Srvc Ord and its corresponding Srvc Confirmation |
| I_SrvcOrderWithoutSrvcConf | view | from | COMPOSITE | Service Orders for which there are Service Confirmations |
| I_SubscriptionContract | view_entity | from | COMPOSITE | Subscription Contract |
| I_SubscriptionOrder | view_entity | from | COMPOSITE | Subscription Order |
| I_SubscrpnOrdItemPriceElement | view_entity | inner | COMPOSITE | Item Price |
| P_BusSolnOrdHdrData | view | from | COMPOSITE | |
| P_RU_ServiceContract | view | from | TRANSACTIONAL | |
| P_ServiceContractDataCalc | view | from | COMPOSITE | |
| P_ServiceContractIssueKey | view | union_all | COMPOSITE | |
| P_ServiceDocNote | view | inner | COMPOSITE | Service Transaction Notes |
| P_ServiceOrderDataCube | view | from | COMPOSITE | |
| P_ServiceOrderIssueKey | view | union_all | COMPOSITE | |
| P_SrvcConfWithoutItem | view | from | CONSUMPTION | Service Confirmation without items |
| P_SrvcContrDays | view | from | COMPOSITE | |
| P_SrvcContrList | view | from | COMPOSITE | |
| P_SrvcDocEnhcdWithCloudCheck | view | from | COMPOSITE | |
| P_SrvcOrderSrvcConfInfo | view | from | COMPOSITE | |
| P_SrvcOrderSrvcConfInfo | view | union_all | COMPOSITE | |
| P_SrvcOrdItmConfExist | view | from | COMPOSITE | |
| P_SrvcQuotation_DueDays | view_entity | from | CONSUMPTION | Due Days for Quotation |
| R_BusinessSolutionOrderTP | view_entity | from | TRANSACTIONAL | Business Solution Order - TP |
| R_BusinessSolutionQuotationTP | view_entity | from | TRANSACTIONAL | Business Solution Quotation - TP |
| R_BusSolnOrdItmPriceElementTP | view_entity | inner | TRANSACTIONAL | Business Solution Order Item Price Element - TP |
| R_BusSolnOrdPriceElementTP | view_entity | inner | TRANSACTIONAL | Solution Order Price Element - TP |
| R_ServiceConfirmationTP | view_entity | from | TRANSACTIONAL | Service Confirmation - TP |
| R_ServiceContractTemplateTP | view_entity | from | TRANSACTIONAL | Service Contract Template - TP |
| R_ServiceContractTP | view_entity | from | TRANSACTIONAL | Service Contract - TP |
| R_ServiceDocumentTP | view | from | TRANSACTIONAL | Transaction Processing: Service Header |
| R_ServiceOrderTemplateTP | view_entity | from | TRANSACTIONAL | Service Order Template - TP |
| R_ServiceOrderTP | view_entity | from | TRANSACTIONAL | Service Order - TP |
| R_ServiceQuotationTP | view_entity | from | TRANSACTIONAL | Service Quotation - TP |
| R_ServiceRequestTP | view_entity | from | TRANSACTIONAL | Service Request - TP |
| R_SrvcConfItemPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Confirmation Itm PrgElm - TP |
| R_SrvcConfPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Confirmation PrgElm - TP |
| R_SrvcContrBillgReqItmPrcElmTP | view_entity | inner | TRANSACTIONAL | Price Element of Billing Request - TP |
| R_SrvcContrItemPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Contract Item Price Element - TP |
| R_SrvcContrPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Contract Pricing Element - TP |
| R_SrvcOrdItemPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Order Item Pricing Element - TP |
| R_SrvcOrdPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Order Pricing Element - TP |
| R_SrvcQtanItemPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Quotation Item Price Element - TP |
| R_SrvcQtanItemRefObjectTP | view_entity | inner | TRANSACTIONAL | Service Quotation Item Reference Object - TP |
| R_SrvcQtanPriceElementTP | view_entity | inner | TRANSACTIONAL | Service Quotation Price Element - TP |
| R_SrvcQtanReferenceObjectTP | view_entity | inner | TRANSACTIONAL | Service Quotation Reference Object - TP |
Fields (139)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ServiceDocument | BusinessSolutionOrder,BusinessSolutionQuotation,ServiceConfirmation,ServiceContract,ServiceDocument,ServiceOrder,ServiceQuotation,SubscriptionContract,SubscriptionOrder,UI5NetworkGraphAttributeValue | 47 |
| KEY | ServiceDocumentCharUUID | ChangeDocObject,ServiceDocumentCharUUID | 3 |
| KEY | ServiceDocumentType | BusSolutionQuotationType,ServiceContractType,ServiceDocumentType | 16 |
| KEY | ServiceDocumentUUID | BusSolutionQuotationUUID,ServiceDocumentPredecessorUUID,ServiceDocumentUUID | 9 |
| KEY | ServiceObjectType | CustMgmtObjectType,ServiceDocPrdcssrBusObjType,ServiceObjectType | 14 |
| _ActivityCategory | _ActivityCategory | 2 | |
| _BillingBlockReason | _BillingBlockReason | 1 | |
| _BillToParty | _BillToParty | 2 | |
| _ContactPerson | _ContactPerson | 4 | |
| _DistributionChannel | _DistributionChannel | 5 | |
| _Division | _Division | 5 | |
| _FixedPrice | _FixedPrice | 1 | |
| _PayerParty | _PayerParty | 1 | |
| _PaymentMethod | _PaymentMethod | 1 | |
| _PaymentTerms | _PaymentTerms | 2 | |
| _Region | _Region | 1 | |
| _RespEmployee | _RespEmployee | 3 | |
| _RespSrvcOrganizationOrgUnit | _RespSrvcOrganizationOrgUnit | 1 | |
| _RespSrvcOrganizationOrgUnit_2 | _RespSrvcOrganizationOrgUnit_2 | 2 | |
| _SalesGroup | _SalesGroup | 5 | |
| _SalesGroupOrgUnit | _SalesGroupOrgUnit | 1 | |
| _SalesGroupOrgUnit_2 | _SalesGroupOrgUnit_2 | 4 | |
| _SalesOffice | _SalesOffice | 5 | |
| _SalesOfficeOrgUnit | _SalesOfficeOrgUnit | 1 | |
| _SalesOfficeOrgUnit_2 | _SalesOfficeOrgUnit_2 | 4 | |
| _SalesOrganization | _SalesOrganization | 5 | |
| _SalesOrganizationOrgUnit | _SalesOrganizationOrgUnit | 1 | |
| _SalesOrganizationOrgUnit_2 | _SalesOrganizationOrgUnit_2 | 4 | |
| _ServiceContractCanclnSts | _ServiceContractCanclnSts | 1 | |
| _ServiceDocBillingStatus | _ServiceDocBillingStatus | 1 | |
| _ServiceDocHasError | _ServiceDocHasError | 3 | |
| _ServiceDocItem | _ServiceDocItem | 1 | |
| _ServiceDocPredecessor | _ServiceDocPredecessor | 1 | |
| _ServiceDocProblemCategory | _ServiceDocProblemCategory | 1 | |
| _ServiceDocRefObj | _ServiceDocRefObj | 3 | |
| _ServiceDocSuccessor | _ServiceDocSuccessor | 1 | |
| _ServiceDocumentIsOpen | _ServiceDocumentIsOpen | 1 | |
| _ServiceDocumentPriority | _ServiceDocumentPriority | 2 | |
| _ServiceDocumentStatus | _ServiceDocumentStatus | 3 | |
| _ServiceDocumentType | _ServiceDocumentType | 4 | |
| _ServiceEmployee | _ServiceEmployee | 2 | |
| _ServiceObjType | _ServiceObjType | 4 | |
| _ServiceOrganizationOrgUnit | _ServiceOrganizationOrgUnit | 2 | |
| _ServiceOrganizationOrgUnit_2 | _ServiceOrganizationOrgUnit_2 | 4 | |
| _ServiceRisk | _ServiceRisk | 1 | |
| _ServiceTeam | _ServiceTeam | 2 | |
| _ServiceTeamHeader | _ServiceTeamHeader | 1 | |
| _ShipToParty | _ShipToParty | 3 | |
| _SoldToParty | _SoldToParty | 4 | |
| _SoldToPartyCountry | _SoldToPartyCountry | 1 | |
| _SoldToPartyRegion | _SoldToPartyRegion | 1 | |
| _SoldToPartyToCustomer | _SoldToPartyToCustomer | 1 | |
| _SrvcDocBPSoldToParty | _SrvcDocBPSoldToParty | 1 | |
| _SrvcDocBslnCostPostgStatus | _SrvcDocBslnCostPostgStatus | 1 | |
| _SrvcDocCreditStatus | _SrvcDocCreditStatus | 1 | |
| _SrvcDocIsRelForBillgSts | _SrvcDocIsRelForBillgSts | 1 | |
| _SrvcDocLifecycleStatus | _SrvcDocLifecycleStatus | 1 | |
| _SrvcDocTransferStatus | _SrvcDocTransferStatus | 1 | |
| _SrvcDocumentRejectionReason | _SrvcDocumentRejectionReason | 2 | |
| _TransactionCurrency | _TransactionCurrency | 3 | |
| BillingBlockReason | BillingBlockReason | 2 | |
| BillToParty | BillToParty | 4 | |
| BusinessActivityCategory | BusinessActivityCategory | 4 | |
| ContactPerson | ContactPerson,ContactPersonBusinessPartnerId | 9 | |
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | 1 | |
| DistributionChannel | DistributionChannel | 12 | |
| Division | Division | 12 | |
| PayerParty | PayerParty | 4 | |
| PaymentMethod | PaymentMethod | 1 | |
| PaymentTerms | PaymentTerms | 2 | |
| PostingDate | PostingDate | 9 | |
| PricingDocument | PricingDocument | 3 | |
| PricingProcedure | PricingProcedure | 1 | |
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | 6 | |
| RecommendedServicePriority | RecommendedServicePriority | 1 | |
| RefBusinessSolutionOrder | RefBusinessSolutionOrder | 5 | |
| ReferenceInHouseRepair | ReferenceInHouseRepair | 1 | |
| ReferenceInHouseRepairItem | ReferenceInHouseRepairItem | 1 | |
| RefInHouseRepairIsExisting | RefInHouseRepairIsExisting | 1 | |
| Region | Region | 2 | |
| RequestedServiceEndDate | RequestedServiceEndDate | 4 | |
| RequestedServiceEndDateTime | RequestedServiceEndDateTime | 1 | |
| RequestedServiceStartDate | RequestedServiceStartDate | 6 | |
| RequestedServiceStartDateTime | RequestedServiceStartDateTime | 1 | |
| ResponsibleEmployee | RespEmployeeBusinessPartnerId,ResponsibleEmployee | 13 | |
| ResponsibleServiceOrganization | ResponsibleServiceOrganization | 2 | |
| RespyMgmtServiceTeam | RespyMgmtServiceTeam | 4 | |
| SalesGroup | SalesGroup | 12 | |
| SalesGroupOrgUnitID | SalesGroupOrgUnitID | 10 | |
| SalesOffice | SalesOffice | 12 | |
| SalesOfficeOrgUnitID | SalesOfficeOrgUnitID | 10 | |
| SalesOrganization | SalesOrganization | 12 | |
| SalesOrganizationOrgUnitID | SalesOrganizationOrgUnitID | 10 | |
| SEPAMandate | SEPAMandate | 1 | |
| ServiceConfirmationIsFinal | ServiceConfirmationIsFinal | 2 | |
| ServiceContractCanclnSts | ServiceContractCanclnSts | 2 | |
| ServiceContractEndDate | ServiceContractEndDate | 1 | |
| ServiceContractEndDateTime | ServiceContrItemEndDateTime | 1 | |
| ServiceContractStartDate | ServiceContractStartDate | 1 | |
| ServiceContractStartDateTime | ServiceContrItemStartDateTime | 1 | |
| ServiceDocBillingStatus | ServiceDocBillingStatus,ServiceDocItemBillingStatus | 4 | |
| ServiceDocCreationDateTime | ServiceDocCreationDateTime | 2 | |
| ServiceDocGrossAmount | ServiceContractGrossAmount,ServiceContractItemGrossAmount,ServiceDocGrossAmount,SrvcQtanGrossAmount | 10 | |
| ServiceDocIsReleasedForBilling | ServiceDocIsReleasedForBilling,SrvcDocItmIsReleasedForBilling | 3 | |
| ServiceDocNetAmount | NetAmount,ServiceContractItemNetAmount,ServiceContractNetAmount,ServiceDocNetAmount,SrvcQtanNetAmount | 17 | |
| ServiceDocTaxAmount | ServiceDocTaxAmount,SrvcQtanTaxAmount | 3 | |
| ServiceDocumentCanclnParty | ServiceDocumentCanclnParty | 1 | |
| ServiceDocumentCanclnReason | ServiceDocumentCanclnReason | 1 | |
| ServiceDocumentChangedByUser | ServiceDocumentChangedByUser | 1 | |
| ServiceDocumentCreatedByUser | ServiceDocumentCreatedByUser | 2 | |
| ServiceDocumentCreationDate | CreationDate,ServiceDocumentCreationDate | 2 | |
| ServiceDocumentDescription | BusSolnQtanDescription,ServiceConfirmationDescription,ServiceContractDescription,ServiceDocumentDescription,ServiceOrderDescription,ServiceQuotationDescription | 8 | |
| ServiceDocumentHasError | HasError,ServiceContractHasError,ServiceContractItemHasError,ServiceDocumentHasError,ServiceDocumentItemHasError | 11 | |
| ServiceDocumentImpact | ServiceDocumentImpact | 1 | |
| ServiceDocumentIsOpen | ServiceDocumentIsOpen | 2 | |
| ServiceDocumentIsQuotation | ServiceDocumentIsQuotation | 3 | |
| ServiceDocumentIsRejected | BusSolnQuotationIsRejected,ServiceContractItemIsCanceled,ServiceDocumentIsRejected | 7 | |
| ServiceDocumentIsReleased | BusSolnQuotationIsReleased,ServiceContractItemIsReleased,ServiceDocumentIsReleased | 4 | |
| ServiceDocumentPriority | ServiceDocumentPriority,ServiceOrderPriority | 4 | |
| ServiceDocumentProblemCategory | ServiceDocumentProblemCategory | 2 | |
| ServiceDocumentRejectionReason | ServiceContractItmCanclnReason,ServiceDocItemRejectionReason,ServiceDocumentRejectionReason | 5 | |
| ServiceDocumentStatus | ServiceConfirmationStatus,ServiceContractItemStatus,ServiceContractStatus,ServiceDocumentItemStatus,ServiceDocumentStatus,ServiceOrderStatus | 12 | |
| ServiceDocumentTemplateType | ServiceDocumentTemplateType | 1 | |
| ServiceDocumentUrgency | ServiceDocumentUrgency | 1 | |
| ServiceEmployee | ServiceEmployee | 5 | |
| ServiceEscalationLevel | ServiceEscalationLevel | 1 | |
| ServiceOrganization | ServiceOrganization | 12 | |
| ServiceRisk | ServiceRisk | 2 | |
| ServiceTeam | ServiceTeam | 5 | |
| ShipToParty | ShipToParty | 5 | |
| SoldToParty | SoldToParty | 12 | |
| SoldToPartyCountry | Country,SoldToPartyCountry | 7 | |
| SoldToPartyRegion | SoldToPartyRegion | 6 | |
| SrvcDocBslnCostPostgStatus | SrvcDocBslnCostPostgStatus | 1 | |
| SrvcDocCreditStatus | SrvcOrdCreditStatus,SrvcQtanCreditStatus | 2 | |
| SrvcDocTransferStatus | SrvcDocItemTransferStatus,SrvcDocTransferStatus | 2 | |
| SrvcQuotationValidityEndDate | SrvcQuotationValidityEndDate | 2 | |
| SrvcQuotationValidityStartDate | SrvcQuotationValidityStartDate | 2 | |
| TransactionCurrency | TransactionCurrency | 15 |
@EndUserText.label: 'Service Transaction Enhanced'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog: {
sqlViewName: 'ISERVDOCENHCD',
compiler.compareFilter: true,
preserveKey: true
}
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA'),
privilegedAssociations: ['_ServiceDocRefObj', '_ServiceDocPredecessor', '_ServiceDocSuccessor']
}
@ObjectModel: {
representativeKey: 'ServiceDocument',
usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XXL
},
supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE],
modelingPattern: #ANALYTICAL_DIMENSION
}
@Analytics.dataCategory: #DIMENSION
@Metadata.allowExtensions:true
@Metadata.ignorePropagatedAnnotations: true
define view I_ServiceDocumentEnhcd
as select from I_ServiceDocument
association [1..*] to I_ServiceDocumentItemEnhcd as _ServiceDocItem on $projection.ServiceObjectType = _ServiceDocItem.ServiceObjectType
and $projection.ServiceDocument = _ServiceDocItem.ServiceDocument
association [0..*] to I_ServiceDocumentRefObject as _ServiceDocRefObj on $projection.ServiceObjectType = _ServiceDocRefObj.ServiceObjectType
and $projection.ServiceDocument = _ServiceDocRefObj.ServiceDocument
and _ServiceDocRefObj.ServiceDocumentItem is initial
and _ServiceDocRefObj.SrvcRefObjIsMainObject is not initial
association [1] to I_ServiceDocumentPredecessor as _ServiceDocPredecessor on $projection.ServiceDocumentUUID = _ServiceDocPredecessor.ServiceDocumentUUID
and $projection.ServiceObjectType = _ServiceDocPredecessor.ServiceObjectType
association [0..*] to I_ServiceDocumentSuccessor as _ServiceDocSuccessor on $projection.ServiceDocumentUUID = _ServiceDocSuccessor.ServiceDocumentUUID
and $projection.ServiceObjectType = _ServiceDocSuccessor.ServiceObjectType
association [0..1] to E_ServiceDocument as _ServiceDocumentExt on $projection.ServiceObjectType = _ServiceDocumentExt.ServiceCategory
and $projection.ServiceDocument = _ServiceDocumentExt.ServiceOrder
association [0..1] to C_SrvcDocBPContactCardQuickVw as _SrvcDocBPSoldToParty on $projection.SoldToParty = _SrvcDocBPSoldToParty.BusinessPartner
association [0..*] to I_ServiceDocumentLongText as _ServiceDocLongText on $projection.ServiceObjectType = _ServiceDocLongText.ServiceObjectType
and $projection.ServiceDocument = _ServiceDocLongText.ServiceDocument
and _ServiceDocLongText.ServiceDocumentItem is initial
and _ServiceDocLongText.TextObjectCategory = 'CRM_ORDERH'
association [0..1] to I_StatusObjectWithUUID as _StatusObjectWithUUID on $projection.ServiceDocumentUUID = _StatusObjectWithUUID.StatusObjectUUID
association [0..*] to I_CustMgmtPartner as _CustMgmtPartner on $projection.ServiceDocument = _CustMgmtPartner.CustMgmtDocument
and $projection.ServiceObjectType = _CustMgmtPartner.CustMgmtObjectType
and _CustMgmtPartner.CustMgmtDocumentItem = '000000'
association [0..*] to I_SrvcDocHeaderLongText as _SrvcDocHeaderLongText on $projection.ServiceObjectType = _SrvcDocHeaderLongText.ServiceObjectType
and $projection.ServiceDocument = _SrvcDocHeaderLongText.ServiceDocument
and _SrvcDocHeaderLongText.Language = $session.system_language
{
// Header Keys
@ObjectModel.foreignKey.association: '_ServiceObjType'
key ServiceObjectType,
@ObjectModel.text.element: 'ServiceDocumentDescription'
key ServiceDocument,
// Header Details
ServiceDocumentUUID,
ServiceDocumentCharUUID,
@ObjectModel.foreignKey.association: '_ServiceDocumentType'
ServiceDocumentType,
@Semantics.text: true
ServiceDocumentDescription,
Language,
PostingDate,
ServiceDocumentTemplateType,
ServiceDocCreationDateTime,
ServiceDocChangedDateTime,
@Semantics.systemDate.createdAt: true
cast( tstmp_to_dats( ServiceDocCreationDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_created_on preserving type ) as ServiceDocumentCreationDate,
@Semantics.systemDate.lastChangedAt: true
cast( tstmp_to_dats( ServiceDocChangedDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_changed_on preserving type ) as ServiceDocumentChangedDate,
// @Semantics.systemDate.createdAt: true
// cast( cast(substring( cast(ServiceDocCreationDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_created_on ) as ServiceDocumentCreationDate,
// @Semantics.systemDate.lastChangedAt: true
// cast( cast(substring( cast(ServiceDocChangedDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_changed_on ) as ServiceDocumentChangedDate,
ServiceDocumentCreatedByUser,
ServiceDocumentChangedByUser,
PricingDocument,
PricingProcedure,
RefBusinessSolutionOrder,
SrvcDocIsMaintServiceOrder,
// Activity
@ObjectModel.foreignKey.association: '_ActivityCategory'
BusinessActivityCategory,
@ObjectModel.foreignKey.association: '_ServiceDocumentPriority'
ServiceDocumentPriority,
// Cumulate Extension
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
ServiceDocNetAmount,
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
ServiceDocGrossAmount,
@DefaultAggregation: #SUM
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
ServiceDocTaxAmount,
// Partner Details
@ObjectModel.foreignKey.association: '_SoldToParty'
SoldToParty,
@ObjectModel.foreignKey.association: '_SoldToPartyCountry'
SoldToPartyCountry,
@ObjectModel.foreignKey.association: '_SoldToPartyRegion'
SoldToPartyRegion,
@ObjectModel.foreignKey.association: '_ServiceTeam'
ServiceTeam,
@ObjectModel.foreignKey.association: '_RespEmployee'
ResponsibleEmployee,
@ObjectModel.foreignKey.association: '_ServiceEmployee'
ServiceEmployee,
@ObjectModel.foreignKey.association: '_ContactPerson'
ContactPerson,
@ObjectModel.foreignKey.association: '_ShipToParty'
ShipToParty,
@ObjectModel.foreignKey.association: '_BillToParty'
BillToParty,
@ObjectModel.foreignKey.association: '_PayerParty'
PayerParty,
// Dates
RequestedServiceStartDateTime,
RequestedServiceEndDateTime,
ServiceContractStartDateTime,
ServiceContractEndDateTime,
SrvcContrEarliestStartDateTime,
SrvcContrLatestEndDateTime,
SrvcQtanValidityStartDateTime,
SrvcQtanValidityEndDateTime,
SrvcDocTmplValdtyStartDateTime,
SrvcDocTmplValdtyEndDateTime,
SrvcDocTemplateSearchTermText,
cast( tstmp_to_dats( RequestedServiceStartDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_created_on preserving type ) as RequestedServiceStartDate,
cast( tstmp_to_dats( RequestedServiceEndDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_changed_on preserving type ) as RequestedServiceEndDate,
cast( tstmp_to_dats( ServiceContractStartDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_created_on preserving type ) as ServiceContractStartDate,
cast( tstmp_to_dats( ServiceContractEndDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_changed_on preserving type ) as ServiceContractEndDate,
cast( tstmp_to_dats( SrvcQtanValidityStartDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_created_on preserving type ) as SrvcQuotationValidityStartDate,
cast( tstmp_to_dats( SrvcQtanValidityEndDateTime,
abap_system_timezone( $session.client,'NULL' ),
$session.client,
'NULL' ) as crms4_changed_on preserving type ) as SrvcQuotationValidityEndDate,
// cast( cast(substring( cast(RequestedServiceStartDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_created_on ) as RequestedServiceStartDate,
// cast( cast(substring( cast(RequestedServiceEndDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_changed_on ) as RequestedServiceEndDate,
//
// cast( cast(substring( cast(ServiceContractStartDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_created_on ) as ServiceContractStartDate,
// cast( cast(substring( cast(ServiceContractEndDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_changed_on ) as ServiceContractEndDate,
//
// cast( cast(substring( cast(SrvcQtanValidityStartDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_created_on ) as SrvcQuotationValidityStartDate,
// cast( cast(substring( cast(SrvcQtanValidityEndDateTime as abap.char(30)) , 1 , 8)
// as abap.dats(8)) as crms4_changed_on ) as SrvcQuotationValidityEndDate,
// Pricing Parameter Set
@ObjectModel.foreignKey.association: '_PaymentTerms'
PaymentTerms,
@ObjectModel.foreignKey.association: '_PaymentMethod'
PaymentMethod,
@ObjectModel.foreignKey.association: '_SrvcSEPAMandateRelevance'
SrvcSEPAMandateRelevance,
SEPAMandate,
WBSElementInternalID,
@ObjectModel.foreignKey.association: '_TransactionCurrency'
@Semantics.currencyCode:true
TransactionCurrency,
// Sales Set
PurchaseOrderByCustomer,
CustomerPurchaseOrderDate,
@ObjectModel.foreignKey.association: '_SrvcDocumentRejectionReason'
ServiceDocumentRejectionReason,
@ObjectModel.foreignKey.association: '_Region'
Region,
// Status
@ObjectModel.foreignKey.association: '_SrvcDocLifecycleStatus'
ServiceDocumentStatus,
@ObjectModel.foreignKey.association: '_ServiceDocHasError'
ServiceDocumentHasError,
@ObjectModel.foreignKey.association: '_ServiceDocBillingStatus'
ServiceDocBillingStatus,
@ObjectModel.foreignKey.association: '_SrvcDocIsRelForBillgSts'
ServiceDocIsReleasedForBilling,
@ObjectModel.foreignKey.association: '_ServiceDocumentIsOpen'
ServiceDocumentIsOpen,
@ObjectModel.foreignKey.association: '_SrvcDocTransferStatus'
SrvcDocTransferStatus,
@ObjectModel.foreignKey.association: '_SrvcDocIsQuotation'
ServiceDocumentIsQuotation,
ServiceDocumentIsReleased,
ServiceDocumentIsRejected,
ServiceConfirmationIsFinal,
@ObjectModel.foreignKey.association: '_ServiceContractCanclnSts'
ServiceContractCanclnSts,
@API.element.releaseState: #DEPRECATED
@API.element.successor: 'SrvcDocExecutionStatus'
MaintSrvcOrdExecutionStatus,
@ObjectModel.foreignKey.association: '_SrvcDocExecutionStatus'
SrvcDocExecutionStatus,
SrvcDocDeliveryStatus,
SrvcDocGoodsIssueStatus,
SrvcDocRejectionStatus,
// Organizational Unit Set
@ObjectModel.foreignKey.association: '_SalesOrganizationOrgUnit_2'
SalesOrganizationOrgUnitID,
@ObjectModel.foreignKey.association: '_SalesOfficeOrgUnit_2'
SalesOfficeOrgUnitID,
@ObjectModel.foreignKey.association: '_SalesGroupOrgUnit_2'
SalesGroupOrgUnitID,
@ObjectModel.foreignKey.association: '_DistributionChannel'
DistributionChannel,
@ObjectModel.foreignKey.association: '_Division'
Division,
@ObjectModel.foreignKey.association: '_ServiceOrganizationOrgUnit_2'
ServiceOrganization,
@ObjectModel.foreignKey.association: '_RespSrvcOrganizationOrgUnit_2'
ResponsibleServiceOrganization,
@ObjectModel.foreignKey.association: '_EnterpriseServiceOrg'
EnterpriseServiceOrganization,
// Organizational units with the S/4 SD codes
@ObjectModel.foreignKey.association: '_SalesOrganization'
SalesOrganization,
@ObjectModel.foreignKey.association: '_SalesOffice'
SalesOffice,
@ObjectModel.foreignKey.association: '_SalesGroup'
SalesGroup,
// Service Organizational Units with S/4 Code
RespyMgmtServiceTeam,
// Billing Set
@ObjectModel.foreignKey.association: '_BillingBlockReason'
BillingBlockReason,
// Subject
ServiceReasonSchema,
ServiceReasonCategory,
ServiceDefectSchema,
ServiceDefectCategory,
// Dates
ServiceFirstResponseByDateTime,
ServiceDueByDateTime,
ErlstRequestedDeliveryDateTime,
// Service Request
RecommendedServicePriority,
ServiceDocumentUrgency,
ServiceDocumentImpact,
ServiceEscalationLevel,
@ObjectModel.foreignKey.association: '_ServiceDocProblemCategory'
ServiceDocumentProblemCategory,
@ObjectModel.foreignKey.association: '_ServiceRisk'
ServiceRisk,
// Cancel Header
ServiceDocumentCanclnParty,
ServiceDocumentCanclnReason,
// In-House Repair Reference
ReferenceInHouseRepair,
ReferenceInHouseRepairItem,
RefInHouseRepairIsExisting,
// Credit Status
@ObjectModel.foreignKey.association: '_SrvcDocCreditStatus'
SrvcDocCreditStatus,
// Baseline Cost Posting Status
SrvcDocBslnCostPostgStatus,
// Continuous Cost Calculation Status
SrvcDocContinuousCostStatus,
//Shipping
ShippingCondition,
//Pricing Group
CustomerPriceGroup,
SrvcDocAcctAssgmtObjectType,
SrvcDocAcctAssgmtObject,
// Status profile
_StatusObjectWithUUID.StatusProfile,
// Associations to next level
// Header Keys Assocations
_ServiceObjType,
// Header Details Assocations
_ServiceDocumentType,
// Partner Details Associations
_SoldToParty,
_RespEmployee,
_ServiceTeam,
_ServiceEmployee,
_ContactPerson,
_ShipToParty,
_BillToParty,
_PayerParty,
_SoldToPartyToCustomer,
_SoldToPartyCountry,
_SoldToPartyRegion,
_ServiceTeamHeader,
// Status Assocations
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_SrvcDocLifecycleStatus'
_ServiceDocumentStatus,
_SrvcDocLifecycleStatus,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_ServiceDocBillingStatus,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_SrvcDocIsRelForBillgSts,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_ServiceDocumentIsOpen,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_ServiceDocHasError,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_ServiceContractCanclnSts,
_SrvcDocTransferStatus,
// Billing Set Associations
_BillingBlockReason,
// Activity Associations
_ActivityCategory,
_ServiceDocumentPriority,
// Pricing Parameter Set
_TransactionCurrency,
_PaymentTerms,
_SrvcSEPAMandateRelevance,
_FixedPrice,
// Organization Unit Set Assocations
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_SalesOrganizationOrgUnit_2'
_SalesOrganizationOrgUnit,
_SalesOrganizationOrgUnit_2,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_SalesOfficeOrgUnit_2'
_SalesOfficeOrgUnit,
_SalesOfficeOrgUnit_2,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_SalesGroupOrgUnit_2'
_SalesGroupOrgUnit,
_SalesGroupOrgUnit_2,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_ServiceOrganizationOrgUnit_2'
_ServiceOrganizationOrgUnit,
_ServiceOrganizationOrgUnit_2,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_RespSrvcOrganizationOrgUnit_2'
_RespSrvcOrganizationOrgUnit,
_RespSrvcOrganizationOrgUnit_2,
_SalesOrganization,
_SalesOffice,
_SalesGroup,
_DistributionChannel,
_Division,
_EnterpriseServiceOrg,
// Sales Set Assocaition
_Region,
_SrvcDocumentRejectionReason,
// Service Request Association
_ServiceRisk,
_ServiceDocProblemCategory,
// Association to Service Document Item
_ServiceDocItem,
// Association to Service Document Enhanced views
_ServiceDocRefObj,
_ServiceDocPredecessor,
_ServiceDocSuccessor,
//Association to long text view
_ServiceDocLongText,
@UI.hidden: true
_SrvcDocBPSoldToParty,
// Credit Status association
_SrvcDocCreditStatus,
// Baseline Cost Posting Status
_SrvcDocBslnCostPostgStatus,
// Continuous Cost Calculation Status
_SrvcDocContinuousCostStatus,
_PaymentMethod,
// Service Order Execution Status
_SrvcDocExecutionStatus,
_SrvcDocIsQuotation,
_SrvcDocHeaderLongText,
_CustMgmtPartner
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENT",
"I_STATUSOBJECTWITHUUID"
],
"ASSOCIATED":
[
"C_SRVCDOCBPCONTACTCARDQUICKVW",
"E_SERVICEDOCUMENT",
"I_BILLINGBLOCKREASON",
"I_BUSINESSACTIVITYCATEGORY",
"I_BUSINESSPARTNER",
"I_BUSINESSPARTNERCUSTOMER",
"I_COUNTRY",
"I_CURRENCY",
"I_CUSTMGMTBUSOBJTYPE",
"I_CUSTMGMTPARTNER",
"I_DISTRIBUTIONCHANNEL",
"I_DIVISION",
"I_ENTERPRISESERVICEORG",
"I_INDICATOR",
"I_PAYMENTTERMS",
"I_REGION",
"I_RESPYMGMTTEAMHEADERDETAIL",
"I_SALESDOCUMENTRJCNREASON",
"I_SALESGROUP",
"I_SALESOFFICE",
"I_SALESORGANIZATION",
"I_SALESORGANIZATIONUNIT",
"I_SERVICECONTRACTCANCLNSTS",
"I_SERVICEDOCBILLINGSTATUS",
"I_SERVICEDOCERRORSTATUS",
"I_SERVICEDOCOPENSTATUS",
"I_SERVICEDOCPROBLEMCATEGORY",
"I_SERVICEDOCUMENTFIXEDPRICE",
"I_SERVICEDOCUMENTITEMENHCD",
"I_SERVICEDOCUMENTLONGTEXT",
"I_SERVICEDOCUMENTPREDECESSOR",
"I_SERVICEDOCUMENTPRIORITY",
"I_SERVICEDOCUMENTREFOBJECT",
"I_SERVICEDOCUMENTSTATUS",
"I_SERVICEDOCUMENTSUCCESSOR",
"I_SERVICEDOCUMENTTYPE",
"I_SERVICERISK",
"I_SRVCDOCBSLNCOSTPOSTGSTATUS",
"I_SRVCDOCCREDITSTATUS",
"I_SRVCDOCEXECUTIONSTATUS",
"I_SRVCDOCHEADERLONGTEXT",
"I_SRVCDOCLIFECYCLESTATUS",
"I_SRVCDOCPAYMENTMETHOD",
"I_SRVCDOCRELFORBILLGSTS",
"I_SRVCDOCTRANSFERSTATUS",
"I_SRVCMGMTORGANIZATIONUNIT",
"I_SRVCSEPAMANDATERELEVANCE",
"I_STATUSOBJECTWITHUUID"
],
"BASE":
[
"I_SERVICEDOCUMENT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/