A_ServiceContractItem_2
Service Contract Item
A_ServiceContractItem_2 is a Consumption CDS View that provides data about "Service Contract Item" in SAP S/4HANA. It reads from 1 data source (R_ServiceContractItemTP) and exposes 74 fields with key fields ServiceContract, ServiceContractItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_ServiceContractItemTP | R_ServiceContractItemTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Service Contract Item | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| OData.entityType.name | ServiceContractItem_Type | view |
Fields (74)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceContract | ServiceContract | Transaction ID | |
| KEY | ServiceContractItem | ServiceContractItem | Item Number in Doc. | |
| ServiceContractItemCategory | ServiceContractItemCategory | |||
| ServiceContractItemDescription | ServiceContractItemDescription | |||
| ParentServiceContractItem | ParentServiceContractItem | Service Document | ||
| Language | Language | Report Text Language | ||
| ServiceDocItemCreationDateTime | ServiceDocItemCreationDateTime | |||
| ServiceDocItemChangedDateTime | ServiceDocItemChangedDateTime | |||
| ServiceDocItemCreatedByUser | ServiceDocItemCreatedByUser | |||
| ServiceDocItemChangedByUser | ServiceDocItemChangedByUser | |||
| Product | Product | Product Sold | ||
| ServiceContractItemQuantity | Quantity | Value | ||
| SrvcContrItemQtyUnitSAPCode | QuantityUnit | Unit of measure | ||
| SrvcContrItemQtyUnitISOCode | _BaseUnit | UnitOfMeasureISOCode | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| PayerParty | PayerParty | Payer | ||
| ContactPersonBusinessPartnerId | ContactPersonBusinessPartnerId | Contact Person Key | ||
| RespEmployeeBusinessPartnerId | RespEmployeeBusinessPartnerId | Employee Resp. | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| SEPAMandate | SEPAMandate | SEPA Mandate | ||
| SrvcSEPAMandateRelevance | SrvcSEPAMandateRelevance | |||
| ServiceContractItemIsNew | ServiceContractItemIsNew | |||
| ServiceContractItemIsInProcess | ServiceContractItemIsInProcess | |||
| ServiceContractItemIsReleased | ServiceContractItemIsReleased | |||
| ServiceContractItemIsCompleted | ServiceContractItemIsCompleted | |||
| ServiceContractItemStatus | ServiceContractItemStatus | |||
| ServiceContrItemBillingStatus | ServiceContrItemBillingStatus | |||
| ServiceContractItemIsRejected | ServiceContractItemIsRejected | |||
| ServiceContractItemHasError | ServiceContractItemHasError | |||
| SrvcDocItemTransferStatus | SrvcDocItemTransferStatus | |||
| SrvcDocItmGTSEmbargoStatus | SrvcDocItmGTSEmbargoStatus | |||
| SrvcDocItmGTSScreeningStatus | SrvcDocItmGTSScreeningStatus | |||
| SrvcDocItmGTSLglControlStatus | SrvcDocItmGTSLglControlStatus | |||
| ServiceContrItemStartDateTime | ServiceContrItemStartDateTime | |||
| ServiceContrItemEndDateTime | ServiceContrItemEndDateTime | |||
| SrvcContrItemRnwlDuration | SrvcContrItemRnwlDuration | |||
| SrvcContrItmRnwlDurnUntSAPCode | SrvcContrItemRnwlDurationUnit | |||
| SrvcContrItmRnwlDurnUntISOCode | _SrvcContrItemRnwlDurationUnit | UnitOfMeasureISOCode | ||
| SrvcContrItemExtensionDuration | SrvcContrItemExtensionDuration | |||
| SrvcContrItmExtnDurnUntSAPCode | SrvcContrItemExtnDurationUnit | |||
| SrvcContrItmExtnDurnUntISOCode | _SrvcContrItemExtnDurationUnit | UnitOfMeasureISOCode | ||
| ResponseProfile | ResponseProfile | Response Prof. | ||
| ServiceProfile | ServiceProfile | Service Profile | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ServiceDocItemGrossAmount | ServiceDocItemGrossAmount | |||
| ServiceDocumentItemNetAmount | ServiceDocumentItemNetAmount | |||
| ServiceDocumentItemTaxAmount | ServiceDocumentItemTaxAmount | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ServiceContractItemCanclnParty | ServiceContractItemCanclnParty | |||
| ServiceContractItmCanclnReason | ServiceContractItmCanclnReason | |||
| SrvcContrItemCanclnDateTime | SrvcContrItemCanclnDateTime | |||
| SettlementPeriodRule | SettlementPeriodRule | |||
| SrvcMgmtBillgPlanBillgDateRule | SrvcMgmtBillgPlanBillgDateRule | |||
| BillingPlanPriceDateRule | BillingPlanPriceDateRule | |||
| BillingBlockReason | BillingBlockReason | |||
| BillingPlanIsFinalized | BillingPlanIsFinalized | Bill.Plan Finalized | ||
| ContractAccount | ContractAccount | Contract Acct | ||
| SrvcContrExternalReference | SrvcContrExternalReference | |||
| SrvcContrItmExternalReference | SrvcContrItmExternalReference | |||
| ServiceQtanExtReference | ServiceQtanExtReference | |||
| ServiceQtanItemExtReference | ServiceQtanItemExtReference | |||
| LegalContractExtReference | LegalContractExtReference | |||
| LegalContractItemExtReference | LegalContractItemExtReference | |||
| RefServiceContractTemplate | RefServiceContractTemplate | |||
| RefServiceContractTemplateItem | RefServiceContractTemplateItem | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesGroup | SalesGroup | Sales Group | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID |
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 A_ServiceContractItem_2.
-- 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 A_ServiceContractItem_2 AS
SELECT
ServiceContract,
ServiceContractItem,
ServiceContractItemCategory,
ServiceContractItemDescription,
ParentServiceContractItem,
Language,
ServiceDocItemCreationDateTime,
ServiceDocItemChangedDateTime,
ServiceDocItemCreatedByUser,
ServiceDocItemChangedByUser,
Product,
Quantity AS ServiceContractItemQuantity,
QuantityUnit AS SrvcContrItemQtyUnitSAPCode,
_BaseUnit.UnitOfMeasureISOCode AS SrvcContrItemQtyUnitISOCode,
SoldToParty,
ShipToParty,
BillToParty,
PayerParty,
ContactPersonBusinessPartnerId,
RespEmployeeBusinessPartnerId,
PaymentTerms,
PaymentMethod,
SEPAMandate,
SrvcSEPAMandateRelevance,
ServiceContractItemIsNew,
ServiceContractItemIsInProcess,
ServiceContractItemIsReleased,
ServiceContractItemIsCompleted,
ServiceContractItemStatus,
ServiceContrItemBillingStatus,
ServiceContractItemIsRejected,
ServiceContractItemHasError,
SrvcDocItemTransferStatus,
SrvcDocItmGTSEmbargoStatus,
SrvcDocItmGTSScreeningStatus,
SrvcDocItmGTSLglControlStatus,
ServiceContrItemStartDateTime,
ServiceContrItemEndDateTime,
SrvcContrItemRnwlDuration,
SrvcContrItemRnwlDurationUnit AS SrvcContrItmRnwlDurnUntSAPCode,
_SrvcContrItemRnwlDurationUnit.UnitOfMeasureISOCode AS SrvcContrItmRnwlDurnUntISOCode,
SrvcContrItemExtensionDuration,
SrvcContrItemExtnDurationUnit AS SrvcContrItmExtnDurnUntSAPCode,
_SrvcContrItemExtnDurationUnit.UnitOfMeasureISOCode AS SrvcContrItmExtnDurnUntISOCode,
ResponseProfile,
ServiceProfile,
ProfitCenter,
ServiceDocItemGrossAmount,
ServiceDocumentItemNetAmount,
ServiceDocumentItemTaxAmount,
TransactionCurrency,
ServiceContractItemCanclnParty,
ServiceContractItmCanclnReason,
SrvcContrItemCanclnDateTime,
SettlementPeriodRule,
SrvcMgmtBillgPlanBillgDateRule,
BillingPlanPriceDateRule,
BillingBlockReason,
BillingPlanIsFinalized,
ContractAccount,
SrvcContrExternalReference,
SrvcContrItmExternalReference,
ServiceQtanExtReference,
ServiceQtanItemExtReference,
LegalContractExtReference,
LegalContractItemExtReference,
RefServiceContractTemplate,
RefServiceContractTemplateItem,
SalesOrganization,
DistributionChannel,
Division,
SalesOffice,
SalesGroup,
WBSElementExternalID
FROM R_ServiceContractItemTP
;
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