R_FunctionalLocationPartnerTP

DDL: R_FUNCTIONALLOCATIONPARTNERTP Type: view_entity TRANSACTIONAL

Functional Location Partner

R_FunctionalLocationPartnerTP is a Transactional CDS View that provides data about "Functional Location Partner" in SAP S/4HANA. It reads from 2 data sources (I_FunctionalLocation, I_PlantMaintenancePartner) and exposes 27 fields with key fields FunctionalLocation, PartnerFunction, FuncnlLocPartnerObjectNmbr.

Data Sources (2)

SourceAliasJoin Type
I_FunctionalLocation I_FunctionalLocation from
I_PlantMaintenancePartner I_PlantMaintenancePartner left_outer

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Functional Location Partner view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY FunctionalLocation
KEY PartnerFunction
KEY FuncnlLocPartnerObjectNmbr I_PlantMaintenancePartner MaintenancePartnerObjectNumber Counter
FunctionalLocationLabelName _FunctionalLocation FunctionalLocationLabelName Functional Loc.
Partner I_PlantMaintenancePartner Partner With Partner
CreatedByUser I_PlantMaintenancePartner CreatedByUser User Name
CreationDate I_PlantMaintenancePartner CreationDate Time Stamp
CreationTime I_PlantMaintenancePartner CreationTime Time of Change
LastChangedByUser I_PlantMaintenancePartner LastChangedByUser User Name
LastChangeTime I_PlantMaintenancePartner LastChangeTime Time changed
LastChangeDate I_PlantMaintenancePartner LastChangeDate Time Stamp
MaintObjectInternalID I_PlantMaintenancePartner MaintObjectInternalID Object number
PartnerFunctionType
CntctPersnIsBusPrpsCompleted
CntctPersnCustomerAccountGroup
CntctPersnCustomerAuthznGroup
CntctPersnSupplierAccountGroup
CntctPersnSupplierAuthznGroup
CustomerIsBusPrpsCmpltd
CustomerAccountGroup
CustomerAuthznGrp
EmployeeIsBusPrpsCmpltd
EmployeeAuthznGroup
SupplierIsBusPrpsCmpltd
SupplierAccountGroup
SupplierAuthznGrp
_FunctionalLocation _FunctionalLocation

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 R_FunctionalLocationPartnerTP.
-- 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 R_FunctionalLocationPartnerTP AS
SELECT
  cast(I_FunctionalLocation.FunctionalLocation as tplnr_unconverted preserving type) AS FunctionalLocation,
  cast(I_PlantMaintenancePartner.PartnerFunction as parvw_unv preserving type ) AS PartnerFunction,
  I_PlantMaintenancePartner.MaintenancePartnerObjectNumber AS FuncnlLocPartnerObjectNmbr,
  _FunctionalLocation.FunctionalLocationLabelName AS FunctionalLocationLabelName,
  I_PlantMaintenancePartner.Partner AS Partner,
  I_PlantMaintenancePartner.CreatedByUser AS CreatedByUser,
  I_PlantMaintenancePartner.CreationDate AS CreationDate,
  I_PlantMaintenancePartner.CreationTime AS CreationTime,
  I_PlantMaintenancePartner.LastChangedByUser AS LastChangedByUser,
  I_PlantMaintenancePartner.LastChangeTime AS LastChangeTime,
  I_PlantMaintenancePartner.LastChangeDate AS LastChangeDate,
  I_PlantMaintenancePartner.MaintObjectInternalID AS MaintObjectInternalID,
  I_PlantMaintenancePartner._PartnerFunction.SDDocumentPartnerType AS PartnerFunctionType,
  I_PlantMaintenancePartner._ContactPerson.IsBusinessPurposeCompleted AS CntctPersnIsBusPrpsCompleted,
  I_PlantMaintenancePartner._ContactPerson._Customer.CustomerAccountGroup AS CntctPersnCustomerAccountGroup,
  I_PlantMaintenancePartner._ContactPerson._Customer.AuthorizationGroup AS CntctPersnCustomerAuthznGroup,
  I_PlantMaintenancePartner._ContactPerson._Supplier.SupplierAccountGroup AS CntctPersnSupplierAccountGroup,
  I_PlantMaintenancePartner._ContactPerson._Supplier.AuthorizationGroup AS CntctPersnSupplierAuthznGroup,
  I_PlantMaintenancePartner._Customer.IsBusinessPurposeCompleted AS CustomerIsBusPrpsCmpltd,
  I_PlantMaintenancePartner._Customer.CustomerAccountGroup AS CustomerAccountGroup,
  I_PlantMaintenancePartner._Customer.AuthorizationGroup AS CustomerAuthznGrp,
  I_PlantMaintenancePartner._Employee.IsBusinessPurposeCompleted AS EmployeeIsBusPrpsCmpltd,
  I_PlantMaintenancePartner._Employee.AuthorizationGroup AS EmployeeAuthznGroup,
  I_PlantMaintenancePartner._Supplier.IsBusinessPurposeCompleted AS SupplierIsBusPrpsCmpltd,
  I_PlantMaintenancePartner._Supplier.SupplierAccountGroup AS SupplierAccountGroup,
  I_PlantMaintenancePartner._Supplier.AuthorizationGroup AS SupplierAuthznGrp
FROM I_FunctionalLocation
LEFT OUTER JOIN I_PlantMaintenancePartner ON /* join condition not captured in parsed metadata */
;