C_PrepaymentRenegttnPlantsTP

DDL: C_PREPAYMENTRENEGTTNPLANTSTP SQL: CPPMGREGPLNTP Type: view CONSUMPTION

Prepayment Agreement Plants

C_PrepaymentRenegttnPlantsTP is a Consumption CDS View that provides data about "Prepayment Agreement Plants" in SAP S/4HANA. It reads from 1 data source (I_PrepaymentAgrmtPlantsTP) and exposes 12 fields with key field PrepaymentAgrmtPlantUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PrepaymentAgrmtPlantsTP Plant from

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_PreRenegotiationTP _PrepaymentRenegotiation $projection.PrepaymentAgreementUUID = _PrepaymentRenegotiation.PrepaymentAgreementUUID
[0..1] I_PlantStdVH _PlantText $projection.PrepaymentAgrmtPlant = _PlantText.Plant -- Extension View
[0..1] E_PrepaymentAgrmtPlants _Extension $projection.PrepaymentAgrmtPlantUUID = _Extension.PrepaymentAgrmtPlantUUID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CPPMGREGPLNTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Metadata.allowExtensions true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Prepayment Agreement Plants view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PrepaymentAgrmtPlantUUID I_PrepaymentAgrmtPlantsTP PrepaymentAgrmtPlantUUID Key
PrepaymentAgreementUUID I_PrepaymentAgrmtPlantsTP PrepaymentAgreementUUID Key
PrepaymentAgrmtPlant I_PrepaymentAgrmtPlantsTP PrepaymentAgrmtPlant Plant
PrepaymentAgrmtIsMainPlant I_PrepaymentAgrmtPlantsTP PrepaymentAgrmtIsMainPlant Main Plant
CompanyCode _PrepaymentRenegotiation CompanyCode Receiver Company Code
PrepaymentAgreementType _PrepaymentRenegotiation PrepaymentAgreementType Prepay Agreemnt Type
CreatedByUser
CreationDateTime I_PrepaymentAgrmtPlantsTP CreationDateTime Timestamp
LastChangedByUser I_PrepaymentAgrmtPlantsTP LastChangedByUser User Name
LastChangeDateTime I_PrepaymentAgrmtPlantsTP LastChangeDateTime Timestamp
PlantName _PlantText PlantName Plant Name
_PrepaymentRenegotiation _PrepaymentRenegotiation

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 C_PrepaymentRenegttnPlantsTP.
-- 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.
-- SQL view name: CPPMGREGPLNTP

CREATE VIEW C_PrepaymentRenegttnPlantsTP AS
SELECT
  Plant.PrepaymentAgrmtPlantUUID AS PrepaymentAgrmtPlantUUID,
  Plant.PrepaymentAgreementUUID AS PrepaymentAgreementUUID,
  Plant.PrepaymentAgrmtPlant AS PrepaymentAgrmtPlant,
  Plant.PrepaymentAgrmtIsMainPlant AS PrepaymentAgrmtIsMainPlant,
  _PrepaymentRenegotiation.CompanyCode AS CompanyCode,
  _PrepaymentRenegotiation.PrepaymentAgreementType AS PrepaymentAgreementType,
  Plant.CreationDateTime AS CreationDateTime,
  Plant.LastChangedByUser AS LastChangedByUser,
  Plant.LastChangeDateTime AS LastChangeDateTime,
  _PlantText.PlantName AS PlantName
FROM I_PrepaymentAgrmtPlantsTP AS Plant
LEFT OUTER JOIN C_PreRenegotiationTP AS _PrepaymentRenegotiation ON PrepaymentAgreementUUID = _PrepaymentRenegotiation.PrepaymentAgreementUUID  -- association [1..1]
LEFT OUTER JOIN I_PlantStdVH AS _PlantText ON PrepaymentAgrmtPlant = _PlantText.Plant  -- association [0..1]
LEFT OUTER JOIN E_PrepaymentAgrmtPlants AS _Extension ON PrepaymentAgrmtPlantUUID = _Extension.PrepaymentAgrmtPlantUUID  -- association [0..1]
;