A_PhysicalInventoryDocumentTP
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)
| Source | Alias | Join Type |
|---|---|---|
| R_PhysicalInventoryDocumentTP | R_PhysicalInventoryDocumentTP | projection |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_PHYSICALINVENTORYDOCUMENT | API_PHYSICALINVENTORYDOCUMENT | V4 | C2 | C1 |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
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