P_PhysInvtryConcatForReporting
Concat PI fields for Reporting
P_PhysInvtryConcatForReporting is a Basic CDS View that provides data about "Concat PI fields for Reporting" in SAP S/4HANA. It reads from 1 data source (iseg) and exposes 10 fields with key fields FiscalYear, PhysicalInventoryDocument, PhysicalInventoryDocumentItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| iseg | iseg | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Concat PI fields for Reporting | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Concat PI fields for Reporting'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM.private:true
@VDM.viewType: #BASIC
define view entity P_PhysInvtryConcatForReporting
as select from iseg
join ikpf on ikpf.iblnr = iseg.iblnr
and ikpf.gjahr = iseg.gjahr
{
key iseg.gjahr as FiscalYear,
key cast(iseg.iblnr as pi_item_document preserving type) as PhysicalInventoryDocument,
key cast(iseg.zeili as pi_item_number preserving type) as PhysicalInventoryDocumentItem,
cast( concat( iseg.gjahr, concat( ',', concat( iseg.iblnr, concat( ',', iseg.zeili ) ) ) ) as abap.char( 17 )) as Keys,
cast( concat( iseg.created_via, concat( ',', concat( iseg.counted_via, concat( ',', iseg.posted_via ) ) ) ) as abap.char( 20 ) ) as viafields,
cast( concat( iseg.xzael, concat( ',', concat( iseg.xdiff, concat( ',', concat( iseg.xnzae, concat( ',', iseg.xloek ) ) ) ) ) ) as abap.char( 20 ) ) as status,
ikpf.bldat as DocumentDate,
iseg.zldat as PhysicalInventoryLastCountDate,
iseg.budat as PostingDate,
cast( concat( ikpf.bldat, concat( ',', concat( iseg.zldat, concat( ',', iseg.budat ) ) ) ) as abap.char( 26 )) as Dates
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"IKPF",
"ISEG"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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