A_PhysicalInventoryDocumentTP

DDL: A_PHYSICALINVENTORYDOCUMENTTP Type: view_entity CONSUMPTION Package: ODATA_MM_IM_API_PI_V4

Physical Inventory Document Header

A_PhysicalInventoryDocumentTP is a Consumption CDS View that provides data about "Physical Inventory Document Header" in SAP S/4HANA. It reads from 1 data source (R_PhysicalInventoryDocumentTP) and exposes 25 fields with key fields PhysicalInventoryDocument, FiscalYear. It is exposed through 1 OData service (API_PHYSICALINVENTORYDOCUMENT). Part of development package ODATA_MM_IM_API_PI_V4.

Data Sources (1)

SourceAliasJoin Type
R_PhysicalInventoryDocumentTP R_PhysicalInventoryDocumentTP projection

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Physical Inventory Document Header view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
OData.entityType.name PhysicalInventoryDocument_Type view

OData Services (1)

ServiceBindingVersionContractRelease
API_PHYSICALINVENTORYDOCUMENT API_PHYSICALINVENTORYDOCUMENT V4 C2 C1

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY PhysicalInventoryDocument PhysicalInventoryDocument
KEY FiscalYear
InventoryTransactionType InventoryTransactionType
Plant Plant
StorageLocation StorageLocation
InventorySpecialStockType InventorySpecialStockType
DocumentDate DocumentDate
PhysInventoryPlannedCountDate PhysInventoryPlannedCountDate
PhysicalInventoryLastCountDate PhysicalInventoryLastCountDate
PostingDate PostingDate
PostingFiscalPeriod PostingFiscalPeriod
CreatedByUserName CreatedByUserName
PostingIsBlockedForPhysInvtry PostingIsBlockedForPhysInvtry
PhysicalInventoryCountStatus PhysicalInventoryCountStatus
PhysInvtryAdjustmentPostingSts PhysInvtryAdjustmentPostingSts
PhysInventoryReferenceNumber PhysInventoryReferenceNumber
PhysInvtryDeletionStatus PhysInvtryDeletionStatus
PhysInvtryDocHasQtySnapshot PhysInvtryDocHasQtySnapshot
PhysicalInventoryGroupType PhysicalInventoryGroupType
PhysicalInventoryGroup PhysicalInventoryGroup
PhysicalInventoryNumber PhysicalInventoryNumber
PhysicalInventoryDocumentDesc PhysicalInventoryDocumentDesc
LastChangeDateTime LastChangeDateTime
SalesPriceValuationIsActive SalesPriceValuationIsActive
CountingVarianceInPercent CountingVarianceInPercent
@AccessControl: {
    authorizationCheck: #MANDATORY,
    personalData.blocking: #NOT_REQUIRED
}
@EndUserText.label: 'Physical Inventory Document Header'

@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
   usageType: {
      sizeCategory: #XL,
      serviceQuality: #B,
      dataClass: #TRANSACTIONAL
   }
}

@VDM: {
  lifecycle.contract.type: #PUBLIC_REMOTE_API,
  viewType: #CONSUMPTION
}
@OData.entityType.name: 'PhysicalInventoryDocument_Type'

define root view entity A_PhysicalInventoryDocumentTP 
  provider contract transactional_query
  as projection on R_PhysicalInventoryDocumentTP
{
  key PhysicalInventoryDocument,
  key cast(FiscalYear as fis_gjahr_no_conv preserving type) as FiscalYear,
      InventoryTransactionType,
      Plant,
      StorageLocation,
      InventorySpecialStockType,
      DocumentDate,
      PhysInventoryPlannedCountDate,
      PhysicalInventoryLastCountDate,
      PostingDate,
      PostingFiscalPeriod,
      CreatedByUserName,
      PostingIsBlockedForPhysInvtry,
      PhysicalInventoryCountStatus,
      PhysInvtryAdjustmentPostingSts,
      PhysInventoryReferenceNumber,
      PhysInvtryDeletionStatus,
      PhysInvtryDocHasQtySnapshot,
      PhysicalInventoryGroupType,
      PhysicalInventoryGroup,
      PhysicalInventoryNumber,
      PhysicalInventoryDocumentDesc,
      LastChangeDateTime,
      SalesPriceValuationIsActive,
      CountingVarianceInPercent,
  
      _PhysicalInventoryDocumentItem : redirected to composition child A_PhysInvtryDocumentItemTP
}