I_ServiceEntrySheetItem
Service Entry Sheet Item
I_ServiceEntrySheetItem is a Composite CDS View that provides data about "Service Entry Sheet Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetItemBasic) and exposes 88 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem. It has 18 associations to related views. Part of development package APPL_MM_PUR_SES_TR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceEntrySheetItemBasic | Document | from |
Associations (18)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ServiceEntrySheet | _ServiceEntrySheet | $projection.ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet |
| [1..*] | I_ServiceEntrySheetAcctAssgmt | _AccountAssignment | $projection.ServiceEntrySheet = _AccountAssignment.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _AccountAssignment.ServiceEntrySheetItem |
| [0..1] | I_MaterialGroup | _MaterialGroupValueHelp | $projection.PurchaseOrderItemMaterialGroup = _MaterialGroupValueHelp.MaterialGroup |
| [0..*] | I_MaterialGroupText | _MaterialGroupText | $projection.MaterialGroup = _MaterialGroupText.MaterialGroup |
| [0..1] | I_AcctAssignmentCategoryText | _AcctAssignmentCategoryText | $projection.AccountAssignmentCategory = _AcctAssignmentCategoryText.AccountAssignmentCategory and _AcctAssignmentCategoryText.Language = $session.system_language |
| [0..1] | I_SrvcEntrShtAcctAssgmtCat | _SrvcEntrShtAcctAssgmtCat | _SrvcEntrShtAcctAssgmtCat.AccountAssignmentCategory = $projection.AccountAssignmentCategory |
| [0..1] | I_PurchaseOrder | _PurchaseOrder | $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder |
| [0..1] | R_PurchaseOrderItem | _PurchaseOrderItem | $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem |
| [0..1] | I_ProductTypeCodeText | _ProductTypeText | _ProductTypeText.ProductTypeCode = $projection.ProductType and _ProductTypeText.Language = $session.system_language |
| [0..1] | I_PurgDocScheduleLine | _ScheduleLine | $projection.PurchaseOrder = _ScheduleLine.PurchasingDocument and $projection.PurchaseOrderItem = _ScheduleLine.PurchasingDocumentItem |
| [0..1] | I_Currency | _DocumentCurrency | $projection.Currency = _DocumentCurrency.Currency |
| [0..*] | I_UnitOfMeasureText | _UnitText | $projection.QuantityUnit = _UnitText.UnitOfMeasure |
| [0..1] | I_UnitOfMeasure | _PurOrdUnitOfMsrValHelp | $projection.PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrValHelp.UnitOfMeasure |
| [0..*] | I_UnitOfMeasureText | _PurOrdUnitOfMsrTxt | $projection.PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrTxt.UnitOfMeasure |
| [0..1] | I_WorkItemText | _WorkItemText | $projection.WorkItem = _WorkItemText.WorkItem and _WorkItemText.Language = $session.system_language |
| [0..*] | I_SESPricingElement | _SESPricingElement | $projection.ServiceEntrySheet = _SESPricingElement.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _SESPricingElement.ServiceEntrySheetItem and $projection.ServiceEntrySheetItem is not initial |
| [0..*] | I_ServiceEntrySheetItemNote | _ServiceEntrySheetItemNote | $projection.ServiceEntrySheet = _ServiceEntrySheetItemNote.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItemNote.ServiceEntrySheetItem and $projection.ServiceEntrySheetItem is not initial ----Extension |
| [1..1] | E_ServiceEntrySheetItem | _ServiceEntrySheetItmExtension | $projection.ServiceEntrySheet = _ServiceEntrySheetItmExtension.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItmExtension.ServiceEntrySheetItem |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISRVCENTRSHTITM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Service Entry Sheet Item | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | ServiceEntrySheetItem | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (88)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceEntrySheet | I_ServiceEntrySheetItemBasic | ServiceEntrySheet | |
| KEY | ServiceEntrySheetItem | I_ServiceEntrySheetItemBasic | ServiceEntrySheetItem | |
| ServiceEntrySheetItemUniqueID | ||||
| PurchaseOrder | I_ServiceEntrySheetItemBasic | PurchaseOrder | Reference Purchase Order | |
| PurchaseOrderItem | I_ServiceEntrySheetItemBasic | PurchaseOrderItem | ||
| IsDeleted | I_ServiceEntrySheetItemBasic | IsDeleted | ||
| Service | I_ServiceEntrySheetItemBasic | Service | ||
| ServiceEntrySheetItemDesc | I_ServiceEntrySheetItemBasic | ServiceEntrySheetItemDesc | ||
| ServicePerformer | I_ServiceEntrySheetItemBasic | ServicePerformer | ||
| AccountAssignmentCategory | I_ServiceEntrySheetItemBasic | AccountAssignmentCategory | ||
| MultipleAcctAssgmtDistribution | I_ServiceEntrySheetItemBasic | MultipleAcctAssgmtDistribution | ||
| WorkItem | I_ServiceEntrySheetItemBasic | WorkItem | ||
| ConfirmedQuantity | I_ServiceEntrySheetItemBasic | ConfirmedQuantity | ||
| QuantityUnit | I_ServiceEntrySheetItemBasic | QuantityUnit | ||
| OrderPriceUnit | I_ServiceEntrySheetItemBasic | OrderPriceUnit | ||
| OrderPriceUnitToOrderUnitNmrtr | I_ServiceEntrySheetItemBasic | OrderPriceUnitToOrderUnitNmrtr | ||
| OrdPriceUnitToOrderUnitDnmntr | I_ServiceEntrySheetItemBasic | OrdPriceUnitToOrderUnitDnmntr | ||
| QtyInPurchaseOrderPriceUnit | I_ServiceEntrySheetItemBasic | QtyInPurchaseOrderPriceUnit | ||
| NetPriceQuantity | I_ServiceEntrySheetItemBasic | NetPriceQuantity | ||
| ServicePerformanceDate | I_ServiceEntrySheetItemBasic | ServicePerformanceDate | ||
| ServicePerformanceEndDate | I_ServiceEntrySheetItemBasic | ServicePerformanceEndDate | ||
| PerformancePeriodStartDate | _ScheduleLine | PerformancePeriodStartDate | ||
| PerformancePeriodEndDate | _ScheduleLine | PerformancePeriodEndDate | ||
| OriginObject | I_ServiceEntrySheetItemBasic | OriginObject | ||
| Currency | I_ServiceEntrySheetItemBasic | Currency | ||
| NetPriceAmount | I_ServiceEntrySheetItemBasic | NetPriceAmount | ||
| MaterialGroup | I_ServiceEntrySheetItemBasic | MaterialGroup | ||
| IsEndOfPurposeBlocked | I_ServiceEntrySheetItemBasic | IsEndOfPurposeBlocked | ||
| CreationDateTime | ||||
| CreatedByUser | I_ServiceEntrySheetItemBasic | CreatedByUser | ||
| LastChangeDateTime | I_ServiceEntrySheetItemBasic | LastChangeDateTime | ||
| LastChangeUser | I_ServiceEntrySheetItemBasic | LastChangeUser | ||
| Plant | I_ServiceEntrySheetItemBasic | Plant | ||
| PurgDocItemExternalReference | I_ServiceEntrySheetItemBasic | PurgDocItemExternalReference | ||
| PurchaseContract | I_ServiceEntrySheetItemBasic | PurchaseContract | ||
| PurchaseContractItem | I_ServiceEntrySheetItemBasic | PurchaseContractItem | ||
| PurchasingOrganization | I_ServiceEntrySheetItemBasic | PurchasingOrganization | ||
| PurchasingGroup | I_ServiceEntrySheetItemBasic | PurchasingGroup | ||
| ParentObjectIsDeleted | I_ServiceEntrySheetItemBasic | ParentObjectIsDeleted | ||
| PurOrderItemPlant | ||||
| PurchaseOrderType | ||||
| Supplier | _PurchaseOrder | Supplier | ||
| PurchaseOrderItemMaterialGroup | _PurchaseOrderItem | MaterialGroup | ||
| PurchaseOrderItemQuantity | _PurchaseOrderItem | OrderQuantity | ||
| PurchaseOrderItemQuantityUnit | _PurchaseOrderItem | PurchaseOrderQuantityUnit | ||
| PurchaseOrderItemNetAmount | _PurchaseOrderItem | NetAmount | ||
| PurchaseOrderCurrency | _PurchaseOrderItem | DocumentCurrency | Purchase Order Currency | |
| PurchaseOrderItemCompanyCode | _PurchaseOrderItem | CompanyCode | ||
| OverdelivTolrtdLmtRatioInPct | _PurchaseOrderItem | OverdelivTolrtdLmtRatioInPct | ||
| PurchaseOrderItemCategory | _PurchaseOrderItem | PurchaseOrderItemCategory | ||
| ExpectedOverallLimitAmount | _PurchaseOrderItem | ExpectedOverallLimitAmount | ||
| OverallLimitAmount | _PurchaseOrderItem | OverallLimitAmount | ||
| TotalConfirmedQuantity | ||||
| OpenQuantity | ||||
| OpenAmountInPurchaseOrderCrcy | ||||
| NetAmount | I_ServiceEntrySheetItemBasic | NetAmount | ||
| NetAmountInPurchaseOrderCrcy | I_ServiceEntrySheetItemBasic | NetAmount | ||
| NonDeductibleInputTaxAmount | I_ServiceEntrySheetItemBasic | NonDeductibleInputTaxAmount | ||
| SESNetAmountInclSalesTax | ||||
| TaxCode | I_ServiceEntrySheetItemBasic | TaxCode | ||
| TaxCountry | I_ServiceEntrySheetItemBasic | TaxCountry | ||
| TaxDeterminationDate | I_ServiceEntrySheetItemBasic | TaxDeterminationDate | ||
| TaxJurisdiction | I_ServiceEntrySheetItemBasic | TaxJurisdiction | ||
| TaxCalculationProcedure | I_ServiceEntrySheetItemBasic | TaxCalculationProcedure | ||
| PurgDocPriceDate | I_ServiceEntrySheetItemBasic | PurgDocPriceDate | ||
| SESItemIsFinalEntry | I_ServiceEntrySheetItemBasic | SESItemIsFinalEntry | ||
| MaterialType | _Material | MaterialType | ||
| ConsumptionPosting | _AccountAssignmentCategory | ConsumptionPosting | ||
| InventorySpecialStockType | _AccountAssignmentCategory | InventorySpecialStockType | ||
| ProductType | _PurchaseOrderItem | ProductType | ||
| _ServiceEntrySheet | _ServiceEntrySheet | |||
| _AccountAssignment | _AccountAssignment | |||
| _SESPricingElement | _SESPricingElement | |||
| _ServiceEntrySheetItemNote | _ServiceEntrySheetItemNote | |||
| _Material | I_ServiceEntrySheetItemBasic | _Material | ||
| _MaterialGroup | I_ServiceEntrySheetItemBasic | _MaterialGroup | ||
| _AccountAssignmentCategory | I_ServiceEntrySheetItemBasic | _AccountAssignmentCategory | ||
| _UnitValueHelp | I_ServiceEntrySheetItemBasic | _UnitValueHelp | ||
| _MaterialGroupText | _MaterialGroupText | |||
| _MaterialGroupValueHelp | _MaterialGroupValueHelp | |||
| _AcctAssignmentCategoryText | _AcctAssignmentCategoryText | |||
| _SrvcEntrShtAcctAssgmtCat | _SrvcEntrShtAcctAssgmtCat | |||
| _DocumentCurrency | _DocumentCurrency | |||
| _UnitText | _UnitText | |||
| _PurOrdUnitOfMsrValHelp | _PurOrdUnitOfMsrValHelp | |||
| _PurOrdUnitOfMsrTxt | _PurOrdUnitOfMsrTxt | |||
| _WorkItemText | _WorkItemText | |||
| _ProductTypeText | _ProductTypeText |
@AbapCatalog.sqlViewName: 'ISRVCENTRSHTITM'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.privilegedAssociations: [ '_SESPricingElement' ]
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Service Entry Sheet Item'
@VDM.viewType : #COMPOSITE
@ObjectModel: {
representativeKey: 'ServiceEntrySheetItem',
createEnabled,
updateEnabled,
usageType.serviceQuality: #C,
usageType.sizeCategory: #L,
usageType.dataClass: #MIXED
}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_ServiceEntrySheetItem
as select from I_ServiceEntrySheetItemBasic as Document
association [1..1] to I_ServiceEntrySheet as _ServiceEntrySheet on $projection.ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet
association [1..*] to I_ServiceEntrySheetAcctAssgmt as _AccountAssignment on $projection.ServiceEntrySheet = _AccountAssignment.ServiceEntrySheet
and $projection.ServiceEntrySheetItem = _AccountAssignment.ServiceEntrySheetItem
association [0..1] to I_MaterialGroup as _MaterialGroupValueHelp on $projection.PurchaseOrderItemMaterialGroup = _MaterialGroupValueHelp.MaterialGroup //to de deleted
association [0..*] to I_MaterialGroupText as _MaterialGroupText on $projection.MaterialGroup = _MaterialGroupText.MaterialGroup
association [0..1] to I_AcctAssignmentCategoryText as _AcctAssignmentCategoryText on $projection.AccountAssignmentCategory = _AcctAssignmentCategoryText.AccountAssignmentCategory
and _AcctAssignmentCategoryText.Language = $session.system_language
association [0..1] to I_SrvcEntrShtAcctAssgmtCat as _SrvcEntrShtAcctAssgmtCat on _SrvcEntrShtAcctAssgmtCat.AccountAssignmentCategory = $projection.AccountAssignmentCategory
association [0..1] to I_PurchaseOrder as _PurchaseOrder on $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
association [0..1] to R_PurchaseOrderItem as _PurchaseOrderItem on $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder
and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem
association [0..1] to I_ProductTypeCodeText as _ProductTypeText on _ProductTypeText.ProductTypeCode = $projection.ProductType
and _ProductTypeText.Language = $session.system_language
association [0..1] to I_PurgDocScheduleLine as _ScheduleLine on $projection.PurchaseOrder = _ScheduleLine.PurchasingDocument
and $projection.PurchaseOrderItem = _ScheduleLine.PurchasingDocumentItem
association [0..1] to I_Currency as _DocumentCurrency on $projection.Currency = _DocumentCurrency.Currency
association [0..*] to I_UnitOfMeasureText as _UnitText on $projection.QuantityUnit = _UnitText.UnitOfMeasure
association [0..1] to I_UnitOfMeasure as _PurOrdUnitOfMsrValHelp on $projection.PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrValHelp.UnitOfMeasure
association [0..*] to I_UnitOfMeasureText as _PurOrdUnitOfMsrTxt on $projection.PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrTxt.UnitOfMeasure
association [0..1] to I_WorkItemText as _WorkItemText on $projection.WorkItem = _WorkItemText.WorkItem
and _WorkItemText.Language = $session.system_language
association [0..*] to I_SESPricingElement as _SESPricingElement on $projection.ServiceEntrySheet = _SESPricingElement.ServiceEntrySheet
and $projection.ServiceEntrySheetItem = _SESPricingElement.ServiceEntrySheetItem
and $projection.ServiceEntrySheetItem is not initial
association [0..*] to I_ServiceEntrySheetItemNote as _ServiceEntrySheetItemNote on $projection.ServiceEntrySheet = _ServiceEntrySheetItemNote.ServiceEntrySheet
and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItemNote.ServiceEntrySheetItem
and $projection.ServiceEntrySheetItem is not initial
----Extension Association
association [1..1] to E_ServiceEntrySheetItem as _ServiceEntrySheetItmExtension on $projection.ServiceEntrySheet = _ServiceEntrySheetItmExtension.ServiceEntrySheet
and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItmExtension.ServiceEntrySheetItem
{
@ObjectModel.foreignKey.association: '_ServiceEntrySheet'
key Document.ServiceEntrySheet,
key Document.ServiceEntrySheetItem,
cast(concat(Document.ServiceEntrySheet, Document.ServiceEntrySheetItem) as purchasingdocumentitemuniqueid) as ServiceEntrySheetItemUniqueID,
@EndUserText.label: 'Reference Purchase Order'
Document.PurchaseOrder,
Document.PurchaseOrderItem,
Document.IsDeleted,
Document.Service,
Document.ServiceEntrySheetItemDesc,
Document.ServicePerformer,
@ObjectModel.text.association: '_AcctAssignmentCategoryText'
@ObjectModel.foreignKey.association: '_SrvcEntrShtAcctAssgmtCat'
Document.AccountAssignmentCategory,
Document.MultipleAcctAssgmtDistribution,
@ObjectModel.text.association: '_WorkItemText'
Document.WorkItem,
Document.ConfirmedQuantity,
@ObjectModel.text.association: '_UnitText'
Document.QuantityUnit,
Document.OrderPriceUnit,
Document.OrderPriceUnitToOrderUnitNmrtr,
Document.OrdPriceUnitToOrderUnitDnmntr,
Document.QtyInPurchaseOrderPriceUnit,
@Semantics.quantity.unitOfMeasure: 'OrderPriceUnit'
Document.NetPriceQuantity,
Document.ServicePerformanceDate,
Document.ServicePerformanceEndDate,
_ScheduleLine.PerformancePeriodStartDate,
_ScheduleLine.PerformancePeriodEndDate,
Document.OriginObject,
@Semantics.currencyCode:true
Document.Currency,
@Semantics.amount.currencyCode: 'Currency'
Document.NetPriceAmount,
@ObjectModel.text.association: '_MaterialGroupText'
Document.MaterialGroup,
Document.IsEndOfPurposeBlocked,
@ObjectModel.readOnly: true
cast(CreationDateTime as mmpur_ses_created_on preserving type ) as CreationDateTime,
Document.CreatedByUser,
Document.LastChangeDateTime,
Document.LastChangeUser,
Document.Plant,
Document.PurgDocItemExternalReference,
Document.PurchaseContract,
Document.PurchaseContractItem,
Document.PurchasingOrganization,
Document.PurchasingGroup,
Document.ParentObjectIsDeleted,
cast(' ' as ewerk) as PurOrderItemPlant, // to be deleted (as soon as possible)
cast(' ' as esart) as PurchaseOrderType, // to be deleted (as soon as possible)
@ObjectModel.readOnly: true
_PurchaseOrder.Supplier as Supplier,
_PurchaseOrderItem.MaterialGroup as PurchaseOrderItemMaterialGroup,
@ObjectModel.readOnly: true
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderItemQuantityUnit'
@Aggregation.default: #NONE
_PurchaseOrderItem.OrderQuantity as PurchaseOrderItemQuantity,
@ObjectModel.readOnly: true
//@ObjectModel.text.association: '_PurOrdUnitOfMsrTxt'
@ObjectModel.foreignKey.association: '_PurOrdUnitOfMsrValHelp'
@Semantics.unitOfMeasure: true
_PurchaseOrderItem.PurchaseOrderQuantityUnit as PurchaseOrderItemQuantityUnit,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'PurchaseOrderCurrency'
@Aggregation.default: #NONE
_PurchaseOrderItem.NetAmount as PurchaseOrderItemNetAmount,
@EndUserText.label: 'Purchase Order Currency'
@ObjectModel.readOnly: true
@ObjectModel.foreignKey.association: '_DocumentCurrency'
@Consumption.valueHelp: '_DocumentCurrency'
@Semantics.currencyCode:true
_PurchaseOrderItem.DocumentCurrency as PurchaseOrderCurrency,
@ObjectModel.readOnly: true
_PurchaseOrderItem.CompanyCode as PurchaseOrderItemCompanyCode,
@ObjectModel.readOnly: true
_PurchaseOrderItem.OverdelivTolrtdLmtRatioInPct,
_PurchaseOrderItem.PurchaseOrderItemCategory,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'PurchaseOrderCurrency'
@Aggregation.default: #NONE
_PurchaseOrderItem.ExpectedOverallLimitAmount,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'PurchaseOrderCurrency'
@Aggregation.default: #NONE
_PurchaseOrderItem.OverallLimitAmount,
@ObjectModel.readOnly: true
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderItemQuantityUnit'
@Aggregation.default: #NONE
cast(0 as mmpur_ses_confirmedquantity) as TotalConfirmedQuantity,
@ObjectModel.readOnly: true
@Semantics.quantity.unitOfMeasure: 'PurchaseOrderItemQuantityUnit'
@Aggregation.default: #NONE
cast(0 as mmpur_ses_openquantity) as OpenQuantity,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'PurchaseOrderCurrency'
@Aggregation.default: #NONE
cast(0 as mmpur_ses_open_amount_po_crcy) as OpenAmountInPurchaseOrderCrcy,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'Currency'
@Aggregation.default: #NONE
Document.NetAmount,
// cast(
// case
// when _PurchaseOrderItem.PurchaseOrderItemCategory = 'A'
// then cast( round( Document.NetPriceAmount * Document.ConfirmedQuantity, 2) as mmpur_ses_confirmedvalue)
// else
// case
// when _PurchaseOrderItem.OrderQuantity = 0
// then cast(0 as mmpur_ses_confirmedvalue)
// else cast( round( division( (_PurchaseOrderItem.NetAmount * Document.ConfirmedQuantity), _PurchaseOrderItem.OrderQuantity, 6), 2) as mmpur_ses_confirmedvalue)
// end
// end as mmpur_ses_confirmedvalue) as NetAmount,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'PurchaseOrderCurrency'
@Aggregation.default: #NONE
Document.NetAmount as NetAmountInPurchaseOrderCrcy,
// cast(
// case
// when Currency <> _PurchaseOrderItem.DocumentCurrency
// then currency_conversion( amount => NetAmount,
// source_currency => Currency,
// round => 'X',
// target_currency => _PurchaseOrderItem.DocumentCurrency,
// exchange_rate_date => ServicePerformanceDate,
// error_handling => 'SET_TO_NULL' )
// else NetAmount
// end as mmpur_ses_netprice_purord_crcy) as NetAmountInPurchaseOrderCrcy,
@Semantics.amount.currencyCode: 'Currency'
Document.NonDeductibleInputTaxAmount,
@ObjectModel.readOnly: true
@Semantics.amount.currencyCode: 'Currency'
@Aggregation.default: #NONE
cast( (Document.NetAmount + Document.NonDeductibleInputTaxAmount ) as mmpur_ses_confirmedvalue_w_tax ) as SESNetAmountInclSalesTax,
Document.TaxCode,
Document.TaxCountry,
Document.TaxDeterminationDate,
Document.TaxJurisdiction,
Document.TaxCalculationProcedure,
Document.PurgDocPriceDate,
Document.SESItemIsFinalEntry,
@ObjectModel.readOnly: true
_Material.MaterialType,
@ObjectModel.readOnly: true
_AccountAssignmentCategory.ConsumptionPosting,
@ObjectModel.readOnly: true
_AccountAssignmentCategory.InventorySpecialStockType,
@ObjectModel.readOnly: true
_PurchaseOrderItem.ProductType as ProductType,
@ObjectModel.association.type: [ #TO_COMPOSITION_PARENT , #TO_COMPOSITION_ROOT ]
_ServiceEntrySheet,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_AccountAssignment,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_SESPricingElement,
@ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
_ServiceEntrySheetItemNote,
Document._Material,
Document._MaterialGroup,
Document._AccountAssignmentCategory,
Document._UnitValueHelp,
_MaterialGroupText,
_MaterialGroupValueHelp, //to de deleted
_AcctAssignmentCategoryText,
_SrvcEntrShtAcctAssgmtCat,
_DocumentCurrency,
_UnitText,
_PurOrdUnitOfMsrValHelp,
_PurOrdUnitOfMsrTxt,
_WorkItemText,
_ProductTypeText
}
Learn More
- 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 Annotations — A Complete Guide
- 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