P_PL_SAFTOldestAcqForm

DDL: P_PL_SAFTOLDESTACQFORM Type: view_entity CONSUMPTION Package: GLO_FIN_IS_SAFT_AA_PL

Acquisition form with minimum run ID

P_PL_SAFTOldestAcqForm is a Consumption CDS View that provides data about "Acquisition form with minimum run ID" in SAP S/4HANA. It reads from 2 data sources (I_FixedAssetFormNumber, P_PL_SAFTOldestAcqFormRun) and exposes 5 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, StatryRptRunID. Part of development package GLO_FIN_IS_SAFT_AA_PL.

Data Sources (2)

SourceAliasJoin Type
I_FixedAssetFormNumber FormNumber inner
P_PL_SAFTOldestAcqFormRun RunID from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode P_PL_SAFTOldestAcqFormRun CompanyCode Receiver Company Code
KEY MasterFixedAsset P_PL_SAFTOldestAcqFormRun MasterFixedAsset Fixed Asset
KEY FixedAsset P_PL_SAFTOldestAcqFormRun FixedAsset Sub-number
KEY StatryRptRunID P_PL_SAFTOldestAcqFormRun StatryRptRunID Report Run ID
FixedAssetFormNumber

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 P_PL_SAFTOldestAcqForm.
-- 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 P_PL_SAFTOldestAcqForm AS
SELECT
  RunID.CompanyCode AS CompanyCode,
  RunID.MasterFixedAsset AS MasterFixedAsset,
  RunID.FixedAsset AS FixedAsset,
  RunID.StatryRptRunID AS StatryRptRunID,
  min(FormNumber.FixedAssetFormNumber) AS FixedAssetFormNumber
FROM P_PL_SAFTOldestAcqFormRun AS RunID
INNER JOIN I_FixedAssetFormNumber AS FormNumber ON /* join condition not captured in parsed metadata */
;