R_ServiceConfirmationItemTP
Service Confirmation Item - TP
R_ServiceConfirmationItemTP is a Transactional CDS View that provides data about "Service Confirmation Item - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 96 fields with key fields ServiceConfirmation, ServiceConfirmationItem. It has 22 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItemEnhcd | I_ServiceDocumentItemEnhcd | from |
Associations (22)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CustMgmtExtRefID | _CustMgmtExtRef | $projection.ServiceConfirmation = _CustMgmtExtRef.CustMgmtDocument and $projection.ServiceObjectType = _CustMgmtExtRef.CustMgmtObjectType and $projection.ServiceConfirmationItem = _CustMgmtExtRef.CustMgmtDocumentItem and _CustMgmtExtRef.CustMgmtExtRefIDType = '0015' |
| [0..1] | I_CustMgmtExtRefID | _CustMgmtHeaderExtRef | $projection.ServiceConfirmation = _CustMgmtHeaderExtRef.CustMgmtDocument and $projection.ServiceObjectType = _CustMgmtHeaderExtRef.CustMgmtObjectType and _CustMgmtHeaderExtRef.CustMgmtExtRefIDType = '0014' |
| [0..1] | R_SrvcDocItemDocumentFlow | _RefServiceOrder | $projection.ServiceConfirmation = _RefServiceOrder.ServiceDocument and $projection.ServiceConfirmationItem = _RefServiceOrder.ServiceDocumentItem and _RefServiceOrder.PrdcssrSuccssrDocObjectType = 'BUS2000116' and _RefServiceOrder.ServiceObjectType = 'BUS2000117' |
| [0..1] | R_SrvcDocItemDocumentFlow | _RefServiceContract | $projection.ServiceConfirmation = _RefServiceContract.ServiceDocument and $projection.ServiceConfirmationItem = _RefServiceContract.ServiceDocumentItem and _RefServiceContract.PrdcssrSuccssrDocObjectType = 'BUS2000112' and _RefServiceContract.ServiceObjectType = 'BUS2000117' |
| [0..1] | I_CustMgmtPartner | _ServicePerformer | _ServicePerformer.CustMgmtPartnerFunction = '00000028' and _ServicePerformer.CustMgmtPartFunctionCategory = '0091' and $projection.ServiceConfirmation = _ServicePerformer.CustMgmtDocument and $projection.ServiceConfirmationItem = _ServicePerformer.CustMgmtDocumentItem |
| [0..1] | I_RespyMgmtTeamHeaderDetail | _ServiceTeamHeader | $projection.RespyMgmtServiceTeam = _ServiceTeamHeader.RespyMgmtTeamID |
| [0..1] | I_StatusObjectUUIDStatus | _SrvcConfItmStatus | $projection.ServiceConfirmationItemUUID = _SrvcConfItmStatus.StatusObjectUUID and ( _SrvcConfItmStatus.StatusCode = 'I1002' or _SrvcConfItmStatus.StatusCode = 'I1003' or _SrvcConfItmStatus.StatusCode = 'I1005' ) and _SrvcConfItmStatus.StatusIsActive = 'X' |
| [0..1] | E_ServiceDocumentItem | _Extension | _Extension.ServiceCategory = 'BUS2000117' and $projection.ServiceConfirmation = _Extension.ServiceOrderItem and $projection.ServiceConfirmationItem = _Extension.ServiceLineExternalID |
| [0..1] | I_WBSElementBasicData | _WBSElement | _WBSElement.WBSElementInternalID = I_ServiceDocumentItemEnhcd.WBSElementInternalID |
| [0..*] | R_SrvcConfItemPriceElementTP | _SrvcConfItemPriceElementTP | |
| [0..*] | R_SrvcConfItemPartnerTP | _SrvcConfItemPartnerTP | |
| [0..*] | R_SrvcConfItemRefObjectTP | _SrvcConfItemRefObjTP | |
| [0..*] | R_SrvcConfItemSerialNumberTP | _SrvcConfItemSerialNumberTP | |
| [0..*] | R_SrvcConfItmFUPBillgDocTP | _SrvcConfItmFUPBillgDocTP | |
| [0..*] | R_SrvcConfItmFUPBillgDocReqTP | _SrvcConfItmFUPBillgDocReqTP | |
| [0..*] | R_SrvcConfItmFUPTimeSheetTP | _SrvcConfItmFUPTimeSheetTP | |
| [0..*] | R_SrvcConfItmFUPMatlDocumentTP | _SrvcConfItmFUPMatlDocumentTP | |
| [0..*] | R_SrvcConfItmFUPCtrlgDocTP | _SrvcConfItmFUPCtrlgDocTP | |
| [0..*] | R_SrvcConfItemAppointmentTP | _SrvcConfItemAppointmentTP | |
| [0..*] | R_SrvcConfItemDurationTP | _SrvcConfItemDurationTP | |
| [0..*] | R_SrvcConfItemUserStatusTP | _SrvcConfItemUserStatusTP | |
| [0..*] | R_SrvcConfItemLongTextTP | _SrvcConfItemLongTextTP | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Service Confirmation Item - TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | ServiceConfirmationItem | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (96)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceConfirmation | ServiceDocument | Transaction ID | |
| KEY | ServiceConfirmationItem | ServiceDocumentItem | Service Document | |
| ServiceDocumentItemObjectType | ServiceDocumentItemObjectType | |||
| ServiceConfItemCategory | ServiceDocItemCategory | |||
| ServiceConfirmationItemUUID | ServiceDocumentItemUUID | |||
| ParentServiceConfItem | _ParentServiceDocItem_2 | ServiceDocumentItem | Service Document | |
| ServiceConfItemDescription | ServiceDocumentItemDescription | |||
| Language | Language | Report Text Language | ||
| ServiceDocItemCreationDateTime | ServiceDocItemCreationDateTime | |||
| ServiceDocItemChangedDateTime | ServiceDocItemChangedDateTime | |||
| ServiceDocItemCreatedByUser | ServiceDocItemCreatedByUser | |||
| ServiceDocItemChangedByUser | ServiceDocItemChangedByUser | |||
| ServiceObjectType | ServiceObjectType | Object Type | ||
| Product | Product | Product Sold | ||
| Quantity | ServiceDocumentItemQuantity | |||
| QuantityUnit | ServiceDocItemQuantityUnit | |||
| Batch | Batch | Lot No. | ||
| ValuationType | ValuationType | Valuation Type | ||
| Plant | Plant | Valuation Area | ||
| StorageLocation | StorageLocation | StorageLocation | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| PayerParty | PayerParty | Payer | ||
| ContactPersonBusinessPartnerId | ContactPerson | Contact Person Key | ||
| RespEmployeeBusinessPartnerId | ResponsibleEmployee | Employee Resp. | ||
| ExecutingServiceEmployee | ServiceEmployee | |||
| ServicePerformer | _ServicePerformer | CustMgmtPartner | ||
| RespyMgmtServiceTeam | RespyMgmtServiceTeam | |||
| RespyMgmtGlobalTeamID | _ServiceTeamHeader | RespyMgmtGlobalTeamID | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| SEPAMandate | SEPAMandate | SEPA Mandate | ||
| SrvcSEPAMandateRelevance | SrvcSEPAMandateRelevance | |||
| ServiceConfirmationItemStatus | ServiceDocumentItemStatus | |||
| SrvcConfItmReldForBillgStatus | SrvcDocItmIsReleasedForBilling | |||
| SrvcConfItemBillingStatus | ServiceDocItemBillingStatus | |||
| SrvcConfItemHasError | ServiceDocumentItemHasError | |||
| SrvcDocItemTransferStatus | SrvcDocItemTransferStatus | |||
| ActualServiceStartDateTime | ActualServiceStartDateTime | |||
| ActualServiceEndDateTime | ActualServiceEndDateTime | |||
| ActualServiceDuration | ActualServiceDuration | |||
| ActualServiceDurationUnit | ActualServiceDurationUnit | |||
| ServicesRenderedDate | ServicesRenderedDate | Services Rendered Date | ||
| ServiceTransactionChargeType | ServiceTransactionChargeType | |||
| SrvcTransactionValuationType | SrvcTransactionValuationType | |||
| TimeSheetOvertimeCategory | TimeSheetOvertimeCategory | |||
| MasterWarranty | MasterWarranty | |||
| SrvcDocItemIsUnderWarranty | SrvcDocItemIsUnderWarranty | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ServiceDocItemGrossAmount | ServiceDocItemGrossAmount | |||
| ServiceDocumentItemNetAmount | ServiceDocumentItemNetAmount | |||
| ServiceDocumentItemTaxAmount | ServiceDocumentItemTaxAmount | |||
| BillableControl | BillableControl | Billable Control | ||
| WBSElementExternalID | _WBSElement | WBSElementExternalID | WBS Element External ID | |
| ContractAccount | ContractAccount | Contract Acct | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| SrvcConfItemExtReference | _CustMgmtExtRef | CustMgmtExtRefID | ||
| SrvcConfExtReference | _CustMgmtHeaderExtRef | CustMgmtExtRefID | ||
| ReferenceServiceOrder | ||||
| ReferenceServiceOrderItem | ||||
| ReferenceServiceContract | ||||
| ReferenceServiceContractItem | ||||
| SrvcDocItmPartReferenceItem | SrvcDocItmPartReferenceItem | |||
| SrvcDocItmApptRefObjectUUID | SrvcDocItmApptRefObjectUUID | |||
| SrvcDocItmApptReferenceItem | SrvcDocItmApptReferenceItem | |||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| RefSrvcOrdItemIsUnplanned | ||||
| MaterialSubstitutionReason | MaterialSubstitutionReason | |||
| OriginallyRequestedProduct | OriginallyRequestedProduct | |||
| _ServiceDocument | _ServiceDocument | |||
| _Product | _Product | |||
| _SalesUnit | _SalesUnit | |||
| _ContactPerson | _ContactPerson | |||
| _RespEmployee | _RespEmployee | |||
| _ActualServiceDurationUnit | _ActualServiceDurationUnit | |||
| _ServiceDocOvertimeCat | _ServiceDocOvertimeCat | |||
| _ServiceObjType | _ServiceObjType | |||
| _ServiceConfirmationTP | _ServiceConfirmationTP | |||
| _SrvcConfItemPriceElementTP | _SrvcConfItemPriceElementTP | |||
| _SrvcConfItemPartnerTP | _SrvcConfItemPartnerTP | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _BillableControl | _BillableControl | |||
| _RefServiceOrder | _RefServiceOrder | |||
| _SrvcConfItemRefObjTP | _SrvcConfItemRefObjTP | |||
| _SrvcConfItmStatus | _SrvcConfItmStatus | |||
| _SrvcConfItmFUPBillgDocTP | _SrvcConfItmFUPBillgDocTP | |||
| _SrvcConfItmFUPBillgDocReqTP | _SrvcConfItmFUPBillgDocReqTP | |||
| _SrvcConfItmFUPTimeSheetTP | _SrvcConfItmFUPTimeSheetTP | |||
| _SrvcConfItmFUPMatlDocumentTP | _SrvcConfItmFUPMatlDocumentTP | |||
| _SrvcConfItmFUPCtrlgDocTP | _SrvcConfItmFUPCtrlgDocTP | |||
| _SrvcConfItemAppointmentTP | _SrvcConfItemAppointmentTP | |||
| _SrvcConfItemDurationTP | _SrvcConfItemDurationTP | |||
| _SrvcConfItemUserStatusTP | _SrvcConfItemUserStatusTP | |||
| _SrvcConfItemLongTextTP | _SrvcConfItemLongTextTP | |||
| _SrvcConfItemSerialNumberTP | _SrvcConfItemSerialNumberTP |
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 R_ServiceConfirmationItemTP.
-- 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.
CREATE VIEW R_ServiceConfirmationItemTP AS
SELECT
ServiceDocument AS ServiceConfirmation,
ServiceDocumentItem AS ServiceConfirmationItem,
ServiceDocumentItemObjectType,
ServiceDocItemCategory AS ServiceConfItemCategory,
ServiceDocumentItemUUID AS ServiceConfirmationItemUUID,
_ParentServiceDocItem_2.ServiceDocumentItem AS ParentServiceConfItem,
ServiceDocumentItemDescription AS ServiceConfItemDescription,
Language,
ServiceDocItemCreationDateTime,
ServiceDocItemChangedDateTime,
ServiceDocItemCreatedByUser,
ServiceDocItemChangedByUser,
ServiceObjectType,
Product,
ServiceDocumentItemQuantity AS Quantity,
ServiceDocItemQuantityUnit AS QuantityUnit,
Batch,
ValuationType,
Plant,
StorageLocation,
SoldToParty,
ShipToParty,
BillToParty,
PayerParty,
ContactPerson AS ContactPersonBusinessPartnerId,
ResponsibleEmployee AS RespEmployeeBusinessPartnerId,
ServiceEmployee AS ExecutingServiceEmployee,
_ServicePerformer.CustMgmtPartner AS ServicePerformer,
RespyMgmtServiceTeam,
_ServiceTeamHeader.RespyMgmtGlobalTeamID AS RespyMgmtGlobalTeamID,
PaymentTerms,
PaymentMethod,
SEPAMandate,
SrvcSEPAMandateRelevance,
ServiceDocumentItemStatus AS ServiceConfirmationItemStatus,
SrvcDocItmIsReleasedForBilling AS SrvcConfItmReldForBillgStatus,
ServiceDocItemBillingStatus AS SrvcConfItemBillingStatus,
ServiceDocumentItemHasError AS SrvcConfItemHasError,
SrvcDocItemTransferStatus,
ActualServiceStartDateTime,
ActualServiceEndDateTime,
ActualServiceDuration,
ActualServiceDurationUnit,
ServicesRenderedDate,
ServiceTransactionChargeType,
SrvcTransactionValuationType,
TimeSheetOvertimeCategory,
MasterWarranty,
SrvcDocItemIsUnderWarranty,
TransactionCurrency,
ServiceDocItemGrossAmount,
ServiceDocumentItemNetAmount,
ServiceDocumentItemTaxAmount,
BillableControl,
_WBSElement.WBSElementExternalID AS WBSElementExternalID,
ContractAccount,
PurchaseOrderByCustomer,
_CustMgmtExtRef.CustMgmtExtRefID AS SrvcConfItemExtReference,
_CustMgmtHeaderExtRef.CustMgmtExtRefID AS SrvcConfExtReference,
cast(_RefServiceOrder.CustMgmtPrdcssrTransactionKey as crmt_object_id_db ) AS ReferenceServiceOrder,
cast( _RefServiceOrder.BusinessTransactionDocItem as crms4_number_int ) AS ReferenceServiceOrderItem,
cast(_RefServiceContract.CustMgmtPrdcssrTransactionKey as crmt_object_id_db ) AS ReferenceServiceContract,
cast(_RefServiceContract.BusinessTransactionDocItem as crms4_number_int ) AS ReferenceServiceContractItem,
SrvcDocItmPartReferenceItem,
SrvcDocItmApptRefObjectUUID,
SrvcDocItmApptReferenceItem,
ShippingCondition,
_RefServiceOrder._ServiceDocumentItemEnhcd.SrvcDocItemIsUnplanned AS RefSrvcOrdItemIsUnplanned,
MaterialSubstitutionReason,
OriginallyRequestedProduct
FROM I_ServiceDocumentItemEnhcd
LEFT OUTER JOIN I_CustMgmtExtRefID AS _CustMgmtExtRef ON ServiceConfirmation = _CustMgmtExtRef.CustMgmtDocument AND ServiceObjectType = _CustMgmtExtRef.CustMgmtObjectType AND ServiceConfirmationItem = _CustMgmtExtRef.CustMgmtDocumentItem AND _CustMgmtExtRef.CustMgmtExtRefIDType = '0015' -- association [0..1]
LEFT OUTER JOIN I_CustMgmtExtRefID AS _CustMgmtHeaderExtRef ON ServiceConfirmation = _CustMgmtHeaderExtRef.CustMgmtDocument AND ServiceObjectType = _CustMgmtHeaderExtRef.CustMgmtObjectType AND _CustMgmtHeaderExtRef.CustMgmtExtRefIDType = '0014' -- association [0..1]
LEFT OUTER JOIN R_SrvcDocItemDocumentFlow AS _RefServiceOrder ON ServiceConfirmation = _RefServiceOrder.ServiceDocument AND ServiceConfirmationItem = _RefServiceOrder.ServiceDocumentItem AND _RefServiceOrder.PrdcssrSuccssrDocObjectType = 'BUS2000116' AND _RefServiceOrder.ServiceObjectType = 'BUS2000117' -- association [0..1]
LEFT OUTER JOIN R_SrvcDocItemDocumentFlow AS _RefServiceContract ON ServiceConfirmation = _RefServiceContract.ServiceDocument AND ServiceConfirmationItem = _RefServiceContract.ServiceDocumentItem AND _RefServiceContract.PrdcssrSuccssrDocObjectType = 'BUS2000112' AND _RefServiceContract.ServiceObjectType = 'BUS2000117' -- association [0..1]
LEFT OUTER JOIN I_CustMgmtPartner AS _ServicePerformer ON _ServicePerformer.CustMgmtPartnerFunction = '00000028' AND _ServicePerformer.CustMgmtPartFunctionCategory = '0091' AND ServiceConfirmation = _ServicePerformer.CustMgmtDocument AND ServiceConfirmationItem = _ServicePerformer.CustMgmtDocumentItem -- association [0..1]
LEFT OUTER JOIN I_RespyMgmtTeamHeaderDetail AS _ServiceTeamHeader ON RespyMgmtServiceTeam = _ServiceTeamHeader.RespyMgmtTeamID -- association [0..1]
LEFT OUTER JOIN I_StatusObjectUUIDStatus AS _SrvcConfItmStatus ON ServiceConfirmationItemUUID = _SrvcConfItmStatus.StatusObjectUUID AND ( _SrvcConfItmStatus.StatusCode = 'I1002' OR _SrvcConfItmStatus.StatusCode = 'I1003' OR _SrvcConfItmStatus.StatusCode = 'I1005' ) AND _SrvcConfItmStatus.StatusIsActive = 'X' -- association [0..1]
LEFT OUTER JOIN E_ServiceDocumentItem AS _Extension ON _Extension.ServiceCategory = 'BUS2000117' AND ServiceConfirmation = _Extension.ServiceOrderItem AND ServiceConfirmationItem = _Extension.ServiceLineExternalID -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON _WBSElement.WBSElementInternalID = I_ServiceDocumentItemEnhcd.WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN R_SrvcConfItemPriceElementTP AS _SrvcConfItemPriceElementTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItemPartnerTP AS _SrvcConfItemPartnerTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItemRefObjectTP AS _SrvcConfItemRefObjTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItemSerialNumberTP AS _SrvcConfItemSerialNumberTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItmFUPBillgDocTP AS _SrvcConfItmFUPBillgDocTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItmFUPBillgDocReqTP AS _SrvcConfItmFUPBillgDocReqTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItmFUPTimeSheetTP AS _SrvcConfItmFUPTimeSheetTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItmFUPMatlDocumentTP AS _SrvcConfItmFUPMatlDocumentTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItmFUPCtrlgDocTP AS _SrvcConfItmFUPCtrlgDocTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItemAppointmentTP AS _SrvcConfItemAppointmentTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItemDurationTP AS _SrvcConfItemDurationTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItemUserStatusTP AS _SrvcConfItemUserStatusTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_SrvcConfItemLongTextTP AS _SrvcConfItemLongTextTP ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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